Skip to Content
0
Former Member
Feb 16, 2014 at 06:15 PM

I wanna keep value from f4 help how can i do this ?

35 Views

Here is my code:

DATA : BEGIN OF GS_ITAB OCCURS 0,

lgart LIKE PA0014-LGART ,

lgtxt LIKE T512T-LGTXT .

END OF GS_ITAB.

SELECT P1~LGART T1~LGTXT INTO CORRESPONDING FIELDS OF TABLE GS_ITAB

FROM PA0014 AS P1 JOIN T512T AS T1 ON P1~LGART EQ T1~LGART

WHERE T1~MOLGA EQ 47 AND T1~SPRSL EQ 'TR'.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

RETFIELD = 'LGART'

DYNPPROG = sy-repid

DYNPNR = sy-dynnr

VALUE_ORG = 'S'

TABLES

VALUE_TAB = gs_itab.

MESSAGE GS_ITAB-LGART TYPE 'I'.

Problem is

When i pick record

Message show me last records.