Hola Kumar,
Considera el siguiente ejemplo,
REFRESH : t_material,return4.
CLEAR : t_material.
-
SELECT matnr FROM mara
-
INTO t_material-matnr
-
WHERE mtart = 'DIEN'.
SELECT a
matnr b
maktx INTO CORRESPONDING FIELDS OF TABLE
t_material FROM mara AS a INNER JOIN
makt AS b ON a
matnr = b
matnr
WHERE a~mtart = 'DIEN'.
-
APPEND t_material.
-
ENDSELECT.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'X_ASSIGNMENT-MATERIAL'
value_org = 'S'
TABLES
value_tab = t_material
return_tab = return4.
IF sy-subrc = 0.
READ TABLE t_material WITH KEY maktx = return4-fieldval.
IF sy-subrc = 0.
x_assignment-material = t_material-matnr.
ENDIF.
ENDIF.
Observa el ejemplo anterior, traerá el material y su descripción.