<?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: AT SELECTION SCREEN in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3194962#M761304</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;since you are putting the statement in PAI of selection screen (At Selection Screen).&lt;/P&gt;&lt;P&gt;As per your requirement i suppose it should be kept in the PBO module of the selection screen which is AT-SELECTION SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;Try this one...hope this will help you out to get the values...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Dec 2007 18:40:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-26T18:40:40Z</dc:date>
    <item>
      <title>AT SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3194956#M761298</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;i have the below code as input screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS :       P_BUKRS TYPE BKPF-BUKRS OBLIGATORY.   "Company Code&lt;/P&gt;&lt;P&gt;data : belnr type bkpf-belnr.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS :   s_belnr FOR belnr.    "Document number&lt;/P&gt;&lt;P&gt;PARAMETERS   :     P_GJAHR TYPE BKPF-GJAHR OBLIGATORY.   "Fiscal Year&lt;/P&gt;&lt;P&gt;PARAMETERS  :     P_USNAM TYPE BKPF-USNAM .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the above i have the code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_USNAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this i neede to use the select statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT  DISTINCT USNAM FROM BKPF&lt;/P&gt;&lt;P&gt;  INTO CORRESPONDING FIELDS OF TABLE it_bkpf1&lt;/P&gt;&lt;P&gt; WHERE bukrs eq p_bukrs AND gjahr eq p_gjahr&lt;/P&gt;&lt;P&gt; and belnr IN s_belnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But wen am using the above code S_BELNR is a SELECT-OPTION field so its value is not passing when i checked debugging so i kept the SELECT statement above AT SELECTION-SCREEN i can see the S_BELNR is there when i debugged but its not passing into the AT SELECTION-SCREEN.Please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 10:36:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3194956#M761298</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T10:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3194957#M761299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try AT SELECTION-SCREEN OUTPUT event&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 10:57:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3194957#M761299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T10:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3194958#M761300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make s_belnr as OBLIGATORY otherwise Initialize s_belnr with default values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 11:02:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3194958#M761300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T11:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3194959#M761301</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;i got ur solution...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After entering all value, press enter before pressing F4 on user name ...u will get list....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 11:23:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3194959#M761301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T11:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3194960#M761302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi dhwani i know that but we cant give that type of thing to the user..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 11:24:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3194960#M761302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T11:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3194961#M761303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i think it is the only option.....&lt;/P&gt;&lt;P&gt;but let me check other option....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 11:36:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3194961#M761303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T11:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3194962#M761304</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;since you are putting the statement in PAI of selection screen (At Selection Screen).&lt;/P&gt;&lt;P&gt;As per your requirement i suppose it should be kept in the PBO module of the selection screen which is AT-SELECTION SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;Try this one...hope this will help you out to get the values...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 18:40:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3194962#M761304</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T18:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3194963#M761305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Give the tables statement before the parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: BKPF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then it hold the value of select options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if it is useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 18:50:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3194963#M761305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T18:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3194964#M761306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please let me know why have u written fallowing line of code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : belnr type bkpf-belnr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2007 09:09:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3194964#M761306</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-28T09:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3194965#M761307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;since you are putting the statement in PAI of selection screen (At Selection Screen).&lt;/P&gt;&lt;P&gt;As per your requirement i suppose it should be kept in the PBO module of the selection screen which is AT-SELECTION SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;Try this one...hope this will help you out to get the values...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnx &lt;/P&gt;&lt;P&gt;Rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2007 09:14:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3194965#M761307</guid>
      <dc:creator>RahulKeshav</dc:creator>
      <dc:date>2007-12-28T09:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3194966#M761308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   Try using this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : P_BUKRS TYPE BKPF-BUKRS OBLIGATORY. "Company Code&lt;/P&gt;&lt;P&gt;data : belnr type bkpf-belnr.&lt;/P&gt;&lt;P&gt;data it_bkpf1 type table of bkpf.&lt;/P&gt;&lt;P&gt;data dynpro_values TYPE TABLE OF dynpread with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS : s_belnr FOR belnr. "Document number&lt;/P&gt;&lt;P&gt;PARAMETERS : P_GJAHR TYPE BKPF-GJAHR OBLIGATORY. "Fiscal Year&lt;/P&gt;&lt;P&gt;PARAMETERS : P_USNAM TYPE BKPF-USNAM .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_USNAM.&lt;/P&gt;&lt;P&gt;dynpro_values-fieldname = 'P_BUKRS'.&lt;/P&gt;&lt;P&gt;append dynpro_values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dynpro_values-fieldname = 'S_BELNR-LOW'.&lt;/P&gt;&lt;P&gt;append dynpro_values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dynpro_values-fieldname = 'S_BELNR-HIGH'.&lt;/P&gt;&lt;P&gt;append dynpro_values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dynpro_values-fieldname = 'P_GJAHR'.&lt;/P&gt;&lt;P&gt;append dynpro_values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*dynpro_values-fieldname = 'P_USNAM'.&lt;/P&gt;&lt;P&gt;*append dynpro_values.&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                           = dynpro_values&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;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;       WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT DISTINCT USNAM FROM BKPF&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE it_bkpf1&lt;/P&gt;&lt;P&gt;WHERE bukrs eq p_bukrs AND gjahr eq p_gjahr&lt;/P&gt;&lt;P&gt;and belnr IN s_belnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this u have to read the table dynpro_values for ur corresponding screen fields.&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;With regards,&lt;/P&gt;&lt;P&gt;Vamsi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2007 10:08:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3194966#M761308</guid>
      <dc:creator>former_member219399</dc:creator>
      <dc:date>2007-12-28T10:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3194967#M761309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ae you using this selection screen as subscreen&lt;/P&gt;&lt;P&gt;if it is so then this scree is to be called twice , once in both pai and pbo in flow logic of screen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2007 10:25:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3194967#M761309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-28T10:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3194968#M761310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi..Vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can You please explain your REQUIREMENT indetail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So that I can Help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sandeep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2007 17:41:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3194968#M761310</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-28T17:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3194969#M761311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Jus change the below code alone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : belnr like bkpf-belnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Hakim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Dec 2007 03:27:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/3194969#M761311</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2007-12-29T03:27:04Z</dc:date>
    </item>
  </channel>
</rss>

