<?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: add a additional field in tcode XK02 - control screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-a-additional-field-in-tcode-xk02-control-screen/m-p/5712612#M1296808</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. My table was partial active...so go to se11,Enter LFA1 in display mode, Go to Path Utilities-database utility.now click on Activate and Adjust database.it will activated fully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. &lt;/P&gt;&lt;P&gt;a) create a module programme with the the screenfield(LFA1-NAICS) that you want.&lt;/P&gt;&lt;P&gt;b) In pbo of module pool,enter following code&lt;/P&gt;&lt;P&gt;data : l_zfield type lfa1-NAICS.&lt;/P&gt;&lt;P&gt;constants: c_zfield(10)  value '(SAPMF02D)LFA1-NAICS'.&lt;/P&gt;&lt;P&gt; field-symbols: &amp;lt;fse&amp;gt;.&lt;/P&gt;&lt;P&gt;assign (c_zfield) to &amp;lt;fse&amp;gt;.&lt;/P&gt;&lt;P&gt;  if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    l_zfield = &amp;lt;fse&amp;gt;.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt; If sy-tcode = 'XK02'.&lt;/P&gt;&lt;P&gt;	Loop at screen.&lt;/P&gt;&lt;P&gt;		If screen-group1 = 'Z1'.&lt;/P&gt;&lt;P&gt;			Screen-input = 0.&lt;/P&gt;&lt;P&gt;			Modify screen.&lt;/P&gt;&lt;P&gt;		Endif.&lt;/P&gt;&lt;P&gt;	Endloop.&lt;/P&gt;&lt;P&gt; Endif.&lt;/P&gt;&lt;P&gt;c)create a Screen group(Z1) as sushipal reddy showed int he atatched link. &lt;/P&gt;&lt;P&gt;d)go to Method IF_EX_VENDOR_ADD_DATA~CHECK_ADD_ON_ACTIVE  and add following code&lt;/P&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;&lt;/P&gt;&lt;P&gt;endif.            &lt;/P&gt;&lt;P&gt;e)Go to method IF_EX_VENDOR_ADD_DATA_CS~GET_TAXI_SCREEN and type following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-tcode EQ 'XK02'.&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;    e_screen = '0101'.&lt;/P&gt;&lt;P&gt;    e_program = 'Z_ADD_FIELD_XK02'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   e_headerscreen_layout = 'E'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;f)thast it...go to xk02 u willl see an al push button and click on it..u can view the screen field...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 13 Jun 2009 11:25:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-13T11:25:16Z</dc:date>
    <item>
      <title>add a additional field in tcode XK02 - control screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-a-additional-field-in-tcode-xk02-control-screen/m-p/5712610#M1296806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; I have to add an additional field in Tcode XK02 ie., in Control Screen, I couldn't find any screen exits. I hvae found one BADI &lt;STRONG&gt;VENDOR_ADD_DATA_CS&lt;/STRONG&gt; .I have added a New field in Table &lt;STRONG&gt;LFA1&lt;/STRONG&gt; (the new field is T5UNT-NAICS ) through Append Structure but the append strcture is Partial Active. Also, how to add an additional field in the control screen of tcode XK02 using this BADI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. How to make theAppend structure Active&lt;/P&gt;&lt;P&gt;2. How to add a screen field using this BADI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deeephi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Jun 2009 08:05:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-a-additional-field-in-tcode-xk02-control-screen/m-p/5712610#M1296806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-13T08:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: add a additional field in tcode XK02 - control screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-a-additional-field-in-tcode-xk02-control-screen/m-p/5712611#M1296807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto se11 and give the append structure name and make it active ....and see that LFA1 is active .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Enhancement usong VENDOR_ADD_DATA_CS please refer the below link which is for XD02 but the procedure is the same .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/scn/wiki?path=/pages/viewpage.action&amp;amp;pageid=77005819" target="test_blank"&gt;https://www.sdn.sap.com/irj/scn/wiki?path=/pages/viewpage.action&amp;amp;pageid=77005819&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Jun 2009 08:09:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-a-additional-field-in-tcode-xk02-control-screen/m-p/5712611#M1296807</guid>
      <dc:creator>shishupalreddy</dc:creator>
      <dc:date>2009-06-13T08:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: add a additional field in tcode XK02 - control screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-a-additional-field-in-tcode-xk02-control-screen/m-p/5712612#M1296808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. My table was partial active...so go to se11,Enter LFA1 in display mode, Go to Path Utilities-database utility.now click on Activate and Adjust database.it will activated fully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. &lt;/P&gt;&lt;P&gt;a) create a module programme with the the screenfield(LFA1-NAICS) that you want.&lt;/P&gt;&lt;P&gt;b) In pbo of module pool,enter following code&lt;/P&gt;&lt;P&gt;data : l_zfield type lfa1-NAICS.&lt;/P&gt;&lt;P&gt;constants: c_zfield(10)  value '(SAPMF02D)LFA1-NAICS'.&lt;/P&gt;&lt;P&gt; field-symbols: &amp;lt;fse&amp;gt;.&lt;/P&gt;&lt;P&gt;assign (c_zfield) to &amp;lt;fse&amp;gt;.&lt;/P&gt;&lt;P&gt;  if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    l_zfield = &amp;lt;fse&amp;gt;.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt; If sy-tcode = 'XK02'.&lt;/P&gt;&lt;P&gt;	Loop at screen.&lt;/P&gt;&lt;P&gt;		If screen-group1 = 'Z1'.&lt;/P&gt;&lt;P&gt;			Screen-input = 0.&lt;/P&gt;&lt;P&gt;			Modify screen.&lt;/P&gt;&lt;P&gt;		Endif.&lt;/P&gt;&lt;P&gt;	Endloop.&lt;/P&gt;&lt;P&gt; Endif.&lt;/P&gt;&lt;P&gt;c)create a Screen group(Z1) as sushipal reddy showed int he atatched link. &lt;/P&gt;&lt;P&gt;d)go to Method IF_EX_VENDOR_ADD_DATA~CHECK_ADD_ON_ACTIVE  and add following code&lt;/P&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;&lt;/P&gt;&lt;P&gt;endif.            &lt;/P&gt;&lt;P&gt;e)Go to method IF_EX_VENDOR_ADD_DATA_CS~GET_TAXI_SCREEN and type following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-tcode EQ 'XK02'.&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;    e_screen = '0101'.&lt;/P&gt;&lt;P&gt;    e_program = 'Z_ADD_FIELD_XK02'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   e_headerscreen_layout = 'E'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;f)thast it...go to xk02 u willl see an al push button and click on it..u can view the screen field...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Jun 2009 11:25:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-a-additional-field-in-tcode-xk02-control-screen/m-p/5712612#M1296808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-13T11:25:16Z</dc:date>
    </item>
  </channel>
</rss>

