<?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: DYNP_VALUES_READ Limitations for multiple lines select options in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynp-values-read-limitations-for-multiple-lines-select-options/m-p/1359664#M178803</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;I'm trying to retrieve values on the event "AT SELECTION-SCREEN ON VALUE REQUEST FOR" .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;In this event I use the function module RS_REFRESH_FROM_SELECTOPTIONS, but it doesn't give me the values of the SELECT-OPTIONS on the screen, just the values that have been entered (like when you click enter or other button on the screen).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;Does anyone have any suggest, please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 May 2013 14:35:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-05-23T14:35:28Z</dc:date>
    <item>
      <title>DYNP_VALUES_READ Limitations for multiple lines select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynp-values-read-limitations-for-multiple-lines-select-options/m-p/1359661#M178800</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;   First post here, but a tough one I think. Here is my inquiry :&lt;/P&gt;&lt;P&gt;   I have worked on an specific abap function used in many long abap list reports. Theses reports are launched in background processing. The aim of this routine is to stop the report execution if a background job with the same selection parameters is already launched for the current user (to Prevent useless several launch of a time-expensive program).&lt;/P&gt;&lt;P&gt;    Because this routine is dynamic, I read the selection screen of the current report with the function 'DYNP_VALUES_READ'. And I compare the result with the variant of the backgroung job (read with function 'RS_VARIANT_CONTENTS').&lt;/P&gt;&lt;P&gt;    The real problem is that function "DYNP_VALUES_READ" only extract the first line of select-options. I found an alternative solution to extract the select options values (a dynamic assign with field symbols), but external conversions (for WBS elements for example ) are lost, so the comparison detects differences between the background job's variant values and the current selection screen values.&lt;/P&gt;&lt;P&gt;    Does anybody know a way to get entire select options values from a selection screen just as they are displayed on screen ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for reading my message &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Thomas BRICOUT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2006 15:27:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynp-values-read-limitations-for-multiple-lines-select-options/m-p/1359661#M178800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-05T15:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: DYNP_VALUES_READ Limitations for multiple lines select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynp-values-read-limitations-for-multiple-lines-select-options/m-p/1359662#M178801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps the following code will help you.  A function module in the code captures everything on the selection screen into an internal table.  It doesn't actually capture the information the way you want it, but I believe you will be able to work with it to achieve your desired result.  If it doesn't meet your needs, it is still useful for printing selection screen fields and their values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bruce&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report zybttes2.&lt;/P&gt;&lt;P&gt;tables: zf137,   " 137 General Ledger Document Details Table&lt;/P&gt;&lt;P&gt;        zf137a.  " 137 General Ledger Document Details Table, Archive&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of block b1 with frame title text-004." BCT003&lt;/P&gt;&lt;P&gt;parameters: p_zf137   radiobutton group xxx,                " BCT003&lt;/P&gt;&lt;P&gt;            p_zf137a  radiobutton group xxx.                " BCT003&lt;/P&gt;&lt;P&gt;selection-screen end of block b1.                           " BCT003&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;selection-screen begin of block parameter with frame title text-001.&lt;/P&gt;&lt;P&gt;selection-screen skip 1.&lt;/P&gt;&lt;P&gt;select-options: s_date for zf137-zzpostdat.&lt;/P&gt;&lt;P&gt;selection-screen skip 1.&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;selection-screen comment 3(6) text-002.&lt;/P&gt;&lt;P&gt;selection-screen end of line.&lt;/P&gt;&lt;P&gt;selection-screen skip 1.&lt;/P&gt;&lt;P&gt;select-options: s_loan for zf137-zzloan.&lt;/P&gt;&lt;P&gt;selection-screen skip 1.&lt;/P&gt;&lt;P&gt;selection-screen begin of line.&lt;/P&gt;&lt;P&gt;selection-screen comment 3(6) text-003.&lt;/P&gt;&lt;P&gt;selection-screen end of line.&lt;/P&gt;&lt;P&gt;selection-screen skip 1.&lt;/P&gt;&lt;P&gt;select-options: s_ccentr for zf137-zzcostctr.&lt;/P&gt;&lt;P&gt;selection-screen skip 1.&lt;/P&gt;&lt;P&gt;selection-screen end of block parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: ww(3) type n.&lt;/P&gt;&lt;P&gt;data: zz(3) type c.&lt;/P&gt;&lt;P&gt;data: c1(1) type c value '0'.&lt;/P&gt;&lt;P&gt;do 2 times.&lt;/P&gt;&lt;P&gt;  ww = ww + 1.&lt;/P&gt;&lt;P&gt;  zz = ww.  shift zz left  deleting leading  c1.&lt;/P&gt;&lt;P&gt;  write: / zz.&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Capture and then print the selection screen fields and their values&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;data: begin of i_info occurs 20,&lt;/P&gt;&lt;P&gt;        flag,&lt;/P&gt;&lt;P&gt;        olength type x,&lt;/P&gt;&lt;P&gt;        line  like raldb-infoline,&lt;/P&gt;&lt;P&gt;      end of i_info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'PRINT_SELECTIONS'&lt;/P&gt;&lt;P&gt;  exporting&lt;/P&gt;&lt;P&gt;    mode      = 'TABLE'&lt;/P&gt;&lt;P&gt;    rname     = sy-cprog&lt;/P&gt;&lt;P&gt;    rvariante = sy-slset&lt;/P&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    infotab   = i_info.&lt;/P&gt;&lt;P&gt;loop at   i_info.&lt;/P&gt;&lt;P&gt;  write: / i_info-line.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;write:  / 'end'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2006 16:24:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynp-values-read-limitations-for-multiple-lines-select-options/m-p/1359662#M178801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-05T16:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: DYNP_VALUES_READ Limitations for multiple lines select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynp-values-read-limitations-for-multiple-lines-select-options/m-p/1359663#M178802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many Thanks bruce !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found in this function the way to get the current programm variant's data (and it's exactly the same function I use to get the selections parameters of the background job).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really could not have found it without your help !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've rewared the corresponding point as my problem is solved&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Thomas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Thomas B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 May 2006 08:03:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynp-values-read-limitations-for-multiple-lines-select-options/m-p/1359663#M178802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-09T08:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: DYNP_VALUES_READ Limitations for multiple lines select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynp-values-read-limitations-for-multiple-lines-select-options/m-p/1359664#M178803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;I'm trying to retrieve values on the event "AT SELECTION-SCREEN ON VALUE REQUEST FOR" .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;In this event I use the function module RS_REFRESH_FROM_SELECTOPTIONS, but it doesn't give me the values of the SELECT-OPTIONS on the screen, just the values that have been entered (like when you click enter or other button on the screen).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"&gt;Does anyone have any suggest, please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 14:35:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynp-values-read-limitations-for-multiple-lines-select-options/m-p/1359664#M178803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-23T14:35:28Z</dc:date>
    </item>
  </channel>
</rss>

