Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function Md. to write generated structures to a transport request

Former Member
0 Likes
415

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ü

1 REPLY 1
Read only

Former Member
0 Likes
355

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