<?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: getting the parameter value in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-parameter-value/m-p/7492973#M1557477</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Srini ,&lt;/P&gt;&lt;P&gt;that works fine now . &lt;/P&gt;&lt;P&gt;Also the selection text are not getting displayed on the screen .. if u have any knowledge of that ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Renu Gusain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Nov 2010 05:10:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-11-17T05:10:50Z</dc:date>
    <item>
      <title>getting the parameter value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-parameter-value/m-p/7492971#M1557475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Below is my code , i have tried assigning selection text to my parameter(checkbox) see below-&amp;gt;works fine&lt;/P&gt;&lt;P&gt;now in i_para i have list of selected parameters which are being displayed on the screen.&lt;/P&gt;&lt;P&gt;i want to know how can i get the values assigned in those parameters.. i dont want to use case on all the parameters written on the selection screen(too much garbage code) by default i have written 20 parameters on the selection screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg : if i knw the parameter on screen created is p_new1 i want to check what value the user has stored in it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR if anyone can let me know how to create slection screen using table values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT SCREEN .
      IF screen-group1 CP 'SD*'
      AND screen-group3 = 'PAR'.
        wa_para-name = screen-name.
        g_tabix =  g_tabix + 1.
        READ TABLE i_zuprgmvar INTO wa_zuprgmvar INDEX g_tabix .
        IF sy-subrc = 0.
          wa_para-text = wa_zuprgmvar-low .
        ENDIF.
        APPEND wa_para TO i_para.
        CLEAR wa_para.
      ENDIF.
    ENDLOOP.
    CLEAR g_tabix.

  ENDIF.

  LOOP AT i_para INTO wa_para WHERE text IS NOT INITIAL.
    wa_rsseltexts1-name = wa_para-name.
    wa_rsseltexts1-kind = 'P'.
    CONCATENATE wa_para-text 'Type' INTO wa_rsseltexts1-text SEPARATED BY space.
    APPEND wa_rsseltexts1 TO i_rsseltexts1.
    CLEAR wa_rsseltexts1.
  ENDLOOP.

  CALL FUNCTION 'SELECTION_TEXTS_MODIFY'
    EXPORTING
      program                     = sy-repid
    TABLES
      seltexts                    = i_rsseltexts1&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Renu Gusain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 04:05:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-parameter-value/m-p/7492971#M1557475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-17T04:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: getting the parameter value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-parameter-value/m-p/7492972#M1557476</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;    Write the below..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : p_value(20) ,&lt;/P&gt;&lt;P&gt;         l_field(100) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field-symbols : &amp;lt;fs_tab&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT i_para INTO wa_para WHERE text IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;    l_field = wa_para-name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;assign (l_field) to &amp;lt;fs_tab&amp;gt;.&lt;/STRONG&gt;  " &amp;lt;fs_tab&amp;gt; contains the value in the parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      p_value= &amp;lt;fs_tab&amp;gt;.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srini.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 04:37:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-parameter-value/m-p/7492972#M1557476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-17T04:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: getting the parameter value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-parameter-value/m-p/7492973#M1557477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Srini ,&lt;/P&gt;&lt;P&gt;that works fine now . &lt;/P&gt;&lt;P&gt;Also the selection text are not getting displayed on the screen .. if u have any knowledge of that ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Renu Gusain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 05:10:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-the-parameter-value/m-p/7492973#M1557477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-17T05:10:50Z</dc:date>
    </item>
  </channel>
</rss>

