<?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: How to implement NOTE 571669. in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/how-to-implement-note-571669/qaa-p/9519155#M3393082</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; Anshu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 . My Inventory data flow is in 7.x flow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 . Bw Release - 731 , SP- level - 0004 , Support package - SAPKW73104&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3 . I have a report for non - moving inventory where&amp;nbsp; I need to capture receipt value having movement 101 . Now the problem that I am facing is that if there is a movement type 101 and stockcat =v and stocktyp =v the particular record is deleted at transformation level because of the code as mentioned below :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier; font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;* INSERT BEGIN&lt;/P&gt;&lt;P&gt;loop at DATA_PACKAGE.&lt;/P&gt;&lt;P&gt;if DATA_PACKAGE-stockcat eq 'V' or&lt;/P&gt;&lt;P&gt;DATA_PACKAGE-stocktype eq 'V'.&lt;/P&gt;&lt;P&gt;delete DATA_PACKAGE.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;* if abort is not equal zero, the update process will be canceled&lt;/P&gt;&lt;P&gt;ABORT = 0.&lt;/P&gt;&lt;P&gt;* INSERT END&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the Note 571669 tells a workaround solution for the same . I wanted to know how to implement that solution code-wise as I am not able to understand the solution thoroughly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Jul 2013 06:14:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-07-03T06:14:14Z</dc:date>
    <item>
      <title>How to implement NOTE 571669.</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-implement-note-571669/qaq-p/9519148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement where I need to show values for materials whose (BSTAUS) = V and(BSTTYP) = V .The values are there at PSA level but I saw in the transformation for 2LIS_03_BF that the values for such scenarios are getting deleted , so it is not getting reflected at the cube level . I refered to NOTE 571669 but I didn't understood how to implement the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone guide me about how to implement the solution code wise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2013 04:36:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-implement-note-571669/qaq-p/9519148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-03T04:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement NOTE 571669.</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-implement-note-571669/qaa-p/9519149#M3393076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nagendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Implementing note means you may need&amp;nbsp; install some patches. its not manual kind of work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thru note you find advantages and effect if any. inform the same to your supervisors and get approval to implement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;once you got approvals from respective supervisors, take basis team help and implent on sand box or dev system. check the data flow once and values how its loading to target from psa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if everything looks fine then move to qualitya and do some test case and next moce to prod thru transport request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't have OSS id to check what OSS Note have, you can t code SNOTE.&lt;/P&gt;&lt;P&gt;further more details, look the below blog which made by mate Suman.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/community/data-warehousing/netweaver-bw/blog/2013/05/19/how-to-download-a-sap-note-without-oss-id"&gt;http://scn.sap.com/community/data-warehousing/netweaver-bw/blog/2013/05/19/how-to-download-a-sap-note-without-oss-id&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2013 04:55:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-implement-note-571669/qaa-p/9519149#M3393076</guid>
      <dc:creator>RamanKorrapati</dc:creator>
      <dc:date>2013-07-03T04:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement NOTE 571669.</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-implement-note-571669/qaa-p/9519150#M3393077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nagndra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to Tcode: SNOTE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Application toolbar click Download button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give the note number and download it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After downloading the note you will find this note under NEW node in the tree.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Double click on the note.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This Note is of type Can not be implemented.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try To read the Note and follow the instructions accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anil &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2013 04:59:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-implement-note-571669/qaa-p/9519150#M3393077</guid>
      <dc:creator>anilkumar_kalkivai</dc:creator>
      <dc:date>2013-07-03T04:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement NOTE 571669.</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-implement-note-571669/qaa-p/9519151#M3393078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Raman,&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Thanks for the swift response.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;The note 571669 implements the below solution which I can see at the start routine for 2LIS_03_BF .&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier;"&gt;&lt;DIV&gt;* INSERT BEGIN&lt;/DIV&gt;&lt;DIV&gt;loop at DATA_PACKAGE.&lt;/DIV&gt;&lt;DIV&gt;if DATA_PACKAGE-stockcat eq 'V' or&lt;/DIV&gt;&lt;DIV&gt;DATA_PACKAGE-stocktype eq 'V'.&lt;/DIV&gt;&lt;DIV&gt;delete DATA_PACKAGE.&lt;/DIV&gt;&lt;DIV&gt;endif.&lt;/DIV&gt;&lt;DIV&gt;endloop.&lt;/DIV&gt;&lt;DIV&gt;* if abort is not equal zero, the update process will be canceled&lt;/DIV&gt;&lt;DIV&gt;ABORT = 0.&lt;/DIV&gt;&lt;DIV&gt;* INSERT END&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;But what I want is to get the values for materials having stockcat and stocktype =V . The note gives a workaround solution for getting those values . The issue that I am facing is how to implement the workaround solution mentioned in the note which mentions about creating two key figures &lt;SPAN style="font-size: 10pt; font-family: Courier;"&gt;ZVERWERT and &lt;SPAN style="font-size: 10pt; font-family: Courier;"&gt;ZVERMENGE and updating those with some code mentioned in the NOTE.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2013 05:11:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-implement-note-571669/qaa-p/9519151#M3393078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-03T05:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement NOTE 571669.</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-implement-note-571669/qaa-p/9519152#M3393079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried donnloading the note but I got the below error,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;An error occurred during RFC communication with a remote system. SAPOSS was &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;used as a destination (maintain destinations in transaction SM59). The message &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;returned by the RFC interface is:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error when opening an RFC connection (LB: Hostname or service of the message &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;server unknown DEST =SA&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2013 05:18:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-implement-note-571669/qaa-p/9519152#M3393079</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-03T05:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement NOTE 571669.</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-implement-note-571669/qaa-p/9519153#M3393080</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;I have gone through the note.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Few questions :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is your inventory data flow in 3.x ?&lt;/LI&gt;&lt;LI&gt;your bw system version and package?&lt;/LI&gt;&lt;LI&gt;Are you planning to report out of these consumption values?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As this note is very old so you need to check on the same as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to ignore the start routine part and follow the routines written in communication structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it gives some idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;AL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2013 05:30:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-implement-note-571669/qaa-p/9519153#M3393080</guid>
      <dc:creator>anshu_lilhori</dc:creator>
      <dc:date>2013-07-03T05:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement NOTE 571669.</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-implement-note-571669/qaa-p/9519154#M3393081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nagendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As said by AL,&lt;/P&gt;&lt;P&gt;please check the version. for which version that note will applciable. if your system details(version, patches) are the same, then you can go ahead with the same note.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note saying to use routines, take ABAP exepert help and maintian logic and check the data load once. on dev system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bit kind of abap related thing, explain the same to abaper and he will help you how to pull data into &lt;SPAN style="font-family: Courier; font-size: 10pt;"&gt;ZVERWERT &lt;/SPAN&gt; and &lt;SPAN style="font-family: Courier; font-size: 10pt;"&gt;ZVERMENGE &lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2013 05:43:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-implement-note-571669/qaa-p/9519154#M3393081</guid>
      <dc:creator>RamanKorrapati</dc:creator>
      <dc:date>2013-07-03T05:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement NOTE 571669.</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-implement-note-571669/qaa-p/9519155#M3393082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; Anshu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 . My Inventory data flow is in 7.x flow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 . Bw Release - 731 , SP- level - 0004 , Support package - SAPKW73104&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3 . I have a report for non - moving inventory where&amp;nbsp; I need to capture receipt value having movement 101 . Now the problem that I am facing is that if there is a movement type 101 and stockcat =v and stocktyp =v the particular record is deleted at transformation level because of the code as mentioned below :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier; font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;* INSERT BEGIN&lt;/P&gt;&lt;P&gt;loop at DATA_PACKAGE.&lt;/P&gt;&lt;P&gt;if DATA_PACKAGE-stockcat eq 'V' or&lt;/P&gt;&lt;P&gt;DATA_PACKAGE-stocktype eq 'V'.&lt;/P&gt;&lt;P&gt;delete DATA_PACKAGE.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;* if abort is not equal zero, the update process will be canceled&lt;/P&gt;&lt;P&gt;ABORT = 0.&lt;/P&gt;&lt;P&gt;* INSERT END&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the Note 571669 tells a workaround solution for the same . I wanted to know how to implement that solution code-wise as I am not able to understand the solution thoroughly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2013 06:14:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-implement-note-571669/qaa-p/9519155#M3393082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-03T06:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement NOTE 571669.</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-implement-note-571669/qaa-p/9519156#M3393083</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;Are you sure that you are in 7.x and the below code is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;NSERT BEGIN&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;loop at DATA_PACKAGE.&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;if DATA_PACKAGE-stockcat eq 'V' or&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;DATA_PACKAGE-stocktype eq 'V'.&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;delete DATA_PACKAGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Reason is in 7.x data_package has been replaced by source_package.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;please cross check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;AL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2013 09:01:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-implement-note-571669/qaa-p/9519156#M3393083</guid>
      <dc:creator>anshu_lilhori</dc:creator>
      <dc:date>2013-07-03T09:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement NOTE 571669.</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-implement-note-571669/qaa-p/9519157#M3393084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;There was a error in the transformation earlier but that was handled bycopying fields of &lt;/DIV&gt;&lt;DIV&gt;_ty_t_SC_1 to _ty_s_SC_1_full which resolved the issue&lt;/DIV&gt;&lt;DIV&gt;Now I want to implement the code mentioned in 571669 which is a workaround for including receipt values with stockcat =v and stocktyp =v . &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier;"&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Create two new key figures (cumulative values):&lt;/DIV&gt;&lt;DIV&gt;1. Material consumption value (ZVERWERT, for example) with unit&lt;/DIV&gt;&lt;DIV&gt;0BASE_UOM&lt;/DIV&gt;&lt;DIV&gt;2. Material consumption quantity (ZVERMENGE, for example) with unit&lt;/DIV&gt;&lt;DIV&gt;0LOC_CURRCY&lt;/DIV&gt;&lt;DIV&gt;3. Include these in the InfoCube definition.&lt;/DIV&gt;&lt;DIV&gt;4. Update these key figures from 2LIS_03_BF as follows:&lt;/DIV&gt;&lt;DIV&gt;-&amp;gt; material consumption value:&lt;/DIV&gt;&lt;DIV&gt;IF ( COMM_STRUCTURE-processkey EQ '100' "Other Issues&lt;/DIV&gt;&lt;DIV&gt;OR COMM_STRUCTURE-processkey EQ '101' "Returns / Vendor&lt;/DIV&gt;&lt;DIV&gt;OR COMM_STRUCTURE-processkey EQ '104' "Material Transfer&lt;/DIV&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier;"&gt;&lt;DIV&gt;OR COMM_STRUCTURE-processkey EQ '105' "Stock Adjustment InvD&lt;/DIV&gt;&lt;DIV&gt;OR COMM_STRUCTURE-processkey EQ '106' "Stock Adjustment Other&lt;/DIV&gt;&lt;DIV&gt;OR COMM_STRUCTURE-processkey EQ '110' ) "Issues from Stock&lt;/DIV&gt;&lt;DIV&gt;"Transfers&lt;/DIV&gt;&lt;DIV&gt;AND COMM_STRUCTURE-bwapplnm EQ 'MM'&lt;/DIV&gt;&lt;DIV&gt;* only movements which are relevant for stock control&lt;/DIV&gt;&lt;DIV&gt;AND COMM_STRUCTURE-cppvlc &amp;lt;&amp;gt; 0&lt;/DIV&gt;&lt;DIV&gt;AND COMM_STRUCTURE-stockcat EQ 'V'&lt;/DIV&gt;&lt;DIV&gt;AND COMM_STRUCUTRE-stocktype EQ 'V'.&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;* result value of the routine&lt;/DIV&gt;&lt;DIV&gt;RESULT = -1 * COMM_STRUCTURE-cppvlc.&lt;/DIV&gt;&lt;DIV&gt;* if the returncode is zero, the result will be updated&lt;/DIV&gt;&lt;DIV&gt;RETURNCODE = 0.&lt;/DIV&gt;&lt;DIV&gt;ELSEIF ( COMM_STRUCTURE-processkey EQ '000' "Other Receipts&lt;/DIV&gt;&lt;DIV&gt;OR COMM_STRUCTURE-processkey EQ '001' "Goods Receipt/Vendor&lt;/DIV&gt;&lt;DIV&gt;OR COMM_STRUCTURE-processkey EQ '004' "Material Transfer/"Receipt&lt;/DIV&gt;&lt;DIV&gt;OR COMM_STRUCTURE-processkey EQ '005' "Stock Adjustment InvD&lt;/DIV&gt;&lt;DIV&gt;OR COMM_STRUCTURE-processkey EQ '006' "Stock Adjustment Other&lt;/DIV&gt;&lt;DIV&gt;OR COMM_STRUCTURE-processkey EQ '010' ) "Receipt from Stock&lt;/DIV&gt;&lt;DIV&gt;"Transfer&lt;/DIV&gt;&lt;DIV&gt;* only movements which are relevant for stock control&lt;/DIV&gt;&lt;DIV&gt;AND COMM_STRUCTURE-cppvlc &amp;lt;&amp;gt; 0&lt;/DIV&gt;&lt;DIV&gt;AND COMM_STRUCTURE-stockcat EQ 'V'&lt;/DIV&gt;&lt;DIV&gt;AND COMM_STRUCUTRE-stocktype EQ 'V'.&lt;/DIV&gt;&lt;DIV&gt;* result value of the routine&lt;/DIV&gt;&lt;DIV&gt;RESULT = COMM_STRUCTURE-cppvlc.&lt;/DIV&gt;&lt;DIV&gt;* if the returncode is zero, the result will be updated&lt;/DIV&gt;&lt;DIV&gt;RETURNCODE = 0.&lt;/DIV&gt;&lt;DIV&gt;ELSE.&lt;/DIV&gt;&lt;DIV&gt;* if the returncode is not equal zero, the result will not be updated&lt;/DIV&gt;&lt;DIV&gt;RETURNCODE = 4.&lt;/DIV&gt;&lt;DIV&gt;ENDIF.&lt;/DIV&gt;&lt;DIV&gt;* if abort is not equal zero, the update process will be canceled&lt;/DIV&gt;&lt;DIV&gt;ABORT = 0..&lt;/DIV&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2013 05:25:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-implement-note-571669/qaa-p/9519157#M3393084</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-04T05:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement NOTE 571669.</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-implement-note-571669/qaa-p/9519158#M3393085</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;First of all the code given in that note is for 3.x flows and not for 7.x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to comment the start routine part in case you are planning to capture material consumption value and quantity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enhance your cube with the 2 keyfigures as mentioned in that note.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace comm_structure with source_fields in case of 7.x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Map all the fields stated above with your newly created keyfigure and write the field level routine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;AL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2013 09:36:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-implement-note-571669/qaa-p/9519158#M3393085</guid>
      <dc:creator>anshu_lilhori</dc:creator>
      <dc:date>2013-07-04T09:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement NOTE 571669.</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-implement-note-571669/qaa-p/9519159#M3393086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anshu,&lt;/P&gt;&lt;P&gt;The problem got resloved by writing the field level routine for the two key figures .&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 11:13:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-implement-note-571669/qaa-p/9519159#M3393086</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-11T11:13:01Z</dc:date>
    </item>
  </channel>
</rss>

