Arithmetic Conversion error in routine
Hi All,
We are trying to load data till PSA in Production system. Load fails due to the following error.
*"ARTHIMETIC CONVERSION ERRORIN ROUTINE_002"*
Can somebody help on this.
Regards,
Sudha.
Hi,
I too faced the same error while load data in cube. Later we found tht it was due to a formula tht we used in transformation for a field.
We removed tht formula and wrote a routine.
Regards,
Pramod A
Similar Messages
-
Arithmetical errors or conversion errors found in routine ROUTINE_0011
Hi,
I am having a problem when trying to load a cube from an DSO. In the PSA 90 record appears with the error "Arithmetical errors or conversion errors found in routine ROUTINE_0011 record XXX"
I simulated and debbug the load and this routine have the code:
RESULT = ( COMM_STRUCTURE-/bic/zom_icoci
/ COMM_STRUCTURE-/bic/zom_icnrv ) * c_hundred.
I know that the field COMM_STRUCTURE-/bic/zom_icnrv can come with value zero and return me the msg error but I saw that none of the 90 fields are zero (value <> 0) in the DSO. And besides there are others records equals to the records with error that not generate the arithmetical error.
Could you help me to solve this problem?
Regards,Hi,
Check if the c_hundred variable has same type as that of two keyfigures used in the formula.
Regards
Akhan -
Arithmetical errors or conversion errors in the routine
Hi All,
I am loading data from ODS to another ODS and cube.
here i am getting the following error:
<b>Arithmetical errors or conversion errors found in routine ROUTINE_0009 record 1525</b>
Could any one suggest what is this error and what to do?
Thanks in advance
S VRHi,
when is your error happening? During URules or TRules?
if you have routines in URules, search fro "routine_" in the activated program.
You can check the same in TRules (menu extras / display program / transfer program); routine are searchable with "compute_" and conversion with "conversion".
But before going into the ABAP, can't you describe the error message better and identify in the monitor when does it happen?
let us know
Olivier -
Arithmetical errors or conversion errors found in routine..
Hi,
I've a problem when loading data from Order Item ODS to Order Cubes..
For the specific record, it gives following error message:
*Arithmetical errors or conversion errors found in routine
ROUTINE_0068 record 66097*
I've searched through SDN found some similar cases, but in those cases, problems arise because of business content mistakes.
I've checked following links:
Arithmetical errors or conversion errors found in routine ROUTINE_0001
Re: Error in Update Rules
2LIS_13_VDKON - PSA error
There are many routines in the update rule, can you tell me how to find ROUTINE_0068 ? From there i may find a way to solve the problem..
I will appreciate if you share your experiences with me.
Thanks
SPcheck for the conversion routine fot that particular infoobject
Regards
Amar -
Arithmetical errors or conversion errors found in routine ROUTINE_0001
Hi All,
Can you please let me know the solution for the below error which i found during loading Datasource
2LIS_11_VAKON for the ODS Order: Condition Data(0SD_O05) and Cube order : condition data(0sd_c15)
under :
Update rules ( 3323 -> 3323 ) : Errors occurred in
Data records for package 1 selected in PSA - 1 error(s)
Record 1 :Arithmetical errors or conversion errors found in routine ROUTINE_0001 record 1
Please provide solution for the above error?
Regards
Surya.
Edited by: sssurya on Sep 11, 2009 9:13 AMHi Surya,
Sorry for the late reply.
In your requirement there might be an condition when Billing Qty may come 0.In such a cases it becomes infinate value.
In Formula put an condition like.
IF( IS_INITIAL( Billing Qty ),0, Condition value / Billing Qty ).
If its routine.
If Billing Qty <> 0.
Condition Price = Condition value/Billing Qty.
endif.
Regards,
shivu.
Edited by: Shivu Kumar on Sep 16, 2009 9:22 AM -
Arithmetical errors or conversion errors found in routine ROUTINE_0001recor
hi,
I am loading data from data source 2LIS_13_VDKON (Condition values) but get an error message from the PSA:
"Arithmetical errors or conversion errors found in routine ROUTINE_0001 record 98 RSAU 507"
I see nothing wrong in the mentioned record in the PSA. What is wrong? My load gets red...
I write a formula in update rules in this passion
IF "(Billing Quantity SU 0, KNVAL / INV_QTY SU, 0)"
But the thing is the system says it is correct but in complete.
I put . pulstop but it shows same error please it is high priority please give me replay.
Regards
LakshmiHi hema,
Just check the record no. 98 in the PSA for the applicable formula
Just try to debug the update rules fix the break-points in the routine and try to analyze the error.........
Debug update rules:
http://www.sd-solutions.com/documents/SDS_BW_How_To_Debug_Update_Rules_and_Transfer_Rules%20.html
Debugging data upload in BW
Hope this helps.............
Rgs,
I.R.K -
Record 3162 :Arithmetical errors or conversion errors found in routine ROUT
When I am loading data from 2lis_11_vakon,13_vdkon i am getting the error
Record 3162 :Arithmetical errors or conversion errors found in routine ROUTINE_0001 record 3162
I have seen all the previos post on this question but I didnot fing any correct answer for the soultion pls tell me how to solve thisHi,
In case of VAKON DS,We get this problem when the record has Order quantity = 0.Even I too had this problem. I solved this by Modifying the formula for Condition Rate in the update rule as sown below:
IF( Order quantity = 0, Condition Value / Target quantity, Condition Value / Order quantity )
And in case of VDKON DS , we get this problem when the record has Billing Quantity SU = 0.So use the formula like this:
IF( Billing Quantity SU = 0, 0 , Condition Value / Billing Quantity SU )
With rgds,
Anil Kumar Sharma .P -
Arithmetical errors or conversion errors found in routine ROUTINE_0007
Hello All,
I'm getting "Arithmetical errors or conversion errors found in routine ROUTINE_0007 " while loading data from R/3 (2LIS_44_POSREC) to cube (0RT_C07)
I'm not able to locate the routine. I;ve checked update rules, there is no routine. The error is due to Sales Quantity in BUn coming as 0.
Thanks in advance
Regards: GauraveHi,
open your URules (RSU3); in the menu extras, display generated program;
search for 0007; it could be a ROUTINE_0007 or a urule 0007 like form r0007_KEYFIGNAME.
I don't think this will help you much but at least you'll identify which KF is raising the error.
Sales Qty can be loaded with 0 for sure; check that your maaping in TRules and URules is correct...
let us know,
Olivier. -
Arithmetical errors or conversion errors found in routine ROUTINE_0002
Hi Guru
Record 7884 :Arithmetical errors or conversion errors found in routine ROUTINE_0002 record 7884
I do research and found " open your URules (RSU3); in the menu extras, display generated program;
search for 0002; it could be a ROUTINE_0002 or a urule 0002 like form r0002_KEYFIGNAME"
dont have rountine_0002 in URules, routine_0001,routine_0003.
Please advice
with regards
NikhilHi Jadeep,
My problem resolved. I am posting the solution. OSS Note - 910561.
- Arithmetic Error in 2LIS_02_SCL during upload into 0PUR_00
Symptom
The upload of schedule-line-data (source 2LIS_02_SCL) into the ODS 'Purchase Order Item Schedule Lines (0PUR_DS03) terminates
because of an arithmetical error which only occurs if the source field 'BWMWNG' is not filled.
Other terms
MM-PUR, SRM-Analytics, 2LIS-02_SCL, BWMENG, Purchasing, 0NETPRICE
Reason and Prerequisites
If the Field BWMENG is not filled (zero) in the source system this is not handled by the update rule for Info Object 0CPQUAOU which is mapped with the field BWMENG.
Solution
Implement the following coding in the update rule for InfoObject 0NETPRICE:
IF COMM_STRUCTURE-CPQUAOU GT '0'.
RESULT = COMM_STRUCTURE-CPPVLC / COMM_STRUCTURE-CPQUAOU *
COMM_STRUCTURE-numerator / COMM_STRUCTURE-DENOMINTR.
ELSE.
RESULT = COMM_STRUCTURE-CPQUAOU.
ENDIF.
With regards
Syed -
Arithmetical errors or conversion errors found in routine ROUTINE
Hello,
I am getting error message "Record 0 :Arithmetical errors or conversion errors found in routine ROUTINE_0015 record 0" while loading data in cube from ODS. I have checked data in PSA but there are no erroneous records.
If anybody has come across this issue then please let me know the reason for this issue and how to resolve this issue.
Regards,
Sanjay.Hi,
When you have keyfigures on the cube , based on which if you are doing calculations during run time, If one of the key figure value is "0" and it's calculation leads to infinite, then you will find this arthimatical errors during the loadings.
Please check for any calculations are coded in Start, End & field routine between DSO to cube.
Hope this helps out
Thanks
PT -
Arithmetical errors or conversion errors found in routine ROUTINE_0001 reco
Dear Friends,
I am trying to extract data for DataSource 2lis_13_vdkon
into ODS 0SD_O06 I am getting error.
i.e. Arithmetical errors or conversion errors found in routine ROUTINE_0001 record 1
please guide me.
Thanks in Advance.
Regards
Rafee Ahmed1)Check your routines update rules, transfer rules..etc if there are any calculations done ..and it is resulting in any error like divide by zero..etc
2)Check if there are any conversion routine checked/unchecked at the transfer structure level..
Regards
Manga -
Arithmetical errors or conversion errors found in routine ROUTINE_0002 reco
Dear Experts ,
This morning with data load we got the following error message :
" Arithmetical errors or conversion errors found in routine ROUTINE_0002 record xxxx ".
This load is for a data mart.Not a standard extraction.
load fails in update rules.No errors in transfer rules.
Please advice.
Thanks in advance.
Regards,
Arun
Edited by: Arun Kumar Dara on May 6, 2008 1:11 PMHi,
I think this error due to claculation of some value, in the update rules just check the code.
Check the values which comes from the source which may be trying to calculate with some junk values.
The best way is to de-bug the update rules using the Erroneous value, use the Key field value of that particular record for de-bugging the update rules.
Rgs,
I.R.K -
Sender file adapter conversion Error!!
Hello every one....
I am stuck with a problem...in my scenario,, there are possiblities that file may contain more than required paramters... in such case,,, paramters defined in conversion should go ahead and others should be ignored...
for this very purpose i added the paramter:
row.fieldSeparator ,
row.fieldNames orderno,authcode,status
row.endSeparator 'nl'
row.additionalLastFields ignore
the scenario works fine if the file contains thrree comma separated values but it raises an error if no of paramters increase as :
Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting
document line no. 1 according to structure 'row':java.lang.Exception: ERROR in configuration: more
elements in file csv structure than field names specified!
we are using PI 7.... does it require some more configuration in additoin to paramter row.additionalLastFields
any help in this regard would be highly appreciated...
thanxthis parameter is already set, and this is the exact behavior i want from adapter engine... but the problem
here is different... the exception is raised at communication channel's conversion routine level,,, the retry
interval is not the one defined in visual admin but infact the interval (polling) time defined in communication
channel.... the system does'nt stop after 3 attempts,, but infact keep on trying to read it....
one peice of information i have found is in sap note:821267 , which states:
*Q35:*
Q: I have configured a File Sender channel with File Content
Conversion or a custom-developed module, which may throw an
exception. When the File Adapter encounters an invalid file, which
triggers a conversion error or an exception in a module, the
adapter will enter a retry interval and upon each following
processing attempt try to process the faulty file. This basically
prevents the File Adapter from picking up files that are located
after the fauilty file according to the configured sort order. How
can I change this behavior?
o A: This is by design. When the File Adapter encounters an invalid
file, manually remove this file from the configured source
directory. You can configure an alerting rule to get notified each
time this occurs.
We are currently evaluating possible solutions that could be used
to skip this manual interaction.
now can there be a way around to make communication channel read the file only 3 times (value defined in adapter engine profile in visual admin)
I have thaught of writing of module.... but the error is raised even before calling module !!
any further clue ??? -
How to check a lot of conversion errors with one TRY-CATCH?
Hi,
I've to import a lot of data from a flatfile.
To avoid short dumps when there are non-numeric data's for a numeric field in the file, I load every record in a structure that have only CHAR fields.
Then I move this fields in a TRY-Catch block to the real fields like this:
TRY.
field1 = field_from_file1
field2 = field_from_file2
field3 = field_from_file3
CATCH cx_sy_conversion_no_number INTO lr_exception.
PERFORM fehler USING lr_exception.
ENDTRY.
This construct works until the first field has a conversion error. However I will test all fields to get a complete list of the errors. And I am to lazy to make a TRY-CATCH construct for hundred of move-statements.
Is there a better trick to check the success of <b>all</b> move operation?
Regards,
StefanHi Stefan,
sorry, the development system is down right now, so I could not test. But I'm convinced you can figure it out:
You may specify the parameters of a method as TYPE REF TO DATA.
Then, in the calling routine you may have
data:
anyrefsource type ref to data,
anyreftarget type ref to data.
GET REFERENCE OF p_source INTO anyrefsource.
GET REFERENCE OF p_target INTO anyreftarget.
call method try_conv
exporting
source = anyrefsource
target = anyreftarget.
and in the method:
ASSIGN source->* TO <fs_source>
and so on...
BTW: I know you have to use typed parameters in OO. Can't you use "TYPE ANY"?
regards,
C. -
Start Routine: Syntax error in routine 2LIS_03_BF Transformations
Hi experts,
I enhanced the 2lis_03_bf data source, and replicated the data source in bw system, i have mapped the transformations and when i try to activate the transformations it is giving the below error.
Start Routine: Syntax error in routine
when i check the start routine it is giving the below error message.
E:In PERFORM or CALL FUNCTION "ROUTINE_9998", the actual parameter
"SOURCE_PACKAGE" is incompatible with the formal parameter
"DATA_PACKAGE".
please provide me the solution.
Regards
venuscmHi Venu,
This seems to me like you have earlier migrated the update rules to transformations. We did the same earlier and faced issues whenever we add new fields/infoobjects. The error message was different, if i remember correctly.
We had to add the new field/infoobject added, to the structure '_ty_s_*****' that exists at the top of the start routine code. This was one disadvantage of migration of rules.
Maybe you are looking for
-
Hello, Can anyone suggest /guide how to delete records for cancelled PO in quick view. Thanks Parag
-
Unable to open iPhoto 9.4.1 after update
Hello, Since I updated iPhoto on my computer (version: Mac OS X 10.7.5), I am unable to open iPhoto. It crashes each time I try. The same happens with Aperture ... In consequence, I can't access my pictures :-( What should I do? Thanks for your help.
-
Vista 64: XiFi Extreme Gamer: Mic not work
I can't get a microphone to work in BF242 with Vista 64 and my Extreme Gamer. I plug the mic into the 3-way jack, select "mic" in the Creative console; but when I get into the sound setup in the game all I can hear during the test is a pulsing noise.
-
Hi all I want to craete a bulletin board in collaboration/KM. I am not getting required material /docs . Can anyone plss provide some related gud links or documents ? Thanks & Regards
-
Integrated Configuration-with multiple receivers(synchronous )
Hi All, Our scenario is web service to proxy(2 receivers) synchronous scenario..... sender is a party and 2 receivers are 2 different business systems.... we have to create a ICO..... when i am creating up to receiver interface is fine... in outbound