Google Search - Blog...........

ABAP - Downloading Code From The Type Groups Using FM TYPD_GET_OBJECT.

REPORT ztest_001.


parameters: p_tgrup LIKE RSEDD0-TYPEGROUP.


data : it_code type table of ABAPTXT255 with header line,
it_tab1 type table of SMODISRC with header line,
it_tab2 type table of SMODILOG with header line,
it_tab3 type table of TRDIR with header line.


CALL FUNCTION 'TYPD_GET_OBJECT'
EXPORTING
typdname = p_tgrup
R3STATE = 'A'
tables
psmodisrc = it_tab1
psmodilog = it_Tab2
psource = it_code
ptrdir = it_Tab3
EXCEPTIONS
VERSION_NOT_FOUND = 1
REPS_NOT_EXIST = 2
OTHERS = 3
.

loop at it_code.
write:/ it_code.
endloop.

No comments:

Post a Comment