<?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: BAPI PO change - Custom fields modification in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change-custom-fields-modification/m-p/11861395#M1959063</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ruchi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As i mentioned the EKPO custom fields has quantity field due to which I have to convert it to Char before calling BAPI_PO_CHANGE which I have done it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within BAPI, the BADI has to be called as enhanced EKPO structure is having quantity field. I am looking after what needs to be written in this BADI to do the necessary structure conversion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any other approach please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Aug 2016 13:27:30 GMT</pubDate>
    <dc:creator>itabhishek9</dc:creator>
    <dc:date>2016-08-24T13:27:30Z</dc:date>
    <item>
      <title>BAPI PO change - Custom fields modification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change-custom-fields-modification/m-p/11861390#M1959058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SDNites,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have enhanced EKPO table where the table has quantity custom field as well. So when I am using BAPI_PO_CHANGE, it is not allowing me to do due to the quanity fields in enhanced EKPO table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to achieve the above, I am trying to implement method MAP2I_EXTENSIONIN of BADI ME_BAPI_PO_CUST. Can you please help me how do I convert th quantity field in changing structure CH_STRUC. When I am trying to do the same it is giving a short dump. Can you please advise or provide a sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2016 12:33:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change-custom-fields-modification/m-p/11861390#M1959058</guid>
      <dc:creator>itabhishek9</dc:creator>
      <dc:date>2016-08-24T12:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI PO change - Custom fields modification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change-custom-fields-modification/m-p/11861391#M1959059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you copy from demo class CL_EXM_IM_ME_BAPI_PO_CUST, also did you read the EXTENSIONIN documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you "played" with numeric data... then look for class on data container like CL_ABAP_CONTAINER_UTILITIES to map data before extensionin and your structure without raising some exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2016 12:46:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change-custom-fields-modification/m-p/11861391#M1959059</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2016-08-24T12:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI PO change - Custom fields modification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change-custom-fields-modification/m-p/11861392#M1959060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ray for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes I have copied from class CL_EXM_IM_ME_BAPI_PO_CUST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also when I call BAPI_PO_ChANGE, it will internally call the BADI ME_BAPI_PO_CUST and here within method MAP2I_EXTENSIONIN we get startucture CH_STRUC already populated with EKPO custom fields but without values. Here I have to change the structure itself so that it can hold CHAR values.&amp;nbsp; Can you please suggest. (I feel CL_ABAP_CONTAINER_UTILITIES can convert the values and not the structure).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2016 13:02:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change-custom-fields-modification/m-p/11861392#M1959060</guid>
      <dc:creator>itabhishek9</dc:creator>
      <dc:date>2016-08-24T13:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI PO change - Custom fields modification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change-custom-fields-modification/m-p/11861393#M1959061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We had a similar requirement to change the value of a Z field added in EKPO table through BAPI_PO_CHANGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a code snippet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ls_extensionin type bapiparex,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_ext_po type bapi_te_mepoitem,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_ext_pox type bapi_te_mepoitemx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF wa-zzdel is not initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_extensionin-structure = 'BAPI_TE_MEPOITEM'.&lt;/P&gt;&lt;P&gt;ls_ext_po-po_item = ebelp&lt;/P&gt;&lt;P&gt;ls_ext_po-zzdel = zzdel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_extensionin+30(960) = ls_ext_po.&lt;/P&gt;&lt;P&gt;append ls_extensionin to lt_extensionin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2016 13:18:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change-custom-fields-modification/m-p/11861393#M1959061</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-24T13:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI PO change - Custom fields modification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change-custom-fields-modification/m-p/11861394#M1959062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Repeat the same 5lines also for 'BAPI_TE_MEPOITEMX'&amp;nbsp; but pass zzdel flag as 'X' and the next structure would be ls_ext_pox for flags.Rest all remains same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you would have 2entries in your lt_extensionin structure.One with values and one with flags.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass the table in BAPI.Your Z fields would be updated .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2016 13:23:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change-custom-fields-modification/m-p/11861394#M1959062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-24T13:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI PO change - Custom fields modification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change-custom-fields-modification/m-p/11861395#M1959063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ruchi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As i mentioned the EKPO custom fields has quantity field due to which I have to convert it to Char before calling BAPI_PO_CHANGE which I have done it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within BAPI, the BADI has to be called as enhanced EKPO structure is having quantity field. I am looking after what needs to be written in this BADI to do the necessary structure conversion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any other approach please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2016 13:27:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change-custom-fields-modification/m-p/11861395#M1959063</guid>
      <dc:creator>itabhishek9</dc:creator>
      <dc:date>2016-08-24T13:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI PO change - Custom fields modification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change-custom-fields-modification/m-p/14015476#M2038496</link>
      <description>&lt;P&gt;I have same requirement .Could you please let me know how this issue was addressed&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 17:49:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-po-change-custom-fields-modification/m-p/14015476#M2038496</guid>
      <dc:creator>madhumalar</dc:creator>
      <dc:date>2025-02-12T17:49:04Z</dc:date>
    </item>
  </channel>
</rss>

