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

Similar Messages

  • Getting Error In the Routine - While writing Code for the Cross Reference.

    Hi,
    Getting Error In the Start Routine - While writing Code for the Cross Reference from the Text table ( /BIC/TZMDES with Fields /BIC/ZMDES(Key),TXTSH ) Getting Error as [ E:Field "ZMDES" unknown ].
    Transformation : IOBJ ZPRJ3(Source) -> IOBJ ZPRJC ( Target ).
    The Source  Fields are: 0logsys(Key),zprj3(Key),ZDOM3.
    The Target Fields are : 0logsys(Key),zprjc(Key),ZDOM3, UID.
    Here i am trying to Update the target Field UID by Comparing the Source Field [ zprj3(Key)] with the Text table ( /BIC/TZMDES ) and update the UID.
    The Code is as below:
    Global Declarations in the Start Routine:
    Types: begin of itabtype,
            ZMDES type /BIC/TZMDES-/BIC/ZMDES,
            TXT type /BIC/TZMDES-TXTSH,
             end of itabtype.
    data : itab type standard table of itabtype
    with key ZMDES,
    wa_itab like line of itab.
    Routine Code :
    select * from /BIC/TZMDES into corresponding fields of table itab for
    all entries in SOURCE_PACKAGE
    where ZMDES = SOURCE_PACKAGE-/BIC/ZPRJ3.
    READ TABLE itab INTO wa_itab
    WITH KEY ZMDES = SOURCE_PACKAGE-/BIC/ZPRJ3
    BINARY SEARCH.
    IF SY-SUBRC = 0.
    RESULT = wa_itab.
    CLEAR wa_itab.
    The tys_SC_1 structure is :
    BEGIN OF tys_SC_1,
         InfoObject: 0LOGSYS.
            LOGSYS           TYPE RSDLOGSYS,
         InfoObject: ZPRJ3.
            /BIC/ZPRJ3           TYPE /BIC/OIZPRJ3,
         InfoObject: ZDOM3.
            /BIC/ZDOM3           TYPE /BIC/OIZDOM3,
         Field: RECORD.
            RECORD           TYPE RSARECORD,
          END   OF tys_SC_1.
        TYPES:
          tyt_SC_1        TYPE STANDARD TABLE OF tys_SC_1
                            WITH NON-UNIQUE DEFAULT KEY.
    Please suggest with your valuable inputs.
    Thanks in Advance

    I have split the code in two.. one for start routine.. other for field routine.. hope this helps
    Types: begin of itabtype,
    ZMDES type /BIC/TZMDES-/BIC/ZMDES,
    TXT type /BIC/TZMDES-TXTSH,
    end of itabtype.
    data : itab type standard table of itabtype
    with key ZMDES,
    wa_itab like line of itab.
    Start routine
    select * from /BIC/TZMDES into corresponding fields of table itab for
    all entries in SOURCE_PACKAGE
    where ZMDES = SOURCE_PACKAGE-/BIC/ZPRJ3.
    Sort itab.
    field routine
    CLEAR wa_itab.
    READ TABLE itab INTO wa_itab
    WITH KEY ZMDES = SOURCE_FIELD-/BIC/ZPRJ3
    BINARY SEARCH.
    IF SY-SUBRC = 0.
    RESULT = wa_itab-<field name>

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

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

    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

  • Errors with the global conversion rule

    Hi Guys,
    When I activate the DSO,I get an error "Errors with the global conversion rule".I applied OSS note 1387854.But the problem still persists.I did not find any replies on SDN for this error,so posting it again.
    If anyone knows how to proceed,please help! <REMOVED_BY_MODERATOR>
    Thanks,
    Sri
    Edited by: Pravender on Dec 9, 2010 4:51 PM

    the error might show due to which infoobject this error is happening.
    that particular infoobject might conatin a transfer routine. Open the transfer routine in the infoobject, do a dummy change, save the routine and activate the infoobject, then try activating the DSO.
    this might do the trick . Hope this helps.
    rgds, Ghuru

  • Data Source 0HR_PA_0 Syntax Error in the start routine while activating

    Hi All,
    I have migrated the Business content for the data source 0HR_PA_0
    While activating the transformation-2 there is errors like:
    Start Routine: Syntax error in routine
    Rule (target: 0HDCNT_LAST, group: 01 Standard Group): Syntax error in routine
    Rule (target: 0AGE_KYF, group: 01 Standard Group): Syntax error in routine
    .................... etc
    I need help to resolve this issue.
    Thanks & Regards,
    Savitha

    Hello Jurgita,
    When Data Source was migrated the codes related to COMM_STRUCTURE was missing in the start routinue.
    Following codes (in bold) with regard to COMM_STRUCTURE added and then got activated
    4.     *--
    5.         COMM_STRUCTURE   type tys_sc_1__rule_25,
    6.         l_subrc          type sy-tabix,
    7.         l_abort          type sy-tabix,
    8.         ls_monitor       TYPE rsmonitor,
    9.         ls_monitor_recno TYPE rsmonitors.
    10.     
    11.       REFRESH:
    12.         MONITOR.
    13.     
    14.     * Runtime attributs
    15.         SOURCE_SYSTEM  = p_r_request->get_logsys( ).
    16.         move-corresponding SOURCE_FIELDS to COMM_STRUCTURE.
    17.     
    18.     *  Migrated update rule call
    19.       Perform routine_0011
    20.       using
    21.         COMM_STRUCTURE
    22.       CHANGING
    Regards,
    Savitha
    Edited by: Savitha  Ravi on Jun 19, 2009 6:34 AM

Maybe you are looking for

  • Windows 8.1, BootCamp does not find the ISO image.

    When I try to install Windows 8.1, BootCamp does not find the ISO image. I purchased Windows 8.1 Pro, I downloaded the .exe requested file from a Windows computer, performed the steps recommended by Microsoft in order to create the ISO file saving it

  • Contacts and Calendar have disappeared from iPhone

    All my contacts and calendar entries have totally disappeared from my iPhone on 20.5.09. My free trial of MobileMe was due to end on 20.5.09, so on 17.5.09 I cancelled my subscription (didn't really use it). The only backup of my contacts/calendar wa

  • How to turn off quick alphabet scroll???

    hi how do you turn off the quick alphabet scroll?? I have the 60gb 5g ipod with latest f/w the problem is that it's great to have the quick scroll, but once i got into that letter, it's hard to scroll to the middle without going to a different letter

  • Why is my iPhoto library in FCPX?

    do my clients need to EVER see it?

  • How you might restore your printing abilities

    To those having problems printing after updating with 10.5.2 try the following it worked for me. Choose Apple menu > System Preferences and click Print & Fax. Hold down the Control key as you click in the Printer list, and choose "Reset printing syst