<?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: Multiple key fields for F4 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-key-fields-for-f4/m-p/5953125#M1336494</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; Thats right it is only going to have the value of the field that has been clicked on if you want to get the exact record you ahve to use 'RECORDPOS' as returned which should be the position of the line in the displayed table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu Verma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jul 2009 14:06:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-27T14:06:17Z</dc:date>
    <item>
      <title>Multiple key fields for F4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-key-fields-for-f4/m-p/5953119#M1336488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have some research in this forum before posting this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table contains multiple key fields, I am using this table in function module F4IF_INT_TABLE_VALUE_REQUEST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my problem is its not returning all the key field back in RETURN table. or RETURN table not returning the index which row selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to get all multiple key fields from this function module or do we any other function moudule that returns the all the key fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or any search help function module that returns the selected row index ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 01:44:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-key-fields-for-f4/m-p/5953119#M1336488</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-07-27T01:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple key fields for F4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-key-fields-for-f4/m-p/5953120#M1336489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Refer below code of FM 'F4IF_INT_TABLE_VALUE_REQUEST',it will useful to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: IL_RETURN   TYPE TABLE OF DDSHRETVAL,						&lt;/P&gt;&lt;P&gt;      WAL_RETURN  TYPE DDSHRETVAL,&lt;/P&gt;&lt;P&gt;      IL_FIELDS   TYPE TABLE OF DFIES ,&lt;/P&gt;&lt;P&gt;      WAL_FIELDS  TYPE DFIES,&lt;/P&gt;&lt;P&gt;      VL_RETFIELD LIKE DFIES-FIELDNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CLEAR IL_FIELDS.&lt;/P&gt;&lt;P&gt;  REFRESH IL_FIELDS.	&lt;/P&gt;&lt;P&gt;  LOOP AT FIELDS.				&lt;/P&gt;&lt;P&gt;      WAL_FIELDS-FIELDNAME = FIELDS-FIELDNAME .				&lt;/P&gt;&lt;P&gt;      WAL_FIELDS-TABNAME   = FIELDS-TABNAME.&lt;/P&gt;&lt;P&gt;      WAL_FIELDS-KEYFLAG   = FIELDS-SELECTFLAG.&lt;/P&gt;&lt;P&gt;      APPEND WAL_FIELDS TO IL_FIELDS.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   VL_RETFIELD = 'TABNAME'.&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               = VL_RETFIELD&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    VALUE_ORG              = ''&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      VALUE_TAB              = VALUES&lt;/P&gt;&lt;P&gt;      FIELD_TAB              = IL_FIELDS&lt;/P&gt;&lt;P&gt;      RETURN_TAB             = IL_RETURN&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;&lt;/P&gt;&lt;P&gt;  READ TABLE IL_RETURN INTO WAL_RETURN WITH KEY FIELDNAME = VL_RETFIELD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;      VIEWNAME = WAL_RETURN-FIELDVAL.				&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Syf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 13:22:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-key-fields-for-f4/m-p/5953120#M1336489</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-27T13:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple key fields for F4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-key-fields-for-f4/m-p/5953121#M1336490</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;Try like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. first declare a internal table with your required fields for f4 help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. select data from table into internal table based on some condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. use Fm as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALL 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 = ''  "Give standard field here for ref.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; RETFIELD = VL_RETFIELD&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;VALUE_ORG = ''&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;VALUE_TAB = VALUES&lt;/P&gt;&lt;P&gt;FIELD_TAB = IL_FIELDS&lt;/P&gt;&lt;P&gt;RETURN_TAB = IL_RETURN&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;Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 13:33:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-key-fields-for-f4/m-p/5953121#M1336490</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-27T13:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple key fields for F4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-key-fields-for-f4/m-p/5953122#M1336491</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;I think it returns the number of the selected records, not the number of the record selected, so if you can choise only one record it will always be 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 13:46:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-key-fields-for-f4/m-p/5953122#M1336491</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-27T13:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple key fields for F4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-key-fields-for-f4/m-p/5953123#M1336492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The return table conains the following fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SHLPNAME
FIELDNAME
RECORDPOS
FIELDVAL
RETFIELD
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it is NOT return complete key from the table , say for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sending MATNR, MATNR1 and MATNR2 (These are key of the table) After selecting the function returns with &lt;/P&gt;&lt;P&gt;MATNR value and not MATNR1 and MATNR2 values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case how can i validate with table ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 13:54:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-key-fields-for-f4/m-p/5953123#M1336492</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-07-27T13:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple key fields for F4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-key-fields-for-f4/m-p/5953124#M1336493</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;Yes it returns only one field value, try to use REUSE_ALV_POPUP_TO_SELECT, it returns the index of selected record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 13:57:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-key-fields-for-f4/m-p/5953124#M1336493</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-27T13:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple key fields for F4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-key-fields-for-f4/m-p/5953125#M1336494</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; Thats right it is only going to have the value of the field that has been clicked on if you want to get the exact record you ahve to use 'RECORDPOS' as returned which should be the position of the line in the displayed table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu Verma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 14:06:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-key-fields-for-f4/m-p/5953125#M1336494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-27T14:06:17Z</dc:date>
    </item>
  </channel>
</rss>

