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 required when using Function module F4_INT_TABLE_VALUE_REQUEST

Former Member
0 Likes
407

Hi,

I wrote the logic as follows.

Select-options: s_lgart FOR pa0015-lgart.

SELECT lgart FROM t512z INTO TABLE it_temp WHERE infty = '0015' AND lgart IN rlgart.

IF NOT it_temp[] IS INITIAL.

SORT it_temp BY lgart.

DELETE ADJACENT DUPLICATES FROM it_temp COMPARING lgart.

LOOP AT it_temp.

SELECT SINGLE lgtxt FROM t512t INTO it_temp-description

WHERE lgart = it_temp-lgart AND

sprsl = 'EN'.

IF sy-subrc = 0.

MODIFY it_temp INDEX sy-tabix.

ENDIF.

ENDLOOP.

at present in internal table it_temp having following fields.

5100 Relolump sum

5111 SIP

my requirement is : when i press F4 help on wage type in selection screen i am able to see two fie

2 REPLIES 2
Read only

Former Member
0 Likes
376

example:

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

RETFIELD = 'VBELN'

DYNPPROG = W_PROGNAME

DYNPNR = W_SCR_NUM

DYNPROFIELD = 'KUNNR'

VALUE_ORG = 'S'

TABLES

VALUE_TAB = INT_F4

RETURN_TAB = RETURN_VALUES

EXCEPTIONS

PARAMETER_ERROR = 1

NO_VALUES_FOUND = 2

OTHERS = 3.

Read only

Former Member
0 Likes
376

Issue solved.

Thanks,

Maheedhar