‎2006 Dec 19 2:30 PM
Hi all,
I want to use the function modules 'DDIF_TABL_PUT' und 'DDIF_TTYP_PUT' to create structures and table types in the DDIC. I also want to save the generated objects in a transport requests. Does anyone have any idea how I can achieve that? Do you have any example coding for usage of these function modules?
Regards,
Sükrü
‎2006 Dec 19 2:38 PM
call function 'DDIF_TABL_ACTIVATE'
exporting
name = l_tabname
AUTH_CHK = 'X'
prid = prid
importing
rc = l_rc
exceptions
not_found = 1
put_failure = 2
others = 3.
p_rc = sy-subrc.
if p_rc ne 0 or
( p_rc eq 0 and l_rc ge 4 ).
perform stdo_display using prid
1.
if error during activation, set returncode
std SAP program RSEREPA5
hint use where used list for the fm u will find all the programs where these fms were used..
santhosh