<?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_contract_create extensionIn in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-create-extensionin/m-p/12477805#M2001563</link>
    <description>&lt;P&gt;For items, BAPI_TE_MEOUTITEM, you must fill field  bapi_te_item-item with the item number with the same value as in the item table parameter records. Only when creating/updating an item will BAPI look for those extension values.&lt;/P&gt;</description>
    <pubDate>Wed, 27 Oct 2021 11:44:01 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2021-10-27T11:44:01Z</dc:date>
    <item>
      <title>Bapi_contract_create extensionIn</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-create-extensionin/m-p/12477803#M2001561</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;I have a bapi "BAPI_CONTRACT_CREATE". It is required to store some data in custom fields in EKPO table. Therefore, I used extensionIn. However, after creating a document, the custom fields in EKPO table is empty.&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;DATA: ext_container TYPE TABLE OF bapiparex WITH HEADER LINE,&lt;BR /&gt;              bapi_te_item TYPE BAPI_TE_MEOUTITEM,&lt;BR /&gt;              bapi_te_itemx TYPE BAPI_TE_MEOUTITEMX .&lt;BR /&gt;&lt;BR /&gt;        bapi_te_item-item_no = ''.&lt;BR /&gt;        bapi_te_item-ZZRESALE = 'X'.&lt;BR /&gt;        bapi_te_item-ZEQUIPMENT = 'X'.&lt;BR /&gt;        bapi_te_item-ZREFUBSHMENT = 'X'.&lt;BR /&gt;&lt;BR /&gt;        bapi_te_itemx-item_no = ''.&lt;BR /&gt;        bapi_te_itemx-ZZRESALE = 'X'.&lt;BR /&gt;        bapi_te_itemx-ZEQUIPMENT = 'X'.&lt;BR /&gt;        bapi_te_itemx-ZREFUBSHMENT = 'X'.&lt;BR /&gt;&lt;BR /&gt;        ext_container-structure = 'BAPI_TE_MEOUTITEM'.&lt;BR /&gt;        ext_container-valuepart1 = bapi_te_item.&lt;BR /&gt;        APPEND ext_container.&lt;BR /&gt;        CLEAR: ext_container.&lt;BR /&gt;&lt;BR /&gt;        ext_container-structure = 'BAPI_TE_MEOUTITEMX'.&lt;BR /&gt;        ext_container-valuepart1 = bapi_te_itemx.&lt;BR /&gt;        APPEND ext_container.&lt;BR /&gt;&lt;BR /&gt;        CALL FUNCTION 'BAPI_CONTRACT_CREATE'&lt;BR /&gt;          EXPORTING&lt;BR /&gt;            header             = wa_header&lt;BR /&gt;            headerx            = wa_headerx&lt;BR /&gt;          IMPORTING&lt;BR /&gt;            purchasingdocument = gv_ebeln&lt;BR /&gt;          TABLES&lt;BR /&gt;            return             = it_return&lt;BR /&gt;            extensionin        = ext_container[]&lt;BR /&gt;            item               = it_item&lt;BR /&gt;            itemx              = it_itemx.&lt;BR /&gt;&lt;BR /&gt;          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;BR /&gt;            EXPORTING&lt;BR /&gt;              wait = 'X'.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 Oct 2021 10:27:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-create-extensionin/m-p/12477803#M2001561</guid>
      <dc:creator>former_member773939</dc:creator>
      <dc:date>2021-10-27T10:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Bapi_contract_create extensionIn</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-create-extensionin/m-p/12477804#M2001562</link>
      <description>&lt;P&gt;You must indicate the item number in bapi_te_item-item_no.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 11:41:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-create-extensionin/m-p/12477804#M2001562</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-10-27T11:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Bapi_contract_create extensionIn</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-create-extensionin/m-p/12477805#M2001563</link>
      <description>&lt;P&gt;For items, BAPI_TE_MEOUTITEM, you must fill field  bapi_te_item-item with the item number with the same value as in the item table parameter records. Only when creating/updating an item will BAPI look for those extension values.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 11:44:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-create-extensionin/m-p/12477805#M2001563</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2021-10-27T11:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Bapi_contract_create extensionIn</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-create-extensionin/m-p/12477806#M2001564</link>
      <description>&lt;P&gt;I have tried to fill bapi_te_item-item. But in this case, the BAPI does not work correctly, and document is not been created. &lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 05:34:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-create-extensionin/m-p/12477806#M2001564</guid>
      <dc:creator>former_member773939</dc:creator>
      <dc:date>2021-10-28T05:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Bapi_contract_create extensionIn</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-create-extensionin/m-p/12477807#M2001565</link>
      <description>&lt;P&gt;Sandra Rossi, thanks for comment,&lt;/P&gt;&lt;P&gt;But I have tried to fill bapi_te_item-item. But in this case, the BAPI does not work correctly, and document is not been created.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 28 Oct 2021 07:50:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-create-extensionin/m-p/12477807#M2001565</guid>
      <dc:creator>former_member773939</dc:creator>
      <dc:date>2021-10-28T07:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Bapi_contract_create extensionIn</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-create-extensionin/m-p/12477808#M2001566</link>
      <description>&lt;P&gt;Could you elaborate on 'BAPI does not work correctly' which error do you get (You MUST pass the item value to update item records.)&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 12:44:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-contract-create-extensionin/m-p/12477808#M2001566</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2021-10-28T12:44:35Z</dc:date>
    </item>
  </channel>
</rss>

