Hello,
#
Check this sample.
FORM F4.
refresh it_list.
select * from z06pde12_sys appending corresponding fields of table
it_list
order by systyp.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = 'SYSTYP'
DYNPPROG = 'Z06PDE12_RSUSR003'
DYNPNR = '1000'
DYNPROFIELD = 'PA_SYST'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = it_list
return_tab = it_retn.
.
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.
may be problem with <b>return_tab</b> field.
regards,
pavan jhawar.
Add a comment