<?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: PO Save BAPI ME_PROCESS_PO_CUST~POST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/po-save-bapi-me-process-po-cust-post/m-p/8077926#M1614259</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Prasenjit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to Update the IHREZ field during SAVE once all the Item Values are populated. I have tried to put the Code in CHECK or POST methods It doesnt work. When I SAVE the PROCESS_HEADER Method doesnt get triggered at all. So I dont know how I can trigger this to set the IHREZ Field. Can you please let me know How did you achieve this? Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jul 2012 23:14:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-07-16T23:14:35Z</dc:date>
    <item>
      <title>PO Save BAPI ME_PROCESS_PO_CUST~POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/po-save-bapi-me-process-po-cust-post/m-p/8077917#M1614250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We need to modify EKKO-IHREZ  during PO save . We are using POST method of badi ME_PROCESS_PO_CUST but the value is not getting populated into EKKO . I have written the below code to modify EKKO-IHREZ . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: ls_mepoheader TYPE mepoheader,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ls_mepoheader-ihrez = '123KK' . &lt;/P&gt;&lt;P&gt;CALL METHOD im_header-&amp;gt;set_data&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            im_data = ls_mepoheader.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I write the above piece of code in method PROCESS_HEADER , it modifies EKKO-IHREZ but we need to modify EKKO-IHREZ during PO save . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if I am missing anything in the  coding or is there any other way ( user exit ) to modify EKKO-IHREZ during PO save . &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;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Aug 2011 01:57:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/po-save-bapi-me-process-po-cust-post/m-p/8077917#M1614250</guid>
      <dc:creator>former_member589058</dc:creator>
      <dc:date>2011-08-07T01:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: PO Save BAPI ME_PROCESS_PO_CUST~POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/po-save-bapi-me-process-po-cust-post/m-p/8077918#M1614251</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 believe it's too late: the processes for storing po data are called before triggering that method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;POST is to store data in own custom table, not to set tha data for standard table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can try to use the method CHECK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Aug 2011 03:51:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/po-save-bapi-me-process-po-cust-post/m-p/8077918#M1614251</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-07T03:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: PO Save BAPI ME_PROCESS_PO_CUST~POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/po-save-bapi-me-process-po-cust-post/m-p/8077919#M1614252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried CHECK method also but the EKKO-IHREZ was not modified . &lt;/P&gt;&lt;P&gt;Let me know if there is any way to achieve this . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Kiran .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Aug 2011 05:11:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/po-save-bapi-me-process-po-cust-post/m-p/8077919#M1614252</guid>
      <dc:creator>former_member589058</dc:creator>
      <dc:date>2011-08-07T05:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: PO Save BAPI ME_PROCESS_PO_CUST~POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/po-save-bapi-me-process-po-cust-post/m-p/8077920#M1614253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I mean u sud be using PROCESS_HEADER as it will modify the data and then while posting it will get posted &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did the same with header text information and it works for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The methods u are using are too late and i believe not for the purpose of modifying values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you plz specify wat problem u have or why u thnk u sud not be using process_header may be i can help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Prasenjit S. Bist on Aug 7, 2011 9:46 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Aug 2011 07:44:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/po-save-bapi-me-process-po-cust-post/m-p/8077920#M1614253</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-07T07:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: PO Save BAPI ME_PROCESS_PO_CUST~POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/po-save-bapi-me-process-po-cust-post/m-p/8077921#M1614254</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;uhm....I think this BADI allows to change the data by PROCESS methods only, if you need to change the header data at saving only you can use the user-exit  EXIT_SAPMM06E_012.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway you can try to use the method process_header but you have to check SY-UCOMM in order to understand if user has pressed saving button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Aug 2011 09:47:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/po-save-bapi-me-process-po-cust-post/m-p/8077921#M1614254</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-07T09:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: PO Save BAPI ME_PROCESS_PO_CUST~POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/po-save-bapi-me-process-po-cust-post/m-p/8077922#M1614255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If PO is created through BAPI BAPI_PO_CREATE1 , is there a way to check the OK code since sy-ucomm will not be having the ok code while PO creation through BAPI . Exit EXIT_SAPMM06E_012 is not useful since EKKO is the importing structure not the Changing parameter . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Prasenjit, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to modify IHREZ during PO save because sometimes user may enter manually EKKO-IHREZ and the manually entered data needs to be considered . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If IHREZ is initial then plant from first line item needs to be populated into IHREZ . I can write the code in HEADER method itself but the problem is user might change the plant in first line item multiple times . In this case I could not find any way to identify whether user has changed the plant or not . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For ex : Let us consider user has entered plant R001 , then as per the logic I will pass R001 to EKKO-IHREZ in the HEADER method . Again user might change EKKO-IHREZ or Plant in the first line item in the same ME21N screen . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks , &lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Aug 2011 15:50:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/po-save-bapi-me-process-po-cust-post/m-p/8077922#M1614255</guid>
      <dc:creator>former_member589058</dc:creator>
      <dc:date>2011-08-07T15:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: PO Save BAPI ME_PROCESS_PO_CUST~POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/po-save-bapi-me-process-po-cust-post/m-p/8077923#M1614256</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;The issue is solved . PO data can't be changed in POST or CHECK method . It can only be changed in PROCESS* methods . I used some static variable logic to resolve the issue . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the inputs .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 22:20:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/po-save-bapi-me-process-po-cust-post/m-p/8077923#M1614256</guid>
      <dc:creator>former_member589058</dc:creator>
      <dc:date>2011-08-11T22:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: PO Save BAPI ME_PROCESS_PO_CUST~POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/po-save-bapi-me-process-po-cust-post/m-p/8077924#M1614257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please Explain in detail how u solved the issue..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2012 08:34:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/po-save-bapi-me-process-po-cust-post/m-p/8077924#M1614257</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-05T08:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: PO Save BAPI ME_PROCESS_PO_CUST~POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/po-save-bapi-me-process-po-cust-post/m-p/8077925#M1614258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same issue here. Can you please specify how did you update PO header values when you tried to SAVE the PO. That sure will be a lot of help for me. Please let me know. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2012 23:11:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/po-save-bapi-me-process-po-cust-post/m-p/8077925#M1614258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-16T23:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: PO Save BAPI ME_PROCESS_PO_CUST~POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/po-save-bapi-me-process-po-cust-post/m-p/8077926#M1614259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Prasenjit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to Update the IHREZ field during SAVE once all the Item Values are populated. I have tried to put the Code in CHECK or POST methods It doesnt work. When I SAVE the PROCESS_HEADER Method doesnt get triggered at all. So I dont know how I can trigger this to set the IHREZ Field. Can you please let me know How did you achieve this? Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2012 23:14:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/po-save-bapi-me-process-po-cust-post/m-p/8077926#M1614259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-16T23:14:35Z</dc:date>
    </item>
  </channel>
</rss>

