Application Development 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: 

F4 help which fetch more than 1 field for input

Former Member
0 Kudos

Hello,

My Requirement is as follows,

Material No_____________F4help .

Line No

Date

When i click on Help for material it gives me

Material, Material Desc, Line, Date.

If i select any one record from selection.

then i want all 4 values from selected row...(not only material)

i want Material line no. & date should directly field from material f4 help selected line.

Please tell me is there any way to do this..

Thanks

4 REPLIES 4

Former Member
0 Kudos

Hi,

You have to set the flag "EXP" (Flag for EXPORT Parameters for Search Help) for this fields in SE11/ Search Help.

Best regards,

Leandro Mengue

former_member1245113
Active Contributor
0 Kudos

Hi,

Check the below thread

Cheerz

Ram

Former Member
0 Kudos

DATA: I_RETURN TYPE TABLE OF DDSHRETVAL WITH HEADER LINE,													
      IT_FIELDS LIKE DFIES OCCURS 0 WITH HEADER LINE,													
      LV_RETFIELD TYPE DFIES-FIELDNAME.							
																		
  REFRESH IT_FIELDS.																		
  LOOP AT F4VALUE.																		
    IT_FIELDS-TABNAME = F4VALUE-TABNAME.																		
    IT_FIELDS-FIELDNAME = F4VALUE-FIELDNAME.																		
    APPEND IT_FIELDS. CLEAR IT_FIELDS.																		
    IF F4VALUE-SELECTFLAG = 'X'.																		
      LV_RETFIELD = F4VALUE-FIELDNAME.																		
    ENDIF.																		
  ENDLOOP.																				
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'																		
  EXPORTING																		
*   DDIC_STRUCTURE         = ' '																
    RETFIELD               = LV_RETFIELD																
*   PVALKEY                = ' '																	
*   DYNPPROG               = ' '																
*   DYNPNR                 = ' '																	
*   DYNPROFIELD            = ' '																
*   STEPL                  = 0																
*   WINDOW_TITLE           =																
*   VALUE                  = ' '																	
    VALUE_ORG              = 'C'																
*   MULTIPLE_CHOICE        = ' '																
*   DISPLAY                = ' '																
*   CALLBACK_PROGRAM       = ' '																
*   CALLBACK_FORM          = ' '																
*   MARK_TAB               =																
* IMPORTING																
*   USER_RESET             =																
  TABLES																		
    VALUE_TAB              = VALUES																
    FIELD_TAB              = IT_FIELDS																
    RETURN_TAB             = I_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.																		
IF I_RETURN IS NOT INITIAL.																		
   ATNAM = I_RETURN-FIELDVAL.																		
ENDIF.	

0 Kudos

actually i m looking for same functionality as Tcode CV01N.

I m not using Search Help from se11..

i m using F4 help using function module 'F4IF_INT_TABLE_VALUE_REQUEST'

Tell me is their any way to do like CV01N.

Thanks.

Swapnil