Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

FM for cearchhelp values

Former Member
0 Likes
583

hi all ,

Is there any FM in which i pass search-help name and its input field values and it gives me back the all the values selected for hose inputs as table parameter...

4 REPLIES 4
Read only

Former Member
0 Likes
559

Hi,

Try out this, F4IF_INT_TABLE_VALUE_REQUEST.

Thanks.

Swati

Read only

Former Member
0 Likes
559

Hi,

use this FM..


ISM_GET_F4_SEARCH_HELP

Arunima

Read only

Former Member
0 Likes
559

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
      RETFIELD               = 'KUNNR'
      DYNPPROG               = SY-REPID
      DYNPROFIELD            = 'P_OWNER'
*    VALUE                  = ' '
      VALUE_ORG              = 'S'
*    MULTIPLE_CHOICE        = ' '
*    DISPLAY                = ' '
     CALLBACK_PROGRAM       = SY-REPID
*    CALLBACK_FORM          = ' '
*    MARK_TAB               =
*  IMPORTING
*    USER_RESET             =
    TABLES
      VALUE_TAB              = IT_KNA1[]
*    FIELD_TAB              =
     RETURN_TAB             = IT_RETURN[]
*    DYNPFLD_MAPPING        =
   EXCEPTIONS
     PARAMETER_ERROR        = 1
     NO_VALUES_FOUND        = 2
     OTHERS                 = 3
            .
  IF SY-SUBRC   0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
 
  READ TABLE IT_RETURN INDEX 1.
  WRITE : IT_RETURN-FIELDVAL TO P_OWNER.

Code Formatted by: Alvaro Tejada Galindo on Jan 7, 2009 12:26 PM

Read only

Former Member
0 Likes
559

Thanks all..