<?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>topic Re: Get order number within process_item method in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-order-number-within-process-item-method/m-p/8341040#M1639033</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;Try in method POST with the parameter IM_EBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Nov 2011 14:09:00 GMT</pubDate>
    <dc:creator>eduardo_hinojosa</dc:creator>
    <dc:date>2011-11-03T14:09:00Z</dc:date>
    <item>
      <title>Get order number within process_item method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-order-number-within-process-item-method/m-p/8341039#M1639032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have en implemented badi ZME_PROCESS_PO_CUST.&lt;/P&gt;&lt;P&gt;Within process_item method I do: ws_item = im_item-&amp;gt;get_data( ). &lt;/P&gt;&lt;P&gt;In order to have the PO line´s information in ws_item.&lt;/P&gt;&lt;P&gt;When knttp field has value 'F' and therefore user inserts an orden number.&lt;/P&gt;&lt;P&gt;How could I get this order number? It´s not in ws_item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2011 12:59:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-order-number-within-process-item-method/m-p/8341039#M1639032</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-03T12:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Get order number within process_item method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-order-number-within-process-item-method/m-p/8341040#M1639033</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;Try in method POST with the parameter IM_EBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2011 14:09:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-order-number-within-process-item-method/m-p/8341040#M1639033</guid>
      <dc:creator>eduardo_hinojosa</dc:creator>
      <dc:date>2011-11-03T14:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Get order number within process_item method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-order-number-within-process-item-method/m-p/8341041#M1639034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi!!&lt;/P&gt;&lt;P&gt;I need the value of the order number in process_item method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2011 09:20:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-order-number-within-process-item-method/m-p/8341041#M1639034</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-04T09:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Get order number within process_item method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-order-number-within-process-item-method/m-p/8341042#M1639035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if u want to get order number in process_item method use below code,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA LS_ACCOUNTING TYPE MEPOACCOUNTING,&lt;/P&gt;&lt;P&gt;DATA LT_ACCOUNTINGS TYPE PURCHASE_ORDER_ACCOUNTINGS.&lt;/P&gt;&lt;P&gt;DATA LINE_ACCOUNTING TYPE PURCHASE_ORDER_ACCOUNTING.&lt;/P&gt;&lt;P&gt;DATA LS_ACC TYPE REF TO IF_PURCHASE_ORDER_ITEM_MM .&lt;/P&gt;&lt;P&gt;DATA ORDER_NUMBER TYPE AUFNR.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;LT_ACCOUNTINGS = IM_ITEM-&amp;gt;GET_ACCOUNTINGS( ).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;LOOP AT LT_ACCOUNTINGS INTO LINE_ACCOUNTING.&lt;/P&gt;&lt;P&gt;LS_ACCOUNTING = LINE_ACCOUNTING-ACCOUNTING-&amp;gt;GET_DATA( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"order number is there in LS_ACCOUNTING STRUCTURE.&lt;/P&gt;&lt;P&gt;DO u r process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;EM&gt;&amp;lt;Reward request removed by moderator&amp;gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vinod Kumar on Nov 5, 2011 9:43 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Nov 2011 04:11:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-order-number-within-process-item-method/m-p/8341042#M1639035</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-05T04:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Get order number within process_item method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-order-number-within-process-item-method/m-p/8341043#M1639036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi!!&lt;/P&gt;&lt;P&gt;Thanks. I have tried and it´s fine. Nevertheless I think it´s not neccessary to do a loop; I think ti´s enaugh doing once&lt;/P&gt;&lt;P&gt;  LS_ACCOUNTING = LINE_ACCOUNTING-ACCOUNTING-&amp;gt;GET_DATA( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2011 08:47:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-order-number-within-process-item-method/m-p/8341043#M1639036</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-07T08:47:24Z</dc:date>
    </item>
  </channel>
</rss>

