<?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: on value request in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/on-value-request/m-p/4718681#M1107983</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the function module that you are using is correct one. &lt;/P&gt;&lt;P&gt;Paste the code excerpt and you are not passing the correct parameters..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;KD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Nov 2008 14:36:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-04T14:36:30Z</dc:date>
    <item>
      <title>on value request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/on-value-request/m-p/4718680#M1107982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I have a module pool with field Vehicle, which needs an f4 help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table which populates itab_details, which contains vehicle name, model , make and some other fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On f4 help in my module pool i need the whole of itab_details to be displayed, and whatever line is selected i want to return ONLY the name field back to the module pool screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible? I have been experimenting with F4IF_INT_TABLE_VALUE_REQUEST but have not met with any success.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 14:32:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/on-value-request/m-p/4718680#M1107982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T14:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: on value request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/on-value-request/m-p/4718681#M1107983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the function module that you are using is correct one. &lt;/P&gt;&lt;P&gt;Paste the code excerpt and you are not passing the correct parameters..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;KD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 14:36:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/on-value-request/m-p/4718681#M1107983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T14:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: on value request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/on-value-request/m-p/4718682#M1107984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi KD,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;was trying this as a report. If it works here i guess it should in module pool also right?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA : BEGIN OF ITAB OCCURS 0,
UNAME LIKE USR01-BNAME,
test(6) type c,
END OF ITAB.

data : RETURN_TAB LIKE DDSHRETVAL occurs 0 .
data : RETURN_wa LIKE DDSHRETVAL .

*---------------------------
PARAMETERS : vehicle(12) TYPE C.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR vehicle.

ITAB-UNAME = 'U01'. itab-test = 'car'.APPEND ITAB.
ITAB-UNAME = 'U02'. itab-test = 'bus'.APPEND ITAB.
ITAB-UNAME = 'U03'. itab-test = 'cycle'.APPEND ITAB.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'ITAB-UNAME'
DYNPPROG = SY-REPID
DYNPNR = SY-DYNNR
DYNPROFIELD = 'vehicle'
VALUE_ORG = 'S'
tables
value_tab = ITAB
RETURN_TAB = return_tab

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 14:41:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/on-value-request/m-p/4718682#M1107984</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T14:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: on value request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/on-value-request/m-p/4718683#M1107985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make changes as follows&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

DATA : BEGIN OF ITAB OCCURS 0,
UNAME LIKE USR01-BNAME,
test(6) type c,
END OF ITAB.
 
data : RETURN_TAB LIKE DDSHRETVAL occurs 0 .
data : RETURN_wa LIKE DDSHRETVAL .
 
*---------------------------
PARAMETERS : vehicle(12) TYPE C.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR vehicle.
 
ITAB-UNAME = 'U01'. itab-test = 'car'.APPEND ITAB.
ITAB-UNAME = 'U02'. itab-test = 'bus'.APPEND ITAB.
ITAB-UNAME = 'U03'. itab-test = 'cycle'.APPEND ITAB.
 
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'UNAME'  -----&amp;gt; Change
DYNPPROG = SY-REPID
DYNPNR = SY-DYNNR
DYNPROFIELD = 'VEHICLE'  ----&amp;gt; Change
VALUE_ORG = 'S'
tables
value_tab = ITAB
RETURN_TAB = return_tab
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;KD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Krutiman Das on Nov 4, 2008 2:57 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 14:57:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/on-value-request/m-p/4718683#M1107985</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T14:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: on value request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/on-value-request/m-p/4718684#M1107986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks KD, i tried the same. the problem is still there! On f4 popup i want my whole itab internal table displayed, currently it displays only the UNAME field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 15:03:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/on-value-request/m-p/4718684#M1107986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T15:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: on value request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/on-value-request/m-p/4718685#M1107987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  Frnd,&lt;/P&gt;&lt;P&gt;   for module pool programing  ,whn you need any f4 help ....you need to call the event &lt;/P&gt;&lt;P&gt;   Process on value-request   explicitly .&lt;/P&gt;&lt;P&gt;  so you should code like this....&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  process on value request .&lt;/P&gt;&lt;P&gt;    field fieldanme (the filed in which you want f4 help ) module modulename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ( now double click on moduleanme .)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modulename ...&lt;/P&gt;&lt;P&gt;  now call the function 'f4if_int_table_value_request' .&lt;/P&gt;&lt;P&gt;   CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DDIC_STRUCTURE         = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    retfield               =  passs the field which you want in return &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PVALKEY                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DYNPPROG               = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DYNPNR                 = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DYNPROFIELD            = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  STEPL                  = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WINDOW_TITLE           =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  VALUE                  = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; VALUE_ORG              = 'S'     (pass here S or try some rnd)&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MULTIPLE_CHOICE        = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DISPLAY                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CALLBACK_PROGRAM       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CALLBACK_FORM          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MARK_TAB               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  USER_RESET             =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    value_tab              = itab (your internal table)&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FIELD_TAB              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  RETURN_TAB             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DYNPFLD_MAPPING        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PARAMETER_ERROR        = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NO_VALUES_FOUND        = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS                 = 3&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  and pass you internal table and return value ...&lt;/P&gt;&lt;P&gt;endmodulename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards.&lt;/P&gt;&lt;P&gt;  Priyank dixit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 15:08:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/on-value-request/m-p/4718685#M1107987</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T15:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: on value request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/on-value-request/m-p/4718686#M1107988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;retfield = 'ITAB-UNAME'&lt;/P&gt;&lt;P&gt;DYNPPROG = SY-REPID&lt;/P&gt;&lt;P&gt;DYNPNR = SY-DYNNR&lt;/P&gt;&lt;P&gt;DYNPROFIELD = 'vehicle'&lt;/P&gt;&lt;P&gt;VALUE_ORG = 'S'&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;value_tab = ITAB&lt;/P&gt;&lt;P&gt;RETURN_TAB = return_tab&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;retfield&lt;/STRONG&gt; - only name of the field (uppercase)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;dynrprog&lt;/STRONG&gt;, &lt;STRONG&gt;dynpnr&lt;/STRONG&gt; - never pass directly your system variable (sy-XXX) here, use separate data objects where you first assign your sy- variables and them pass them to the function, but in this example you can skipp these parameters, they are sometimes error-prone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;dynprofield&lt;/STRONG&gt; - always in uppercase&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;return_tab&lt;/STRONG&gt; - remove this unless you want the result goes to this table, if not it will be returned on the screen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 15:24:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/on-value-request/m-p/4718686#M1107988</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2008-11-04T15:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: on value request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/on-value-request/m-p/4718687#M1107989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suker,&lt;/P&gt;&lt;P&gt; the internal table that you build should refer to data elements(like matnr..etc) rather than the pre defined data types(Char,Numc..etc.)&lt;/P&gt;&lt;P&gt;Since you have using data elements from the dictionary for UNAME, its appearing in F4.Do the same for the other fields as well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;KD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Krutiman Das on Nov 4, 2008 3:33 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Krutiman Das on Nov 4, 2008 3:34 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 15:33:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/on-value-request/m-p/4718687#M1107989</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T15:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: on value request</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/on-value-request/m-p/4718688#M1107990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks KD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 15:37:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/on-value-request/m-p/4718688#M1107990</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T15:37:10Z</dc:date>
    </item>
  </channel>
</rss>

