<?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: Adding fields to transaction VA01 &amp; also to  database table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-fields-to-transaction-va01-also-to-database-table/m-p/2219426#M476365</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pabitra rout,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;You have 2 options to include the Fields 1) Append Structure 2) Include structure&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Append Structure:- An append structure is a structure assigned to just one table. When a table is activated, all append structures for the table are found and appended to the table. Append structures are used to add customer fields to SAP tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb61446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb61446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Include Structure:- Include structures are used to add fields in the middle also.where as append structures adds fields only at the end.In addition to listing the individual fields, you can also include the fields of another structure in tables and structures. Individual fields and includes can be mixed as required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3184763"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb61446011d189700000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb61446011d189700000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb61446011d189700000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb61446011d189700000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Here is the detailed preocedure to add fields/structure to Database table:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just follow this to add structure to the database table,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;go to the se11 -&amp;gt;,&lt;/P&gt;&lt;P&gt;provide the table name -&amp;gt;,&lt;/P&gt;&lt;P&gt;go for display -&amp;gt;,&lt;/P&gt;&lt;P&gt;select GOTO option at the menu -&amp;gt;,&lt;/P&gt;&lt;P&gt;select Append structure -&amp;gt;,&lt;/P&gt;&lt;P&gt;provide the Append name -&amp;gt;,&lt;/P&gt;&lt;P&gt;Enter -&amp;gt;,&lt;/P&gt;&lt;P&gt;provide stort text and fields to the structure -&amp;gt;,&lt;/P&gt;&lt;P&gt;then save and activate,&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;now check the table, now u can see the table with new structure at the last.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you about how to add fields to Database tables like VBAK,VBAP&amp;#133;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points if it helps you.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rama chary.Pammi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Apr 2007 05:42:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-25T05:42:31Z</dc:date>
    <item>
      <title>Adding fields to transaction VA01 &amp; also to  database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-fields-to-transaction-va01-also-to-database-table/m-p/2219422#M476361</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; can we add some fields to database tables like vbap, vbak if we will get key from sap?&lt;/P&gt;&lt;P&gt;will it create any problem in future?&lt;/P&gt;&lt;P&gt;crea&lt;/P&gt;&lt;P&gt;  i need to create some new fields in VA01 so that i can populate those fields while creating sales order.generally, these fields r not present in VA01.but i want to add some fields in this transaction. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; These fields r not present in any database tables.  if i will populate these fields in VA01, then how i can update the database table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;actually, i want to add some new fields in transaction VA01 &amp;amp; i want to update the database while creating the sales order.but there is no such fields in database tables.&lt;/P&gt;&lt;P&gt;plz suggest me the most possible ways to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's urgent.plz suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;pabi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 15:22:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-fields-to-transaction-va01-also-to-database-table/m-p/2219422#M476361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T15:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Adding fields to transaction VA01 &amp; also to  database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-fields-to-transaction-va01-also-to-database-table/m-p/2219423#M476362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Depending on if you want to add the fields at the header or item level, you can do append structure to VBAK or VBAP. You can add fields to the header and item screens to capture those values using screen exits provided on the header additional data screen and the item additional data screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then pass those values from the screen to the database in user exits provided through out the VA01 program (SAPMV45A) like MV45AFZZ etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 20:53:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-fields-to-transaction-va01-also-to-database-table/m-p/2219423#M476362</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T20:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Adding fields to transaction VA01 &amp; also to  database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-fields-to-transaction-va01-also-to-database-table/m-p/2219424#M476363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can create new z fields and u can append it into Standards ABAP tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 21:26:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-fields-to-transaction-va01-also-to-database-table/m-p/2219424#M476363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T21:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Adding fields to transaction VA01 &amp; also to  database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-fields-to-transaction-va01-also-to-database-table/m-p/2219425#M476364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is for XD01 like that you can do for the va01.&lt;/P&gt;&lt;P&gt;Creating Custom Screen in XD01&lt;/P&gt;&lt;P&gt;Go to Transaction SPRO à Logistics &amp;#150; General à Business Partner à Customers à Control à Adoption of Customer&amp;#146;s own Master Data fields à Prepare Modification à Free enhancement of Customer Master Record.  &lt;/P&gt;&lt;P&gt;Following screen appears:               &lt;/P&gt;&lt;P&gt;Go to CHANGE mode and Click &amp;#145;New Entries&amp;#146; button. Then add a Screen Group (SK here)and meaningful description. Save the entry and then SELECT that entry and Click on &amp;#145;Label Tab Pages&amp;#146;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add a Label Tab Page i.e. enter a Screen Number, Function Code and Meaningful Description. &lt;/P&gt;&lt;P&gt;Save the entry and come back to the SPRO screen. Click  Business Add-in: Processing Master Data Enhancements  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create one Implementation by giving implementation name (must start with Z. ZSURESHKUMAR here). Give meaningful description and press enter. The following screen appears.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Go to Interface and Click on &amp;#145;CHECK_ADD_ON_ACTIVE&amp;#146; method. Add the following code and save.  &lt;/P&gt;&lt;P&gt;method IF_EX_CUSTOMER_ADD_DATA~CHECK_ADD_ON_ACTIVE . &lt;/P&gt;&lt;P&gt;data: l_flg_active type BOOLE-BOOLE. &lt;/P&gt;&lt;P&gt;if i_screen_group = 'SK'.  &lt;/P&gt;&lt;P&gt;      e_add_on_active = 'X'.  &lt;/P&gt;&lt;P&gt;  endif. &lt;/P&gt;&lt;P&gt;endmethod.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Activate that and come back to SPRO initial screen. Click  Business Add-in: Customer Subscreens  &lt;/P&gt;&lt;P&gt;The following screen will appear. Create one implementation (ZSURESHKUMAR1 here).   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Press enter. The following screen will come. Enter a meaningful Description and Screen Group (which we created earlier) as shown below.  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Then go to Interface   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a Function Pool SAPLZSURESHKUMAR. (See the code of the program for other details). Create a Screen &amp;#145;1111&amp;#146; with field old Customer Number &amp;#150; screen group PSK (SE51) &lt;/P&gt;&lt;P&gt;Click on GET_TAXI_SCREEN method and add the following code.  &lt;/P&gt;&lt;P&gt;method IF_EX_CUSTOMER_ADD_DATA_CS~GET_TAXI_SCREEN . &lt;/P&gt;&lt;P&gt; case i_taxi_fcode. &lt;/P&gt;&lt;P&gt;    when 'SK_TAB'. &lt;/P&gt;&lt;P&gt;      e_screen  = '1111'.  "Eart + Objekt &lt;/P&gt;&lt;P&gt;      e_program = 'SAPLZSURESHKUMAR'. &lt;/P&gt;&lt;P&gt;      e_headerscreen_layout = ' '. &lt;/P&gt;&lt;P&gt;  endcase. &lt;/P&gt;&lt;P&gt;endmethod.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Activate and leave the transaction.  &lt;/P&gt;&lt;P&gt;Go to KNA1 (Customer Master) table and add a custom field as shown below. Activate the table.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now go to XD01 transaction.  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;The screen we created will appear as shown in the above screen-shot. Click the button. The following screen will appear.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter a customer number and save the transaction. Now go to KNA1 table and check the value of the Old Customer Number field&amp;#146;s value. The value you entered in this screen will appear on there.  &lt;/P&gt;&lt;P&gt;Until now, we wrote code for creating the Custom field. Now we need to disable that field when we are opening the transaction in DISPLAY mode.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to include &amp;#150; LZSURESHKUMARTOP and enter the following code and activate the program.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now execute the Transaction in display mode and check the output. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*************Rewards&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;P.Nag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2007 04:28:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-fields-to-transaction-va01-also-to-database-table/m-p/2219425#M476364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-25T04:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Adding fields to transaction VA01 &amp; also to  database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-fields-to-transaction-va01-also-to-database-table/m-p/2219426#M476365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pabitra rout,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;You have 2 options to include the Fields 1) Append Structure 2) Include structure&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Append Structure:- An append structure is a structure assigned to just one table. When a table is activated, all append structures for the table are found and appended to the table. Append structures are used to add customer fields to SAP tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb61446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb61446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Include Structure:- Include structures are used to add fields in the middle also.where as append structures adds fields only at the end.In addition to listing the individual fields, you can also include the fields of another structure in tables and structures. Individual fields and includes can be mixed as required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3184763"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb61446011d189700000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb61446011d189700000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb61446011d189700000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb61446011d189700000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Here is the detailed preocedure to add fields/structure to Database table:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just follow this to add structure to the database table,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;go to the se11 -&amp;gt;,&lt;/P&gt;&lt;P&gt;provide the table name -&amp;gt;,&lt;/P&gt;&lt;P&gt;go for display -&amp;gt;,&lt;/P&gt;&lt;P&gt;select GOTO option at the menu -&amp;gt;,&lt;/P&gt;&lt;P&gt;select Append structure -&amp;gt;,&lt;/P&gt;&lt;P&gt;provide the Append name -&amp;gt;,&lt;/P&gt;&lt;P&gt;Enter -&amp;gt;,&lt;/P&gt;&lt;P&gt;provide stort text and fields to the structure -&amp;gt;,&lt;/P&gt;&lt;P&gt;then save and activate,&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;now check the table, now u can see the table with new structure at the last.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you about how to add fields to Database tables like VBAK,VBAP&amp;#133;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points if it helps you.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rama chary.Pammi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2007 05:42:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-fields-to-transaction-va01-also-to-database-table/m-p/2219426#M476365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-25T05:42:31Z</dc:date>
    </item>
  </channel>
</rss>

