<?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: extending a bapi in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/extending-a-bapi/m-p/3163683#M752538</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;For eg : go for this BAPI: in se37&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_SALESORDER_CHANGE&lt;/P&gt;&lt;P&gt;                                                                                Short text                                                                                &lt;/P&gt;&lt;P&gt;Customer Enhancement for VBAK, VBAP, VBEP                                                                                &lt;/P&gt;&lt;P&gt;Description                                                                                &lt;/P&gt;&lt;P&gt;You can use this parameter to transfer user-specific enhancments to a             &lt;/P&gt;&lt;P&gt;    BAPI. The customer has to complete the EXTENSION structure and the                &lt;/P&gt;&lt;P&gt;    system automatically continues processing it. If you have not defined             &lt;/P&gt;&lt;P&gt;    any user-specific fields, then you can transfer a blank EXTENSIONIN               &lt;/P&gt;&lt;P&gt;    structure.                                                                                &lt;/P&gt;&lt;P&gt;Technical Information about Customer Enhancements                                                                                &lt;/P&gt;&lt;P&gt;The following description uses an example to explain how to proceed with          &lt;/P&gt;&lt;P&gt;    customer enhancements to the SD tables VBAK, VBKD, VBAP and VBEP.                                                                                &lt;/P&gt;&lt;P&gt;The customer has added their own fields to table VBAP using the INCLUDE           &lt;/P&gt;&lt;P&gt;    structure CUTEST. This structure contains 2 fields:                               &lt;/P&gt;&lt;P&gt;    CFIELD1, CHAR 10                                                                  &lt;/P&gt;&lt;P&gt;    CFIELD2, CHAR 3.                                                                                &lt;/P&gt;&lt;P&gt;The customer also requires that these two fields can be maintained with           &lt;/P&gt;&lt;P&gt;    the BAPI.                                                                                &lt;/P&gt;&lt;P&gt;1.  Maintain structure CUTEST in table VBAP                                                                                &lt;/P&gt;&lt;P&gt;2.  Because the BAPIs work with checkboxes, you must also define a                                                                                &lt;/P&gt;&lt;P&gt;Field name       Data element                                                                                &lt;/P&gt;&lt;P&gt;CFIELD1          CHAR1                                                                                &lt;/P&gt;&lt;P&gt;CFIELD2          CHAR1                                                                                &lt;/P&gt;&lt;P&gt;3.  Define these customer structures in the structures VBAPKOZ und                                           &lt;/P&gt;&lt;P&gt;     VBAPKOZX using INCLUDE or APPEND.                                                                                &lt;/P&gt;&lt;P&gt;4.  Add the customer structures to the BAPE_VBAP and BAPE_VBAPX BAPI                                         &lt;/P&gt;&lt;P&gt;     structures using the APPEND technique.                                                                                &lt;/P&gt;&lt;P&gt;5.  Adjust the following structures for customer enhancements to table                                       &lt;/P&gt;&lt;P&gt;     VBAK:                                                                                &lt;/P&gt;&lt;P&gt;a)  VBAKKOZ                                                                                &lt;/P&gt;&lt;P&gt;b)  VBAKKOZX                                                                                &lt;/P&gt;&lt;P&gt;c)  BAPE_VBAK                                                                                &lt;/P&gt;&lt;P&gt;d)  BAPE_VBAKX                                                                                &lt;/P&gt;&lt;P&gt;6.  Adjust the following structures for customer enhancements to table                                       &lt;/P&gt;&lt;P&gt;     VBEK:                                                                                &lt;/P&gt;&lt;P&gt;a)  VBEPKOZ                                                                                &lt;/P&gt;&lt;P&gt;b)  VBEPKOZX                                                                                &lt;/P&gt;&lt;P&gt;c)  BAPE_VBEP                                                                                &lt;/P&gt;&lt;P&gt;d)  BAPE_VBEPX                                                                                &lt;/P&gt;&lt;P&gt;7.  Generally, the data should be added to the BAPI interface in the                                         &lt;/P&gt;&lt;P&gt;     internal communication structures (VBAKKOM, and so on). There, you       can process the data in the SD tables (VBAK, and so on).                                                                                &lt;/P&gt;&lt;P&gt;8.  If the EXTENSIONIN parameter contains customer data, you must                &lt;/P&gt;&lt;P&gt;      complete at least the key fields in the relevant standard                    &lt;/P&gt;&lt;P&gt;      parameters.                                                                                &lt;/P&gt;&lt;P&gt;For example:                                                                     &lt;/P&gt;&lt;P&gt;  You want to change customer field VBAP-CFIELD2 for item 20 to "XYZ" in           &lt;/P&gt;&lt;P&gt;  order 4711.                                                                      &lt;/P&gt;&lt;P&gt;  The following entries are expected:                                                                                &lt;/P&gt;&lt;P&gt;Import:     BAPIVBELN-VBELN       = '0000004711'  Document number                &lt;/P&gt;&lt;P&gt;              BAPISDHD1X-UPDATEFLAG = 'U'           UPDKZ for doc header           &lt;/P&gt;&lt;P&gt;  Tables:     BAPISDITM-ITM_NUMBER  = '000020'      Item number                    &lt;/P&gt;&lt;P&gt;              BAPISDITMX-ITM_NUMBER = '000020'      Item number                    &lt;/P&gt;&lt;P&gt;            + BAPISDITMX-UPDATEFLAG = 'U'           UPDKZ for item                                                                                &lt;/P&gt;&lt;P&gt;You must complete the EXTENSION table as follows:                                                                                &lt;/P&gt;&lt;P&gt;STRUCTURE                      VALUEPART1      1234561234567890123                                                                                &lt;/P&gt;&lt;P&gt;BAPE_VBAP                      0000004711000020                XYZ               &lt;/P&gt;&lt;P&gt;  BAPE_VBAPX                     0000004711000020       X                                                                                &lt;/P&gt;&lt;P&gt;Rvert back if any issues,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Dec 2007 04:04:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-21T04:04:41Z</dc:date>
    <item>
      <title>extending a bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extending-a-bapi/m-p/3163682#M752537</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;how do i extend a bapi,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2007 03:39:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extending-a-bapi/m-p/3163682#M752537</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-21T03:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: extending a bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extending-a-bapi/m-p/3163683#M752538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;For eg : go for this BAPI: in se37&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_SALESORDER_CHANGE&lt;/P&gt;&lt;P&gt;                                                                                Short text                                                                                &lt;/P&gt;&lt;P&gt;Customer Enhancement for VBAK, VBAP, VBEP                                                                                &lt;/P&gt;&lt;P&gt;Description                                                                                &lt;/P&gt;&lt;P&gt;You can use this parameter to transfer user-specific enhancments to a             &lt;/P&gt;&lt;P&gt;    BAPI. The customer has to complete the EXTENSION structure and the                &lt;/P&gt;&lt;P&gt;    system automatically continues processing it. If you have not defined             &lt;/P&gt;&lt;P&gt;    any user-specific fields, then you can transfer a blank EXTENSIONIN               &lt;/P&gt;&lt;P&gt;    structure.                                                                                &lt;/P&gt;&lt;P&gt;Technical Information about Customer Enhancements                                                                                &lt;/P&gt;&lt;P&gt;The following description uses an example to explain how to proceed with          &lt;/P&gt;&lt;P&gt;    customer enhancements to the SD tables VBAK, VBKD, VBAP and VBEP.                                                                                &lt;/P&gt;&lt;P&gt;The customer has added their own fields to table VBAP using the INCLUDE           &lt;/P&gt;&lt;P&gt;    structure CUTEST. This structure contains 2 fields:                               &lt;/P&gt;&lt;P&gt;    CFIELD1, CHAR 10                                                                  &lt;/P&gt;&lt;P&gt;    CFIELD2, CHAR 3.                                                                                &lt;/P&gt;&lt;P&gt;The customer also requires that these two fields can be maintained with           &lt;/P&gt;&lt;P&gt;    the BAPI.                                                                                &lt;/P&gt;&lt;P&gt;1.  Maintain structure CUTEST in table VBAP                                                                                &lt;/P&gt;&lt;P&gt;2.  Because the BAPIs work with checkboxes, you must also define a                                                                                &lt;/P&gt;&lt;P&gt;Field name       Data element                                                                                &lt;/P&gt;&lt;P&gt;CFIELD1          CHAR1                                                                                &lt;/P&gt;&lt;P&gt;CFIELD2          CHAR1                                                                                &lt;/P&gt;&lt;P&gt;3.  Define these customer structures in the structures VBAPKOZ und                                           &lt;/P&gt;&lt;P&gt;     VBAPKOZX using INCLUDE or APPEND.                                                                                &lt;/P&gt;&lt;P&gt;4.  Add the customer structures to the BAPE_VBAP and BAPE_VBAPX BAPI                                         &lt;/P&gt;&lt;P&gt;     structures using the APPEND technique.                                                                                &lt;/P&gt;&lt;P&gt;5.  Adjust the following structures for customer enhancements to table                                       &lt;/P&gt;&lt;P&gt;     VBAK:                                                                                &lt;/P&gt;&lt;P&gt;a)  VBAKKOZ                                                                                &lt;/P&gt;&lt;P&gt;b)  VBAKKOZX                                                                                &lt;/P&gt;&lt;P&gt;c)  BAPE_VBAK                                                                                &lt;/P&gt;&lt;P&gt;d)  BAPE_VBAKX                                                                                &lt;/P&gt;&lt;P&gt;6.  Adjust the following structures for customer enhancements to table                                       &lt;/P&gt;&lt;P&gt;     VBEK:                                                                                &lt;/P&gt;&lt;P&gt;a)  VBEPKOZ                                                                                &lt;/P&gt;&lt;P&gt;b)  VBEPKOZX                                                                                &lt;/P&gt;&lt;P&gt;c)  BAPE_VBEP                                                                                &lt;/P&gt;&lt;P&gt;d)  BAPE_VBEPX                                                                                &lt;/P&gt;&lt;P&gt;7.  Generally, the data should be added to the BAPI interface in the                                         &lt;/P&gt;&lt;P&gt;     internal communication structures (VBAKKOM, and so on). There, you       can process the data in the SD tables (VBAK, and so on).                                                                                &lt;/P&gt;&lt;P&gt;8.  If the EXTENSIONIN parameter contains customer data, you must                &lt;/P&gt;&lt;P&gt;      complete at least the key fields in the relevant standard                    &lt;/P&gt;&lt;P&gt;      parameters.                                                                                &lt;/P&gt;&lt;P&gt;For example:                                                                     &lt;/P&gt;&lt;P&gt;  You want to change customer field VBAP-CFIELD2 for item 20 to "XYZ" in           &lt;/P&gt;&lt;P&gt;  order 4711.                                                                      &lt;/P&gt;&lt;P&gt;  The following entries are expected:                                                                                &lt;/P&gt;&lt;P&gt;Import:     BAPIVBELN-VBELN       = '0000004711'  Document number                &lt;/P&gt;&lt;P&gt;              BAPISDHD1X-UPDATEFLAG = 'U'           UPDKZ for doc header           &lt;/P&gt;&lt;P&gt;  Tables:     BAPISDITM-ITM_NUMBER  = '000020'      Item number                    &lt;/P&gt;&lt;P&gt;              BAPISDITMX-ITM_NUMBER = '000020'      Item number                    &lt;/P&gt;&lt;P&gt;            + BAPISDITMX-UPDATEFLAG = 'U'           UPDKZ for item                                                                                &lt;/P&gt;&lt;P&gt;You must complete the EXTENSION table as follows:                                                                                &lt;/P&gt;&lt;P&gt;STRUCTURE                      VALUEPART1      1234561234567890123                                                                                &lt;/P&gt;&lt;P&gt;BAPE_VBAP                      0000004711000020                XYZ               &lt;/P&gt;&lt;P&gt;  BAPE_VBAPX                     0000004711000020       X                                                                                &lt;/P&gt;&lt;P&gt;Rvert back if any issues,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2007 04:04:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extending-a-bapi/m-p/3163683#M752538</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-21T04:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: extending a bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extending-a-bapi/m-p/3163684#M752539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanjana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_470/helpdata/en/c5/e4adcc453d11d189430000e829fbbd/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_470/helpdata/en/c5/e4adcc453d11d189430000e829fbbd/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Kindly Award Points If You Find The Reply Helpful&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chaitanya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2007 04:15:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extending-a-bapi/m-p/3163684#M752539</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-21T04:15:05Z</dc:date>
    </item>
  </channel>
</rss>

