0RECORDMODE VALUE

Hi Gurus,
I am loading data from ODS1 to ODS2.   Can I change 0recordmode value through start routine in transfer rule or update rule while loading data from ODS1 to ODS2?
Thanks
Liza
Edited by: Liza on Jul 22, 2008 5:10 AM

Hi,
Since u said ur ODS1 is having a look up on ODS2, so its obviously indicated that when u change the Record mode values, the values deviate in ODS2.
There is a Web log for it to understand the recordmode of ODS' es.
How does a datasource communicates "DELTA" with BW?
Thanks.
Assing Points if helped
Thanks

Similar Messages

  • 0RECORDMODE values means ??????

    Hi
    Can anyone please let me know the 'What are the values means for 0RECORDMODE.
    0RECORDMODE = X --> what is mean (records is changed or newly created ???)
      0RECORDMODE = N --> what is mean
    0RECORDMODE =  space --> what is mean .
    pls let me know
    regards
    Kumar

    HI Ravi,
    0RECORDMODE is a predefined characteristic, it specifies how data is loaded into target.
    AFTER IMAGE " " :What did the record look like after the change
    BEFORE IMAGE "X":What did the record look like before the change
    ADDITIVE IMAGE "A": Show only the difference for all numeric values
    NEW IMAGE "N": For each change that is made, a new unique record is generated.
    DELETE "D" : Only provide the key information required to make deletion.
    REVERSE "R": Send the information required to numerically "cancel" a deleted record
    for example:
    MATER CUST PRIC QTY REVE
    mat001 cst001 1000 10 10000
    mat002 cst002 2000 20 20000
    above mentioned data is loaded into ODS . After this loading ,one record is changed and some other records are added to this source
    MATER CUST PRIC QTY REVE
    mat001 cst001 500 10 5000 ( changed record)
    mat002 cst002 2000 20 20000
    mat003 cst003 400 5 2000 (new record)
    Now in ODS u can see this
    MATER CUST PRIC QTY REVE 0RECORDMODE
    mat001 cst001 1000 10 10000 X
    mat001 cst001 500 10 5000
    mat002 cst002 2000 20 20000 N
    mat003 cst003 400 5 2000 N
    Hope this info helps you.......
    Thanks & Regards
    KP

  • 0RECORDMODE: overwrite vesus addition

    Good day
    Please assist. I have created an ODS (version 3.0) and 0recordmode forms part of the Comm Structure.I need to load sales data for the same dealer, same month and the data should be added, not overwrite. How do I get the ODS to accept to add the data, not overwrite?
    Thanks
    Cornelius

    Hi,
    The value of InfoObject 0RECORDMODE determines whether the update rule for key figures supports addition or overwrite procedures. This InfoObject is required for delta loads and is added by the system if a data source is delta-capable. It is added to an ODS during the creation process. Records are updated during the delta process using a variety of ROCANCEL/0RECORDMODE values including N for a new record image, A for an additive image, and Y for an update record image used by ODS key figures processing with a minimum or maximum aggregation. We will limit our discussion here to the following four more commonly used values:X indicates the before image of a record D deletes the record  R denotes a reverse image A blank character represents a record’s after image  When delta requests are processed by the ODS, the ROCANCEL values assigned in R/3 and maintained by InfoObject 0RECORDMODE accurately update the data target automatically in different ways depending on if the ODS update rules are configured for the Addition or Overwrite mode.

  • Some ? about 0RECORDMODE.

    ODS delta updation is based on 0RECORDMODE,my question is: Does the 0RECORDMODE value be filled automatically or manually? Thanx for help!

    Hi,
    Characteristic 0RECORDMODE is used to pass indicators of the DataSource (from SAP systems) to the update.
    You do not need characteristic 0RECORDMODE as long as you do not load delta requests in the ODS object or only from file DataSources.
    For more information please check the below links:
    http://help.sap.com/saphelp_nw70/helpdata/EN/80/1a64d3e07211d2acb80000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/49/851342bc45dd2ce10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/84/81eb588fc211d4b2c90050da4c74dc/frameset.htm
    Regards,
    Ravi Kanth

  • End routine field not populated

    Hi,
    I have made the following end routine in order to populate the field YNEGOCIO with two characters.
    I´m uploading data from DSO 0FIAR_O03 to customized DSO.  When i activate this DSO i don´t see the field YNEGOCIO populated but the strange thing is that when i make a debbugg to the end routine,  the result package-YNEGOCIO at the end of routine IS POPULATED with the correct values.
    Can anybody help me with this?
    LOOP AT RESULT_PACKAGE INTO e_s_result.
    **Recover characters 14,15 from YNEGOCIO.
    CLEAR lv_negocio.
               SELECT SINGLE
                 /BIC/YYKEY
                FROM /BIC/AYSDLASPV00
                INTO lv_key
                    WHERE
                      /BIC/YYVALUE EQ e_s_result-GL_ACCOUNT.
                IF sy-subrc EQ 0.
                  MOVE lv_key+13(2) TO lv_negocio.
                ENDIF.
          LOOP AT gt_inv_gl9_doc INTO gs_inv_gl8_doc
            WHERE ac_doc_no = e_s_result-ac_doc_no.
    * Calculate Importe Aplicado
            MOVE e_s_result to aux_s_result.
             aux_s_result-record = v_count + 1.
            IF aux_s_result-DEB_CRE_DC IS NOT INITIAL.
              aux_s_result-PROFIT_CTR = gs_inv_gl8_doc-profit_ctr.
              aux_s_result-USERNAME = gs_inv_gl8_doc-USERNAME.
              aux_s_result-deb_cre_dc = gs_inv_gl8_doc-DEB_CRE_DC.
              aux_s_result-/BIC/YI_WRBTR = gs_inv_gl8_doc-DEB_CRE_DC *
                aux_s_result-/BIC/YI_WRBTR / aux_s_result-DEB_CRE_DC.
              aux_s_result-/BIC/YNEGOCIO = lv_negocio.
              APPEND aux_s_result to e_t_result.
            ENDIF.
          endloop.
        endloop.
        REFRESH RESULT_PACKAGE.
        MOVE e_t_result[] TO RESULT_PACKAGE[].
    Regards,
    Diego

    hi,
       check your changelog table and see data over there, i guess this situation generally happens when you do delta laod , itmight happening bcoz of two image are created which might be cancelling each other when request gets actiavted in DSO and also see for 0recordmode value.
    hope it helps
    regards
    laksh

  • 'D' Value in UPDMOD field getting lost in Transformation,Delete not working

    Hello all,
    We are using this datasource 0PU_IS_PS_32 for Funds management, the datasource has UPDMOD field in it, which is basically the 0RECORDMODE. So when they delete the document on R/3 side we can pick up the delete.
    Now this is what is happening in the delta infopackage, I get the delat records in the delta infopackage and I see a "D" in the UPDMOD field, but that value of D is getting lost when i load the data from PSA to the DSO through transofrmation by using DTP.
    After the request is loaded in DSO, before activating the request I check in New Data table and the field does not have a value of "D" anymore so when I activate the request the system does not know that those records are "D" delete records and so the records are not getting deleted from DSO.
    Has anyone faced this before, how can I fix it. The transformation is just one to one mapping no routines or formulas of any kind.
    Thanks for your help in advance.

    Hi,
    It is mandatory that u map upmode to 0recordmode. In the rule group there will be 2 groups. One will be ur normal mapping and other should be used to map 0recordmode
    Regards,
    Raghavendra.

  • Link b/w ROCANCEL, 0STRONO, 0RECORDMODE

    Hi
    I read the OSS Note 399739 'Questions and answers on InfoObject 0RECORDMODE':
    In this i didnt understand the link b/w  ROCANCEL, 0STRONO, 0RECORDMODE.
    I checked FI transfer rules, 0RECORDMODE is mapped with UPMOD
    BUT
    2LIS_13_VDITM there is no 0RECORDMODE present and 0STRONO  is mapped with ROCANCEL.
    I n 2LIS_13_VDHDR: 0STRONO  is mapped with ROCANCEL and 0RECORDMODE is mapped with 0STRONO.
    could anyone thr ligth on this.
    Regards
    Rak

    Hi all,
              I just want to ask you guys questions regarding the before and after image records generated by delta update. Basically, I deleted an item from a sales order so it sends the data to BW with reversal indicator R. (Datasource is 2LIS_11_VAITM.)
    original data in the ODS 1 before the deletion looks like this
    Doc. number     cumulative order        delivery quantity           net value   
        0001                    10                             15                            20
    then after the update (item deletion) ODS 1 was overwritten to:
    Doc. number     cumulative order       delivery quantity        net value   reversal     
        0001                   -10                         -15                         -20            R
    but when i load it to the second ODS, this is what happens:
    Doc. number     cumulative order       delivery quantity        net value      upmode
        0001                     0                            0                         -20            blank  
        0001                   -10                           -15                      -20               X
        0001                     10                           15                        20
    The first two record was generated as the before and after image. but my question is why is that the net value field is not updated. im expecting to have a value of zero for the net value also. Is there a way to find what fields are going to be updated from an item deletion?
    Thanks,
    Jett

  • How to dynamically and selectively update DSO based on values in a csv file

    Hi,
    I'm loading a csv file into a DSO. When loading the flat file in FULL mode I need to do a pseudo delete of records that were previously loaded but are not in the new flat file.
    Is it possible to dynamically determine the unique set of records (say Pk1, Pk2, Pk3) in the csv file and then set all the corresponding DSO records' quantities to 0 - maybe in a start routine??  After that, I can load the csv file with the correct quantities (effectively update and inserts).  The net result should be that the change log only be updated through to the next DSO.
    Example: Load 10 records yesterday. Today reload 9 records. 10th records must have quantity set to 0. Other 9 records will have quantity values set to those in today's csv file -  some will be the same & some will be different. The net change log of all 10 records must be loaded into the next DSO.
    Any suggestions on how to do this logic?
    Thanks!

    Hi Gregg,
    You can create one transformation from the DataStore to itself.  In the "Technical" rules group, set 0RECORDMODE = 'X' (before image) or 'R' (reverse).  Therefore, when you execute its corresponding DTP, all existing records shouldl be set to zero.
    Then, as a second step, you can execute the DTP which is related to the transformation between the DataStore and the DataSource, thus loading the new records.
    I hope this helps you.
    Regards,
    Maximiliano

  • In 3.5, =recordmode value for delta ZIC upload

    Hi experts,
    I am creating an ODS in 3.5 to delta load data to a Z infocube.
    What value shoud i put to 0RECORDMODE in the infosource??
    What type of data must it be? CHA1 or another standard type?
    Thanks,
    Artur.

    You need not to provide any value. Keep it blank...

  • Explication about the Delta process in SAP BI - ROCANCEL and 0RECORDMODE

    Hello,
    I use the delta process with cockpit datasources (2LIS_17_I3HDR and 2LIS_17_I0NOTIF).
    I have transfered all data from the extraction queue to the BW queue.
    After, when I will launch the delta process in SAP BI (with the infopackage), two ODS will be updated. I wanted to know how SAP will know what is really the delta? I have seen that there is a ROCANCEL field in the PSA, how does SAP choose the good row? Does-it recognize the ROCANCEL and so replace the row ROCANCELED with the new one? Have we to do a special manipulation (like a mapping of ROCANCEL with 0RECORDMODE?)?
    Can you explain me a little how does SAP work (ROCANCEL values, 0RECORDMODE, etc. and what I have to do? ).
    Thanks a lot,
    Regards,
    Julien

    Check :
    Re: Indicator: Cancel Data Record
    Re: 0RECORDMODE, 0STORNO, ROCANCEL

  • Local currency showing higher value in BW compared to ERP - Sales report

    Hi,
    My sales report is showing higher value in BW report compared to ERP e.g
    the report is showing 567,01 and in ERP it is showing 566,94.
    is there a way I can resolve this in the query.
    thanks

    Hi  Bhat,
    there may be lot many factors like
    1)comparision between the Two i.e ERP and BIW.Are the Factors same.
    2)Have u  Deltas captured properly.
    3)have u missed any deltas any day.
    4)Any order that has been modified .
    5)hope u have considered ONE days Lag between BIW and ERP.
    6)To what is ur 0Recordmode mapped to.
    7)Is it because of Rounding OFF Values.
    Rgds
    SVU

  • Need JAVA code to create OIM ITresource-connection values are in a csv file

    Hi,
    Could any one plz help me with the java code used / tested before to create OIM IT resource dynamically, for the reference. IT resource parameter (connection) values in a .csv file, where in I've multiple environments.
    Thanks,
    Ramesh
    Edited by: user13267745 on Aug 19, 2010 12:37 AM

    Hi Gregg,
    You can create one transformation from the DataStore to itself.  In the "Technical" rules group, set 0RECORDMODE = 'X' (before image) or 'R' (reverse).  Therefore, when you execute its corresponding DTP, all existing records shouldl be set to zero.
    Then, as a second step, you can execute the DTP which is related to the transformation between the DataStore and the DataSource, thus loading the new records.
    I hope this helps you.
    Regards,
    Maximiliano

  • Link between 0RECORDMODE AND  ROCANCEL

    Hi, could you pls explaint the link between 0RECORDMODE and ROCANCEL
    I just dont understand why they are mapped in transferrules. and i dont have the field ROCANCEL field in my datasource. actually what scenario makes 0RECORDMODE and ROCANCEL go together could u pls explain
    Thanks in Advance,
    Pallavi.

    Hi,
    First: the recrodmode controls how data is posted into cubes or ODS (DSO) Objects.
    Different Chars have different meanings:
    N for new records
    B for Pre Imgages
    ' ' for after images
    R for Reverse Images
    X for Storno
    D for Deletion of a Key (only in ODS possible)
    What extractor delivers what different types pof values can be seen via to tables:
    ROOSOURCE in the source R/3 System.
    There point out th edelta mechanism. With this value, check within Table RODELTAM. There you see the different POSSIBLE Values for ROCANCEL delivered by a DataSource.
    The relevant objekt for the controlling of the mode in BW is the InfoObject 0RECORDMODE. Each ODS (DSO) has this Object. For Logistic-Extractors (except MaterialManagement) 0RECORDMODE should be mapped with ROCANCEL.
    0STORNO generally is an InfoObject for Reports. E.G. Material movements. Stornos are posted in R/3 with particular so called movement types. Each movement typer contains an information if it is of type "Storno". If this is so, the field storno contains an X.
    If you now map the storno field onto 0RECORDMODE, the record is interpreted as a storno record an will be wied blank ini the DataTarget.
    If you have monotone increasing document numbers (like in CO-PA, CO-OM, MM-INV ...) 0RECORDMODE should be left blank. 0STORNO can be used for Reporting then and be filled differently.
    If you can have changes to an already existing document number (like in sales orders or purchase orders) i'd strongly recommend to map 0RECORDMODE onto the delivered ROCALNCEL field.
    also Check
    Refer OSS Note 399739 and 333492
    Thanks..Assign points if helpful.
    ´Tony

  • How does delta know the value of keyfigures to substract?

    Hi
    I was wondering... I have a delta load to a ODS. The delta would go like this:
    doc nr.     item nr.     qty
    111111    0000010     15
    111111    0000010     -15
    111111    0000010     19
    But how does the delta know that it has to subtract 15 before it adds 19? Is it just looking in the ODS for a record with the same primary key? In that case, how does it then know what to subtract when it is an infocube that is the target?
    Thanks in advance.
    Kind regards,
    Torben

    Hi Torben,
    Delta Process is the Property of the Datasource as mentioned by Tripple K.
    You can go to table ROOSOURCE in OLTP (R/3) sytem and check the property of the Datasource for which you are extracting the data.
    And also you can see table RODELTAM to see details about a particular Delta Process Type.
    RODELTAM table contains the details abt DELTA PROCESS like
    ABR, A, ADD, AID, AIED, AIM ets
    Delta only with Full Upload (ODS or InfoPackage Selection)
    A ALE Update Pointer (Master Data)
    ABR Complete Delta wth Deletion ID Using Delta Queue (Cube-Cap.)
    ABR1 As 'ABR' Procedure, but Serializatn only Request by Request
    ADD Additive Extraction Using Extractor (e.g.LIS-InfoStructures)
    ADDD As 'ADD' but via Delta Queue (Cube Enabled)
    AIE After Images Using Extractor (FI-GL/AP/AR)
    AIED After-Images with Delete Indicatr via Extractr (FI-GL/AP/AR)
    AIM After Images Using Delta Queue (e.g. FI-AP/AR)
    AIMD After Images wth Deletion ID Using Delta Queue (e.g. BtB)
    CUBE InfoCube Extraction
    D Unspecific Delta Using Delta Queue (Not ODS-Capable)
    E Unspecific Delta Using Extractor (Not ODS-capable)
    FIL0 Delta Using File Import with After Images
    FIL1 Delta Using File Import with Delta Images
    NEWD Only New Records (Inserts) via Delta Queue (Cube Enabled)
    NEWE Only New Records (Inserts) via Extractor (Cube Enabled)
    O
    ODS ODS Extraction
    X Delta Unspecified (Do Not Use!)
    The Datasource contains a field called ROCANCEL which is mapped to 0RECORDMODE in BW(if ODS is present in BW Data Flow). The Role of this field is to indicate the Cancellation of data record , similarly the field 0RECORDMODE determines whether the records are added to or overwritten. It determines how a record is updated in the delta process: A blank character signifies an after image, ‘X’ a before image, ‘D’ deletes the record and ‘R’ means a reverse image.
    By mapping ROCANCEL to 0RECORDMODE the data extraction and concept of delta is realised in BW.
    So while modelling the Data Flow in BW and Delta mechanism in BW the Datasource property (ROOSOURCE and RODELTAM) plays a vital role in Modelling.
    Basically this ROCANCEL Field will have values like "blank" - after image, and "X" - before image and if you check in RSA7 for the records extracted in your last delta run you will find multiple records for same key fields, as there are multiple images (After, Before, Reverse etc) depending on Delta Process of Datasource.
    Hope this clears.
    Please let us know if you have further queries.
    Thanks!
    CK

  • Negative price values in DSOs...Orecordmode, ROCANCEL related

    Hi,
    I am seeing a lot of negative values for pricing in the DSO. This has something to do with 0RECORDMODE and ROCANCEL. I am not able to troubleshoot this one. Please suggest on what the approach should be to resolve this issue.

    The data in ODS shows negative key figures. The infosource is 2lis_11_vaitm. The update rules and transformations for the 0RECORDMODE and 0STORNO seem ok.

Maybe you are looking for

  • What is the difference between scheduling agreement and delivery schedule

    Hi 1. Can anyone explain me the difference between scheduling agreement output     and scheduling agreement delivey schedule     Will the both look same in T.code SP02 when seeing the output for a document.     Can anyone send me T.codes for above on

  • How do I update/insert into a target table, rows after date X

    Hi all I have a mapping from source table A to target table B. Identical table structure. Target table A updates rows and inserts rows daily. Every week I want to synchronize this with table B. I have CREATION_DATE and LAST_UPDATE_DATE on both tables

  • How do I connect my canon ip3400

    I had to unplug my computer, printer, modem and router. I put it back together but now I can't print. I see the printer in the 'print dialog' showing the printed job, trying to connect, saying printer is not connected. What did I forgot to connect? I

  • SMQ1 queues are in stop state

    Hi All, My outbound queues from ECC to CRM system are in Stop state, I checked under qRFC monitor (SMQS) , queue is registered. When i go to SMQ1 and click on unlock the queues works but when the next entry gets stuck again. Any ideas to fix this. Th

  • Excel Query case sensitive problem

    HI all I am writing query in excel to join table. however I find it is case sensitive.  which cause many trouble. how to make it case incensitive. SELECT * FROM `C:\compare.xlsx`.`sheet1$` a left join `C:\compare.xlsx`.`sheet2$` b on a.`name`=b.`name