<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: 0recordmode issues in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/0recordmode-issues/qaa-p/11049978#M4066152</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Nanda and Ajit for your replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nanda- I do not get any error message or errors. The data does not get reflected properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ajit-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Key figures are overwrite mode. Delta is ABR, the data source used is 2lis_11_vaitm. with enhancements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delta queue, PSA and DSO1 has proper recordmode for deleted entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The logic in DSO1- DSO2 works in this fashion.&lt;/P&gt;&lt;P&gt;DSO1 - key1, key3&lt;/P&gt;&lt;P&gt;DSO2 - key1, key2, key3,key4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the logic in the transformation, DSO2 can add 1 record from DSO1 or 2 records from DSO2. There is a logic for adding new lines in DSO2 according to a condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when we have only 1:1, the record mode works very good, the "R" status is carried through and the active data table of DSO2 has the item deleted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem arises, if there is a 1:2, the change log has 2 entries but the new table has only 1 entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Jun 2015 15:21:27 GMT</pubDate>
    <dc:creator>sap_user62</dc:creator>
    <dc:date>2015-06-03T15:21:27Z</dc:date>
    <item>
      <title>0recordmode issues</title>
      <link>https://community.sap.com/t5/technology-q-a/0recordmode-issues/qaq-p/11049972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Env- BW 7.3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing some challenges in getting updated records which are deleted in ECC. I use datasource 2lis_11_vaitm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Model is -- data source--&amp;gt;DSO1--&amp;gt;DSO2--&amp;gt;CUBE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested the following scenario. I deleted few line item from an existing contract in ECC and saved it.&lt;/P&gt;&lt;P&gt;The delta queue shows line items which are deleted with "R" in the ROCANCEL field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mapped the ROCANCEL field of the data source to the 0RECORDMODE field of the DSO1. Loads look good. Change log table has the deleted line items with status "R" in 0recordmode. And in active data tables the lines are cleared out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0RECORDMODE of DSO1 and DSO2 are already mapped in the transformation by the system. I did not have to change here.&lt;/P&gt;&lt;P&gt;Here the change log table does not show the lines which are deleted with a "R" status. It does not even have those lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now as this is an existing contract, the active data table actually shows the lines which have been deleted too. This is not what is expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the DTP's are taken from the Active data table(without archive).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Very strange thing is this test works good in the sandbox with the same settings for DTP and same transformation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your time and inputs&lt;/P&gt;&lt;P&gt;Ed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 18:32:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/0recordmode-issues/qaq-p/11049972</guid>
      <dc:creator>sap_user62</dc:creator>
      <dc:date>2015-05-15T18:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: 0recordmode issues</title>
      <link>https://community.sap.com/t5/technology-q-a/0recordmode-issues/qaa-p/11049973#M4066147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Filter only those records in DTP and extract and see DTP log how the records are coming try to debug and check what record mode it has.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Nanda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 18:48:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/0recordmode-issues/qaa-p/11049973#M4066147</guid>
      <dc:creator>ccc_ccc</dc:creator>
      <dc:date>2015-05-15T18:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: 0recordmode issues</title>
      <link>https://community.sap.com/t5/technology-q-a/0recordmode-issues/qaa-p/11049974#M4066148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Nanda for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have debugged the code in dev. However debugging does not allow me to capture the values of 0recordmode.&lt;/P&gt;&lt;P&gt;I tried to check the data in the new data table, change log table and active data table after the loads.&lt;/P&gt;&lt;P&gt;I have seen that from 1st level dso to 2nd level dso the load goes fine. ( load only contains the deleted record test data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The new data of 2nd level DSO has recordmode as "R" for deleted records.&lt;/P&gt;&lt;P&gt;However the change log table after activation has no data at all.&lt;/P&gt;&lt;P&gt;So the active data still contains records with the deleted items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have activated the transformation from 1st to 2nd level DSO and also activate the 2nd level DSO.&lt;/P&gt;&lt;P&gt;No positive results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 15:40:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/0recordmode-issues/qaa-p/11049974#M4066148</guid>
      <dc:creator>sap_user62</dc:creator>
      <dc:date>2015-05-26T15:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: 0recordmode issues</title>
      <link>https://community.sap.com/t5/technology-q-a/0recordmode-issues/qaa-p/11049975#M4066149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further information, DSO1 has 2 keys and DSO2 has 4 keys(common 2 keys with DSO1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem comes in activation of the 2nd level DSO. The new data table looks good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it a known issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ed,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 20:24:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/0recordmode-issues/qaa-p/11049975#M4066149</guid>
      <dc:creator>sap_user62</dc:creator>
      <dc:date>2015-06-01T20:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: 0recordmode issues</title>
      <link>https://community.sap.com/t5/technology-q-a/0recordmode-issues/qaa-p/11049976#M4066150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the error message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 20:42:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/0recordmode-issues/qaa-p/11049976#M4066150</guid>
      <dc:creator>ccc_ccc</dc:creator>
      <dc:date>2015-06-01T20:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: 0recordmode issues</title>
      <link>https://community.sap.com/t5/technology-q-a/0recordmode-issues/qaa-p/11049977#M4066151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please check following things for me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the update mode of your KF's. If there is any KF with summation mode.&lt;/P&gt;&lt;P&gt;In ECC go to table ROOSOURCE &amp;amp; check the delta type of your data source. It should be type ABR.&lt;/P&gt;&lt;P&gt;For deleted orders check if you are getting before image 'X' entries in PSA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ajit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 21:05:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/0recordmode-issues/qaa-p/11049977#M4066151</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-06-01T21:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: 0recordmode issues</title>
      <link>https://community.sap.com/t5/technology-q-a/0recordmode-issues/qaa-p/11049978#M4066152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Nanda and Ajit for your replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nanda- I do not get any error message or errors. The data does not get reflected properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ajit-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Key figures are overwrite mode. Delta is ABR, the data source used is 2lis_11_vaitm. with enhancements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delta queue, PSA and DSO1 has proper recordmode for deleted entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The logic in DSO1- DSO2 works in this fashion.&lt;/P&gt;&lt;P&gt;DSO1 - key1, key3&lt;/P&gt;&lt;P&gt;DSO2 - key1, key2, key3,key4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the logic in the transformation, DSO2 can add 1 record from DSO1 or 2 records from DSO2. There is a logic for adding new lines in DSO2 according to a condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when we have only 1:1, the record mode works very good, the "R" status is carried through and the active data table of DSO2 has the item deleted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem arises, if there is a 1:2, the change log has 2 entries but the new table has only 1 entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 15:21:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/0recordmode-issues/qaa-p/11049978#M4066152</guid>
      <dc:creator>sap_user62</dc:creator>
      <dc:date>2015-06-03T15:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: 0recordmode issues</title>
      <link>https://community.sap.com/t5/technology-q-a/0recordmode-issues/qaa-p/11049979#M4066153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP suggests that 0recordmode does not work good in case of deletions from one level DSO to second level DSO if the keys from DSO1 and DSO2 are not same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="urVt1 urTxtStd"&gt; &lt;/SPAN&gt;&amp;nbsp; &lt;A href="http://service.sap.com/sap/support/notes/1358780" title="1358780  - Limitations of DATASTORE loading senarios"&gt; &lt;SPAN class="title"&gt;1358780 - Limitations of DATASTORE loading senarios&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://service.sap.com/sap/support/notes/1358780" title="1358780  - Limitations of DATASTORE loading senarios"&gt; &lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2015 19:27:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/0recordmode-issues/qaa-p/11049979#M4066153</guid>
      <dc:creator>sap_user62</dc:creator>
      <dc:date>2015-07-23T19:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: 0recordmode issues</title>
      <link>https://community.sap.com/t5/technology-q-a/0recordmode-issues/qaa-p/11049980#M4066154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SAP Note is indeed relevant and describes issues as you are facing now. I only wonder how you implemented the Transformation (end routine, expert routine, ... - if so, please share the coding). Can you also please share some additional details to obtain a full picture? Last but not least can you please give some examples of both cases?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sander&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Jul 2015 00:25:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/0recordmode-issues/qaa-p/11049980#M4066154</guid>
      <dc:creator>sander_vanwilligen</dc:creator>
      <dc:date>2015-07-26T00:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: 0recordmode issues</title>
      <link>https://community.sap.com/t5/technology-q-a/0recordmode-issues/qaa-p/11049981#M4066155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Scenario -&lt;/P&gt;&lt;P&gt;DSO1 - keys -2- Sales Document, Sales document item&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DSO2- keys -4 - sales document, sales document item, billing plan number, billing plan item&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;billing plan is updated in a DSO which is drop and full load everyday from a ECC Custom table.. Depending on data from billingplan DSO, one or two lines get added to the second level DSO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if the one the line item in sales document is deleted, that particular line will have the recordmode as "R", but from the billing plan DSO, there is no concept of recordmode, the entry is directly deleted on reload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This caused a mismatch in the change log table for the data that exist and new data that is generated.&lt;/P&gt;&lt;P&gt;Existing data will have a billing plan number and item, but the new record which is generated in the delta load does not have this new entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution has not yet been implemented, but I would think on these lines.&lt;/P&gt;&lt;P&gt;need to take a dump of active data table before the start of transformation. (start routine)&lt;/P&gt;&lt;P&gt;Then for the records which have recordmode as "R", do not do a lookup on billingplan DSO, instead look at the active data table and fill the values for billing plan and billing plan item.&lt;/P&gt;&lt;P&gt;Then check if the change run table would actually be able to delete all the lines.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 18:19:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/0recordmode-issues/qaa-p/11049981#M4066155</guid>
      <dc:creator>sap_user62</dc:creator>
      <dc:date>2015-07-27T18:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: 0recordmode issues</title>
      <link>https://community.sap.com/t5/technology-q-a/0recordmode-issues/qaa-p/11049982#M4066156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for explaining the issue in detail. I am getting the point now. Your approach seems to be right to me. You will need extra logic to determine if a record exists in the active table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One question I would like to ask. Do you really need the extended key of DSO2? How would the solution look like if in DSO2 you only have the key fields Sales Document and Sales Document Item? You add Billing Plan Number and Billing Plan Item as additional data fields. Then you only need one record and update Billing Plan Number and Billing Plan Item is they exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sander&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Aug 2015 01:43:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/0recordmode-issues/qaa-p/11049982#M4066156</guid>
      <dc:creator>sander_vanwilligen</dc:creator>
      <dc:date>2015-08-01T01:43:13Z</dc:date>
    </item>
  </channel>
</rss>

