<?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: pass return table to SELECT-OPTIONS  field in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-return-table-to-select-options-field/m-p/3774549#M908239</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is working for me !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS   p_orgeh   FOR    P0001-orgeh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_orgeh-low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'RP_PNP_ORGSTRUCTURE'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      pobjid = p_orgeh.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table  p_orgeh index 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Apr 2008 17:37:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-30T17:37:36Z</dc:date>
    <item>
      <title>pass return table to SELECT-OPTIONS  field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-return-table-to-select-options-field/m-p/3774535#M908225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can I pass the retunr table r_pobjid to &lt;/P&gt;&lt;P&gt;SELECT-OPTIONS's   p_orgeh ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ertas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT-OPTIONS   p_orgeh   FOR    P0001-orgeh.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_orgeh-low.

  CALL FUNCTION 'RP_PNP_ORGSTRUCTURE'
    TABLES
      pobjid = r_pobjid.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 14:10:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-return-table-to-select-options-field/m-p/3774535#M908225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T14:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: pass return table to SELECT-OPTIONS  field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-return-table-to-select-options-field/m-p/3774536#M908226</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;by using FM &lt;STRONG&gt;F4IF_INT_TABLE_VALUE_REQUEST&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sunil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 14:12:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-return-table-to-select-options-field/m-p/3774536#M908226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T14:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: pass return table to SELECT-OPTIONS  field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-return-table-to-select-options-field/m-p/3774537#M908227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assign the value to the select options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_orgeh-low.
 
  CALL FUNCTION 'RP_PNP_ORGSTRUCTURE'
    TABLES
      pobjid = r_pobjid.

  p_orgeh-low = r_pobjid.
  p_orgeh-sign = 'I'.
  p_orgeh-option = 'EQ'.
  append p_orgeh.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 14:14:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-return-table-to-select-options-field/m-p/3774537#M908227</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2008-04-30T14:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: pass return table to SELECT-OPTIONS  field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-return-table-to-select-options-field/m-p/3774538#M908228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
p_orgeh[] = r_pobjid[].
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Paul Chapman on Apr 30, 2008 10:27 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 14:25:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-return-table-to-select-options-field/m-p/3774538#M908228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T14:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: pass return table to SELECT-OPTIONS  field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-return-table-to-select-options-field/m-p/3774539#M908229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have a look on the following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: kunnr like kna1-kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;do some operations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load-of-program.&lt;/P&gt;&lt;P&gt;kunnr = '10045647'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chandu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Apr 30, 2008 11:16 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 14:26:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-return-table-to-select-options-field/m-p/3774539#M908229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T14:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: pass return table to SELECT-OPTIONS  field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-return-table-to-select-options-field/m-p/3774540#M908230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  ztest.
DATA: lv_orgeh TYPE orgeh.

SELECT-OPTIONS   p_orgeh   FOR    lv_orgeh NO INTERVALS.
SELECT-OPTIONS: pnpobjid FOR lv_orgeh NO-DISPLAY.           "XJFK12258

AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_orgeh-low.

  CALL FUNCTION 'RP_PNP_ORGSTRUCTURE'
    TABLES
      pobjid = p_orgeh[].&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 14:27:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-return-table-to-select-options-field/m-p/3774540#M908230</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T14:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: pass return table to SELECT-OPTIONS  field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-return-table-to-select-options-field/m-p/3774541#M908231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Naimesh Patel I'm sorry but it dint't work !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ertas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 14:28:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-return-table-to-select-options-field/m-p/3774541#M908231</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T14:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: pass return table to SELECT-OPTIONS  field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-return-table-to-select-options-field/m-p/3774542#M908232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps this too&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  CALL FUNCTION 'RP_PNP_ORGSTRUCTURE'
    TABLES
      pobjid = p_orgeh.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 14:34:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-return-table-to-select-options-field/m-p/3774542#M908232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T14:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: pass return table to SELECT-OPTIONS  field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-return-table-to-select-options-field/m-p/3774543#M908233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paul Chapman one entry is getting lost always do you know why ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 14:36:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-return-table-to-select-options-field/m-p/3774543#M908233</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T14:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: pass return table to SELECT-OPTIONS  field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-return-table-to-select-options-field/m-p/3774544#M908234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry but nothing of these replies were correctly !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is still existing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ertas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 14:55:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-return-table-to-select-options-field/m-p/3774544#M908234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T14:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: pass return table to SELECT-OPTIONS  field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-return-table-to-select-options-field/m-p/3774545#M908235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We only get one result from the FM, so to make it visible, this works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TABLES: p0001.
RANGES:
  r_pobjid FOR p0001-orgeh.

SELECT-OPTIONS   p_orgeh   FOR    p0001-orgeh.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_orgeh-low.

  CALL FUNCTION 'RP_PNP_ORGSTRUCTURE'
       TABLES
            pobjid = p_orgeh.
  read table p_orgeh index 1.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 15:11:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-return-table-to-select-options-field/m-p/3774545#M908235</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T15:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: pass return table to SELECT-OPTIONS  field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-return-table-to-select-options-field/m-p/3774546#M908236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT-OPTIONS   p_orgeh   FOR    P0001-orgeh.
 
Initialization.
 
  CALL FUNCTION 'RP_PNP_ORGSTRUCTURE'
    TABLES
      pobjid = r_pobjid.

p_orgeh[] = r_pobjid[].&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try as above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 15:13:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-return-table-to-select-options-field/m-p/3774546#M908236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T15:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: pass return table to SELECT-OPTIONS  field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-return-table-to-select-options-field/m-p/3774547#M908237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have already one Initialization block in my code this would be the second one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 15:22:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-return-table-to-select-options-field/m-p/3774547#M908237</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T15:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: pass return table to SELECT-OPTIONS  field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-return-table-to-select-options-field/m-p/3774548#M908238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Take the Ravi's example&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS   p_orgeh   FOR    P0001-orgeh.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Initialization.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'RP_PNP_ORGSTRUCTURE'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      pobjid = r_pobjid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;load-of-program.&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;p_orgeh[] = r_pobjid[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Chandu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Apr 30, 2008 12:53 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 15:28:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-return-table-to-select-options-field/m-p/3774548#M908238</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T15:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: pass return table to SELECT-OPTIONS  field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pass-return-table-to-select-options-field/m-p/3774549#M908239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is working for me !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS   p_orgeh   FOR    P0001-orgeh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_orgeh-low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'RP_PNP_ORGSTRUCTURE'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      pobjid = p_orgeh.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table  p_orgeh index 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 17:37:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pass-return-table-to-select-options-field/m-p/3774549#M908239</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T17:37:36Z</dc:date>
    </item>
  </channel>
</rss>

