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

Similar Messages

  • Error when activate transformation with mapping ROCANCEL to 0RECORDMODE

    In the techical rule group, I maped ROCANCEL with 0RECORDMODE but the transformation can not activate with the error
    Rule7 (target: 0RECORDMODE): Source parameter ROCANCEL is not being use
    Please advise what went wrong ?

    Hi,
    ROCANCEL field is indicates the status of record
    i.e Indicator: cancellation record
    This will be mapped to 0RECORDMODE infoobject. that field is necessary for DSO to identify the status of records(cancellation/deletions/changed/new record).
    Regards,
    Suman

  • 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

  • 2LIS_11_VAITM - Deleted Line Items

    I am having an issue with sales order line items that have been deleted.
    I load my data using 2LIS_11_VAITM into a DSO EDW Layer. I then pass this up to another DSO layer. I noticed that users were deleting line items from Orders and this was causing me an issue in my data. To remove the problem I have linked ROCANCEL to 0RECORDMODE in the Technical rule up to my EDW layer and now in my EDW layer the line item goes completely when it is deleted out of the ERP system ad the deletion is passed into BW.
    I got the idea for this from here Deleted line item appears in BI report
    My problem lies in the layer above where I am still left with a line in the DSO relating to the deleted line. But the KF are zero. Is there anyway to also get this line to be deleted out as per my EDW layer?
    Thanks,
    Joel

    Hi Joel,
    What is not completely clear to me is what happens in the first DSO. Are the deleted records removed from the active table or are the key figures set to 0?
    Furthermore, what is update rule for key figures: overwrite or addition (in the transformation to both DSOs)?
    The record mode is indeed the crucial factor. It must become clear which one is delivered by the DataSource: 'R' for a reversed record or a 'D' for an entire deletion? And what is the record mode in the update to second DSO?
    Best regards,
    Sander

  • Problem of deleted PO

    Hi Guys,
    I have a situation here, in Purchasing area when I am loading for schedule line I got 1 Purchase Order which is deleted in R/3 side, I checked in EKPO table and its deletion indicator was set there. But, while loading in BW its deletion indictor was not set and is blank.
    Now, the problem is that as its deleted PO it can't be edited in R/3 side so how should I avoid this PO in BI, as User dont want to see deleted PO in the report.
    any suggestion will be appreciated.
    Thanks,
    Saurabh.

    Hi
    make sure you have correctly mapped ROCANCEL and 0RECORDMODE in your system.
    may i know which data source you are using?
    When the user deleted PO in source system, the nyou should get that PO with negative quantities into BI system.
    If you are getting PO as mentioned above in your cube (PO with blank key figures), then while loading data from DSO to CUBE write a routine saying that PO with deletion indicator D should be deleted.
    Regards,
    Venkatesh

  • URGENT :  2LIS_11_VAITM , 2LIS_02_ITM ( Deleted orders)

    Hi all
    I have been trying to fix this problem that I am having. For these 2 datasources which feed into 0SD_O01 and 0PUR_O01 respectively , the 0ITEM_DEL flag does not populate any values.
    I created some purchase and sales orders and deleted them but BW shows these records but does not put 'X' in the 0ITEM_DEL object.
    I can see the flag in PSA though
    Also in the transfer rules , I see 2 objects - 0STOR_NO and 0RECORDMODE.I do not see 0RECORDMODE in either of the ODS.
    0STOR_NO is mapped to ROCANCEL AND 0RECORDMODE is blank in the transfer rules.
    In the update rules , 0STOR_NO is mapped to 0ITEM_DEL .
    Please advice
    How can I fix this.

    Hi:
    If anybody who worked on those two InfoSources give replies, it may solve th eproblem.
    Else, you can try your custom ABAP Code, preferably in Start routing of Update Rules. You can use field STORNO and using ABAP, you can reverse the key figures. Since a CUBE is always addition, you will end up canceling the key figures.
    But, my guess is there may some other solution without ABAP.
    Let me know if you want to try the above.
    Ram Chamarthy

  • Business Content Inventory Management (0IC_C03) Cube

    I am thinking of adding a data staging ODS to our Inventory Management model.  However, I wanted to check whether the delivered cube 0IC_C03 is aggregated or whether it is a representation of the R3 extraction.  If the latter is the case I do not see the purpose of an additional ODS layer.  Could anyone pass their thoughts? Thanks

    hi Niten,
    check oss note 581778-ODS capability of extractors from Inventory Management
    Symptom
    Data is not updated into the ODS when you load certain data records of the 2LIS_03_BF extractor.
    Other terms
    ODS, 2LIS_03_BF, 2LIS_03_UM, 2LIS_03_BX, 2LIS_40_S278, 0STORNO, ROCANCEL, RODMUPDMOD, 0RECORDMODE, Inventory Management, 0IC_C03,
    Application 03, Logistics Extraction Cockpit, LBIW
    Reason and Prerequisites
    The 2LIS_03_BF extractor does not return any "connected" after and before images, as in the SD extraction, for example.
    Originally, the extractor was only designed for updating into an InfoCube. The extraction method was converted from the "D" delta process to "ABR1" with PI 2000.1 patch 4, or PI-A 2000.1 patch 4 so that it could be updated into an ODS object (see notes 322303, 385703 and 323811).
    If documents are canceled in Inventory Management, a new document is generated (new document and item number).
    This type of operation is transferred into BW with the "ROCANCEL" field set to 'X'. This results in the necessary inversion of quantities or value key figures. A new record is generated for this in the ODS (the "preceding document" has another key).
    Example:
    ODS key: Doc.
    Movement data:
    Document   Item    Document year   Movement type     Qty     ROCANCEL
    4711       1       2002             101              +100
    4712       1       2002              102              -100     X
    ODS contents:
    Document   Item.   Document year   Movement type    Quantity
    4711       1       2002             101                 +100
    4712       1       2002                                   -100
    The "Movement type" field was set to "initial" in the data record for document "4712" by the processing during the ODS update.
    Document 4712 is a before image (0RECORDMODE = 'X') for the ODS. Therefore, this data does not arrive in the ODS. Nevertheless, the before image (document 4712) does not have any context with the after image (document 4711) because there are different keys (document/item/document year). The SAP R/3 inventory management controls these activities with new material documents and (reversal) movement types.
    BW technology note no. 747037 provides more information.
    Solution
    You have two options to evaluate cancellations or operations which contain reversal movement types and ROCANCEL = "X" in the ODS:
    1. Implement a start routine
    Insert the following code into the start routine of your update:
    ODS key: Material doc.|Item number|Calendar year
    BEGIN******************************
    LOOP AT DATA_PACKAGE.
      if DATA_PACKAGE-recordmode eq 'X'.
        DATA_PACKAGE-recordmode = ''.
        modify DATA_PACKAGE.
      endif.
    endloop.
    END********************************
    2. Change the transfer rules
    With the transfer rules, do not assign the "ROCANCEL" DataSource field to the "0RECORDMODE" InfoObject in the InfoSource. As a result, only records with "0RECORDMODE" = ' ' are transferred to the ODS. For the ODS, the after images whose characteristics or key figures that are set to overwrite, are not deleted.
    Other special features when updating the extractors of the inventory management into ODS objects:
    1. 2LIS_03_BF and 2LIS_03_UM
    a) ODS capability
    For more information, see notes 322303, 323811 and 385703.
    b) Key creation
    For 2LIS_03_BF, see note 417703.
    The following keys are available for 2LIS_03_UM:
    1. MCMSEG-BUKRS
    2. MCMSEG-BELNR
    3. MCMSEG-GJAHR
    4. MCMSEG-BUZEI
    Field no. 4 is not delivered as standard in the extract structure, but it can be added using the Logistics extract structures Customizing Cockpit.
    Field no. 1 may not be included in the relevant organizational structure.
    2. 2LIS_03_BX (up to and including 3.0B 2LIS_40_S278)
    The dynamic stock calculation from stocks (2LIS_03_BX) and movements (2LIS_03_BF) is only possible with (non-cumulative) InfoCubes.
    Using ODS technology is only useful in this context for:
    - an Enterprise DataWarehouse layer
    - the realization of a snapshot scenario:
    See the How to paper for this topic at:
    -> http://service.sap.com/bw
    -> left navigation area: SAP BW InfoIndex
    -> info index: N ("Non-cumulatives") ->
    "How to... handle inventory management scenarios in SAP BW 3.x" (pdf)
    Use note 773823 to update the 2LIS_03_BX InfoSource into an ODS.
    Note also that you cannot update any key figures into an ODS object (see notes 752492 and 782314).

  • 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

  • Update ODS from 2LIS_02_SCL - Deletion flag

    Hello,
    We face some problems when updating an ODS from 2LIS_02_SCL.
    The deletion flag seems not to be set correctly.
    Our goal is to keep the deleted items in the ODS.
    But how to set 0RECORDMODE and STORNO correcty in order to update the ODS in the good way.
    Sometimes after an update we receive 2 records, one with STORNO=X and a other with STORNO=SPACE.
    I know that this field is used as before or after image in some case.But i need more help to clear the process.
    Thanks
    Christophe

    Hi,
    If data loading into and ODS in overwrite mode, instead of mapping ROCANCEL to 0RECORDMODE, Just write a simple code at start routine to clear keyfigure values/qty if ROCANCEL is "R" or"X".
    This way you can keep deleted records from source, with keyfigure values as Zero's.
    Datasource - 2LIS_02_SCL delta: ABR u2013 Complete delta update with deletion indicator using delta queue (Cube-compatible).
    ROCANCEL u2013 Cancellation of Data Record
    This field can contain the following values:
    ·        u2018blanku2018 u2013 New data record
    ·        u2018Xu2019 u2013 Cancellation of data record
    ·        u2018Ru2019 u2013 Deletion of data record
    For more information, see SAP Note 578471: Deleted Items in BW and Statistics
    Check: Purchasing Data (Schedule Line Level)
    Srini

  • 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

  • 0Recordmode and ROCANCEL

    Could you please explain me about  0Recordmode and ROCANCEL and how they are related if at all?

    Hi,
    Infoobject 0recordmode maintains the images for delta's.it keep tracks the Delta changes.
    0recordmode is used when we go for delta
    0recordmode is the field added by the system, if the ds if delta capable.
    In ODS it is added at the time of creation of the ODS.The 0recordmode is most useful in the delta loads from the ODS to another ODS/Cube.
    Include the 0RECORDMODE in your ODS but assign ""(space) in the transfer rules. The 0RECORDMODE would get populated by the system itself.
    First: the recrodmode controls how data is posted into cubes or ODS (DSO) Objects.
    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)
    Y-Update image
    What extractor delivers what different types of values can be seen via to tables:
    ROOSOURCE in the source R/3 System.
    There point out the delta mechanism. With this value, check within Table RODELTAM. There you see the different POSSIBLE Values for ROCANCEL delivered by a DataSource.
    The relevant object 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.
    ROCANCEL (0STORNO) is  Cancellation indicator
    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 and will be with blank in 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 ROCANCEL field.
    This attribute describes how a record in the delta process is updated. The various delta processes differ in that they each only support a subset of the seven possible characteristic values. If a Data Source implements a delta process that uses several characteristic values, the record mode must be a part of the extract structure and the name of the corresponding filed must be entered in the Data Source as a cancellation field (ROOSOURCE-INVFIELD).
    The seven characteristic values are as follows:
    look at OSS Note 399739 'Questions and answers on InfoObject 0RECORDMODE'
    http://help.sap.com/saphelp_nw04/helpdata/en/84/81eb588fc211d4b2c90050da4c74dc/frameset.htm
    http://help.sap.com/saphelp_erp2004/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    Hope this helps.
    Thanks,
    JituK

  • How to map 0recordmode?

    hello guys,
    I've got this error massage: Rule 20 (Destination: 0RECORDMODE Group: 02 Technical Groupe): Constant is initial.
    So somebody told me at first I have to integrate it in the ODS table (If i try to integrate 0recordmode I've got a message that not all of the InfoObjects are assumed). And after this step I should map it in the Transformation. (By the way: I'm working with the SAP BW 7.0 version).
    Do anybody have a solution for this problem?
    Best regards,
    nadine

    Hi,
    Have a look at this link:
    [Note 399739 - Questions and answers on InfoObject 0RECORDMODE|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=399739]
    [ROCANCEL not assign to the 0RECORDMODE object|ROCANCEL not assign to the 0RECORDMODE object;
    Hope it helps...
    Regards,
    Ashish

  • Where is 0ROCANCEL field? (Mapped to 0RECORDMODE)

    hi all,
    We've  used 0RECORDMODE in the ODS and we've mapped it to 0ROCANCEL field.
    Can anyone give me where does it comes from, since its not available in the R/3 tables.
    Bye & thanks
    Moon

    Hi,
    Re: Indicator: Cancel Data Record
    https://www.sdn.sap.com/irj/sdn?rid=/webcontent/uuid/7201c12f-0701-0010-f2a6-de5f8ea81a9e [original link is broken]
    Re: rocancel
    Regards,
    San!

  • How to include ROCANCEL in BI 7.0 datasource

    Hi All,
    Can anyone sugegst me the ways to include ROCANCEL(Deletion flag) in 7.0 datasources.
    What could be the logic to include?

    Hi,
    hi,
    take a look
    Enhancement
    User exit
    there is pdf 'enhancements in sap bw' with steps
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/59069d90-0201-0010-fd81-d5e11994d8b5
    also weblogs on enhancement
    LOGISTIC COCKPIT - WHEN YOU NEED MORE - First option: enhance it !
    Custom Fields in standard extractors - making a mixed marriage work - part 1_2.
    (http://www.ko-india.com/content/weblogs/weblog_custom_fields_1.pdf)
    As mentioned ROCANCEL has to map to 0recordmode.
    First go to Tcode RSA6
    Display data sources-->Then select ur dataSoruce which we need to enhance then click on the append structure.....> then add the fields which u needed.--
    > save and activate.
    go to the t code CMOD...>there select the project name--> go to the exit in RSAP0001->then find the exits...>EXIT_SAPLRSAP_001 for Transaction Data,
    EXIT_SAPLRSAP_002 for Master Data.------->Double Click on the exits it will open include Zprogram. Double click on that Program and find case structure where u include code for the newly appended fields

  • Why do we need ROCANCEL in datasource?

    why do we need ROCANCEL in datasource?
    many thanks.
    brgds/steve

    Hi,
    ROCANCEL filed is one based on which you will come to know whether it is new record or change rec etc.... that is coming in the delta extraction.
    N  -- New record.
      X --- Changed
         ---  Deleted.
    This will be mapped to 0RECORDMODE infoobject in BW based upon which the data is updated to ODS.
    Regards,
    Ranganath k.S

Maybe you are looking for