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
Nikhil

Hi 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

Similar Messages

  • 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 PM

    Hi,
    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

  • 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 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
    SP

    check 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 AM

    Hi 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
    Lakshmi

    Hi 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 this

    Hi,
    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: Gaurave

    Hi,
    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

    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 Ahmed

    1)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 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 VR

    Hi,
    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

    Hi
    When I execute infoPackage for data update have mistake in the Monitor with the  message "Arithmetical errors or conversion errors found in routine ROUTINE_0020 record 0",  How can solve?

    hi luis,
    It looks like there is some error with the ABAP code in some of the routines. You need to debug the update rules / transfer rules where the routine is written.
    In order to debug the update rule / transfer rule, go to details tab in monitor -> processing -> right click -> simulate upodate -> selct update / transfer rules -> select data package -> execute.
    hope it helps,
    Thanks,
    Soumya

  • Syntax error in Start Routine routine 9998 in transformation

    Hi Guyz,
    I am getting the below error while doinf the syntax check in start routine in one of the transformation in BW production after the failed TR movement
    E:In PERFORM or CALL FUNCTION "ROUTINE_9998", the actual parameter
    "SOURCE_PACKAGE" is incompatible with the formal parameter
    "DATA_PACKAGE".
    but for the same transformation in quality its showing  no syntax errors found.
    its an odd behaviour.
    please guide with ur expertise.
    cheerz,
    raps.

    Hi,
    Check the note 1052648. it says that:
    Start routine:
               In the start routine, all the fields from the source are always available.
    During the migration, a type '_ty_t_SC_1_full' is generated in '2nd part global'. Since Note 1325124, this type has been adjusted when the field list is changed. In the past, a change to the field list caused syntax errors of the type:
    For update rules:
                        E: For PERFORM or CALL FUNCTION "ROUTINE_9998", the actual parameter "SOURCE_PACKAGE" is not compatible with the formal parameter "DATA_PACKAGE".
    For transfer rules:
                        E:For PERFORM or CALL FUNCTION "STARTROUTINE", the actual parameter "SOURCE_PACKAGE" is not compatible with the formal parameter "DATAPAK".
               If this error continues to occur, go to the solution section to correct it.
               Solution:
               This error should now be automatically corrected with Note 1325124. Access the incorrect start routine in change mode. The type '_ty_s_SC_1_full' is then automatically adjusted to the source structure. If this does not work, you should use the tool 'RSTRAN_MIGRATION_CHECK' (described in Note 1369395) to check and possibly repair the transformation in question.
               If this error still occurs, you can correct it manually as follows:
               Copy the field list of the type     '_ty_s_SC_1' from the 'private section' of the CLASS lcl_transform DEFINITION (you can find this when you scroll up in the routine editor of the start routine) to the type '_ty_s_SC_1_full' of '2nd part global'.
    Regards,
    Anil Kumar Sharma .P

  • Backup Fail with Volume Shadow Copy Service error: Error calling a routine on the Shadow Copy Provider, Event ID 12293, error returned while creating the volume shadow copy 0x8004230f,

    We are using TINA backup solution and windows 2003 backup is failling with VSS error.
    For testing purpose we initiate a system state backup (or any file backup) with the help of windows 2003 ntbackup.exe and found it is failing with below error.
    Backup error report.
    Backup Status
    Operation: Backup
    Active backup destination: File
    Media name: "Backup.bkf created 28/05/2014 at 06:34"
    Volume shadow copy creation: Attempt 1.
    Error returned while creating the volume shadow copy:0x8004230f.
    Error returned while creating the volume shadow copy:8004230f
    Aborting Backup.
    The operation did not successfully complete.
    We check event viewer and found below error event.
    Event Type:       
    Error
    Event Source:   
    VSS
    Event Category:               
    None
    Event ID:             
    12293
    Date:                    
    28/05/2014
    Time:                    
    05:48:10
    User:                    
    N/A
    Computer:         
    CQ329TOS
    Description:
    Volume Shadow Copy Service error: Error calling a routine on the Shadow Copy Provider {b5946137-7b9f-4925-af80-51abd60b20d5}. Routine details Cannot ask provider {b5946137-7b9f-4925-af80-51abd60b20d5} if
    volume is supported. [0x8000ffff] [hr = 0x8000ffff].

    Resolution:
    After getting this error we check Shadow Copy provider and writer health and fond it is fine.
    To get shadow copy providers details use below command.
    Command: vssadmin list providers
    Command output
    C:\>vssadmin list providers
    vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
    (C) Copyright 2001 Microsoft Corp.
    Provider name: 'Microsoft Software Shadow Copy provider 1.0'
       Provider type: System
       Provider Id: {b5946137-7b9f-4925-af80-51abd60b20d5}
       Version: 1.0.0.7
    To get shadow copy writers health
    Command: vssadmin list writers
    Command Output.
    C:\>vssadmin list writers
    vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
    (C) Copyright 2001 Microsoft Corp.
    Writer name: 'System Writer'
       Writer Id: {e8132975-6f93-4464-a53e-1050253ae220}
       Writer Instance Id: {333e02cd-d9ec-43c8-9b45-39691ad1b351}
       State: [1] Stable
       Last error: No error
    Writer name: 'Registry Writer'
       Writer Id: {afbab4a2-367d-4d15-a586-71dbb18f8485}
       Writer Instance Id: {800877a5-e13d-47a3-8f99-ebd4d3b3fd12}
       State: [1] Stable
       Last error: No error
    Writer name: 'MSDEWriter'
       Writer Id: {f8544ac1-0611-4fa5-b04b-f7ee00b03277}
       Writer Instance Id: {63400aa0-a17f-4121-9483-1cd226f03238}
       State: [1] Stable
       Last error: No error
    Writer name: 'COM+ REGDB Writer'
       Writer Id: {542da469-d3e1-473c-9f4f-7847f01fc64f}
       Writer Instance Id: {e13cb72b-84fa-4c86-86d8-48f523aafc9a}
       State: [1] Stable
       Last error: No error
    Writer name: 'Event Log Writer'
       Writer Id: {eee8c692-67ed-4250-8d86-390603070d00}
       Writer Instance Id: {ce63b3a0-e038-4e56-9d07-929f256639de}
       State: [1] Stable
       Last error: No error
    Writer name: 'WMI Writer'
       Writer Id: {a6ad56c2-b509-4e6c-bb19-49d8f43532f0}
       Writer Instance Id: {008e8714-ed6d-4288-81ce-4b0b1ec41294}
       State: [1] Stable
       Last error: No error
    Writer name: 'BITS Writer'
       Writer Id: {4969d978-be47-48b0-b100-f328f07ac1e0}
       Writer Instance Id: {e22a8953-a52c-4a76-bec0-8773122cbff8}
       State: [1] Stable
       Last error: No error
    Next I check Shadow Copies details from volume properties (right click on C or other drive then select properties then click on Shadow Copies Tab) and found it is showing the same error code..
    From this error it is clear that the issue is inside the registry hive and due to junk hive shadow copies services not able to working properly.
    For me the server have two disk we check disk signature at MBR and found the disk signature was.
    Signature disk 0 : 9351912b
    Signature disk 0 : FDFBE035
    But at registry we found lot of nonexistance signature. Which indicate lot of junk valu inside registry.
    Now how can we resolve this issue?
    It is very simple just delete the registry key “volume” (registry key “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\STORAGE\Volume”) and reboot the server it will “Volume” registry hive automatically.
    Note:
     When you remove registry key it is showing error unable to delete, then please right click on it select permission then take ownership and assign full permission to your login account.
    Please be careful when you delete registry key because system can fully crashed if you delete or modify wrong registry key.
    Your can take a backup of the registry key by exporting.

  • Error for  COM routine using application program (return code 40069)

    Hi,
    In our planning book, sometimes, when we change a value and save, we are getting a pop up with the message "Error for  COM routine using application program (return code 40069)". When we click ok, the value in that cell is reset to the previous value.
    I initially thought this is due to duplicate CVCs and ran the consistency checks, /SAPAPO/TS_LCM_CONS_CHECK and /SAPAPO/TS_PSTRU_CONS_CHECK. I found few and corrected them. Now even after correcting them, I am still getting this COM error.
    I could not find any SAP notes on this.
    I switched on the SQL trace in ST05 and executed the same operation to get the COM error.
    I noticed this part of the trace that is unusual and I am guessing that is what the system is doing when I get the error.
    Can somebody please explain me the meaning of this attached trace?
    http://spreadsheets.google.com/pub?key=pMjKR_3qLaxblBDDPfRt6cw
    what does the SIM_SIMSESSION_CONTROL do?
    Does CALL USER.SAPTS_AGGMULT_TIMESERIES  mean there are duplicate time series?
    Thanks.

    I may not be technical person but may be the following thread on SIMSESSION may help.
    SIM Session
    ST05 trace only gives DB level traces. It would not give you traces of things happening in Live Cache since there are stored DB procedures that are called for LC activity.
    Did you do OSS search on "return code 40069" ? CHeck OSS note 863244. See if it is applicable.

Maybe you are looking for

  • Scheduling Agreement: validity variation date on schedule dates

    Hello everybody I have a problem and  I appreciate your advice . There is an agreement “A” which validity date is from 01.01.2007 to 31.12.2007. And an agreement "B" with validity date from 01.01.2008 to 31.12.2009 After the MRP has been run, It crea

  • DVCPRO 50 and Quicktime

    Is the DVCPRO 50 codec part of the QT codec line up for Mac and windows? Or is it only part of FCP? -Lars

  • Neo iOn-2 iPod  Vehicle Adapter doesn't display tune info on vehicle screen

    I recently bought a "Neo iOn-2 iPod to GM12" for my 2004 Chevy Avalanche. It plays GREAT thru the factory installed Bose system but does NOT display what's playing on the XM/Radio screen. I was told by the Mp3YourCar.Com people that they are awaiting

  • Magic mouse wont track

    magic mouse will connect and click and scroll functions work but wont track. The senses are clean and the batteries are showing at 93%? It seems to have started when I tried to use it on a black glass table. Any ideas?

  • DECODE using in OWB 9i

    Hi, I want to use a Decode function inside the SELECT clause. How to do it from OWB. In the list of functions in Oracle Library its not present. I get the function in the Joining Operator or Filter i.e. that will come in the WHERE part. Then for DECO