<?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: Problem populating PO customer fields using BAPI_PO_CHANGE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-populating-po-customer-fields-using-bapi-po-change/m-p/9442987#M1740474</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this Note 828557 - EnjoySAP purchase order BAPI: ExtensionOut contains &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regard's&lt;/P&gt;&lt;P&gt;Smruti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Apr 2013 12:22:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-04-30T12:22:43Z</dc:date>
    <item>
      <title>Problem populating PO customer fields using BAPI_PO_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-populating-po-customer-fields-using-bapi-po-change/m-p/9442983#M1740470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gurus!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added some fields to PO at &lt;STRONG&gt;item &lt;/STRONG&gt;level. Now I need to change value of some field, so I tried to use BAPI_PO_CHANGE.&lt;/P&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ls_str_item-po_item&amp;nbsp;&amp;nbsp;&amp;nbsp; = ls_changed_data-ebelp.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; APPEND ls_str_item&amp;nbsp; TO lt_item.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_str_itemx-po_item = ls_changed_data-ebelp.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_str_itemx-po_itemx&amp;nbsp; = 'X'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; APPEND ls_str_itemx TO lt_itemx.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_str_bapi_te_mepoitemx-po_item&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = ls_changed_data-ebelp.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_str_bapi_te_mepoitemx-order_status&amp;nbsp;&amp;nbsp; = 'X'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_str_bapi_te_mepoitem-po_item&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = ls_changed_data-ebelp.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_str_bapi_te_mepoitem-order_status&amp;nbsp;&amp;nbsp;&amp;nbsp; = ls_changed_data-order_status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_str_extensionin-structure&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 'BAPI_TE_MEPOITEM'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_str_extensionin-valuepart1(151)&amp;nbsp; = ls_str_bapi_te_mepoitem(151).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; APPEND ls_str_extensionin TO lt_extensionin.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_str_extensionin-structure&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 'BAPI_TE_MEPOITEMX'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_str_extensionin-valuepart1(96)&amp;nbsp;&amp;nbsp;&amp;nbsp; = ls_str_bapi_te_mepoitemx(96).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; APPEND ls_str_extensionin TO lt_extensionin.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL FUNCTION 'BAPI_PO_CHANGE'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXPORTING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; purchaseorder = ls_changed_data-ebeln&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; poheader&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = ls_bapi_poheader&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; poheaderx&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = ls_bapi_poheaderx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLES&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = lt_return&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; poitem&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = lt_item&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; poitemx&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = lt_itemx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; extensionin&amp;nbsp;&amp;nbsp;&amp;nbsp; = lt_extensionin.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMMIT WORK AND WAIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After running BAPI I've got error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;Releases already effected are liable to be reset&lt;/P&gt;&lt;P&gt;Error transferring ExtensionIn data for enhancement CI_EKKODB&lt;/P&gt;&lt;P&gt;No data changed&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Why BAPI checking &lt;STRONG&gt;header line&lt;/STRONG&gt; (CI_EKKODB), I didn't changed anything?&lt;/P&gt;&lt;P&gt;2. What I am doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be more than appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 11:28:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-populating-po-customer-fields-using-bapi-po-change/m-p/9442983#M1740470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-30T11:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem populating PO customer fields using BAPI_PO_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-populating-po-customer-fields-using-bapi-po-change/m-p/9442984#M1740471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the header structures are you passing anything?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt; ls_bapi_poheaderx and &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt; ls_bapi_poheader&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;Please check if you can change the header entries that you pass and see if you get the same error.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 11:59:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-populating-po-customer-fields-using-bapi-po-change/m-p/9442984#M1740471</guid>
      <dc:creator>Azeemquadri</dc:creator>
      <dc:date>2013-04-30T11:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem populating PO customer fields using BAPI_PO_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-populating-po-customer-fields-using-bapi-po-change/m-p/9442985#M1740472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thank you for quick reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not passing anything the header structures. I tried to send empty structures and also tried not to send them at all.&lt;/P&gt;&lt;P&gt;I've got same error. I don't need to change any of header fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 12:08:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-populating-po-customer-fields-using-bapi-po-change/m-p/9442985#M1740472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-30T12:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem populating PO customer fields using BAPI_PO_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-populating-po-customer-fields-using-bapi-po-change/m-p/9442986#M1740473</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;1. "Releases already effected are liable to be reset" for this error you might need to reset the release of the PO using ME29N.You can also check the status in EKKO field FRGZU (Release status). Try to reset the release of PO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. As you have used BAPI_TE_MEPOITEM, if you look into this structure it consists of an include structure CI_EKPODB (Customer fields for EKPO) which is also used in EKPO table.CI_EKPODB is used to add custom fields. Since you are using order_status fields, first of all the filed should be present in CI_EKPODB strucuture.Moreover there should not be any field with data type other tha Char. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. You can also implement code related to custom fields in BADI ME_BAPI_PO_CUST using method&amp;nbsp; MAP2I_EXTENSIONIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 12:17:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-populating-po-customer-fields-using-bapi-po-change/m-p/9442986#M1740473</guid>
      <dc:creator>anuraj_rana</dc:creator>
      <dc:date>2013-04-30T12:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem populating PO customer fields using BAPI_PO_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-populating-po-customer-fields-using-bapi-po-change/m-p/9442987#M1740474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this Note 828557 - EnjoySAP purchase order BAPI: ExtensionOut contains &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regard's&lt;/P&gt;&lt;P&gt;Smruti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 12:22:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-populating-po-customer-fields-using-bapi-po-change/m-p/9442987#M1740474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-30T12:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem populating PO customer fields using BAPI_PO_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-populating-po-customer-fields-using-bapi-po-change/m-p/9442988#M1740475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thank you for help.&lt;/P&gt;&lt;P&gt;But this Note(&lt;SPAN style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;828557&lt;/SPAN&gt;)&amp;nbsp; is for sap appl release 500 and we have 605. It must be already implemented, right? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 13:08:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-populating-po-customer-fields-using-bapi-po-change/m-p/9442988#M1740475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-30T13:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem populating PO customer fields using BAPI_PO_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-populating-po-customer-fields-using-bapi-po-change/m-p/9442989#M1740476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok , i don't know about ur Release , but can you read the &lt;STRONG&gt;Note: &lt;STRONG style="color: #000000; font-family: Arial, Helvetica, sans-serif; font-size: 11px; background-color: #ffffff;"&gt;Symptom,&amp;nbsp; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000000; font-family: Arial, Helvetica, sans-serif; font-size: 11px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;"&lt;STRONG&gt;At least one customer enhancement (CI_EKKODB, CI_EKPODB, CI_COBL) is active&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check your Custom Enhancement is Active.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also read this &lt;STRONG&gt;Note 323152&lt;/STRONG&gt; - Enjoy BAPI: Implementation of customer enhancements .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regard's&lt;/P&gt;&lt;P&gt;Smruti&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="color: #000000; font-family: Arial, Helvetica, sans-serif; font-size: 11px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 May 2013 04:49:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-populating-po-customer-fields-using-bapi-po-change/m-p/9442989#M1740476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-01T04:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem populating PO customer fields using BAPI_PO_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-populating-po-customer-fields-using-bapi-po-change/m-p/9442990#M1740477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for the answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I canceled the release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. All my fields present in &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;CI_EKPODB&lt;/SPAN&gt; and they are char type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Is there "standard"&amp;nbsp; way to update fields without coding?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 May 2013 14:22:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-populating-po-customer-fields-using-bapi-po-change/m-p/9442990#M1740477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-01T14:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem populating PO customer fields using BAPI_PO_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-populating-po-customer-fields-using-bapi-po-change/m-p/9442991#M1740478</link>
      <description>&lt;P&gt;I had a similar problem,&lt;/P&gt;&lt;P&gt;I was setting extension (ZZ) fields on EKKO by implementing BADI : ME_BAPI_PO_CUST.&lt;/P&gt;&lt;P&gt;But somehow , EKKO extension fields wasn't posted on database without any warning or error.&lt;BR /&gt;After debugging the standard flow on BAPI_PO_CHANGE , I found out that another user-exit (EXIT_SAPMM06E_008)  was deleting the field values.&lt;/P&gt;&lt;P&gt;Thanks , Bulent Balci&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2021 21:12:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-populating-po-customer-fields-using-bapi-po-change/m-p/9442991#M1740478</guid>
      <dc:creator>bbalci</dc:creator>
      <dc:date>2021-03-12T21:12:24Z</dc:date>
    </item>
  </channel>
</rss>

