<?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: listbox problem! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/listbox-problem/m-p/6733445#M1457441</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the export parameter Retfield, you need to specify the field of the internal table whose value is to be returned to the return tab.&lt;/P&gt;&lt;P&gt;After calling the FM, read return_tab and pass the value to the screen field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Jayesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Mar 2010 06:43:26 GMT</pubDate>
    <dc:creator>jayesh_gupta</dc:creator>
    <dc:date>2010-03-23T06:43:26Z</dc:date>
    <item>
      <title>listbox problem!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/listbox-problem/m-p/6733440#M1457436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hiii,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'm using FM 'F4IF_INT_TABLE_VALUE_REQUEST' to display the list of customers number from a table... everything is working fine except for when i double click on a record from this list it doesn't appear in the I/O field... please need ur help in this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 06:10:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/listbox-problem/m-p/6733440#M1457436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-23T06:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: listbox problem!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/listbox-problem/m-p/6733441#M1457437</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;Are you reading the table RETURN_TAB of this function module after calling it. The value selected is returned in this table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Jayesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 06:24:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/listbox-problem/m-p/6733441#M1457437</guid>
      <dc:creator>jayesh_gupta</dc:creator>
      <dc:date>2010-03-23T06:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: listbox problem!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/listbox-problem/m-p/6733442#M1457438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for reply Mr. Jayesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the code i use...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE SET_DATA_CUSTOMER_NO INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select * from ycustomer_t INTo CORRESPONDING FIELDS OF TABLE G_TAB_CON_ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&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        = 'F2'  " 'input/output screen field'.    i've put this in POV&lt;/P&gt;&lt;P&gt;      value_org       = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      value_tab       = G_TAB_CON_ITAB&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      parameter_error = 1&lt;/P&gt;&lt;P&gt;      no_values_found = 2&lt;/P&gt;&lt;P&gt;      OTHERS          = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 06:29:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/listbox-problem/m-p/6733442#M1457438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-23T06:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: listbox problem!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/listbox-problem/m-p/6733443#M1457439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;Hi,
&amp;lt;li&amp;gt;Are you passing values to FM like below 
&lt;PRE&gt;&lt;CODE&gt;
  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
      retfield    = 'IWERK'  "it_t399i table field.
      dynpprog    = sy-repid
      dynpnr      = sy-dynnr
      dynprofield = 'P_SWERK' "Screen field on which values is placed.
      value_org   = 'S'
    TABLES
      value_tab   = it_t399i
      return_tab  = it_return_tab.
&lt;/CODE&gt;&lt;/PRE&gt;
&amp;lt;li&amp;gt;You do not need to read return_tab to place value when you double click. 

Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 06:33:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/listbox-problem/m-p/6733443#M1457439</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2010-03-23T06:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: listbox problem!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/listbox-problem/m-p/6733444#M1457440</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;  The selected values will be returned in RETURN_TAB after that call FM to display data on input field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IT_DYNP_LIST should be filled with the selected value from F4 help FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fetch the selected value&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  read table it_retvals into wa_retvals index 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_dynp_list-fieldname  = c_field1 . "FIELD name.&lt;/P&gt;&lt;P&gt;  wa_dynp_list-fieldvalue =  wa_retvals-fieldval..&lt;/P&gt;&lt;P&gt;  append wa_dynp_list to IT_DYNP_LIST.&lt;/P&gt;&lt;P&gt;  clear : wa_dynp_list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Use FM to display data on input field&lt;/P&gt;&lt;P&gt;  call function 'DYNP_VALUES_UPDATE'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      dyname     = sy-repid&lt;/P&gt;&lt;P&gt;      dynumb     = sy-dynnr&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      dynpfields = it_dynp_list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this may be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sravanthi.V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 06:38:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/listbox-problem/m-p/6733444#M1457440</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-23T06:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: listbox problem!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/listbox-problem/m-p/6733445#M1457441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the export parameter Retfield, you need to specify the field of the internal table whose value is to be returned to the return tab.&lt;/P&gt;&lt;P&gt;After calling the FM, read return_tab and pass the value to the screen field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Jayesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 06:43:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/listbox-problem/m-p/6733445#M1457441</guid>
      <dc:creator>jayesh_gupta</dc:creator>
      <dc:date>2010-03-23T06:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: listbox problem!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/listbox-problem/m-p/6733446#M1457442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i've tried this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;      retfield        = 'customer_no'          this is the table field&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 = 'F2'    this is the field in the screen that the value ( customer_no) should appear in it&lt;/P&gt;&lt;P&gt;      value_org       = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      value_tab       = G_TAB_CON_ITAB  this is my internat table&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      parameter_error = 1&lt;/P&gt;&lt;P&gt;      no_values_found = 2&lt;/P&gt;&lt;P&gt;      OTHERS          = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;return_tab&amp;gt;&amp;gt;&amp;gt; bring me a runtime error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;note: when i didn't use the return_tab and execute my program and select from the list, the I/O field (F2) shows a random value from the same record i select but not the ( customer_no) which i want it to be displayed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 06:58:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/listbox-problem/m-p/6733446#M1457442</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-23T06:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: listbox problem!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/listbox-problem/m-p/6733447#M1457443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gentelmen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;still waiting for your help please&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 07:25:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/listbox-problem/m-p/6733447#M1457443</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-23T07:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: listbox problem!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/listbox-problem/m-p/6733448#M1457444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wrote the following code which worked fine. The screen field is p_pernr and customer no is replace with personal number here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: P_PERNR TYPE PERSNO.&lt;/P&gt;&lt;P&gt;Data: Itab type standard table of p0001,&lt;/P&gt;&lt;P&gt;      RETURN_TAB TYPE STANDARD TABLE OF DDSHRETVAL WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At selection-screen on value-request FOR P_PERNR.&lt;/P&gt;&lt;P&gt;Select * from pa0001 into corresponding fields of table itab up to 50 rows.&lt;/P&gt;&lt;P&gt;&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               = 'PERNR'&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;/UL&gt;&lt;P&gt;   VALUE_ORG              = 'S'&lt;/P&gt;&lt;UL&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&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;/UL&gt;&lt;P&gt;   RETURN_TAB             = RETURN_TAB&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DYNPFLD_MAPPING        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   PARAMETER_ERROR        = 1&lt;/P&gt;&lt;P&gt;   NO_VALUES_FOUND        = 2&lt;/P&gt;&lt;P&gt;   OTHERS                 = 3&lt;/P&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE RETURN_TAB INDEX 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P_PERNR = RETURN_TAB-FIELDVAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 07:25:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/listbox-problem/m-p/6733448#M1457444</guid>
      <dc:creator>jayesh_gupta</dc:creator>
      <dc:date>2010-03-23T07:25:52Z</dc:date>
    </item>
  </channel>
</rss>

