<?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: Variables from selection screens in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052425#M1702034</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friedrich,&lt;/P&gt;&lt;P&gt;While Activating include, you can get pop message 'Error During Activation'. If you Click 'Activate Anyway' option (means forcibly activating), you wont get such Error message Again. Even when before Include also (in main program) we can apply the same option, it works. Try this!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Sep 2012 14:11:57 GMT</pubDate>
    <dc:creator>former_member703985</dc:creator>
    <dc:date>2012-09-26T14:11:57Z</dc:date>
    <item>
      <title>Variables from selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052402#M1702011</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 have several selection screens building on each other. Every screen is packed in an INCLUDE structure since ABAP is telling me that selection screens are not possible within a FORM routine. That should have the same effect as if I copied the code into my main program, so using variables should not be a problem.&lt;/P&gt;&lt;P&gt;However, I am having sort of a circular problem using some variables I declare in that selection screen using the keyword PARAMETER: When I try to work with those variables - "outside" of the INCLUDE, back in my main program - ABAP is telling me that [variable_name] is not declared by a DATA statement - which, in fact, it isn't... When I try declaring it before the INCLUDE function, ABAP is telling me - pointing to a line in the INCLUDE - that [variable_name] is already declared... A circular problem.&lt;/P&gt;&lt;P&gt;Can anybody help me with that one?&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sapperdapper&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 14:01:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052402#M1702011</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-24T14:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Variables from selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052403#M1702012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you are creating a main program and including all the includes in it. If this is not working I would suggest -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Build a structured dialog program (module pool) with multiple screens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regard,&lt;/P&gt;&lt;P&gt;swanand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 14:08:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052403#M1702012</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-24T14:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Variables from selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052404#M1702013</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;yes, I have a main program and there are multiple INCLUDE structures (all referenced into the main program), one for each selection-screen, one for all the declarations for an internal table and one for the actual SELECT.&lt;/P&gt;&lt;P&gt;Thanks for helping!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sapperdapper&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 14:26:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052404#M1702013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-24T14:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Variables from selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052405#M1702014</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;The parameters of a selection-screen are just a global variable, so the point where you need to use it has to be placed after them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's not clear are you managed your main program, I mean where you place the include with declarations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 14:41:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052405#M1702014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-24T14:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Variables from selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052406#M1702015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can only guess that you put INCLUDE clause somewhere after a routine (FORM ... ENDFORM). INCLUDE that contains parameters / selection screen needs to be inserted at the very top of the program. Also I think you may need to have START-OF-SELECTION event, but am not 100% sure it's technicaly required. It's better to add it anyway though, makes the code more clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you use INCLUDE it's as if you copy-paste the code into your program. There is a lot of customization we can do just with the selection screen code though. Maybe you don't even need multiple screens/INCLUDEs...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 17:55:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052406#M1702015</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2012-09-24T17:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Variables from selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052407#M1702016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jelena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have only INCLUDEs, no FORM routines. But there are four selection screens right now, one after the other so one can - in theory, doesn't work yet - use the variables from the last. Of course, If I could make my selection screen dynamic (with more elements appearing at the touch of a button) I might be able to assemble all my variables with just one or two.&lt;/P&gt;&lt;P&gt;I know that somehow I can use the AT SELECtION SCREEN event, but that's where my knowledge ends right now.&lt;/P&gt;&lt;P&gt;Can you help me there?&lt;/P&gt;&lt;P&gt;For starters, when the user enters the nr. 4 (meaning he wants to query data from four DB tables), there should be four edit_fields for the table name - depending on the nr. the user enters. Would that be doable in only one screen?&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sapperdapper&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 11:50:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052407#M1702016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-25T11:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Variables from selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052408#M1702017</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;You should past your code, it doesn't matter if you use or don't use the includes, I mean after inserting the include in a main program, they belong to it, so it would be the same thing if you wrote all codes in the main program (so without to use the include).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 12:19:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052408#M1702017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-25T12:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Variables from selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052409#M1702018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, I guess that would be best. Just give me a while to put together the code - I have to paste it into an editor and insert the code from the INCLUDEs in the corresponding places.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sapperdapper&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 12:24:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052409#M1702018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-25T12:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Variables from selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052410#M1702019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One simple way of having "dynamic" looking selection screens is to add the NO-DISPLAY option to each parameter.&amp;nbsp; Then in the AT SELECTION-SCREEN OUTPUT event code a loop at screen loop and set the screen-invisible flag off on the ones you want to show.&amp;nbsp; Like this:&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CASE SCREEN-NAME.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHEN 'P_TBL1' OR '&amp;lt;p_tbl1_lablename&amp;gt;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "You can discover the label name via debug or the screen painter for screen 1000. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if p_nbr &amp;gt; = 1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; screen-invisible = '0'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; modify screen.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endif.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHEN 'P_TBL2' OR '&amp;lt;p_tbl2_labelname&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if p_nbr &amp;gt;=2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; screen-invisible = '0'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; modify screen.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endif.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHEN etc.....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDCASE.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDLOOP..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understand your requirements I believe this will work for you.&amp;nbsp; No need for INCLUDES at all. Just code it in the program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 12:29:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052410#M1702019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-25T12:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Variables from selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052411#M1702020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Friedrich, please read this &lt;A href="http://friendlyabaper.blogspot.com/2009/07/my-super-awesome-selection-screen.html"&gt;blog&lt;/A&gt; if you're interested in building a dynamic selection screen. There is also more information available on SCN and other web sites - google it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 13:31:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052411#M1702020</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2012-09-25T13:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Variables from selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052412#M1702021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Larry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, looks like that would work, but that wouldn't do because it implies I have to code all elements that could possibly be needed - my task is to make it 100% dynamic, so I have no idea e.g. how many tables the user wants, how many fields from those etc. - I cannot prepare everything because the program will face a virtually infinite number of possibilities.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@ Jelena&lt;/P&gt;&lt;P&gt;Thanks. I will read it through and see what I can learn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@ Max&lt;/P&gt;&lt;P&gt;Give me a while, I need to edit the comments in the code so you will understand what I meant to do - right now, the screens are hard-coded and I had to use some weird labels so ABAP wouldn't complain about my naming the same variable too often etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all the help!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sapperdapper&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 13:57:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052412#M1702021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-25T13:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Variables from selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052413#M1702022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jelena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that blog is nice indeed - I can actually understand how that would work &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; Unfortunately, what I've answered to Larry's proposal goes for this - it won't help with what I need to do. I need to make it 100% dynamic. I have realized there is lots of stuff around on the net. I will research.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@ Max&lt;/P&gt;&lt;P&gt;Here it is - I have decided to keep the main program and the INCLUDEs separate to give you a more accurate picture of what I've done so far. There are two files, one with the main program and one with my four INCLUDEs. I hope the comments are sufficient to point out how I'm trying to get this to work.&lt;/P&gt;&lt;P&gt;The dialogs are so far only "painted", they have no connection to the report running afterwards. I guess if I knew how to use the variables from one of those screens in the next, I could also use them in the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sapperdapper&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 15:10:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052413#M1702022</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-25T15:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Variables from selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052414#M1702023</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've loaded your code and there's no sy-ntax errors, the only thing you've placed a call of a selection-screen just after the definition of the previous one, so the effect is all selection-screens will be opened in cascaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 17:04:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052414#M1702023</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-25T17:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Variables from selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052415#M1702024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sapperdapper,&lt;/P&gt;&lt;P&gt;You did not say it needed to be THAT dynamic!&lt;SPAN __jive_emoticon_name="silly" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/1011/images/emoticons/silly.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You might have a look at the way SAP has written the selection screen for SE16.&amp;nbsp; Is that the way you are wanting it to work?&amp;nbsp; &lt;/P&gt;&lt;P&gt;I currently have a request for an application that works in a similar way, but have not found the time to develop it yet.&amp;nbsp; I was going to study SE16 to get some ideas. &lt;/P&gt;&lt;P&gt;However, I am thinking the INCLUDE idea may not work very well.&amp;nbsp; Maybe using field symbols would be better.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 19:13:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052415#M1702024</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-25T19:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Variables from selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052416#M1702025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a &lt;A href="http://wiki.sdn.sap.com/wiki/display/snippets/abap%2bprogram%2bto%2bgenerate%2bselect-options%2bdynamically?bc=true"&gt;code sample&lt;/A&gt; already available on SCN for a dynamic selection screen. I have not tested it myself (never had such need), but if you Google 'dynamic selection screen' or even 'dynamic ABAP', you'll find many existing posts on the subject.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There was a great eLearning video on the old SDN on dynamic programming (ASSIGN, etc.), but I cannot find it on the new web site, unfortunately. As one of the examples it had a completely dynamic program, like SE16. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 20:08:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052416#M1702025</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2012-09-25T20:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Variables from selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052417#M1702026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow!, that looks awesome.&amp;nbsp; I am going to bookmark that code sample.&amp;nbsp; I have just the application for it.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Thanks Jelena!&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 22:35:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052417#M1702026</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-25T22:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Variables from selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052418#M1702027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Larry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, I need to make my program that dynamic - not right away, I can take it step-wise, so maybe I can use your sample code to begin with and just allow for up to four or five tables.&lt;/P&gt;&lt;P&gt;I will also have a look at the way SE16 works.&lt;/P&gt;&lt;P&gt;Do you mean field symbols as an alternative to INCLUDEs? I am using the INCLUDEs as a means to keep my code in several bits so it can be maintained and edited, I understand field_symbols have a different purpose - though admittedly I haven't yet understood what to use them for and how exactly. That was proposed to me elsewhere, though, I believe that I have to work on understanding just how field_symbols work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@ Jelena&lt;/P&gt;&lt;P&gt;That code sample does look awesome - I will try reading and understanding what it does. My primary concern is not filtering, but selecting fields to export, but I could well use a part of that logic - to enter a table name and get a clickable list of all the fields in the table. That is one part of what the user will enter in the dialog(s): The tables the user wants to export from (which then have to be joined) and the fields from them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@ Max&lt;/P&gt;&lt;P&gt;Yes, the code such as it is is working - that is my "demonstration report" which I am indending to use to show what things will look like, what I intend to do. The thing is, those selection screens are static, designed so to speak "backwards" - I had the SELECT statement first, all hard-coded with four tables and filling the data into an internal table - the main part actually - and based on that (nr. of tables and fields), I designed the selection screens with fields for all the info needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Okay, thanks for all your help so far! I will work on understanding more of all this and working through some tutorials seems a good idea. I'll be back &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sapperdapper&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 08:19:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052418#M1702027</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-26T08:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Variables from selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052419#M1702028</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;Just a consideration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;some sample code of dynamic selection screen (just like SE16) need to regenerate the program, so in this case you need to prevent a dump, if several users run the program at the same time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 08:28:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052419#M1702028</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-26T08:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: Variables from selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052420#M1702029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that's not a problem - or rather, it won't be my concern until far in the future when I have the program up and running. In all probability, there will be only a handful of users authorized to use this - the current scenario I'm building this for is HR tables - and only one user at a time.&lt;/P&gt;&lt;P&gt;Thanks anyway for mentioning!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sapperdapper&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 08:46:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052420#M1702029</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-26T08:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Variables from selection screens</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052421#M1702030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Larry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm again reading about field_symbols and it seems they are just what I need: If I understand correctly, I can write ABAP statements using field_symbols and at runtime, those will be "filled with" some value, no?&lt;/P&gt;&lt;P&gt;So, I could e.g. write a SELECT &amp;lt;fs1&amp;gt; FROM &amp;lt;fs2&amp;gt; statement and assign to that &amp;lt;fs&amp;gt; the value from some dialog_field - so that, given the user enters the table name 'KNA1' and the field name 'KUNNR' in the dialog, that will execute as&lt;BR /&gt; &amp;gt;SELECT KUNNR FROM KNA1&amp;lt;&lt;/P&gt;&lt;P&gt;Is that right? In my large "ABAP reference" book, there's just two pages on them, so it must be real simple. That's what I want to do actually - the user will enter a lot of table and field names in the dialog(s) and I want to use those (as pointers to existing DB objects) in the actual report program.&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sapperdapper&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 09:07:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variables-from-selection-screens/m-p/9052421#M1702030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-09-26T09:07:52Z</dc:date>
    </item>
  </channel>
</rss>

