<?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 Doubt in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-doubt/m-p/4068168#M972457</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right, you should created one extension structure in SE11. &lt;/P&gt;&lt;P&gt;Each table can have only one table extension, please be sure with the name of the extension. &lt;/P&gt;&lt;P&gt;In import parameters of BAPI, there will be one parameter saying extensions required make it as 'X'.&lt;/P&gt;&lt;P&gt;In tables parameters there will be EXTENSIONIN and EXTENSIONOUT parameters where you can pass in and get out the data from the BAPI.Try to use VALUEPART1 to VALUEPART4 for data.&lt;/P&gt;&lt;P&gt;Inside the BAPI there will be 2 BADI's one at the starting for taking data from EXTENSIONIN and doing the required operation.&lt;/P&gt;&lt;P&gt;Second BADI at the end of the BAPI, for populating the EXTENSIONOUT parameter values, that will come out of the BAPI.&lt;/P&gt;&lt;P&gt;Outside the BAPI call, You can use the data from EXTENSIONOUT after the bapi call.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jul 2008 10:30:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-10T10:30:06Z</dc:date>
    <item>
      <title>BAPI Doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-doubt/m-p/4068166#M972455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be loading data for Real Estate using  LSMW through BAPI's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's my scenario--&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say I have identified couple of fields in the database table which are not there in the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I need to add these fields in the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have gone through documents in SDN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They say add the fields in BAPI Table extension.---&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is confusing to me is, if the field already exists in the database table; why should I Create  a structure with these fields and then pass to the (ExtensionIn).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need some clarity here please.&lt;/P&gt;&lt;P&gt;Any inputs are welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm regards,&lt;/P&gt;&lt;P&gt;Hari Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 07:01:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-doubt/m-p/4068166#M972455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T07:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-doubt/m-p/4068167#M972456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create the structure in SE11 with the key field and the fields which I want to add to the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the BAPI, I need to pass this structure name to "ExtensionIn ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not adding the already exiting fields in the table to the table. I am only creating the structure with those fields and pass the structure name to the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hari Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 08:44:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-doubt/m-p/4068167#M972456</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T08:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-doubt/m-p/4068168#M972457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right, you should created one extension structure in SE11. &lt;/P&gt;&lt;P&gt;Each table can have only one table extension, please be sure with the name of the extension. &lt;/P&gt;&lt;P&gt;In import parameters of BAPI, there will be one parameter saying extensions required make it as 'X'.&lt;/P&gt;&lt;P&gt;In tables parameters there will be EXTENSIONIN and EXTENSIONOUT parameters where you can pass in and get out the data from the BAPI.Try to use VALUEPART1 to VALUEPART4 for data.&lt;/P&gt;&lt;P&gt;Inside the BAPI there will be 2 BADI's one at the starting for taking data from EXTENSIONIN and doing the required operation.&lt;/P&gt;&lt;P&gt;Second BADI at the end of the BAPI, for populating the EXTENSIONOUT parameter values, that will come out of the BAPI.&lt;/P&gt;&lt;P&gt;Outside the BAPI call, You can use the data from EXTENSIONOUT after the bapi call.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 10:30:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-doubt/m-p/4068168#M972457</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T10:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-doubt/m-p/4068169#M972458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Prasanth ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for replying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's my code which I have written in "Field mapping and conversion rules" step in LSMW for the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'CI_VIBDAO'----&amp;gt; This is the structure created in SE11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Target Field: E1BPPAREX-VALUEPART1 Data part of BAPI *extension paramet&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*concatenate HSW-ZGISX&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;HSW-ZGISY HSW-ZDEED HSW-ZLAND&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*HSW-ZSITE&lt;/P&gt;&lt;P&gt;*into E1BPPAREX-VALUEPART1&lt;/P&gt;&lt;P&gt;*separated by space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;  lt_extension_in TYPE TABLE OF bapiparex,&lt;/P&gt;&lt;P&gt;  ls_extension_in TYPE bapiparex,&lt;/P&gt;&lt;P&gt;  ls_ci_data      TYPE REBD_ARCH_OBJECT_CI.&lt;/P&gt;&lt;P&gt;*ls_ci_data-structure = 'CI_VIBDAO'.&lt;/P&gt;&lt;P&gt;ls_ci_data-ZGISX      = HSW-ZGISX.&lt;/P&gt;&lt;P&gt;ls_ci_data-ZGISY       = HSW-ZGISY.&lt;/P&gt;&lt;P&gt;ls_ci_data-ZDEED = HSW-ZDEED.&lt;/P&gt;&lt;P&gt;ls_ci_data-ZLAND = HSW-ZLAND.&lt;/P&gt;&lt;P&gt;ls_ci_data-ZSITE = HSW-ZSITE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_extension_in-structure = 'CI_VIBDAO'.&lt;/P&gt;&lt;P&gt;*ls_extension_in-valuepart1 = ls_ci_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD cl_abap_container_utilities=&amp;gt;fill_container_c&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    im_value     = ls_ci_data&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    ex_container = ls_extension_in-valuepart1&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    OTHERS       = 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   APPEND ls_extension_in TO lt_extension_in.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;E1BPPAREX-VALUEPART1 = ls_extension_in-valuepart1.&lt;/P&gt;&lt;P&gt;**move-corresponding ls_extension_in to E1BPPAREX.&lt;/P&gt;&lt;P&gt;**APPEND ls_extension_in TO E1BPPAREX.&lt;/P&gt;&lt;P&gt;**append E1BPPAREX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data is not getting populated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to do anything else.??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inputs please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2008 05:30:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-doubt/m-p/4068169#M972458</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-15T05:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-doubt/m-p/4068170#M972459</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;In my case I am using BAPI "BAPI_RE_AO_CREATE" , where it doesn't contain any check like "extension required".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know how to handle this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2008 07:36:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-doubt/m-p/4068170#M972459</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-15T07:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI Doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-doubt/m-p/4068171#M972460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;inputs please...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2008 10:39:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-doubt/m-p/4068171#M972460</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-15T10:39:57Z</dc:date>
    </item>
  </channel>
</rss>

