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

help values on f4

Former Member
0 Likes
1,164

Hello, I need to get help values on F4 button with multiple selection. Does anybody know which FM I should use ?

I used 'HELP_VALUES_GET_NO_DD_NAME' but it supports only a single selection, I can check only one record.

Thank You.

Hello, I need to get help values on F4 button with multiple selection. Does anybody know which FM I should use ?

I used 'HELP_VALUES_GET_NO_DD_NAME' but it supports only a single selection, I can check only one record.

Thank You.

9 REPLIES 9
Read only

Former Member
0 Likes
1,121

Hi Paul

What you can do is to click on the green arrow button on the right and select multiple entries in there.

Pushpraj

Read only

Former Member
0 Likes
1,121

Hi Paul,

take those multiple values in the internal table and pass to the funtion module..

and use the FM: 'F4IF_INT_TABLE_VALUE_REQUEST'

for more info refer to this link

hope it works

Regards!

Read only

Former Member
0 Likes
1,121

This message was moderated.

Read only

0 Likes
1,121

Thank You very much.

Read only

Former Member
0 Likes
1,121

use this function module..

F4IF_INT_TABLE_VALUE_REQUEST

Read only

Former Member
Read only

Former Member
0 Likes
1,121

Hi,

You can select multiple values from the internal table and pass to the FM,

Regards,

Jyothi CH.

Read only

Former Member
0 Likes
1,121

Hello,

Please read the HELP_VALUES_GET_NO_DD_NAME fm document ....and try with Fm.

F4IF_INT_TABLE_VALUE_REQUEST

Thank u,

santhosh

Read only

Former Member
0 Likes
1,121

Hi, try the below steps.

Step 1. write one procedure. In procedure, create a internal table with multiple coloumns and put all your data

Step 2: call this procedure at "AT SELECTION-SCREEN VALUE REQUEST" event.

for example:

FORM INVNO_F4_HELP.

Step 1. Create internal table and put all your data in that

  • Used for Invoice No. F4 Help

DATA: BEGIN OF IT_RBKP OCCURS 20,

BELNR LIKE RBKP-BELNR,

GJAHR LIKE RBKP-GJAHR,

BLART LIKE RBKP-BLART, "Document type

BUDAT LIKE RBKP-BUDAT, "Posting Date in the Document

END OF IT_RBKP.

Here, write your coding for appending value in internal table

Step 2. call function module : F4IF_INT_TABLE_VALUE_REQUEST

  • Show F4 help screen

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

  • DDIC_STRUCTURE = ' '

RETFIELD = 'BELNR' "Name of return field in FIELD_TAB

  • PVALKEY = ' '

DYNPPROG = SY-CPROG "Current program

DYNPNR = SY-DYNNR "Screen number

DYNPROFIELD = 'P_BELNR' "Name of screen field for value return

  • STEPL = 0 "Steploop line of screen field

WINDOW_TITLE = P_BELNR "Title for the hit list

  • VALUE = ' '

VALUE_ORG = 'S' "Value return: C: cell by cell, S: structured

  • MULTIPLE_CHOICE = ' '

  • DISPLAY = ' '

  • CALLBACK_PROGRAM = ' '

  • CALLBACK_FORM = ' '

  • MARK_TAB =

  • IMPORTING

  • USER_RESET =

TABLES

VALUE_TAB = IT_RBKP "Table of values: entries cell by cell

  • FIELD_TAB = IT_RBKP

  • RETURN_TAB =

  • 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.

ENDFORM.

*AT SELECTION-SCREEN VALUE REQUEST

*----


  • Used for F4 Help Button at Invoice no. field

AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_BELNR.

PERFORM INVNO_F4_HELP.

Thanks & Regards,

Rajagopal

Chennai - INDIA