<?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: How to use BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-bapi/m-p/4683928#M1101232</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;Go through the FM documentation of BAPI_CTRACCONTRACTACCOUNT_CH1, this gives some information how to populate the custom fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to extend the structures mentioned in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you have to pass the structure name into the bapi extension parameter when calling the BAPI along with the concatenated values of the custom fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In program:&lt;/P&gt;&lt;P&gt;data : w_extensionin type BAPIPAREX.&lt;/P&gt;&lt;P&gt;data : i_extensionin type table of BAPIPAREX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_extensionin-structure = one of the structures mentioned in bapi documention for EXtensionIN parameter (there are two structure mentioned as BAPI_TE_FKKVKI, and  BAPI_TE_FKKVKPI, use the relevant one among this two).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_extensionin-valuepart1 = concatenated values of the custom fields. (not required to use valuepart2, valuepart3 and valuepart4 fields).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append w_extensionin to i_extensionin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass i_extensionin to the BAPI when you are making a call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you need to extend the relevant tables and the BAPI structures mentioned above before calling this BAPI with Extension parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards,&lt;/P&gt;&lt;P&gt;Dwarakanath.S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Oct 2008 14:24:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-17T14:24:48Z</dc:date>
    <item>
      <title>How to use BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-bapi/m-p/4683927#M1101231</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;I have a BAPI 'BAPI_CTRACCONTRACTACCOUNT_CH1'. This BAPI will be used to change the contract account. But my reaquirement is I have added some custom fields to contract account screen and we can see these fields in CAA1, CAA2, and CAA3 transactions. Now my question is how can I update custome fields through BAPI? Someone told me to use extension parameters and infact this BAPI has EXTENSIONIN parameter. But I am unable to map how to update custom fields through this BAPI using extension parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 13:58:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-bapi/m-p/4683927#M1101231</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-17T13:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to use BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-bapi/m-p/4683928#M1101232</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;Go through the FM documentation of BAPI_CTRACCONTRACTACCOUNT_CH1, this gives some information how to populate the custom fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to extend the structures mentioned in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you have to pass the structure name into the bapi extension parameter when calling the BAPI along with the concatenated values of the custom fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In program:&lt;/P&gt;&lt;P&gt;data : w_extensionin type BAPIPAREX.&lt;/P&gt;&lt;P&gt;data : i_extensionin type table of BAPIPAREX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_extensionin-structure = one of the structures mentioned in bapi documention for EXtensionIN parameter (there are two structure mentioned as BAPI_TE_FKKVKI, and  BAPI_TE_FKKVKPI, use the relevant one among this two).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_extensionin-valuepart1 = concatenated values of the custom fields. (not required to use valuepart2, valuepart3 and valuepart4 fields).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append w_extensionin to i_extensionin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass i_extensionin to the BAPI when you are making a call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you need to extend the relevant tables and the BAPI structures mentioned above before calling this BAPI with Extension parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards,&lt;/P&gt;&lt;P&gt;Dwarakanath.S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2008 14:24:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-bapi/m-p/4683928#M1101232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-17T14:24:48Z</dc:date>
    </item>
  </channel>
</rss>

