<?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: Syntax error in BADI  ME_PROCESS_REQ_CUST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-badi-me-process-req-cust/m-p/5662068#M1287808</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply. How can i make use of the data in lo_item. While debugging i can see the data of GET_DATA  but for GET_ITEM i didnt understand. I have to retrieve WERKS value from this. Please suggest how to code furthur/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;K Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 May 2009 10:33:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-26T10:33:38Z</dc:date>
    <item>
      <title>Syntax error in BADI  ME_PROCESS_REQ_CUST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-badi-me-process-req-cust/m-p/5662066#M1287806</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 am using BADI&lt;DEL&gt;-&amp;gt;ME_PROCESS_REQ_CUST, Method&lt;/DEL&gt;--&amp;gt;PROCESS_ACCOUNT and i want to make use of the data of importing parameter IM_ACCOUNT_REF and methods GET_DATA,GET_ITEM.&lt;/P&gt;&lt;P&gt;when i wrote the code in the below manner i am getting syntax error  as  'The result type of the function method cannot be converted into the type of LS_MEPOITEM1' . .Please help&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;DATA: ls_mepoitem TYPE exkn,&lt;/P&gt;&lt;P&gt;       ls_mepoitem1 type  MEREQ_ITEM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_mepoitem = IM_ACCOUNT_REF-&amp;gt;get_data( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_mepoitem1 = IM_ACCOUNT_REF-&amp;gt;get_item( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;K Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2009 10:11:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-badi-me-process-req-cust/m-p/5662066#M1287806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-26T10:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error in BADI  ME_PROCESS_REQ_CUST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-badi-me-process-req-cust/m-p/5662067#M1287807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Srinivas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The item returned by method GET_ITEM is again an object instance:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA:
  lo_item    TYPE REF TO IF_PURCHASE_REQUISITION_ITEM.

  lo_item = IM_ACCOUNT_REF-&amp;gt;get_item( ).
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2009 10:21:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-badi-me-process-req-cust/m-p/5662067#M1287807</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2009-05-26T10:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error in BADI  ME_PROCESS_REQ_CUST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-badi-me-process-req-cust/m-p/5662068#M1287808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply. How can i make use of the data in lo_item. While debugging i can see the data of GET_DATA  but for GET_ITEM i didnt understand. I have to retrieve WERKS value from this. Please suggest how to code furthur/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;K Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2009 10:33:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-badi-me-process-req-cust/m-p/5662068#M1287808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-26T10:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax error in BADI  ME_PROCESS_REQ_CUST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-badi-me-process-req-cust/m-p/5662069#M1287809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Srinivas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just call the GET_DATA method of the item instance:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA:
  ls_data    TYPE mereq_item,
  lo_item    TYPE REF TO IF_PURCHASE_REQUISITION_ITEM.
 
  lo_item = IM_ACCOUNT_REF-&amp;gt;get_item( ).

  CHECK ( lo_Item IS BOUND ).

  ls_data = lo_item-&amp;gt;get_data( ).

  IF ( ls_data-werks = ... ).
   ...
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2009 10:36:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-badi-me-process-req-cust/m-p/5662069#M1287809</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2009-05-26T10:36:46Z</dc:date>
    </item>
  </channel>
</rss>

