<?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: SELECTION SCREEN in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2113538#M442103</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Payroll areas do not seem to be company code specific in my system.  46c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See table T549A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Apr 2007 12:41:37 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2007-04-16T12:41:37Z</dc:date>
    <item>
      <title>SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2113534#M442099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have two fields in a selection screen &lt;/P&gt;&lt;P&gt;one is company code and payroll area if i select a company code and press f4 on payroll i have to get that company code payolls.&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 12:35:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2113534#M442099</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T12:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2113535#M442100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;See the sample code and change the code as per your requirement.&lt;/P&gt;&lt;P&gt;Select-options: s_bukrs for t001-bukrs, &lt;/P&gt;&lt;P&gt;                s_pfolio for ztab-pfolio. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_pfolio-low.&lt;/P&gt;&lt;P&gt;PERFORM f4_for_portfolios.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_pfolio-high.&lt;/P&gt;&lt;P&gt;PERFORM f4_for_portfolios.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM f4_for_portfolios.&lt;/P&gt;&lt;P&gt;l_dynpro = sy-repid.&lt;/P&gt;&lt;P&gt;l_dynnar = sy-dynnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for parameters/one single value(low/high) of select-option this is OK,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;If i give 'S_BUKRS' it is giving dump.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;it_dynpfields-fieldname = 'S_BUKRS-LOW'.&lt;/P&gt;&lt;P&gt;APPEND it_dynpfields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;dyname = l_dynpro&lt;/P&gt;&lt;P&gt;dynumb = l_dynnar " '1000' &lt;/P&gt;&lt;P&gt;translate_to_upper = 'X'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;dynpfields = it_dynpfields.&lt;/P&gt;&lt;P&gt;READ TABLE it_dynpfields INDEX 1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REFRESH r_bukrs.&lt;/P&gt;&lt;P&gt;IF NOT it_dynpfields-fieldvalue IS INITIAL.&lt;/P&gt;&lt;P&gt;r_bukrs-low = it_dynpfields-fieldvalue.&lt;/P&gt;&lt;P&gt;r_bukrs-sign = 'I'.&lt;/P&gt;&lt;P&gt;r_bukrs-option = 'EQ'.&lt;/P&gt;&lt;P&gt;APPEND r_bukrs.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT a&lt;SUB&gt;bukrs a&lt;/SUB&gt;portfolio b~xportb&lt;/P&gt;&lt;P&gt;INTO TABLE it_plo&lt;/P&gt;&lt;P&gt;FROM ( zlt_mandate AS a&lt;/P&gt;&lt;P&gt;INNER JOIN twpob AS b&lt;/P&gt;&lt;P&gt;ON a&lt;SUB&gt;bukrs = b&lt;/SUB&gt;bukrs&lt;/P&gt;&lt;P&gt;AND a&lt;SUB&gt;portfolio = b&lt;/SUB&gt;rportb )&lt;/P&gt;&lt;P&gt;WHERE a~bukrs IN r_bukrs . "= it_dynpfields-fieldvalue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;retfield = 'PORTFOLIO'&lt;/P&gt;&lt;P&gt;dynpprog = l_dynpro&lt;/P&gt;&lt;P&gt;dynpnr = l_dynnar&lt;/P&gt;&lt;P&gt;dynprofield = 'S_PFOLIO-LOW'&lt;/P&gt;&lt;P&gt;value_org = 'S'"C&lt;/P&gt;&lt;P&gt;display = 'F'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;value_tab = it_plo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM. "get_portfolios&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Anji Reddy Vangala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 12:39:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2113535#M442100</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T12:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2113536#M442101</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;Look at the demo program &amp;lt;b&amp;gt;DEMO_SELECTION_SCREEN_F4&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/value-request-for-parameter.htm" target="test_blank"&gt;http://www.sap-img.com/abap/value-request-for-parameter.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 12:40:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2113536#M442101</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T12:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2113537#M442102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use dynamic serach help .&lt;/P&gt;&lt;P&gt;F4IF_INT_TABLE_VALUE_REQUEST&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 12:41:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2113537#M442102</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T12:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2113538#M442103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Payroll areas do not seem to be company code specific in my system.  46c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See table T549A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 12:41:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2113538#M442103</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-04-16T12:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2113539#M442104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sai&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what u need to do is you need to create a process on value request for company code payroll and write  aselection query in it to select the corresponding payrolls for that code . put them in an internal table and pass the internal table to the folllowing fm 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sample code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report zrich_0002 .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;parameters: p_vbeln type vbak-vbeln,&lt;/P&gt;&lt;P&gt;            p_posnr type vbap-posnr.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;at selection-screen on value-request for p_posnr.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  data: begin of help_item occurs 0,&lt;/P&gt;&lt;P&gt;          posnr type vbap-posnr,&lt;/P&gt;&lt;P&gt;          matnr type vbap-matnr,&lt;/P&gt;&lt;P&gt;          arktx type vbap-arktx,&lt;/P&gt;&lt;P&gt;        end of help_item.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  data: dynfields type table of dynpread with header line.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  dynfields-fieldname = 'P_VBELN'.&lt;/P&gt;&lt;P&gt;  append dynfields.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  call function 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            dyname               = sy-cprog&lt;/P&gt;&lt;P&gt;            dynumb               = sy-dynnr&lt;/P&gt;&lt;P&gt;            translate_to_upper   = 'X'&lt;/P&gt;&lt;P&gt;       tables&lt;/P&gt;&lt;P&gt;            dynpfields           = dynfields&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;            invalid_abapworkarea = 1&lt;/P&gt;&lt;P&gt;            invalid_dynprofield  = 2&lt;/P&gt;&lt;P&gt;            invalid_dynproname   = 3&lt;/P&gt;&lt;P&gt;            invalid_dynpronummer = 4&lt;/P&gt;&lt;P&gt;            invalid_request      = 5&lt;/P&gt;&lt;P&gt;            no_fielddescription  = 6&lt;/P&gt;&lt;P&gt;            invalid_parameter    = 7&lt;/P&gt;&lt;P&gt;            undefind_error       = 8&lt;/P&gt;&lt;P&gt;            double_conversion    = 9&lt;/P&gt;&lt;P&gt;            stepl_not_found      = 10&lt;/P&gt;&lt;P&gt;            others               = 11.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  read table dynfields with key fieldname = 'P_VBELN'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  p_vbeln = dynfields-fieldvalue.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  call function 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            input  = p_vbeln&lt;/P&gt;&lt;P&gt;       importing&lt;/P&gt;&lt;P&gt;            output = p_vbeln.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  select posnr matnr arktx into table help_item&lt;/P&gt;&lt;P&gt;                 from vbap&lt;/P&gt;&lt;P&gt;                      where vbeln = p_vbeln.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  call function 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            retfield    = 'POSNR'&lt;/P&gt;&lt;P&gt;            dynprofield = 'P_POSNR'&lt;/P&gt;&lt;P&gt;            dynpprog    = sy-cprog&lt;/P&gt;&lt;P&gt;            dynpnr      = sy-dynnr&lt;/P&gt;&lt;P&gt;            value_org   = 'S'&lt;/P&gt;&lt;P&gt;       tables&lt;/P&gt;&lt;P&gt;            value_tab   = help_item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;navjot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpfull&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 12:42:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2113539#M442104</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T12:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2113540#M442105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. There is no customizing table where &lt;/P&gt;&lt;P&gt;  each payroll area is mapped to one company code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Instead it comes from feature while entering in infotype 0001,&lt;/P&gt;&lt;P&gt;   and more over it can be over written manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 12:43:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2113540#M442105</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T12:43:56Z</dc:date>
    </item>
  </channel>
</rss>

