<?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 ME_PROCESS_REQ_CUST~CHECK in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/me-process-req-cust-check/m-p/6552581#M1429902</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;   How to get Account assignemnt (EXKN) values in method CHECK for PR Line item to validate based on the line item values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BADI: ME_PROCESS_REQ_CUST&lt;/P&gt;&lt;P&gt;METHOD: CHECK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Saran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Feb 2010 07:16:23 GMT</pubDate>
    <dc:creator>saranwin</dc:creator>
    <dc:date>2010-02-04T07:16:23Z</dc:date>
    <item>
      <title>ME_PROCESS_REQ_CUST~CHECK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/me-process-req-cust-check/m-p/6552581#M1429902</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;   How to get Account assignemnt (EXKN) values in method CHECK for PR Line item to validate based on the line item values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BADI: ME_PROCESS_REQ_CUST&lt;/P&gt;&lt;P&gt;METHOD: CHECK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Saran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2010 07:16:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/me-process-req-cust-check/m-p/6552581#M1429902</guid>
      <dc:creator>saranwin</dc:creator>
      <dc:date>2010-02-04T07:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: ME_PROCESS_REQ_CUST~CHECK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/me-process-req-cust-check/m-p/6552582#M1429903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The method parameter has a reference to the requisition header im_header.  You can use the method get_items method , which will return a table with refernce to all the items in the requisition ( re_items ). Now use the get_items method of this reference to get the account assignment objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data lto_items type mmpur_requisition_items
data l_item type mmpur_requisition_item .

data lto_items_accounting_list type mmpur_accounting_list.
data l_acc_item type mmpur_accounting_type.
data lre_exkn type exkn.
 
lto_items = im_header-&amp;gt;get_items( ).   "Get PR items

loop at lto_items into l_item_ref.  " Loop at each item
 lto_items_accounting_list  =  l_item_ref-item-&amp;gt;get_items( ).  " This will get the account assignment reference.
  loop at lto_items_accounting_list  into l_acc_item.        " Loop at account assignment objects 
    lre_exkn =  l_acc_item-model-&amp;gt;get_exkn( ).   " Get the EXKN structure.
  endloop.
endloop.

&lt;/CODE&gt;&lt;/PRE&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;Br,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2010 07:35:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/me-process-req-cust-check/m-p/6552582#M1429903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-04T07:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: ME_PROCESS_REQ_CUST~CHECK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/me-process-req-cust-check/m-p/6552583#M1429904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. it's helped me to solve my issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2010 12:50:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/me-process-req-cust-check/m-p/6552583#M1429904</guid>
      <dc:creator>saranwin</dc:creator>
      <dc:date>2010-02-04T12:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: ME_PROCESS_REQ_CUST~CHECK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/me-process-req-cust-check/m-p/6552584#M1429905</link>
      <description>&lt;P&gt;Great help!&lt;/P&gt;&lt;P&gt;Thank you so much!!!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 06:35:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/me-process-req-cust-check/m-p/6552584#M1429905</guid>
      <dc:creator>diego_pinel</dc:creator>
      <dc:date>2019-09-05T06:35:20Z</dc:date>
    </item>
  </channel>
</rss>

