<?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 custom fields to XD01 transaction in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-custom-fields-to-xd01-transaction/m-p/1386643#M188181</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi developers (strugglers)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I spent the last two hours setting up this stuff here.&lt;/P&gt;&lt;P&gt;So you follow the SPRO way and do everything they say.&lt;/P&gt;&lt;P&gt;What they don't say:&lt;/P&gt;&lt;P&gt;1.you make an own z program with your subscreens&lt;/P&gt;&lt;P&gt;2.by VENDOR_ADD_DATA you put something like this to method CHECK_ADD_ON_ACTIVE:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Aktivierung Zusatzfelder für ZDB&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  if i_screen_group = 'Z1'.&lt;/P&gt;&lt;P&gt;    e_add_on_active = 'X'.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;3.by VENDOR_ADD_DATA_CS you put something like this to get_taxi_screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE i_taxi_fcode.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Premier&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    WHEN 'Z1_SRCE1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      e_screen = '0100'.&lt;/P&gt;&lt;P&gt;      e_program = 'ZPM_SCREENEXIT_MK02'. " your own program&lt;/P&gt;&lt;P&gt;      e_headerscreen_layout = ' '.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Deuxiem&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    WHEN 'Z1_SRCE2'.&lt;/P&gt;&lt;P&gt;      e_screen = '0110'.&lt;/P&gt;&lt;P&gt;      e_program = 'ZPM_SCREENEXIT_MK02'.&lt;/P&gt;&lt;P&gt;      e_headerscreen_layout = ' '.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. you make sure, that everything is active&lt;/P&gt;&lt;P&gt;5. you make sure, that the texts are translated in the customizing table to all the languages you use (otherwise you don't see the button)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;take care&lt;/P&gt;&lt;P&gt;Zsolt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Jun 2006 13:26:29 GMT</pubDate>
    <dc:creator>former_member497373</dc:creator>
    <dc:date>2006-06-20T13:26:29Z</dc:date>
    <item>
      <title>Adding custom fields to XD01 transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-custom-fields-to-xd01-transaction/m-p/1386638#M188176</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 need to add custom fields to the Customer create transaction (XD01). Can anyone tell me the feasibility of having screen-exits or BADIs to acheive the same? I have searched for screen exits but could found none, and regarding BADI's i found these CUSTOMER_ADD_DATA, CUSTOMER_ADD_DATA_CS and CUSTOMER_ADD_DATA_BI. Unfortunately there is no default code assigned to these BADI's. Please tell me how we can acheive the requirement. we dont have any include too in the KNA1 table hence i feel going with APPEND structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;P&gt;Yugandhar K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2006 12:29:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-custom-fields-to-xd01-transaction/m-p/1386638#M188176</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-13T12:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Adding custom fields to XD01 transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-custom-fields-to-xd01-transaction/m-p/1386639#M188177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yugandhar,&lt;/P&gt;&lt;P&gt;  See the documentation in se18 for CUSTOMER_ADD_DATA_CS .&lt;/P&gt;&lt;P&gt;If you don't have it, here it is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;Application component: LO-MD-BP-CM,  FI-AR-AR-N&lt;/P&gt;&lt;P&gt;Package: VS&lt;/P&gt;&lt;P&gt;You use the Business Add-Ins (BADI) CUSTOMER_ADD_DATA_CS and BADI CUSTOMER_ADD_DATA for processing enhancements in the customer master record. You use the BADI CUSTOMER_ADD_DATA_CS to integrate your own subscreens in the standard dialog. You can process your own data (add-on data) on these subscreens.&lt;/P&gt;&lt;P&gt;For more information, see the documentation of the individual methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ensure that:&lt;/P&gt;&lt;P&gt;In Customizing for the customer master, under Transfer Customer Master Data Fields, you have prepared the modification-free enhancement of the customer record so that you have defined a screen group with name and have labeled the tab pages&lt;/P&gt;&lt;P&gt;You have activated the processing of your own data with the method CHECK_ADD_ON_ACTIVE of the Business Add-In CUSTOMER_ADD_DATA in the standard dialog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Business Add-In is not activated in the standard.&lt;/P&gt;&lt;P&gt;The Business Add-In is filter-dependent.&lt;/P&gt;&lt;P&gt;You can use the Business Add-In more than once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Due to the filter dependency of the Business Add-In, you have to specify a filter. Choose the screen group selected in your Customizing settings as the filter.20000003&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the Business Add-In to integrate subscreens in the standard dialog of the customer master. On these subscreens you can enable the processing of your own data.&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2006 12:33:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-custom-fields-to-xd01-transaction/m-p/1386639#M188177</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-13T12:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Adding custom fields to XD01 transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-custom-fields-to-xd01-transaction/m-p/1386640#M188178</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;you can try this BADI &amp;lt;b&amp;gt;CUSTOMER_ADD_DATA_CS&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using that you can add the Tab page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2006 12:37:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-custom-fields-to-xd01-transaction/m-p/1386640#M188178</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-13T12:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: Adding custom fields to XD01 transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-custom-fields-to-xd01-transaction/m-p/1386641#M188179</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 the method &amp;lt;b&amp;gt;GET_TAXI_SCREEN&amp;lt;/b&amp;gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;  e_screen  = '0100'.&lt;/P&gt;&lt;P&gt;  e_program = 'SAPLZ_CUSTOMER_MASTER'.&lt;/P&gt;&lt;P&gt;  e_headerscreen_layout = ' '.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have to give this and here we created the FM and created the screen 100 and added all the fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and you have to use SET_DATA and GET_DATA methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2006 12:41:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-custom-fields-to-xd01-transaction/m-p/1386641#M188179</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-13T12:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Adding custom fields to XD01 transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-custom-fields-to-xd01-transaction/m-p/1386642#M188180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also attempting to add custom fields to the customer master (KNA1), via an append.  And, I'm also trying to use the BAdI's CUSTOMER_ADD_DATA, CUSTOMER_ADD_DATA_CS and CUSTOMER_ADD_DATA_BI to work with these fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fields I'm adding are simple text data.  No special processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far, I have exposed a new button on the XD01, XD02 and XD03 transactions.  When I push the button I get a screen with the new Tab that I defined, but there are no data entry fields displayed (it's just blank).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not clear on how to expose, or work with, my new append fields on my new screen/tab.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I very new to SAP, so I would appreciate as much detail as possible on how to expose my append fields.  (I'm assuming I need to use the SET_DATA and GET_DATA methods, but how?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Allan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 19:21:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-custom-fields-to-xd01-transaction/m-p/1386642#M188180</guid>
      <dc:creator>Allan1</dc:creator>
      <dc:date>2006-06-15T19:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Adding custom fields to XD01 transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-custom-fields-to-xd01-transaction/m-p/1386643#M188181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi developers (strugglers)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I spent the last two hours setting up this stuff here.&lt;/P&gt;&lt;P&gt;So you follow the SPRO way and do everything they say.&lt;/P&gt;&lt;P&gt;What they don't say:&lt;/P&gt;&lt;P&gt;1.you make an own z program with your subscreens&lt;/P&gt;&lt;P&gt;2.by VENDOR_ADD_DATA you put something like this to method CHECK_ADD_ON_ACTIVE:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Aktivierung Zusatzfelder für ZDB&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  if i_screen_group = 'Z1'.&lt;/P&gt;&lt;P&gt;    e_add_on_active = 'X'.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;3.by VENDOR_ADD_DATA_CS you put something like this to get_taxi_screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE i_taxi_fcode.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Premier&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    WHEN 'Z1_SRCE1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      e_screen = '0100'.&lt;/P&gt;&lt;P&gt;      e_program = 'ZPM_SCREENEXIT_MK02'. " your own program&lt;/P&gt;&lt;P&gt;      e_headerscreen_layout = ' '.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Deuxiem&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    WHEN 'Z1_SRCE2'.&lt;/P&gt;&lt;P&gt;      e_screen = '0110'.&lt;/P&gt;&lt;P&gt;      e_program = 'ZPM_SCREENEXIT_MK02'.&lt;/P&gt;&lt;P&gt;      e_headerscreen_layout = ' '.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. you make sure, that everything is active&lt;/P&gt;&lt;P&gt;5. you make sure, that the texts are translated in the customizing table to all the languages you use (otherwise you don't see the button)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;take care&lt;/P&gt;&lt;P&gt;Zsolt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2006 13:26:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-custom-fields-to-xd01-transaction/m-p/1386643#M188181</guid>
      <dc:creator>former_member497373</dc:creator>
      <dc:date>2006-06-20T13:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Adding custom fields to XD01 transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-custom-fields-to-xd01-transaction/m-p/1386644#M188182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zsolt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hoped I wouldn't have to create a program, and that the BAdI would handle everything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I have done as you explained and I now have a screen with my fields that can display/update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again, Zsolt.  I will award points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Allan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2006 19:37:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-custom-fields-to-xd01-transaction/m-p/1386644#M188182</guid>
      <dc:creator>Allan1</dc:creator>
      <dc:date>2006-06-21T19:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Adding custom fields to XD01 transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-custom-fields-to-xd01-transaction/m-p/1386645#M188183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is really good information regarding adding custom fields to customer master. Can anyone send me an example of how to create the customized z-program with subscreens. I am an abaper but never had the opportunity to create this kind of program. I am familiar with the screen painter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2006 20:54:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-custom-fields-to-xd01-transaction/m-p/1386645#M188183</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-11T20:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Adding custom fields to XD01 transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-custom-fields-to-xd01-transaction/m-p/1386646#M188184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marcia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the following program as a guide:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DEMO_SEL_SCREEN_AS_SUBSCREEN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are other screen related demo programs, as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case you don't have the above program in your system, I have pasted the code below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Allan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report demo_sel_screen_as_subscreen.

selection-screen begin of screen 1100 as subscreen.
selection-screen begin of block b1 with frame title text-010.
parameters: p1(10) type c,
            p2(10) type c,
            p3(10) type c.
selection-screen end of block b1.
selection-screen end of screen 1100.

selection-screen begin of screen 1200 as subscreen.
selection-screen begin of block b2 with frame title text-020.
parameters: q1(10) type c obligatory,
            q2(10) type c obligatory,
            q3(10) type c obligatory.
selection-screen end of block b2.
selection-screen end of screen 1200.

data: ok_code type sy-ucomm,
      save_ok type sy-ucomm.

data: number(4) type n value '1100'.

start-of-selection.
  call screen 100.

module status_0100 output.
  set pf-status 'SCREEN_100'.
endmodule.

module cancel input.
  leave program.
endmodule.

module user_command_0100 input.
  save_ok = ok_code.
  clear ok_code.
  case save_ok.
    when 'BUTTON1'.
      number = 1100.
    when 'BUTTON2'.
      number = 1200.
  endcase.
endmodule.

at selection-screen.
  message s888(sabapdocu) with text-030 sy-dynnr.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2006 15:48:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-custom-fields-to-xd01-transaction/m-p/1386646#M188184</guid>
      <dc:creator>Allan1</dc:creator>
      <dc:date>2006-07-19T15:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: Adding custom fields to XD01 transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-custom-fields-to-xd01-transaction/m-p/1386647#M188185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;whats this "i_taxi_fcode" in the below example code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the "Prepare Modification-Free Enhancement in Customer Master Rec&amp;#148;, we will give one entry with FCODE and number .. whts the significance of the above 2 fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 12:22:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-custom-fields-to-xd01-transaction/m-p/1386647#M188185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-17T12:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Adding custom fields to XD01 transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-custom-fields-to-xd01-transaction/m-p/1386648#M188186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mahesh B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In short&amp;#133;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Number field determines the display order of the Tabs on your new screen.  The i_taxi_fcode parameter is the text you entered, or will enter, in the Function Code field on the Label Tab Pages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In long&amp;#133;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the IMG activity &amp;#147;Prepare Modification-Free Enhancement in Customer Master Record&amp;#148;, you add a Screen Grp code (e.g. &amp;#147;Z1&amp;#148;) and a description. Then you select Z1 and double-click the Label Tab Pages folder on the left.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, add one or more records in this Label Tab Pages screen.  Each record you add will cause a Tab to be displayed on your new Z1 screen (once you implement the screen with a program as described in earlier posts).  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fields of the Label Tab Pages records are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- NUMBER, which determines the order that the Tabs will be displayed;&lt;/P&gt;&lt;P&gt;- FUNCTION CODE, this is passed to the BAdI as i_taxi_fcode;&lt;/P&gt;&lt;P&gt;- DESCRIPTION, which becomes the Label displayed on the Tab; and&lt;/P&gt;&lt;P&gt;- ICON, which, if entered, will display beside the Label on the Tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example records:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
10, Z1_TR1, Tab1description, &amp;lt;blank icon field&amp;gt;
20, Z1_TR2, Tab2description, &amp;lt;Some Icon&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I prefixed my FUNTION CODEs with the screen group (e.g. Z1_TR1 and Z1_TR2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More than one BAdI can be implemented in the system at the same time, so you should use the Screen Grp (e.g. Z1) and/or the Tab FUNCTION CODE (i_taxi_fcode - e.g. Z1_TR1) to determine when to execute your custom code.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is an example implementation of the get_taxi_screen method in the customer_add_data_cs BAdI.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a user were to click on the second Tab of the Z1 screen group, the &amp;#145;Z1_TR2&amp;#146; case would be executed and screen 200 would display on this Tab screen.  If the user clicked back to the first tab, the &amp;#145;Z1_TR1&amp;#146; case would be executed and screen 100 would display on this Tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
method if_ex_customer_add_data_cs~get_taxi_screen .

  case flt_val.

    when 'Z1'.

      case i_taxi_fcode.
        when 'Z1_TR1'.
          e_screen  = '0100'.
          e_program = 'Z_PROGRAM_NAME'.
          e_headerscreen_layout = ' '.
        when 'Z1_TR2'.
          e_screen  = '0200'.
          e_program = &amp;#145;Z_PROGRAM_NAME'.
          e_headerscreen_layout = ' '.
      endcase.

  endcase.

endmethod.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Allan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 17:18:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-custom-fields-to-xd01-transaction/m-p/1386648#M188186</guid>
      <dc:creator>Allan1</dc:creator>
      <dc:date>2006-10-17T17:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Adding custom fields to XD01 transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-custom-fields-to-xd01-transaction/m-p/1386649#M188187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i got the things , thanks for the inputs provided.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2008 17:23:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-custom-fields-to-xd01-transaction/m-p/1386649#M188187</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-19T17:23:10Z</dc:date>
    </item>
  </channel>
</rss>

