<?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: Problem with User Defined Second Selection Screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-defined-second-selection-screen/m-p/2846769#M666945</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use &amp;lt;b&amp;gt;DYNP_VALUES_READ&amp;lt;/b&amp;gt; FM to read the values from your dynpro screen...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: ls_dyname	TYPE d020s-prog,
        ls_dynumb	TYPE d020s-dnum.

gt_dynpfields TYPE STANDARD TABLE OF dynpread WITH HEADER LINE.

    ls_dynumb = '0112'.
    gt_dynpfields-fieldname = 'RF05A-NEWKO'.
    APPEND gt_dynpfields.

  CALL FUNCTION 'DYNP_VALUES_READ'
    EXPORTING
      dyname               = ls_dyname
      dynumb               = ls_dynumb
    TABLES
      dynpfields           = gt_dynpfields
    EXCEPTIONS
      invalid_abapworkarea = 1
      invalid_dynprofield  = 2
      invalid_dynproname   = 3
      invalid_dynpronummer = 4
      invalid_request      = 5
      no_fielddescription  = 6
      invalid_parameter    = 7
      undefind_error       = 8
      double_conversion    = 9
      stepl_not_found      = 10
      OTHERS               = 11.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Sep 2007 21:15:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-20T21:15:47Z</dc:date>
    <item>
      <title>Problem with User Defined Second Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-defined-second-selection-screen/m-p/2846767#M666943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                   I have a problem with the selection  screen selections. My requirement is that , User when he selects a check box on the main selection screen ( which is 1000) then at the at-selection event, another screen (whose number is 2000) will be called and it has some parameters to enter values. My problem is that how to get the values from this second screen and use them in the in my program. There is an execute button on the second selection screen and when i click that, nothing is happening. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                   Can anybody suggest me how to get the values from this screen which we called, and entered values in that screen. How to use these values and is there any way that we can do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for helping me out.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srinivas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2007 13:32:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-defined-second-selection-screen/m-p/2846767#M666943</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-20T13:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with User Defined Second Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-defined-second-selection-screen/m-p/2846768#M666944</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;&lt;/P&gt;&lt;P&gt;What I do with similar problems is when the second dynpro parameters are filled, I return to first dynpro (with a "leave to screen 1000" when you push the button (the button command is stored in the okcode variable that you have defined in the second dynpro)). As I have defined the parameters as global variables, I have the required information in the first one.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Module USER_COMMAND_2000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE ok.&lt;/P&gt;&lt;P&gt;When 'PUSH'. "Whatever you define&lt;/P&gt;&lt;P&gt;    perform receive_parameters.&lt;/P&gt;&lt;P&gt;    leave to screen '1000'.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jaime&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2007 16:16:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-defined-second-selection-screen/m-p/2846768#M666944</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-20T16:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with User Defined Second Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-defined-second-selection-screen/m-p/2846769#M666945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use &amp;lt;b&amp;gt;DYNP_VALUES_READ&amp;lt;/b&amp;gt; FM to read the values from your dynpro screen...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: ls_dyname	TYPE d020s-prog,
        ls_dynumb	TYPE d020s-dnum.

gt_dynpfields TYPE STANDARD TABLE OF dynpread WITH HEADER LINE.

    ls_dynumb = '0112'.
    gt_dynpfields-fieldname = 'RF05A-NEWKO'.
    APPEND gt_dynpfields.

  CALL FUNCTION 'DYNP_VALUES_READ'
    EXPORTING
      dyname               = ls_dyname
      dynumb               = ls_dynumb
    TABLES
      dynpfields           = gt_dynpfields
    EXCEPTIONS
      invalid_abapworkarea = 1
      invalid_dynprofield  = 2
      invalid_dynproname   = 3
      invalid_dynpronummer = 4
      invalid_request      = 5
      no_fielddescription  = 6
      invalid_parameter    = 7
      undefind_error       = 8
      double_conversion    = 9
      stepl_not_found      = 10
      OTHERS               = 11.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2007 21:15:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-defined-second-selection-screen/m-p/2846769#M666945</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-20T21:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with User Defined Second Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-defined-second-selection-screen/m-p/2846770#M666946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alvaro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;               The second screen has lets say 4 parameters to enter the values and after entering the values , there is an execute button down at the bottom and user , may supposed to be pressing that one. after he presses that one how to get these values to the main screen or use them in the program? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                Where can we use this FM , I mean at which event we use this? I mean is it at selection-screen output or initialization. Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks And Regards,&lt;/P&gt;&lt;P&gt;Srinivas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2007 17:55:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-defined-second-selection-screen/m-p/2846770#M666946</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-21T17:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with User Defined Second Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-defined-second-selection-screen/m-p/2846771#M666947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue is solved. Users does not want to go with this custom sub screen option. So, its ok for now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 15:58:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-user-defined-second-selection-screen/m-p/2846771#M666947</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T15:58:20Z</dc:date>
    </item>
  </channel>
</rss>

