<?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: FM  'F4IF_INT_TABLE_VALUE_REQUEST'-return fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400964#M1644792</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Abhishekh.&lt;/P&gt;&lt;P&gt;please explain more about NOT WORKING. is it not displaying the values or its not returning the values?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Dec 2011 06:30:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-12-23T06:30:14Z</dc:date>
    <item>
      <title>FM  'F4IF_INT_TABLE_VALUE_REQUEST'-return fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400953#M1644781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data :begin of i_dept occurs 0,
kostl like cskt-kostl,
LTEXT like cskt-LTEXT,
end of i_dept.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
      EXPORTING
*       DDIC_STRUCTURE         = 'ZRETURN_GP '
        RETFIELD               = 'KOSTL'
*       PVALKEY                = ' '
        DYNPPROG               = 'SY-CPROG '
       DYNPNR                 = '0009'
      DYNPROFIELD            = 'ZRETURN_GP-GOING_TO_DEPT'
*       STEPL                  = 0
*       WINDOW_TITLE           =
*       VALUE                  = ' '
       VALUE_ORG              = 'S'
*     MULTIPLE_CHOICE        = 'X'
*       DISPLAY                = ' '
*       CALLBACK_PROGRAM       = ' '
*       CALLBACK_FORM          = ' '
*       MARK_TAB               =
*     IMPORTING
*       USER_RESET             =
      TABLES
        VALUE_TAB              = I_DEPT
*       FIELD_TAB              =
*       RETURN_TAB             =
*       DYNPFLD_MAPPING        =
     EXCEPTIONS
       PARAMETER_ERROR        = 1
       NO_VALUES_FOUND        = 2
       OTHERS                 = 3
              .
    IF SY-SUBRC &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to declare multiple return fields in this parameter of function module.????&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;i have used POV on a textfield. amd i m calling this function module in POV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i want:&lt;/P&gt;&lt;P&gt;when user click on kostl of i_dept( in the help displayed)..then along with field KOSTL....LTEXT field also returns in\&lt;/P&gt;&lt;P&gt;screen field ZRETURN_GP-GOING_TO_DEPT_DESC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Have read in the documentation of this function module that in parameter &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;we can declare multiple return fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thats is what i want to know....how to declare multiple return fields.???&lt;/P&gt;&lt;P&gt;suggest some methods.&lt;/P&gt;&lt;P&gt;new concepts are also welcome.!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2011 12:31:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400953#M1644781</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-22T12:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: FM  'F4IF_INT_TABLE_VALUE_REQUEST'-return fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400954#M1644782</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;Where is data in i_dept do you have written any select statement for fetching data into i_dept ?&lt;/P&gt;&lt;P&gt;if you write select statement your problem is over.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sanjay Gogikar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2011 13:11:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400954#M1644782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-22T13:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: FM  'F4IF_INT_TABLE_VALUE_REQUEST'-return fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400955#M1644783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand correctly you want to populate more than one field from this request?  There are forum posts about this...finding my favorite eluded me today, so I'm including my little demo example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; In the example below, the table field and the screen field have the same name...they could be different, as in P_carrid, etc.  YOu could also have data from different tables...you just need to get all the associated values into a single row in your internal table, which could be built based on DDIC or a type declaration, etc.....Adjust as needed:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;parameters : carrid type spfli-carrid,
             connid type spfli-connid,
             fldate type sflight-fldate.

data : itab type table of sflight with header line.
data : fmap type table of dselc with header line.



at selection-screen on value-request for carrid." If it is a selection Screen
*else in PROCESS ON VALUE REQUEST
  select * from sflight into table itab.
  sort itab by carrid connid fldate.
  delete adjacent duplicates from itab
  comparing carrid connid fldate.
  fmap-fldname = 'CARRID'.  "table field
  fmap-dyfldname = 'CARRID'. "screen field name
  append fmap.
  fmap-fldname = 'CONNID'.
  fmap-dyfldname = 'CONNID'.
  append fmap.
  fmap-fldname = 'FLDATE'.
  fmap-dyfldname = 'FLDATE'.
  append fmap.

  call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    exporting
     ddic_structure         = 'SFLIGHT'
      retfield               = 'CARIID'
*     PVALKEY                = ' '
     dynpprog               = sy-repid
     dynpnr                 = sy-dynnr
     dynprofield            = 'CARRID'
*     STEPL                  = 0
*     WINDOW_TITLE           =
*     VALUE                  = ' '
     value_org              = 'S'
*     MULTIPLE_CHOICE        = ' '
*     DISPLAY                = ' '
*     CALLBACK_PROGRAM       = ' '
*     CALLBACK_FORM          = ' '
*     MARK_TAB               =
*   IMPORTING
*     USER_RESET             =
    tables
      value_tab              = itab
*     FIELD_TAB              =
*     RETURN_TAB             =
     dynpfld_mapping        = fmap
*   EXCEPTIONS
*     PARAMETER_ERROR        = 1
*     NO_VALUES_FOUND        = 2
*     OTHERS                 = 3
            ." Just Execute this pilot program and verify
  if sy-subrc  eq 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: BreakPoint on Dec 22, 2011 2:41 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2011 13:40:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400955#M1644783</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-22T13:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: FM  'F4IF_INT_TABLE_VALUE_REQUEST'-return fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400956#M1644784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have used select statement to fill intenal table i_dept:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
select distinct kostl ltext from cskt into table i_dept.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes BreakPoint (nice name), i want to populate more than one screen field from this request!&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; data : fmap type table of dselc with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is DSELC is some standart table?&lt;/P&gt;&lt;P&gt;how to get information about these type of tables?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2011 16:25:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400956#M1644784</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-22T16:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: FM  'F4IF_INT_TABLE_VALUE_REQUEST'-return fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400957#M1644785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;abhishek,&lt;/P&gt;&lt;P&gt;think of this dselc as a mapping structure. which maps to your screen fields from the search help field. So, you dont have to worry about what is present in designing of dselc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just pass the field name and screenfield name to this structure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2011 16:44:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400957#M1644785</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-22T16:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: FM  'F4IF_INT_TABLE_VALUE_REQUEST'-return fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400958#M1644786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just double click on dselc (it's defined in DDIC)...you'll see:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FLDNAME	DYNFNAM	CHAR	132	0	Field name&lt;/P&gt;&lt;P&gt;FLDINH	SHVALUE_D	CHAR	132	0	Field contents, min./max. value&lt;/P&gt;&lt;P&gt;DYFLDNAME	DYNFNAM	CHAR	132	0	Field name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;glad you like the name...I've also used Short Dump, but that's too alliterative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: BreakPoint on Dec 22, 2011 6:40 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2011 17:40:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400958#M1644786</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-22T17:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: FM  'F4IF_INT_TABLE_VALUE_REQUEST'-return fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400959#M1644787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;P&gt;and still its not working.i dont know how to debug function module.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT DISTINCT KOSTL LTEXT
        FROM CSKT INTO CORRESPONDING FIELDS OF
      TABLE I_DEPT.

    FMAP-FLDNAME = 'KOSTL'.  "table field
    FMAP-DYFLDNAME = 'ZRETURN_GP-DEPT_CD'. "screen field name
    APPEND FMAP.

FMAP-FLDNAME = 'LTEXT'.  "table field
    FMAP-DYFLDNAME = 'ZRETURN_GP-DEPT_CD_DESC'. "screen field name
    APPEND FMAP.



    "FUNCTION MODLUE FOR F4 HELP
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
      EXPORTING
*       DDIC_STRUCTURE         = 'ZRETURN_GP '
        RETFIELD               = 'KOSTL'
*       PVALKEY                = ' '
        DYNPPROG               = 'SY-CPROG '
       DYNPNR                 = '0009'
      DYNPROFIELD            = 'ZRETURN_GP-DEPT_CD'
*       STEPL                  = 0
*       WINDOW_TITLE           =
*       VALUE                  = ' '
       VALUE_ORG              = 'S'
*     MULTIPLE_CHOICE        = 'X'
*       DISPLAY                = ' '
*       CALLBACK_PROGRAM       = ' '
*       CALLBACK_FORM          = ' '
*       MARK_TAB               =
*     IMPORTING
*       USER_RESET             =
      TABLES
        VALUE_TAB              = I_DEPT
*       FIELD_TAB              =
*       RETURN_TAB             =
      DYNPFLD_MAPPING        = FMAP

     EXCEPTIONS
       PARAMETER_ERROR        = 1
       NO_VALUES_FOUND        = 2
       OTHERS                 = 3
              .
    IF SY-SUBRC &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2011 04:43:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400959#M1644787</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-23T04:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: FM  'F4IF_INT_TABLE_VALUE_REQUEST'-return fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400960#M1644788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Types: begin of ty_kna1,&lt;/P&gt;&lt;P&gt;        Kunnr type kna1-kunnr,&lt;/P&gt;&lt;P&gt;        Name1 type kna1-name1,&lt;/P&gt;&lt;P&gt;       End of ty_kna1.&lt;/P&gt;&lt;P&gt;Data : it_kna1 type table of ty_kna1.&lt;/P&gt;&lt;P&gt;Select kunnr name1 from kna1 into table it_kna1 where kunnr = p_kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: IT_RETURN1  TYPE STANDARD TABLE OF ddshretval WITH HEADER LINE.&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               = 'KUNNR'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     PVALKEY                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;       DYNPPROG               = sy-repid&lt;/P&gt;&lt;P&gt;       DYNPNR                 = sy-dynnr&lt;/P&gt;&lt;UL&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;/UL&gt;&lt;P&gt;       value           = '*'&lt;/P&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              = it_kna1&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             = IT_RETURN1&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 = 0.&lt;/P&gt;&lt;P&gt;   READ TABLE it_KNA1 INTO wa_KNA1 WITH KEY KUNNR = IT_RETURN1-fieldval.&lt;/P&gt;&lt;P&gt;     IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;          KUNNR = wa_KNA1-KUNNR.&lt;/P&gt;&lt;P&gt;     ENDIF.&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2011 05:06:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400960#M1644788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-23T05:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: FM  'F4IF_INT_TABLE_VALUE_REQUEST'-return fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400961#M1644789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this entire ZRETURN_GP-DEPT_CD is your screen field name?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2011 05:13:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400961#M1644789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-23T05:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: FM  'F4IF_INT_TABLE_VALUE_REQUEST'-return fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400962#M1644790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this entire ZRETURN_GP-DEPT_CD is your screen field name?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;YES, zreturn_gp is my ztable.&lt;/P&gt;&lt;P&gt;and i have screen fields like this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2011 05:18:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400962#M1644790</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-23T05:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: FM  'F4IF_INT_TABLE_VALUE_REQUEST'-return fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400963#M1644791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this what you wanted&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
report abc.
types: begin of ty,
         matnr type matnr,
        werks type werks_d,
       end of ty.
data: it2 type standard table of dselc,
      wa2 type dselc.
data: it type standard table of ty,
      wa_return type ddshretval,
      i_return type standard table of ddshretval,
      repid type sy-repid,
      dynnr type sy-dynnr.

parameters:
         p_matnr   type mara-matnr,
         p_werks    type marc-werks.

at selection-screen output.
  loop at screen.
    if screen-name = 'P_WERKS'.
      screen-input = '0'.
      screen-DISPLAY_3D = 'X'.
      modify screen.
    endif.
  endloop.

at selection-screen on value-request for p_matnr.

  repid = sy-repid.
  dynnr = sy-dynnr.

  select matnr werks
              from marc up to 20 rows
              into table it.
  check sy-subrc = 0.
  wa2-fldname = 'F0001'.
  wa2-dyfldname = 'P_MATNR'.
  append wa2 to it2.

  wa2-fldname = 'F0002'.
  wa2-dyfldname = 'P_WERKS'.
  append wa2 to it2.

  call function 'F4IF_INT_TABLE_VALUE_REQUEST'
       exporting
            retfield        = 'WERKS'
            dynpprog        = repid
            dynpnr          = dynnr
            dynprofield     = 'P_WERKS'
            value_org       = 'S'
            display         = 'F'
       tables
            value_tab       = it
            dynpfld_mapping = it2
       exceptions
            parameter_error = 1
            no_values_found = 2
            others          = 3.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did not notice one of your open &lt;SPAN __jive_macro_name="thread" id="2104060"&gt;&lt;/SPAN&gt; regarding the same question. Please close it to avoid the confusion. Reported !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Keshav.T on Dec 23, 2011 12:09 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2011 06:29:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400963#M1644791</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-12-23T06:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: FM  'F4IF_INT_TABLE_VALUE_REQUEST'-return fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400964#M1644792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Abhishekh.&lt;/P&gt;&lt;P&gt;please explain more about NOT WORKING. is it not displaying the values or its not returning the values?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2011 06:30:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400964#M1644792</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-23T06:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: FM  'F4IF_INT_TABLE_VALUE_REQUEST'-return fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400965#M1644793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please explain more about NOT WORKING. is it not displaying the values or its not returning the values?&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its displaying values in pop up. but when i select kostl..only this field return to screen field.&lt;/P&gt;&lt;P&gt;my requirement when i click on kostl...along with kostl ltext also return to screen field 'ZRETURN_GP-DEPT_CD_DESC'.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KOSTL should return to 'ZRETURN_GP-DEPT_CD'.&lt;/P&gt;&lt;P&gt;LTEXT should return to 'ZRETURN_GP-DEPT_CD_DESC'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2011 06:43:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400965#M1644793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-23T06:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: FM  'F4IF_INT_TABLE_VALUE_REQUEST'-return fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400966#M1644794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how many fields are you displaying on that search help popup, just two?? if yes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FMAP-FLDNAME = 'F0001'."'KOSTL'.  "table field ==&amp;gt;changed this
    FMAP-DYFLDNAME = 'ZRETURN_GP-DEPT_CD'. "screen field name
    APPEND FMAP.
 
FMAP-FLDNAME = 'F0002'."'LTEXT'.  "table field ==&amp;gt;changed this 
    FMAP-DYFLDNAME = 'ZRETURN_GP-DEPT_CD_DESC'. "screen field name
    APPEND FMAP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2011 07:00:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400966#M1644794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-23T07:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: FM  'F4IF_INT_TABLE_VALUE_REQUEST'-return fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400967#M1644795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yuppiee.....super thanks  all.&lt;/P&gt;&lt;P&gt;but one last doubt.&lt;/P&gt;&lt;P&gt;why we are passing this value in table field name 'F0001'.&lt;/P&gt;&lt;P&gt;instead of field name 'KOSTL'.&lt;/P&gt;&lt;P&gt;also can it is possible with this FM..that when user press f4...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; first a pop up comes asking for no of entries, kostl...to optimise the result.&lt;/P&gt;&lt;P&gt;just like pop up appears when user press f4 on MATNR Field of MARA table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: abhishek1345 on Dec 23, 2011 10:12 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: abhishek1345 on Dec 23, 2011 10:50 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2011 09:10:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400967#M1644795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-23T09:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: FM  'F4IF_INT_TABLE_VALUE_REQUEST'-return fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400968#M1644796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Read the Example 3: documentation of parameter CALLBACK_PROGRAM &amp;amp; CALLBACK_FORM and please close the other thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kesav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2011 10:07:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fm-f4if-int-table-value-request-return-fields/m-p/8400968#M1644796</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2011-12-23T10:07:16Z</dc:date>
    </item>
  </channel>
</rss>

