<?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: Dynamic Screen Selection in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666899#M1097882</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry kpn, if my message caused any inconvenience.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Oct 2008 12:46:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-13T12:46:05Z</dc:date>
    <item>
      <title>Dynamic Screen Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666886#M1097869</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;&lt;/P&gt;&lt;P&gt;I need to have a Dynamic screen selection which works the following way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstly I have a selection-screen which has a single parameter on it:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; selection-screen begin of block b1 with frame title text-001.

parameters: pa type proj-pspid.

selection-screen end of block b1. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Now here Im using the AT SELECTION-SCREEN ON VALUE-REQUEST event to display a limited number of entries only (using the FM F4IF_INT_TABLE_VALUE_REQUEST ) in the F4 help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; AT SELECTION-SCREEN ON VALUE-REQUEST FOR  pa. 
----------
-----------
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
---------------------&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;After this based on the selection I need to display another Selection screen.&lt;/P&gt;&lt;P&gt;For Example if, &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if pa+3(2) = 'GW'. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I need to display parameters p3 and p4 only on the selection screen:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;selection-screen begin of block b2 with frame title text-001.

parameters: p3 RADIOBUTTON GROUP rad2 modif id sc1,
            p4 RADIOBUTTON GROUP rad2 modif id sc1.

parameters: p5 RADIOBUTTON GROUP rad2 modif id sc2,
            p6 RADIOBUTTON GROUP rad2 modif id sc2.

selection-screen end of block b2. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; elseif pa+3(2) = 'MP'. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;parameters p5 and p6 only needs to be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ideal conditions I know we could write the above code under the AT SELECTION-SCREEN OUTPUT event. But here Ive already defined a AT SELECTION-SCREEN ON VALUE-REQUEST event to display the pa value for restricted F4 help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now my problem is that all the parameters (p3,p4,p5,p6) are all being displayed. Only after I get an input in the parameters field will I get the preferred parameters displayed in the subsequent selection screen (Loop at Screen....endloop).&lt;/P&gt;&lt;P&gt;But initially I want the second selection screen to be totally blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So right now its getting a bit too confusing for me on a Monday afternoon after a 6 day long vacation &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Any inputs on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;pk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 11:39:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666886#M1097869</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T11:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Screen Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666887#M1097870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 11:43:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666887#M1097870</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T11:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Screen Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666888#M1097871</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 am not sure but you can trying using module pool here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if if pa+3(2) = 'GW'.

call screen 200.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; "you can create three screens or one screen and two subscreens also for ur three conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the screen you give the radio buttons and from there itself give(loop-endloop) and then display it.&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;VIshwa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 11:49:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666888#M1097871</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T11:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Screen Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666889#M1097872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Common K.P.N,&lt;/P&gt;&lt;P&gt;Pull up your socks and put on your thinking hat....Diwali is looong way away. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 11:51:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666889#M1097872</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T11:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Screen Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666890#M1097873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had explored that option even before I started work on this issue. The point is I dont want to confuse my end-users (in this case my CMD and GMs) with too many screens. They would prefer a Dashboard with minimum navigation to get an over all picture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 11:55:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666890#M1097873</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T11:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Screen Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666891#M1097874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 11:56:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666891#M1097874</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T11:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Screen Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666892#M1097875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prashant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; You can try something like this. A Lazy solution &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECTION-SCREEN BEGIN OF SCREEN 100.
PARAMETERS: pa TYPE proj-pspid.

SELECTION-SCREEN END OF SCREEN 100.

SELECTION-SCREEN BEGIN OF SCREEN 200.

PARAMETERS: p3 RADIOBUTTON GROUP rad2 MODIF ID sc1,
            p4 RADIOBUTTON GROUP rad2 MODIF ID sc1.

PARAMETERS: p5 RADIOBUTTON GROUP rad2 MODIF ID sc2,
            p6 RADIOBUTTON GROUP rad2 MODIF ID sc2.

SELECTION-SCREEN END OF SCREEN 200.

CALL SCREEN 100.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can play with your own logic. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Kothand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 11:57:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666892#M1097875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T11:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Screen Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666893#M1097876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be great if I can get everything in the same screen, instead of multiple screens.&lt;/P&gt;&lt;P&gt;In fact I have another selection screen(that I havnt mentioned) based on the selection from the second Selection screen.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;selection-screen begin of block b3 with frame title text-001.

parameters: p7 RADIOBUTTON GROUP rad3 USER-COMMAND c2 default 'X' modif id sb1,
            p8 RADIOBUTTON GROUP rad3 modif id sb1,
            p9 RADIOBUTTON GROUP rad3 modif id sb1,
            p10 RADIOBUTTON GROUP rad3 modif id sb1.

selection-screen end of block b3. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So effectively that would be 3 screens and then the final report in the 4 screen. My CMD and GMs would have the time and patience for that kind of navigation. &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;@Amit:&lt;/STRONG&gt; Common Bro, I know you have a solution for me. Dont make me hit the Abuse Button on you for &lt;STRONG&gt;not providing an answer&lt;/STRONG&gt; &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 12:03:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666893#M1097876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T12:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Screen Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666894#M1097877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its better put a count in OUTPUT event as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: gv_count TYPE i.

AT SELECTION-SCREEN OUTPUT.

ADD 1 TO gv_count.

IF gv_count GT 1 AND  pa+3(2) = 'GW'.
  LOOP AT SCREEN.
    " Make the fields visible.
  ENDLOOP.
ELSE.
  LOOP AT SCREEN.
    " Make the fields invisible.
  ENDLOOP.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Asik.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 12:09:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666894#M1097877</guid>
      <dc:creator>asik_shameem</dc:creator>
      <dc:date>2008-10-13T12:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Screen Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666895#M1097878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;after choosing the F4 help, you need to press enter/trigger some action using checkbox or radiobutton then only you will get the desired result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 12:22:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666895#M1097878</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T12:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Screen Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666896#M1097879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;/BLOCKQUOTE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Dont make me hit the Abuse Button on you for &lt;STRONG&gt;not providing an answer&lt;/STRONG&gt; &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; pk&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pk,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest you to just run ME2N transaction&amp;gt;/H&amp;gt; and press Shift +F4(Dynamic selection).you will found yourself in debugmode from here you may see the exact logic for your requirment(may be this is tough task).&lt;/P&gt;&lt;P&gt;please let me know if you have any concern in this logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS:BTW nowadays I'm often reporting to SCN for myself so no need to bother either you or KPN &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;but you may hit twice &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KPN came up with unacceptable behavior so it was necessary to intimate him/her once &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ámit Güjärgoüd on Oct 13, 2008 2:25 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ámit Güjärgoüd on Oct 13, 2008 2:26 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 12:24:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666896#M1097879</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T12:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Screen Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666897#M1097880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;KPN came up with unacceptable behavior so it was necessary to intimate him/her once &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think kpn is he not she . some times i found more fun in your comments. KPN you there..?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 12:30:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666897#M1097880</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T12:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Screen Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666898#M1097881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 12:36:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666898#M1097881</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T12:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Screen Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666899#M1097882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry kpn, if my message caused any inconvenience.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 12:46:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666899#M1097882</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T12:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Screen Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666900#M1097883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I played around a little with the sy-ucomm = 'ONLI' event for F8 execution. But even that doesnt seem to serve the purpose or am I missing the Obvious?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@ Amit: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;PS:BTW nowadays I'm often reporting to SCN for myself so no need to bother either you or KPN &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;but you may hit twice &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now this is what I call the Abuse of the Abuse button &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 12:46:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666900#M1097883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T12:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Screen Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666901#M1097884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 12:51:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666901#M1097884</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T12:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Screen Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666902#M1097885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Common guys, I see no reason for any bad blood here. Lets keep it simple. I have no bad feelings for any comments made by anyone. In fact Ive taken KPN's comment in good humour. And Im sure he meant it that way too. Even otherwise Im least bothered. I have my Flame-resisted suit on.&lt;/P&gt;&lt;P&gt;You guys have an issue to resolve here... so get on with it &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Random Thought: Why do my threads get so complicated?? &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: Vijay, whats on your mind regarding adding that event after F4?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: prashanth kishan on Oct 13, 2008 6:33 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 13:01:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666902#M1097885</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T13:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Screen Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666903#M1097886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am just rephrasing your question. Based on F4 value you want to show some of your screen elements(parameters/radiobuttons etc). if so after selecting the value , you have to hit enter button. then you can see the elements .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this sample once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  ZTEST_ZERO_01.

data:
  begin of fs_vbeln,
    vbeln type vbeln_va,
    posnr type posnr_va,
  end of fs_vbeln,
  t_vbeln like standard table of fs_vbeln.

data: lt_tab like ddshretval occurs 0 with header line.

parameters: p1(10).

selection-screen begin of block b2 with frame title text-001.

parameters: p3 RADIOBUTTON GROUP rad2 modif id sc1,
            p4 RADIOBUTTON GROUP rad2 modif id sc1.

parameters: p5 RADIOBUTTON GROUP rad2 modif id sc2,
            p6 RADIOBUTTON GROUP rad2 modif id sc2.

selection-screen end of block b2.

at selection-screen output.

loop at screen.
 if screen-group1 = 'SC1'.
 if p1 eq '123456'.
  screen-active = 1.
 else.
  screen-active = 0.
 endif.
  modify screen.
 endif.

 if screen-group1 = 'SC2'.
 if p1 eq '456789'.
  screen-active = 1.
 else.
  screen-active = 0.
 endif.
  modify screen.
 endif.

endloop.


at selection-screen on value-request for p1.
select vbeln posnr
  into table t_vbeln
  up to 20 rows
  from vbap.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
  exporting
    retfield               = 'VBELN'
   dynpprog               = sy-cprog
   dynpnr                 = sy-dynnr
   value_org              = 'S'
   callback_program       = sy-cprog
  tables
    value_tab              = t_vbeln
   return_tab             = lt_tab
 exceptions
   parameter_error        = 1
   no_values_found        = 2.

if sy-subrc eq 0.
  loop at lt_tab.
    clear p1.
    p1 = lt_tab-fieldval.
  endloop.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 13:08:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666903#M1097886</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T13:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Screen Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666904#M1097887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi prashanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that you will take it like that.I dint make any unacceptable comment in fact.Still it went like that and i am trying to justify myself.&lt;/P&gt;&lt;P&gt;i want to stop answering to the off topics but still i am doing. i dont know what you call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you really feel its my mistake i am absolutely sorry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;K.P.N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 13:09:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666904#M1097887</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T13:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Screen Selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666905#M1097888</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;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data flag TYPE C.

AT SELECTION-SCREEN.
  
  flag = 'X'.

AT SELECTION-SCREEN OUTPUT.
  LOOP AT SCREEN.
  if flag = ''.
    if screen-group1 = 'SC1' or screen-group1 = 'SC2'.
      screen-active = 0.
    endif.
  elseif flag = 'X'.
   "Your Code"
  endif.
     MODIFY SCREEN.
  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When u execute the report for first time it will not trigger AT SELECTION-SCREEN event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sathar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2008 13:18:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-screen-selection/m-p/4666905#M1097888</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-13T13:18:27Z</dc:date>
    </item>
  </channel>
</rss>

