Formula in Update rule(Urgent)

Dear Gurus,
Iam written Formula in update rule
Get source system type is SUBSTRING( Source System, 2, 1 )
And Get Client Formula is RIGHT( Source System, 3 )
Above formula  syntax is correct.
But when iam loading data getting below error.
Formula in InfoObject /BIC/CLIENT : The argument 'R3DCLNT240' cannot be interpreted as.
In Help node it is showing below message.
This is a specific error message of processing from the handling of incorrect data data records. It enables the jump into the error requests or the PSA maintenance, depending on whether the generation of an error request was desired, and whether or not it was possible.
How to solve this problem?What does it mean?
Thanks in advance
Ramu

Hi Ramu,
Instead of using Formula why don't u try with Constant in Update rules for R3DCLNT240.
Try with this and hope it may works.
Thanks & Regards,
Reddy.

Similar Messages

  • Routine /Formula in update rule

    Hello
    I am trying to use formula function in update rule but its giving me error
    scenerio here is
    I tried with routine syntax wise itz correct but not working
    here is the example
    fill theIF 'KNART' eq 'ZP01'. internal table "MONITOR", to make
    result value of the routine
    RESULT = 'KNVAL'.IF 'KNART' eq 'ZP01'.
    ENDIF.
    if abort is not equal zero, the update process will be canceled
    ABORT = 0.
    $$ end of routine - insert your code only before this line -
    ENDFORM.
    trying to update with knval( avleble in commication structure) only if other(KNART is eq zp01) i found sysntaxwise code is correct but its giving me shortdump at teh time of loading
    any input will be great help
    cheers
    Praveen

    Hi
    I tried with this code though its syntax wise correct but again its not working
    IF COMM_STRUCTURE-KNART eq 'ZP01'.
    RESULT = COMM_STRUCTURE-KNVAL.
    ELSE.
    RETURNCODE = 1.
    ENDIF.

  • Formulas in Update rule active Program

    Hi,
    I would like to know whether is it possible to see the formulas applied in the update rule active program generated .
    for exampkle: (IF TRANINDIC = 0, NET_VALUE,0).....This formula has been applied for a specific kefigure in update rule.
    I just wanted to see the above formula in the update rule activer progrma...so is it possible to see....if it is possible please let me know some tips and tricks to check the same.
    Thanks
    Sujan

    Hi,
    In rsa1 open upadate rules. and in the main menu. check for option generated program under menu options.
    you can get the program.

  • Error in update rules *urgent*

    Hello all,
    We got error in loading 2LIS_03_BF due to loss of connectivity to source system ,
    After correcting the connection  I tryed to reload the delta.
    while loading we got all the records <i>(100000 of 100000)</i> but the processing is still running at
    <b>Second step in update</b>
    plz through light on this issue
    Regards..... SAP

    Hi SAP,
    HAs the extraction been finished for your data load? If so are you able to see the data packets in processing in yellow state? then try making the status red and then update the data pckages manually.
    If your data packets taking time to get processed in the update rules stage, reduce the data packet size and then reload, this should give less records to process in the update rules.
    Regards
    Srini

  • Routine in Update rule (Urgent)

    Hi
    My issue is a bit typical.
    We enhanced 0MATERIAL_ATTR datasource to get one field from ZTABLE1 from R/3 called "Product type" and this is working fine and populated to 0MATERIAL.
    In R/3, Our clients are giving the incentives to the customers based on their bill value. Incentives are maintained in ZTABLE2 master data in R/3.
    There are three types of incentives 1. special 2. period 3. policy.
    Incentives should be calculated based on the "product type"
    I maintained ZTABLE2 (incentive) in BW ODS.
    When i pull the 2LIS_13_VDITM, incentive value should be calculated from the ODS based on the product type in 0MATERIAL.
    How can i do it?
    One more thing.
    Product type is NAV Attr to 0MATERIAL.
    Now in Update rule if i put product type and populate as"Master data attribute"
    and add a keyfigure called ZINCENTVAL and write a routine , Will it work?
    Regards
    Annie
    Please get back to me if you dont understand the question?

    First define the two tables you use:
    DATA: g_workarea LIKE /BIC/AZTABLE2,
          l_/BIC/AZTABLE2_itab TYPE HASHED TABLE OF /BIC/AZTABLE2
    WITH
          UNIQUE KEY [enter your unique key here],
          g_key1_save LIKE /BIC/AZTABLE2-key1,
          g_key2_save LIKE /BIC/AZTABLE2-key2,
          l_days_open type i,
          l_index like sy-tabix.
    DATA: g_workarea2 LIKE /BI0/pmaterial,
          l_/BI0/pmaterial_itab TYPE HASHED TABLE OF /BI0/pmaterial
    WITH
          UNIQUE KEY material,
          g_material_save LIKE /BI0/pmaterial-material,
          l_days2_open type i,
          l_index2 like sy-tabix.
    Then define the checks you want to make:
    FORM check_producttype USING    l_producttype
                        CHANGING g_workarea2 LIKE /BI0/pmaterial.
      IF l_material NE g_material_save.
        CLEAR g_workarea2.
        SELECT SINGLE * FROM /BI0/pmaterial INTO CORRESPONDING FIELDS OF
    g_workarea2 WHERE
                        material = l_material AND
                        objvers = 'A'.
        g_material_save = l_material.
      ENDIF.
    ENDFORM.
    FORM check_incentive USING    l_key1 l_key2
                        CHANGING g_workarea LIKE /BIC/AZTABLE2.
      IF l_key1 NE g_key1_save OR
          l_key2 NE g_key2_save.
        CLEAR g_workarea.
        SELECT SINGLE * FROM /BIC/AZTABLE2 INTO CORRESPONDING FIELDS OF
    g_workarea WHERE
                        key1 = l_key1 AND
                        key2 = l_key2
        g_key1_save = l_key1.
      g_key2_save = l_key2.
      ENDIF.
    ENDFORM.
    Finally, execute your whole thing:
    PERFORM check_producttype USING  COMM_STRUCTURE-material
                             CHANGING g_workarea2.
    PERFORM check_incentive USING  COMM_STRUCTURE-key1
                             CHANGING g_workarea.
    IF g_workarea2-producttype EQ ...
    ELSE.
    ENDIF.
    and so on...
    RESULT =...
    Hope this helps.

  • Date not coming in proper format after applying formula in Update Rules

    Hi All,
    I have two time characteristics "Goods Issue date" and "Goods Return date" and One key figure "No. of days elapsed".
    The key figure "number of days elapsed" is being calculated by taking difference of "goods issue date" from "goods return date", but the format for that is not coming proper for example:-
    Goods Issue Date is 21.06.2006
    Goods Return Date is 22.08.2006
    According to formula No. of days elapsed shud be 62
    but it is coming as 04.03.0001.
    Please help as it is a urgent requirement.
    Much Appreciated,
    Sunil Morwal.

    Dear Sunil,
      Kindly check if creating 2 new KeyFigures (DATE) will be of help by assigning the said "two time characteristics" values.
      From these 2 new KYFs, apply your formula..
      Hope this helps..
      Thanks.
    Message was edited by: Arnold Padiernos

  • Multiple selection in formula in update rule

    Hi Guru's,
    I want to make an exclude selection of two banks (ZCHBANK) of the whole bankselection (ZCHBNKSEL). I made an transformation between these two info objects and now I made a formula IF(BIC/ZCHBANK = (3.896) , 'N', 'J' ). Now I become a list of MD with all banknumbers with the sign J and only for banknumber 3.896 N. This is what I want. But now I want to have more banknumbers which not have to go through. So in other words bank 3.896, 3.202 and 3.980 must be excluded. I am struggling with the formula to exclude more than one banknumber.
    I already tried the next formula's but nothing seems to work:
    IF(BIC/ZCHBANK = (3.896) OR (3.980) , 'N', 'J' )
    IF(BIC/ZCHBANK = (3.896) , (3.980) , 'N', 'J' )
    IF(BIC/ZCHBANK = (3.896) , 'N', 'J' )OR IF(BIC/ZCHBANK = (3.980) , 'N', 'J' ).
    IF(BIC/ZCHBANK = (3.896) , 'N', 'J' ) IF(BIC/ZCHBANK = (3.980) , 'N', 'J' ).
    IF(BIC/ZCHBANK = (3.896) , 'N', 'J' )AND IF(BIC/ZCHBANK = (3.980) , 'N', 'J' ).
    IF(BIC/ZCHBANK = (3.896) , 'N', 'J' )& IF(BIC/ZCHBANK = (3.980) , 'N', 'J' ).
    Can anybody tell me how I can make a formula so three of banks of whole the bank selectionwill become 'N' in the formula and all the other banks will become 'J' ?
    Thanks in advance.
    Regards,
    Jens

    Hi there,
    Try this one:
    IF(((BIC/ZCHBANK = 3.896) OR (BIC/ZCHBANK = 3.202) OR  (BIC/ZCHBANK = 3.980)), 'N', 'J' )
    Diogo.

  • Formula Problem in Update Rule

    Hi all,
    I am facing one problem with formula in update rule.
    I have written one formula in update rule which it is working in development, but I moved the content to quality there it is not working.
    I have used the following formula.
    IF( NEGATIVE( TRUNC( Total Revenue in USD ) ) >= 5,000,000, 1, 0 )
    Best Regards,
    SGK

    Hi
    It should work fine,If you still facing the same problem,do one thing(work around)
    Create a transport request for your cube with indata flow before,and then activate your update once again in dev server,then transport it...
    Hope it helps
    Thanks
    Teja

  • How to use Master Data Attribute of in Update Rule's Formula

    Hi experts.
    In update rule, there is an option to use <b>Master Data Attribute of</b>. However, due to user requirement, I need to use that in <b>Formula</b> instead.
    <b>Field to update:</b>
    Profit Center
    <b>Logic:</b>
    If Cost Center is empty
    Then Profit Center
    Else
    Master Data Attribute of Cost Center
    I use the following formula at the moment but it is not 100% correct.
    <b>IF( Cost Center = '', Profit Center, Cost Center )</b>
    Appreciate if anyone could help me out.
    Thanks!

    Hi,
    The easier thing to do will be to use a Update Routine.
    Logic will be as follows :-
    If Cost center iss initial.
    Result = Profit Center
    else.
    result = Cost center.
    endif.
    Regards
    SM

  • Error with Update Rule Formula

    I have the following formula in an update rule
    CALMONTH_FISCPER( Calendar Year/Month, 'SO', 1 )
    and get the error (below) when loading data to the cube (loads ok to PSA).  I have checked ROUTINE_0001 via the Generated Program and it is referring to a problem with the formula could someone assist? Thanks
    error in a formula function (ROUTINE_0001 routine)

    Hi:
    Yes. You will have to maintain Fiscal Variant and Period breakdowns for that year.
    If data is coming from R/3, its a good idea to speak with R/3 Finanace and tell them to amintains variant and periods in R.3 and then you can do a Global Transfer.
    If not, you can maintain them directly in BW. I think you know how to do this part.
    Ram Chamarthy

  • Urgent....Transported Update rules active version but still not active....

    Hi Gurus,
    i have changed a datasource and an <b>ODSA</b>
    and this <b>ODSA</b> which also acts as a datamart to <b>ODSB</b>
    so i have transported, transfer rules, transfer structure, infosource, update rules of <b>ODSA</b> and also the
    update rules of <b>ODSB</b> as well
    And before realsing the request into quality i have replicated the datasource from R/3 as well and then realsed this request to Quality everything is active like transfer rules, infosource, transfer structure
    <b>ODSA</b> update rules
    But the <b>ODSB</b> update rules are not active kindly tell how to make them active.
    so again i have regenerated the export datasource and then again i transported only update rules of
    <b>ODSB</b>.
    but still the update rules are inactive, kindly someone guide me how to make them active
    as i have to send this to production which is having 4 years of historical data so please kindly
    help me.
    thanks and regards
    Harish

    Hi A.H.P, vishvesh, anil, and buvanna
    thankyou guys for your info and support i tried all that u have said
    except activating them manually...as it is urgent i am going with manually activating
    and vishvesh i could do check the update rules by basis help. thanks for that
    A.H.P i have manually activated the update rules its working fine, so  i am praying that everything should be fine in production as i have requested to have permissions to activate in prd as well
    thankyou very much for all the support.
    i am relieved that i have at last solved it
    thanks and regards
    harish

  • Update rules -Empty or invalid formula error message (Message no. RSAR140)

    Greetings to All,
         I am trying to activate update rules from a DSO into a cube.  I am getting the following error message:
    Empty or invalid formula 43D46N8MX3MNP06MF69ZQ8L50
    Message no. RSAR140
         The problem is that I don't know how to lookup a formula by the technical name.  I know you can right click to show technical names of the InfoObjects, but I don't know how to show the technical names of the <i>formulas</i>.  Does anyone know some way to figure out which formula is the one causing the error when all I know is the technical name?
    Thanks,
    Sarah-Jane

    Hi!
      Thanks so much.  That makes perfect sense, but when I look at that table using transaction SE16, and I click on the "Number of Entries" button, I get a message saying there are zero rows in the table.  Could this be possible?  I know this sounds really weird...
      Just in general, how do I found out the names of tables like RSUPDFORM?  Is there a data dictionary that I can query?
    Thank You,
    Sarah-Jane

  • Activation of update rule :Help Required Urgently!!

    Hi
    I am not able to activate an update rule from an ods to cube.
    In the start routine I am populating ITAB with amt when I add the following code in the update routine for amt :
    READ TABLE ITAB WITH KEY RECORD_NO.
    RESULT = ITAB-AMT.
    I am unable to activate and get the to check error.
    the data object 'g_s_kb' does not hav a component called /bic/bspart
    The object specified in the error was earlier present in the comm. structure of  the infosource (ZT_RPM_ITEM_D) which loads the ods ZRPM_OA1
    I am getting this error in the update rule of the cube which I am updating from this ods.
    When I encountered this error I removed that info object ’ZBSPART’ from the comm. structure.
    It is not present in any of the objects now. Also I had recreated both the update rules after I removed that info object from comm. structure.
    Kindly provide pointers to the same.

    Hi,
    Yeah the object was initally itslef only in the comm structure which i deleted
    After deleting it i deleted both URs and recreated them
    Still gegtting the issue....
    Please provide any leads to this strange problem!
    Thank you,
    Regards,
    Rathy

  • URGENT !!! - ABAP code in update rule

    Friends,
    With my limited knowledge in ABAP, I need some help from the forum.
    I need to create a routine in update rule to capture 'date of last GR against a PO delivery schedule'. Let's say
    PO # 1234
    IT # 10
    SCL # 1
    There are multiple partial deliveries against SCL # 1 above and I have to capture the last delivery date and subsequently the last invoice date. If I try to set the rule to capture the 'posting date' based of 'transfer type'  - the GR date field gets overwritten by the last invoice date (the date of last activity). My requirement is to separate the two i.e.
    1) Date of last GR against PO - Item - SCL line
    2) Date of lasr INV against PO - Item - SCL line
    Can any one help me with the code ???
    Thanks,
    AK

    Hi,
    check the following link, gives an example of an update routine.
    http://help.sap.com/saphelp_nw70/helpdata/en/80/1a64fae07211d2acb80000e829fbfe/frameset.htm

  • Need help in Update rule coding - URGENT

    Hi Gurus,
              I am creating an update rule there i need to compare some filed with the fields in inforsouce so here what should be the name used for the infosource can i use something like this
    read table TAB where
          <fields1>       =  DATA_PACKAGE-<field1>.
    where DATA_PACKAGE is the infosource
    is this the rite method
    waiting for reply
    Ravi

    Hi,
    Use this in Update Routine.
    IF COMM_STRUCTURE-field1 = 'value1' AND
    COMM_STRUCTURE-field2 = 'value2'.
    RESULT=field3*100.
    ELSE.
    RESULT=field*10.
    END IF.
    here field name will be in format of :     /bic/fieldname
    Regards,
    rik

Maybe you are looking for

  • Settlement of rebate agreement for previous period

    Hi Friends! This is about rebate settlement (Partial settlement) for rebate agreement documents. We have a process of creation of retro-active rebate agreements and then the sales invoices are updated through a backgound job (program SDBONT06). At th

  • This computer is not authorized to play Song name

    Hi A couple of weeks ago I tried bying a ringtone from my iPhone and it worked fine. But after syncing with my Mac Mini iTunes i get the error message This computer is not authorized to play <Song name>. Would you like to authorize it? I've tried de-

  • Report for release of billing docs

    Hello, Which SAP report is used to release billing documents for accounting? Thank you

  • Applet chatroom question

    I create a client program. I can run it in the local drive. However, when I post it to the web server, it cannot work properly. Why this happens?

  • Latest version of itunes doesn't work with my 64bit computer. version 11.0 works fine

    I wanted to update to the latest version of itunes because I had to for my iphone. When i launch itunes it says : "Itunes stopped working". I downgraded to version 11.0 and all works fine except my iphone doesn't connect to the 11.0 version. i think