<?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 in posting Custom fields in Purchase Order using BAPI_PO_CREATE1 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-posting-custom-fields-in-purchase-order-using-bapi-po-create1/m-p/5159449#M1195125</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;You require to implement the Badi ME_BAPI_PO_CUST &lt;/P&gt;&lt;P&gt;                                           Method MAP2I_EXTENSIONIN or INBOUND&lt;/P&gt;&lt;P&gt;for changing the parameter CH_EXTENSIONIN in method INBOUND &lt;/P&gt;&lt;P&gt;                                   or  CH_STRUC in method MAP2I_EXTENSIONIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in addition to passing the extensionin parameters in bapi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;implement the above said bapi and put a break point in both of the methods (exactly i don't remember)&lt;/P&gt;&lt;P&gt;and check values are populating in the CH_STRUC structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dwaraka.S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Feb 2009 15:16:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-23T15:16:50Z</dc:date>
    <item>
      <title>Problem in posting Custom fields in Purchase Order using BAPI_PO_CREATE1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-posting-custom-fields-in-purchase-order-using-bapi-po-create1/m-p/5159448#M1195124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did any body tried populating custom fields using BAPI_PO_CREATE1? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to populate custom fields in Header. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am populating EXTENSIONIN-STRUCTURE with 'BAPI_TE_MEPOHEADER' and EXTENSIONIN-VALUEPART1 with respective values of fields using the code below. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T_CUSTDATA_IN-PROJECT_ID_NUM = '543211'.&lt;/P&gt;&lt;P&gt;T_CUSTDATA_INX-PROJECT_ID_NUM = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE 'BAPI_TE_MEPOHEADER' TO T_EXTENSIONIN-STRUCTURE.&lt;/P&gt;&lt;P&gt;*CLEAR T_BAPI_TE_PO_HEADER-PO_NUMBER.&lt;/P&gt;&lt;P&gt;MOVE-CORRESPONDING T_CUSTDATA_IN TO T_BAPI_TE_MEPOHEADER.&lt;/P&gt;&lt;P&gt;MOVE 'T_BAPI_TE_MEPOHEADER' TO T_EXTENSIONIN-VALUEPART1.&lt;/P&gt;&lt;P&gt;APPEND T_EXTENSIONIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE 'BAPI_TE_MEPOHEADERX' TO T_EXTENSIONIN-STRUCTURE.&lt;/P&gt;&lt;P&gt;*CLEAR T_BAPI_TE_PO_HEADER-PO_NUMBER.&lt;/P&gt;&lt;P&gt;MOVE-CORRESPONDING T_CUSTDATA_INX TO T_BAPI_TE_MEPOHEADERX.&lt;/P&gt;&lt;P&gt;MOVE 'T_BAPI_TE_MEPOHEADERX' TO T_EXTENSIONIN-VALUEPART1.&lt;/P&gt;&lt;P&gt;APPEND T_EXTENSIONIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still it is not populating the custom fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some body help me on this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Ramesh Kodavati&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2009 13:59:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-posting-custom-fields-in-purchase-order-using-bapi-po-create1/m-p/5159448#M1195124</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-23T13:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in posting Custom fields in Purchase Order using BAPI_PO_CREATE1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-posting-custom-fields-in-purchase-order-using-bapi-po-create1/m-p/5159449#M1195125</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;You require to implement the Badi ME_BAPI_PO_CUST &lt;/P&gt;&lt;P&gt;                                           Method MAP2I_EXTENSIONIN or INBOUND&lt;/P&gt;&lt;P&gt;for changing the parameter CH_EXTENSIONIN in method INBOUND &lt;/P&gt;&lt;P&gt;                                   or  CH_STRUC in method MAP2I_EXTENSIONIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in addition to passing the extensionin parameters in bapi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;implement the above said bapi and put a break point in both of the methods (exactly i don't remember)&lt;/P&gt;&lt;P&gt;and check values are populating in the CH_STRUC structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dwaraka.S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2009 15:16:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-posting-custom-fields-in-purchase-order-using-bapi-po-create1/m-p/5159449#M1195125</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-23T15:16:50Z</dc:date>
    </item>
  </channel>
</rss>

