<?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: submit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2986834#M705324</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;&amp;lt;b&amp;gt;WITH FREE SELECTIONS texpr&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;This addition supplies values to the dynamic selections for the selection screen for a logical database. The program accessed must be linked to a logical database that supports dynamic selections. texpr must be an internal table of the type RSDS_TEXPR from type group RSDS. &lt;/P&gt;&lt;P&gt;In texpr, the selections for the dynamic selections are specified in an internal format (stack formula). You can use the function modules FREE_SELECTIONS_INIT, FREE_SELECTIONS_DIALOG, and FREE_SELECTIONS_RANGE_2_EX from the function group SSEL to fill texpr in the calling program. While the first two function modules execute a user dialog, you can transfer ranges tables to FREE_SELECTIONS_RANGE_2_EX for each node in the dynamic selection in an internal table of the type RSDS_TRANGE. These are then converted to a table of the row type RSDS_TEXPR. If the calling program contains a selection screen with the same dynamic selections, you can transfer its content beforehand to a table of the type RSDS_TRANGE using the function module RS_REFRESH_FROM_DYNAMICAL_SEL. &lt;/P&gt;&lt;P&gt;The lines in the internal table type RSDS_TRANGE contain a flat component TABLENAME for each node and a table-like component FRANGE_T of the type RSDS_FRANGE_T for the fields in the node. The lines in RSDS_FRANGE_T contain a flat component FIELDNAME for each field and a table-like component SELOPT_T of the row type RSDSSELOPT from the ABAP Dictionary. RSDSSELOPT contains the four components SIGN, OPTION, LOW, and HIGH and can include the ranges table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Example&amp;lt;/b&amp;gt; Program report1 is linked to the logical database F1S, which supports dynamic selections for the node SPFLI. Program report2 enters conditions in a nested internal table of the type rsds_trange with selection conditions for field CONNID in node SPFLI; this is then converted to a table of the type rsds_texpr, which is transferred at SUBMIT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program accessed &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT report1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NODES: spfli, sflight, sbook. &lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calling program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT report2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE-POOLS rsds. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: trange TYPE rsds_trange, &lt;/P&gt;&lt;P&gt;      trange_line &lt;/P&gt;&lt;P&gt;        LIKE LINE OF trange, &lt;/P&gt;&lt;P&gt;      trange_frange_t_line &lt;/P&gt;&lt;P&gt;        LIKE LINE OF trange_line-frange_t, &lt;/P&gt;&lt;P&gt;      trange_frange_t_selopt_t_line &lt;/P&gt;&lt;P&gt;        LIKE LINE OF trange_frange_t_line-selopt_t, &lt;/P&gt;&lt;P&gt;      texpr TYPE rsds_texpr. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;trange_line-tablename = 'SPFLI'. &lt;/P&gt;&lt;P&gt;trange_frange_t_line-fieldname = 'CONNID'. &lt;/P&gt;&lt;P&gt;trange_frange_t_selopt_t_line-sign   = 'I'. &lt;/P&gt;&lt;P&gt;trange_frange_t_selopt_t_line-option = 'BT'. &lt;/P&gt;&lt;P&gt;trange_frange_t_selopt_t_line-low    = '0200'. &lt;/P&gt;&lt;P&gt;trange_frange_t_selopt_t_line-high   = '0800'. &lt;/P&gt;&lt;P&gt;APPEND trange_frange_t_selopt_t_line &lt;/P&gt;&lt;P&gt;  TO trange_frange_t_line-selopt_t. &lt;/P&gt;&lt;P&gt;trange_frange_t_selopt_t_line-sign   = 'I'. &lt;/P&gt;&lt;P&gt;trange_frange_t_selopt_t_line-option = 'NE'. &lt;/P&gt;&lt;P&gt;trange_frange_t_selopt_t_line-low    = '0400'. &lt;/P&gt;&lt;P&gt;APPEND trange_frange_t_selopt_t_line &lt;/P&gt;&lt;P&gt;  TO trange_frange_t_line-selopt_t. &lt;/P&gt;&lt;P&gt;APPEND trange_frange_t_line TO trange_line-frange_t. &lt;/P&gt;&lt;P&gt;APPEND trange_line TO trange. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_EX' &lt;/P&gt;&lt;P&gt;  EXPORTING &lt;/P&gt;&lt;P&gt;    field_ranges = trange &lt;/P&gt;&lt;P&gt;  IMPORTING &lt;/P&gt;&lt;P&gt;    expressions  = texpr. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT report1 VIA SELECTION-SCREEN &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;&amp;lt;b&amp;gt;Reward if usefull&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Nov 2007 04:59:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-13T04:59:00Z</dc:date>
    <item>
      <title>submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2986833#M705323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in submit there is an option for dynamic selections like &lt;/P&gt;&lt;P&gt;.....WITH FREE SELECTIONS texpr &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any one pls explain regarding this pls with example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 04:55:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2986833#M705323</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T04:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2986834#M705324</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;&amp;lt;b&amp;gt;WITH FREE SELECTIONS texpr&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;This addition supplies values to the dynamic selections for the selection screen for a logical database. The program accessed must be linked to a logical database that supports dynamic selections. texpr must be an internal table of the type RSDS_TEXPR from type group RSDS. &lt;/P&gt;&lt;P&gt;In texpr, the selections for the dynamic selections are specified in an internal format (stack formula). You can use the function modules FREE_SELECTIONS_INIT, FREE_SELECTIONS_DIALOG, and FREE_SELECTIONS_RANGE_2_EX from the function group SSEL to fill texpr in the calling program. While the first two function modules execute a user dialog, you can transfer ranges tables to FREE_SELECTIONS_RANGE_2_EX for each node in the dynamic selection in an internal table of the type RSDS_TRANGE. These are then converted to a table of the row type RSDS_TEXPR. If the calling program contains a selection screen with the same dynamic selections, you can transfer its content beforehand to a table of the type RSDS_TRANGE using the function module RS_REFRESH_FROM_DYNAMICAL_SEL. &lt;/P&gt;&lt;P&gt;The lines in the internal table type RSDS_TRANGE contain a flat component TABLENAME for each node and a table-like component FRANGE_T of the type RSDS_FRANGE_T for the fields in the node. The lines in RSDS_FRANGE_T contain a flat component FIELDNAME for each field and a table-like component SELOPT_T of the row type RSDSSELOPT from the ABAP Dictionary. RSDSSELOPT contains the four components SIGN, OPTION, LOW, and HIGH and can include the ranges table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Example&amp;lt;/b&amp;gt; Program report1 is linked to the logical database F1S, which supports dynamic selections for the node SPFLI. Program report2 enters conditions in a nested internal table of the type rsds_trange with selection conditions for field CONNID in node SPFLI; this is then converted to a table of the type rsds_texpr, which is transferred at SUBMIT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program accessed &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT report1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NODES: spfli, sflight, sbook. &lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calling program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT report2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE-POOLS rsds. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: trange TYPE rsds_trange, &lt;/P&gt;&lt;P&gt;      trange_line &lt;/P&gt;&lt;P&gt;        LIKE LINE OF trange, &lt;/P&gt;&lt;P&gt;      trange_frange_t_line &lt;/P&gt;&lt;P&gt;        LIKE LINE OF trange_line-frange_t, &lt;/P&gt;&lt;P&gt;      trange_frange_t_selopt_t_line &lt;/P&gt;&lt;P&gt;        LIKE LINE OF trange_frange_t_line-selopt_t, &lt;/P&gt;&lt;P&gt;      texpr TYPE rsds_texpr. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;trange_line-tablename = 'SPFLI'. &lt;/P&gt;&lt;P&gt;trange_frange_t_line-fieldname = 'CONNID'. &lt;/P&gt;&lt;P&gt;trange_frange_t_selopt_t_line-sign   = 'I'. &lt;/P&gt;&lt;P&gt;trange_frange_t_selopt_t_line-option = 'BT'. &lt;/P&gt;&lt;P&gt;trange_frange_t_selopt_t_line-low    = '0200'. &lt;/P&gt;&lt;P&gt;trange_frange_t_selopt_t_line-high   = '0800'. &lt;/P&gt;&lt;P&gt;APPEND trange_frange_t_selopt_t_line &lt;/P&gt;&lt;P&gt;  TO trange_frange_t_line-selopt_t. &lt;/P&gt;&lt;P&gt;trange_frange_t_selopt_t_line-sign   = 'I'. &lt;/P&gt;&lt;P&gt;trange_frange_t_selopt_t_line-option = 'NE'. &lt;/P&gt;&lt;P&gt;trange_frange_t_selopt_t_line-low    = '0400'. &lt;/P&gt;&lt;P&gt;APPEND trange_frange_t_selopt_t_line &lt;/P&gt;&lt;P&gt;  TO trange_frange_t_line-selopt_t. &lt;/P&gt;&lt;P&gt;APPEND trange_frange_t_line TO trange_line-frange_t. &lt;/P&gt;&lt;P&gt;APPEND trange_line TO trange. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_EX' &lt;/P&gt;&lt;P&gt;  EXPORTING &lt;/P&gt;&lt;P&gt;    field_ranges = trange &lt;/P&gt;&lt;P&gt;  IMPORTING &lt;/P&gt;&lt;P&gt;    expressions  = texpr. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT report1 VIA SELECTION-SCREEN &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;&amp;lt;b&amp;gt;Reward if usefull&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 04:59:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2986834#M705324</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T04:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2986835#M705325</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;WITH FREE SELECTIONS texpr &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This addition is only possible when calling a Report that is linked to Logical Database.&lt;/P&gt;&lt;P&gt;Free Selection are possible only in LDB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if Helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 05:04:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2986835#M705325</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-11-13T05:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2986836#M705326</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;WITH FREE SELECTION &amp;lt;freesel&amp;gt;, user dialog for dynamic selections&lt;/P&gt;&lt;P&gt;To use this option, both calling and called programs must be connected to a logical database that supports dynamic selections. In the calling program, use the function modules FREE_SELECTIONS_INIT and FREE_SELECTIONS_DIALOG. They allow the user to enter dynamic selections on a selection screen. One export parameter of these function modules has structure RSDS_TEXPR from the RSDS type group. Transfer the values of this export parameter by means of the internal table &amp;lt;freesel&amp;gt; of the same structure to the called report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex.&lt;/P&gt;&lt;P&gt;Program report1 is linked to the logical database F1S, which supports dynamic selections for the node SPFLI. Program report2 enters conditions in a nested internal table of the type rsds_trange with selection conditions for field CONNID in node SPFLI; this is then converted to a table of the type rsds_texpr, which is transferred at SUBMIT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Program accessed&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT report1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NODES: spfli, sflight, sbook. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Calling program&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT report2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE-POOLS rsds. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: trange TYPE rsds_trange, &lt;/P&gt;&lt;P&gt;      trange_line &lt;/P&gt;&lt;P&gt;        LIKE LINE OF trange, &lt;/P&gt;&lt;P&gt;      trange_frange_t_line &lt;/P&gt;&lt;P&gt;        LIKE LINE OF trange_line-frange_t, &lt;/P&gt;&lt;P&gt;      trange_frange_t_selopt_t_line &lt;/P&gt;&lt;P&gt;        LIKE LINE OF trange_frange_t_line-selopt_t, &lt;/P&gt;&lt;P&gt;      texpr TYPE rsds_texpr. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;trange_line-tablename = 'SPFLI'. &lt;/P&gt;&lt;P&gt;trange_frange_t_line-fieldname = 'CONNID'. &lt;/P&gt;&lt;P&gt;trange_frange_t_selopt_t_line-sign   = 'I'. &lt;/P&gt;&lt;P&gt;trange_frange_t_selopt_t_line-option = 'BT'. &lt;/P&gt;&lt;P&gt;trange_frange_t_selopt_t_line-low    = '0200'. &lt;/P&gt;&lt;P&gt;trange_frange_t_selopt_t_line-high   = '0800'. &lt;/P&gt;&lt;P&gt;APPEND trange_frange_t_selopt_t_line &lt;/P&gt;&lt;P&gt;  TO trange_frange_t_line-selopt_t. &lt;/P&gt;&lt;P&gt;trange_frange_t_selopt_t_line-sign   = 'I'. &lt;/P&gt;&lt;P&gt;trange_frange_t_selopt_t_line-option = 'NE'. &lt;/P&gt;&lt;P&gt;trange_frange_t_selopt_t_line-low    = '0400'. &lt;/P&gt;&lt;P&gt;APPEND trange_frange_t_selopt_t_line &lt;/P&gt;&lt;P&gt;  TO trange_frange_t_line-selopt_t. &lt;/P&gt;&lt;P&gt;APPEND trange_frange_t_line TO trange_line-frange_t. &lt;/P&gt;&lt;P&gt;APPEND trange_line TO trange. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_EX' &lt;/P&gt;&lt;P&gt;  EXPORTING &lt;/P&gt;&lt;P&gt;    field_ranges = trange &lt;/P&gt;&lt;P&gt;  IMPORTING &lt;/P&gt;&lt;P&gt;    expressions  = texpr. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT report1 VIA SELECTION-SCREEN &lt;/P&gt;&lt;P&gt;               WITH FREE SELECTIONS texpr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 05:17:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2986836#M705326</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T05:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2986837#M705327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HEY I WANT TO CHAT WITH CAN U PLS GIVE UR GMAIL ID PLS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 05:40:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2986837#M705327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T05:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2986838#M705328</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;with me &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;naresh_nelaptla@yahoo.co.in&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards &lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 05:42:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2986838#M705328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T05:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: submit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2986839#M705329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx i will reach u soon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2007 05:49:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit/m-p/2986839#M705329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-13T05:49:38Z</dc:date>
    </item>
  </channel>
</rss>

