<?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: Standard BAPI BAPI_GOODSMVT_CREATE  copy in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-bapi-bapi-goodsmvt-create-header-custom-fields-add-for-custom/m-p/14007533#M2038423</link>
    <description>&lt;P&gt;Using BAPI user process it through third party apps. Could you please guided me step by step process to complete the task. From MIGO its working fine.I need to provide them BAPI to do GRN .&lt;/P&gt;</description>
    <pubDate>Wed, 05 Feb 2025 04:24:33 GMT</pubDate>
    <dc:creator>hossain_rajib55</dc:creator>
    <dc:date>2025-02-05T04:24:33Z</dc:date>
    <item>
      <title>Standard BAPI BAPI_GOODSMVT_CREATE  Header Custom fields add for custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-bapi-bapi-goodsmvt-create-header-custom-fields-add-for-custom/m-p/14006439#M2038413</link>
      <description>&lt;P&gt;Hello Expert!!!&lt;/P&gt;&lt;P&gt;Need to add zfields in the header portion as per business requirement. I want to make a copy of "BAPI_GOODSMVT_CREATE" to ''ZBAPI_GOODSMVT_CREATE''. In the header portion 3 custom fields need to add.&lt;/P&gt;&lt;P&gt;Function group MB_BUS2017 copy as ZMB_BUS2017.For Function module am I give Z against all old function module. Please guided me step by step guideline to complete the task or any link.&lt;/P&gt;&lt;P&gt;Customs fields data kept in Ztable. Using BAPI ZBAPI_GOODSMVT_CREATE user complete GRN from Apps.&lt;/P&gt;&lt;P&gt;Am I copy standard BAPI and create a ZBAPI or using standard BAPI added custom fields to BAPI2017_GM_HEAD_01 (which is added in header portion in mIGO).&lt;/P&gt;&lt;P&gt;Need guideline to complete the job.&lt;/P&gt;&lt;P&gt;Custom fields in MIGO:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hossain_rajib55_0-1738659220031.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/221610i177BDB9088F30AB5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hossain_rajib55_0-1738659220031.png" alt="hossain_rajib55_0-1738659220031.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Custom Tables where data saved:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hossain_rajib55_1-1738659275544.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/221612i2B147244663E6F3C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hossain_rajib55_1-1738659275544.png" alt="hossain_rajib55_1-1738659275544.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Regards-&lt;BR /&gt;Rajib&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 12:55:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/standard-bapi-bapi-goodsmvt-create-header-custom-fields-add-for-custom/m-p/14006439#M2038413</guid>
      <dc:creator>hossain_rajib55</dc:creator>
      <dc:date>2025-02-05T12:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Standard BAPI BAPI_GOODSMVT_CREATE  copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-bapi-bapi-goodsmvt-create-header-custom-fields-add-for-custom/m-p/14006496#M2038414</link>
      <description>&lt;P&gt;Why didn't you use the EXTENSIONIN parameter of the BAPI and process this data with an implementation of MB_BAPI_GOODSMVT_CREATE as described in the BAPI documentation?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Look at the sample implementation BAdI CL_EX_IM_MB_BAPI_GOODSMVT_CRE, which processes structures BAPI_TE_XMKPF and BAPI_TE_XMSEG.&lt;/LI&gt;&lt;LI&gt;Ensure that customer fields appended to tables MKPF and MSEG are also appended to structures IMKPF and IMSEG (see BAdI documentation).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;EM&gt;NB: Copying/modifying standard code is usually (always) bad practice, apart from the risk of database discrepancies, it will cause problems with any patch or upgrade.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 10:10:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/standard-bapi-bapi-goodsmvt-create-header-custom-fields-add-for-custom/m-p/14006496#M2038414</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2025-02-04T10:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: Standard BAPI BAPI_GOODSMVT_CREATE  copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-bapi-bapi-goodsmvt-create-header-custom-fields-add-for-custom/m-p/14006556#M2038415</link>
      <description>&lt;P&gt;I am using a custom table where custom fields data saved. Is this possible for that case.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 10:11:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/standard-bapi-bapi-goodsmvt-create-header-custom-fields-add-for-custom/m-p/14006556#M2038415</guid>
      <dc:creator>hossain_rajib55</dc:creator>
      <dc:date>2025-02-04T10:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Standard BAPI BAPI_GOODSMVT_CREATE  copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-bapi-bapi-goodsmvt-create-header-custom-fields-add-for-custom/m-p/14006587#M2038416</link>
      <description>&lt;P&gt;Yes, you should be able to handle this table in the BAdI, don't pass data back to the main program structures, but store it to process it later, at commit work, when the document number is calculated. You should have already done this in MIGO.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 10:30:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/standard-bapi-bapi-goodsmvt-create-header-custom-fields-add-for-custom/m-p/14006587#M2038416</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2025-02-04T10:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Standard BAPI BAPI_GOODSMVT_CREATE  copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-bapi-bapi-goodsmvt-create-header-custom-fields-add-for-custom/m-p/14006845#M2038418</link>
      <description>&lt;P&gt;Never ever copy standard code, as explained in the SAP note&amp;nbsp;&lt;A href="https://me.sap.com/notes/213751/E" target="_blank"&gt;213751 - Programs: Copying versus modification - SAP for Me&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 13:30:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/standard-bapi-bapi-goodsmvt-create-header-custom-fields-add-for-custom/m-p/14006845#M2038418</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2025-02-04T13:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Standard BAPI BAPI_GOODSMVT_CREATE  copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-bapi-bapi-goodsmvt-create-header-custom-fields-add-for-custom/m-p/14006873#M2038420</link>
      <description>&lt;P&gt;The 11th crime of&amp;nbsp;&lt;A href="https://community.sap.com/t5/application-development-blog-posts/top-10-abap-crimes/ba-p/13157871" target="_self"&gt;Top 10 ABAP crimes&lt;/A&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 13:59:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/standard-bapi-bapi-goodsmvt-create-header-custom-fields-add-for-custom/m-p/14006873#M2038420</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2025-02-04T13:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Standard BAPI BAPI_GOODSMVT_CREATE  copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-bapi-bapi-goodsmvt-create-header-custom-fields-add-for-custom/m-p/14007533#M2038423</link>
      <description>&lt;P&gt;Using BAPI user process it through third party apps. Could you please guided me step by step process to complete the task. From MIGO its working fine.I need to provide them BAPI to do GRN .&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 04:24:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/standard-bapi-bapi-goodsmvt-create-header-custom-fields-add-for-custom/m-p/14007533#M2038423</guid>
      <dc:creator>hossain_rajib55</dc:creator>
      <dc:date>2025-02-05T04:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Standard BAPI BAPI_GOODSMVT_CREATE  copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-bapi-bapi-goodsmvt-create-header-custom-fields-add-for-custom/m-p/14007643#M2038424</link>
      <description>&lt;P&gt;Create the BAdI implementation and ask them to use the standard BAPI, giving them the structure name and data to pass to the EXTENSIONIN parameter.&lt;/P&gt;&lt;P&gt;Of course, you could create a Z-BAPI, but not as a copy of the standard. but as a wrapper of the standard BAPI to simplify their process (your Z-BAPI will map additional data to extensionin).&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 06:57:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/standard-bapi-bapi-goodsmvt-create-header-custom-fields-add-for-custom/m-p/14007643#M2038424</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2025-02-05T06:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Standard BAPI BAPI_GOODSMVT_CREATE  copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-bapi-bapi-goodsmvt-create-header-custom-fields-add-for-custom/m-p/14013452#M2038474</link>
      <description>&lt;P&gt;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/185148"&gt;@RaymondGiuseppi&lt;/a&gt;thanks for the way you showing to solve. I did it , just one things is pending now i keep that data into a temporary table now i need material documents number and year to save the ztable. Could you please guided me to fetch the data.In migo i did it at POST_DOCUMENT stage creating a z enhancement spot. For BADI where I can do it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hossain_rajib55_0-1739255607842.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/224560i154C6972764685ED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hossain_rajib55_0-1739255607842.png" alt="hossain_rajib55_0-1739255607842.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hossain_rajib55_1-1739255668214.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/224561iEB85C0A0F0709225/image-size/medium?v=v2&amp;amp;px=400" role="button" title="hossain_rajib55_1-1739255668214.png" alt="hossain_rajib55_1-1739255668214.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2025 06:35:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/standard-bapi-bapi-goodsmvt-create-header-custom-fields-add-for-custom/m-p/14013452#M2038474</guid>
      <dc:creator>hossain_rajib55</dc:creator>
      <dc:date>2025-02-11T06:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Standard BAPI BAPI_GOODSMVT_CREATE  copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-bapi-bapi-goodsmvt-create-header-custom-fields-add-for-custom/m-p/14013808#M2038478</link>
      <description>&lt;P&gt;The item document numbers are returned at the end of the BAPI (after the MB_POST_GOODS_MOVEMENT form has been run).&lt;BR /&gt;and so must have been calculated beforehand.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;As I've always added my ZZ fields at the end of the standard tables, I've never had to solve this problem.&lt;/LI&gt;&lt;LI&gt;You could try to debug BAPI execution, defining a watchpoint on variable XMKPF-MBLNR or a break-point in&amp;nbsp;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;FM&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;NUMBER_GET_NEXT&amp;nbsp;?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;or you could use some &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/abapperform_on_commit.htm" target="_self"&gt;PERFORM ON COMMIT&lt;/A&gt;&amp;nbsp;and some assign to XMKPF record 1&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 11 Feb 2025 10:07:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/standard-bapi-bapi-goodsmvt-create-header-custom-fields-add-for-custom/m-p/14013808#M2038478</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2025-02-11T10:07:53Z</dc:date>
    </item>
  </channel>
</rss>

