<?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 problem in oops Alv in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-oops-alv/m-p/3883436#M933158</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;Can anyone tellme how we can call the selection screen from oops ALV output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here i will explain the problem clearly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created the program using oops ALV. After executing the program, I am getting the values in the report output list.&lt;/P&gt;&lt;P&gt;from there if I click on BACK button it is going to SE38 Editor.&lt;/P&gt;&lt;P&gt;But here I want selection screen like normal report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2008 14:31:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-05T14:31:25Z</dc:date>
    <item>
      <title>problem in oops Alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-oops-alv/m-p/3883436#M933158</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;Can anyone tellme how we can call the selection screen from oops ALV output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here i will explain the problem clearly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created the program using oops ALV. After executing the program, I am getting the values in the report output list.&lt;/P&gt;&lt;P&gt;from there if I click on BACK button it is going to SE38 Editor.&lt;/P&gt;&lt;P&gt;But here I want selection screen like normal report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2008 14:31:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-oops-alv/m-p/3883436#M933158</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-05T14:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: problem in oops Alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-oops-alv/m-p/3883437#M933159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
AT USER-COMMAND.
  CASE sy-ucomm.
    WHEN 'BACK'.
       CALL SCREEN 1000.
  ENDCASE
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2008 14:40:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-oops-alv/m-p/3883437#M933159</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-05T14:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: problem in oops Alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-oops-alv/m-p/3883438#M933160</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 think you have to use the statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
      LEAVE TO SCREEN 0.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you handle your FCODE for BACK.&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;Rudi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2008 14:43:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-oops-alv/m-p/3883438#M933160</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-05T14:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: problem in oops Alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-oops-alv/m-p/3883439#M933161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;While displaying output in the ALV , you must have used some screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PAI of that screen write:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CASE sy-ucomm.&lt;/P&gt;&lt;P&gt;    WHEN 'BACK'.&lt;/P&gt;&lt;P&gt;       CALL SCREEN 1000.&lt;/P&gt;&lt;P&gt;  ENDCASE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Revert back if any issues.&lt;/P&gt;&lt;P&gt;Reward points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mukul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 03:31:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-oops-alv/m-p/3883439#M933161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T03:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: problem in oops Alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-oops-alv/m-p/3883440#M933162</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;At line-selection.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; case sy-ucomm.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  when 'back'.&lt;/P&gt;&lt;P&gt;     submit 'program name' via selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     (and even if u want the same values to be occur in the selection screen u can specify tht after 'via selection screen' press f1 on submit in se38 and see u 'll get how to process selection screen with values)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arunprasad.P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 03:48:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-oops-alv/m-p/3883440#M933162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T03:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: problem in oops Alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-oops-alv/m-p/3883441#M933163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;when you are hadling user-command statement&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;when 'BACK'.&lt;/P&gt;&lt;P&gt;CALL SCREEN 1000.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 05:56:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-oops-alv/m-p/3883441#M933163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T05:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: problem in oops Alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-oops-alv/m-p/3883442#M933164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like below....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Case sy-ucomm.
 when 'BACK'.     "Assuming BACK is Func-code for back button
  set screen 0.
  leave screen.
 when others.

endcase.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Jose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 06:13:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-oops-alv/m-p/3883442#M933164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T06:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: problem in oops Alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-oops-alv/m-p/3883443#M933165</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;The problem I used the same .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when 'BACK'.&lt;/P&gt;&lt;P&gt;call screen 1000.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it is giving error by stating' &lt;STRONG&gt;selection screen is not called directly in the program.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLs give any suggestions on this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanku.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 06:37:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-oops-alv/m-p/3883443#M933165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T06:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: problem in oops Alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-oops-alv/m-p/3883444#M933166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Call screen&lt;/STRONG&gt; ll not solve ur problem...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if u use call screen and if u hit back from the called screen(selection screen in ur case) it goes back to the calling screen...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; do u want this to happen??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if its ok i think syntax is &lt;STRONG&gt;call selection-screen 1000.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;set screen 0.
leave screen.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Jose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 06:43:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-oops-alv/m-p/3883444#M933166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T06:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: problem in oops Alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-oops-alv/m-p/3883445#M933167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for ur reply. it is almost solved my problem and to represent the same values in the selection screen can you specify the procedure.&lt;/P&gt;&lt;P&gt;Thankyou.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 06:46:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-oops-alv/m-p/3883445#M933167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T06:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: problem in oops Alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-oops-alv/m-p/3883446#M933168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;       Give me the field names so that i can check and tell u.... or  else just go through this txt....it available at ABAP_DOCU_SHOW tcode which 'll help u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter passing with SUBMIT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variants: &lt;/P&gt;&lt;P&gt;1. ... USING SELECTION-SET vari &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. ... WITH p op f SIGN s &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. ... WITH p BETWEEN f1 AND f2 SIGN s &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. ... WITH p NOT BETWEEN f1 AND f2 SIGN s &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. ... WITH p IN sel &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. ... WITH SELECTION-TABLE seltab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7. ... WITH FREE SELECTIONS texpr &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Passes values to the SELECT-OPTIONS and PARAMETERS of the program rep (these can also be defined in the database program SAPDBldb of the relevant logical database ldb). p is the name of a parameter or selection criterion. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variant 1 &lt;/P&gt;&lt;P&gt;... USING SELECTION-SET vari &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;The variable vari contains the name of a variant used to start the report. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variant 2 &lt;/P&gt;&lt;P&gt;... WITH p op f SIGN s &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;op is one of the operations EQ, NE, CP, NP, GE, LT, LE, GT. s is a variable which must contain one of the values 'I' or 'E' (any other values result in a runtime error). The addition SIGN is optional and the default is 'I'. If p is a selection criterion (SELECT-OPTIONS), an entry with LOW = f, OPTION = op and SIGN = s is generated in the relevant internal table. &lt;/P&gt;&lt;P&gt;If p is a parameter (PARAMETERS), the system treats all options like EQ, i.e. it always transfers a single value. The field f is passed to the parameter p or to the field p-LOW of the selection criterion (xxx in the above list) in internal format. If p is not the same type as f, a type conversion is performed in the target report when data is passed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;Instead of the option EQ, you can also use = or INCL. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variant 3 &lt;/P&gt;&lt;P&gt;... WITH p BETWEEN f1 AND f2 SIGN s &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Passes the range with the lower limit f1 and the upper limit f2 to the selection criterion p. As with variant 2, f1 and f2 are passed in internal format and the handling of SIGN is also the same. The system thus generates an entry with LOW = f1, HIGH = f2, OPTION = BT and SIGN = s. When data is passed, a type conversion is performed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variant 4 &lt;/P&gt;&lt;P&gt;... WITH p NOT BETWEEN f1 AND f2 SIGN s &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Similar to 3, except that OPTION NB is generated instead of OPTION BT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variant 5 &lt;/P&gt;&lt;P&gt;... WITH p IN sel &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;p is a selection criterion and sel is an internal table which is compatible with p and contains the transfer values. You are recommended to define sel with RANGES. The lines of sel must have exactly the same structure as the lines of a selection table (see SELECT-OPTIONS). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variant 6 &lt;/P&gt;&lt;P&gt;... WITH SELECTION-TABLE seltab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;seltab is an internal table with the structure RSPARAMS. &lt;/P&gt;&lt;P&gt;This variant allows you to set the names and contents of the parameters and selection options dynamically at runtime. &lt;/P&gt;&lt;P&gt;You can use the function module RS_REFRESH_FROM_SELECTOPTIONS to read the contents of the parameters and selection options of the current program into an internal table seltab with the structure RSPARAMS. By using SUBMIT ... WITH SELECTION-TABLE seltab, you can then pass these values on directly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variant 7 &lt;/P&gt;&lt;P&gt;... WITH FREE SELECTIONS texpr &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Passes dynamic selections. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;texpr is an internal table of the type RSDS_TEXPR (see type pool RSDS). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;You can, for example, fill the object texpr in one of the following ways: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While processing a report with dynamic selections, call the function module RS_REFRESH_FROM_DYNAMICAL_SEL. This returns an object of the type RSDS_TRANGE which a subsequent function module FREE_SELECTIONS_RANGE_2_EX then converts to an object of the type RSDS_TEXPR. In this way, you can pass on the dynamic selections of the current report with SUBMIT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call the function modules FREE_SELECTIONS_INIT and FREE_SELECTIONS_DIALOG in order to offer the user a dialog for entering dynamic selections. These function modules return an object of the type RSDS_TEXPR. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes &lt;/P&gt;&lt;P&gt;You can combine the variants 1-7 in any permutation. The same selection criterion may be addressed several times with WITH. This generates several lines in the internal table assigned to the selection criterion p. You can also combine parameter transfer using a variant with explicit parameter passing via the WITH clause. In the event of a conflict, the following sequence applies: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstly, the variant is imported &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondly, the contents of the selection table are read (WITH SELECTION TABLE) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, the values passed explicitly using WITH are copied. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter passing by selection table overwrites the corresponding parameter or selection option from the variant, and explicit parameter passing by WITH overwrites both the selection table values and the variant values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The values passed during SUBMIT are not taken over until the event INITIALIZATION has been processed, i.e. default values set at INITIALIZATION are overwritten if values are passed for the PARAMETER or SELECT-OPTION during SUBMIT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Examples &lt;/P&gt;&lt;P&gt;1. Combination of variant and WITH &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: RANGE_LANGU    TYPE RANGE OF SY-LANGU, &lt;/P&gt;&lt;P&gt;      RANGE_LANGU_WA LIKE lINE OF RANGE_LANGU. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: MSG_FR LIKE T100-MSGNR, &lt;/P&gt;&lt;P&gt;            MSG_TO LIKE T100-MSGNR. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE: 'I'  TO RANGE_LANGU_WA-SIGN, &lt;/P&gt;&lt;P&gt;      'BT' TO RANGE_LANGU_WA-OPTION, &lt;/P&gt;&lt;P&gt;      'D'  TO RANGE_LANGU_WA-LOW, &lt;/P&gt;&lt;P&gt;      'I'  TO RANGE_LANGU_WA-HIGH. &lt;/P&gt;&lt;P&gt;APPEND RANGE_LANGU_WA TO RANGE_LANGU. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE: 'EQ'  TO RANGE_LANGU_WA-OPTION, &lt;/P&gt;&lt;P&gt;      'E'   TO RANGE_LANGU_WA-LOW. &lt;/P&gt;&lt;P&gt;APPEND RANGE_LANGU_WA TO RANGE_LANGU. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT REPORT00 &lt;/P&gt;&lt;P&gt;       USING SELECTION-SET 'VARIANT1' &lt;/P&gt;&lt;P&gt;       WITH  MSG   BETWEEN MSG_FR AND MSG_TO &lt;/P&gt;&lt;P&gt;       WITH  LANGU IN RANGE_LANGU. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In REPORT00, all parameters and SELECT-OPTIONS take their values from the variant VARIANT1.Only MSG and LANGU take the values that are explicitly passed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Examples &lt;/P&gt;&lt;P&gt;2. Combination of variant, WITH SELECTION-TABLE, and explicit WITH clauses. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: SELTAB     TYPE TABLE OF RSPARAMS, &lt;/P&gt;&lt;P&gt;      SELTAB_WA  LIKE LINE OF SELTAB. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE: 'LANGU'  TO SELTAB_WA-SELNAME, &lt;/P&gt;&lt;P&gt;      'S'      TO SELTAB_WA-KIND,      " SELECT-OPTION &lt;/P&gt;&lt;P&gt;      'I'      TO SELTAB_WA-SIGN, &lt;/P&gt;&lt;P&gt;      'BT'     TO SELTAB_WA-OPTION, &lt;/P&gt;&lt;P&gt;      'D'      TO SELTAB_WA-LOW, &lt;/P&gt;&lt;P&gt;      'I'      TO SELTAB_WA-HIGH. &lt;/P&gt;&lt;P&gt;APPEND SELTAB_WA TO SELTAB. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE: 'E'      TO SELTAB_WA-SIGN, &lt;/P&gt;&lt;P&gt;      'EQ'     TO SELTAB_WA-OPTION, &lt;/P&gt;&lt;P&gt;      'F'      TO SELTAB_WA-LOW, &lt;/P&gt;&lt;P&gt;      SPACE    TO SELTAB_WA-HIGH. &lt;/P&gt;&lt;P&gt;APPEND SELTAB_WA TO SELTAB. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR SELTAB_WA. &lt;/P&gt;&lt;P&gt;MOVE: 'ARBGB' TO SELTAB_WA-SELNAME, &lt;/P&gt;&lt;P&gt;      'P'     TO SELTAB_WA-KIND,      " PARAMETER &lt;/P&gt;&lt;P&gt;      'XX'    TO SELTAB_WA-LOW. &lt;/P&gt;&lt;P&gt;APPEND SELTAB_WA TO SELTAB. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT REPORT00 &lt;/P&gt;&lt;P&gt;       USING SELECTION-SET 'VARIANT1' &lt;/P&gt;&lt;P&gt;       WITH  ARBGB CP 'A*' &lt;/P&gt;&lt;P&gt;       WITH  SELECTION-TABLE SELTAB &lt;/P&gt;&lt;P&gt;       AND RETURN. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In REPORT00, all parameters and SELECT-OPTIONS take their contents from the variant VARIANT1except LANGU, which takes its contents from SELTAB, and ARBGB, which takes the value that was explicitly passed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional help &lt;/P&gt;&lt;P&gt;Filling the Selection Screenof a Called Program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arunprasad.P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2008 11:04:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-oops-alv/m-p/3883446#M933168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-06T11:04:14Z</dc:date>
    </item>
  </channel>
</rss>

