<?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/2942880#M693750</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try out this sample prog: ( you can apply the same logic in your case )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: mara, makt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: matnr LIKE mara-matnr MODIF ID DEF,&lt;/P&gt;&lt;P&gt;maktx LIKE makt-maktx MODIF ID DEF,&lt;/P&gt;&lt;P&gt;spras LIKE makt-spras MODIF ID DEF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;  if ( not matnr is INITIAL ) and ( not maktx is initial ).&lt;/P&gt;&lt;P&gt;    spras = 'x'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward the helpful entries.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raman.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Oct 2007 03:47:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-12T03:47:48Z</dc:date>
    <item>
      <title>selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2942875#M693745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks&lt;/P&gt;&lt;P&gt;i defiend selection screen&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK 1 WITH FRAME TITLE TEXT-001.&lt;/P&gt;&lt;P&gt;    PARAMETERS: CCOD1 LIKE ZDESKDLC-CCODE MODIF ID DEF,&lt;/P&gt;&lt;P&gt;                DESKCD LIKE ZDESKDLC-DESK_CODE MODIF ID DEF,&lt;/P&gt;&lt;P&gt;                SR_MANAG LIKE ZDESKDLC-SR_MANAGEMENT MODIF ID DEF,&lt;/P&gt;&lt;P&gt;                LASTNAME LIKE ZDESKDLC-LAST_NAME MODIF ID DEF,&lt;/P&gt;&lt;P&gt;                FIRSTNM LIKE ZDESKDLC-FIRST_NAME MODIF ID DEF,&lt;/P&gt;&lt;P&gt;                DEPART LIKE ZDESKDLC-DEPARTMENT MODIF ID DEF,&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END   OF BLOCK1.&lt;/P&gt;&lt;P&gt;my requerement is&lt;/P&gt;&lt;P&gt;if uesr enter values in CCOD1 ,DESKCD then the remaining values should atomatically populate to selection screen.&lt;/P&gt;&lt;P&gt;could please explain me in detail  how can i write the code for it?&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;neeru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 00:19:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2942875#M693745</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-12T00:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2942876#M693746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try in the event : AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&amp;lt;check if CCOD1 and DESKCD are filled, then insert the values in the remaining parameters&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward the helpful entries.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raman.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 00:25:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2942876#M693746</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-12T00:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2942877#M693747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reeru,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In At Selection Screen event, you have to check CCOD1 and DESKCD values.&lt;/P&gt;&lt;P&gt;if they are not initial then explicitly update the other selection screen fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check if CCOD1 and DESKCD are not initial then update other selection screen fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 00:28:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2942877#M693747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-12T00:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2942878#M693748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AT SELECTION-SCREEN  OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN .&lt;/P&gt;&lt;P&gt;IF CCOD1 IS NOT INITIAL AND DESKCD IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;RS_REFRESH_FROM_SELECTOPTIONS&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;use to read the values from selection screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes it happens to print the current selection screen element contents along with the list. For this purpose, we can make use of the function module RS_REFRESH_FROM_SELECTOPTIONS. This function module will retrieve the selection screen elements and its current values. Looping through the output table, we can print the values on the list. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;SELECT *  LOGIC FOR ALL VALUES FROM DATABASE TABLE&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SR_MANAG = value &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like give other values also&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;Rewards if useful.................&lt;/P&gt;&lt;P&gt;Minal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 03:21:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2942878#M693748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-12T03:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2942879#M693749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neeru,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN .&lt;/P&gt;&lt;P&gt;IF CCOD1 IS NOT INITIAL AND DESKCD IS NOT INITIAL.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;coding to populate other values&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&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;&lt;/P&gt;&lt;P&gt;Rewards if Useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chitra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 03:32:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2942879#M693749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-12T03:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2942880#M693750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try out this sample prog: ( you can apply the same logic in your case )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: mara, makt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: matnr LIKE mara-matnr MODIF ID DEF,&lt;/P&gt;&lt;P&gt;maktx LIKE makt-maktx MODIF ID DEF,&lt;/P&gt;&lt;P&gt;spras LIKE makt-spras MODIF ID DEF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;  if ( not matnr is INITIAL ) and ( not maktx is initial ).&lt;/P&gt;&lt;P&gt;    spras = 'x'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward the helpful entries.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raman.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 03:47:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2942880#M693750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-12T03:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2942881#M693751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi neeru,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this you need to create a Search help in SE11 that EXPORTS these six values i.e., CCOD1, DESKCD, SR_MANAG, LASTNAME, FIRSTNM, DEPART .&lt;/P&gt;&lt;P&gt;And then Create a structure in SE11 which will have these six fields, and in SE11 you should assign your search help to the structure and MAP your search help EXPORT parameters to your Structure fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After doing this use this strcutre to create your selection-screen fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK 1 WITH FRAME TITLE TEXT-001.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;PARAMETER: fld1 like struct-fld1,&lt;/P&gt;&lt;P&gt;                      fld2 like struct-fld2,&lt;/P&gt;&lt;P&gt;                      .&lt;/P&gt;&lt;P&gt;                      .&lt;/P&gt;&lt;P&gt;                      fld6 like struct-fld6. &amp;lt;/b&amp;gt;                &lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here struct is the structure that you create and where you assign your search help to structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then when u execute ur program and press F4 on field that you had mapped ur search help in the structure.... then it will auto populate all ur remaining 5 parameters....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create search help..... check this link....&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbaa5435c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbaa5435c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create elementary search help.....&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the best.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;if it does not work then i have another method..... u can reply me.... i will tell u the other method also.....&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward me if it is useful......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards.......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2007 03:56:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2942881#M693751</guid>
      <dc:creator>harimanjesh_an</dc:creator>
      <dc:date>2007-10-12T03:56:30Z</dc:date>
    </item>
  </channel>
</rss>

