<?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 Append Structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-structure/m-p/3239868#M773170</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question regarding user exit for VBAK, I know when I want to add fields to Additional Data B I have to append a structure ZAVBAK by pressing the "Append Structure" button in SE11 and add the new fields.  But when I use the BAPI to create sales order.  I am suppose to append the new fields in the EXTENSIONIN part using the BAPE_VBAK.  Now this is where the problem comes, I would like to know how I can create the structure BAPE_VBAK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points will be rewards for helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 13 Jan 2008 10:18:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-13T10:18:42Z</dc:date>
    <item>
      <title>Append Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-structure/m-p/3239868#M773170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question regarding user exit for VBAK, I know when I want to add fields to Additional Data B I have to append a structure ZAVBAK by pressing the "Append Structure" button in SE11 and add the new fields.  But when I use the BAPI to create sales order.  I am suppose to append the new fields in the EXTENSIONIN part using the BAPE_VBAK.  Now this is where the problem comes, I would like to know how I can create the structure BAPE_VBAK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points will be rewards for helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Jan 2008 10:18:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-structure/m-p/3239868#M773170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-13T10:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Append Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-structure/m-p/3239869#M773171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry but an extension to this question, since I also have to add additional fields for VBRK and VBRP, where can I create the BAPE_VBRK and BAPE_VBRP structures after I have appended the structures ZAVBRK and ZAVBRP.  Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Jan 2008 10:22:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-structure/m-p/3239869#M773171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-13T10:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Append Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-structure/m-p/3239870#M773172</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; Create 'BAPE_VBAK' as follow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create &lt;/P&gt;&lt;P&gt;BAPE_VBAK : Create structure&lt;/P&gt;&lt;P&gt;- VBELN  : Sales document&lt;/P&gt;&lt;P&gt;- Append strucutre :  Z..._VBAK1&lt;/P&gt;&lt;P&gt;   Create required fields:  ZINDS  type char4       (ex:  Industry key)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VBAK table:&lt;/P&gt;&lt;P&gt; Append strucutre  Z..._VBAK with field  ZINDS type char4 similar as BAPE_VBAK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales order creation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data : l_r_brsch       TYPE  bape_vbak,&lt;/P&gt;&lt;P&gt;  l_r_brschx      TYPE  bape_vbakx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Populating values for extensionin parameter for updating customer  fields of structure 'BAPE_VBAK'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;extensionin-structure  =  'BAPE_VBAK'.&lt;/P&gt;&lt;P&gt;l_r_brsch-zinds  =  val1.&lt;/P&gt;&lt;P&gt;extensionin-valuepart1 = l_r_brsch. (BAPE_VBAK work area)&lt;/P&gt;&lt;P&gt;append extensionin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Populating values for Extensionin parameter to decide which customer  field   should be updated by providing 'X' to the customer field of   structure 'BAPE_VBAKX'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  extensionin-structure  =  g_c_bapevbakx.&lt;/P&gt;&lt;P&gt;  l_r_brschx-zzbrsch  =  'X'&lt;/P&gt;&lt;P&gt;  extensionin-valuepart1  =  l_r_brschx.&lt;/P&gt;&lt;P&gt;  APPEND extensionin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the extensionin internal table in BAPI .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2008 04:00:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-structure/m-p/3239870#M773172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-14T04:00:00Z</dc:date>
    </item>
  </channel>
</rss>

