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 module to execute a Tcode

Former Member
0 Likes
11,226

Hi,

Can any one tell me how I can call a ZTcode in a function module and execute it.. Any example???

1 ACCEPTED SOLUTION
Read only

GauthamV
Active Contributor
0 Likes
5,194

Use this FM.

ALINK_CALL_TRANSACTION.

6 REPLIES 6
Read only

GauthamV
Active Contributor
0 Likes
5,195

Use this FM.

ALINK_CALL_TRANSACTION.

Read only

Former Member
0 Likes
5,194

Hi ,

Should I call this in SE37? I am unable to display ALINK_CALL_TRANSACTION in SE37...

Read only

Former Member
0 Likes
5,194

Hi

try this

/ISDFPS/EXEC_TRANSACTION

Read only

Former Member
0 Likes
5,194

Hi

You can use below statement to call ZTcode in your Function Module.

CALL TRANSACTION <ZTCODE>.

Thanks

Amol Lohade

Read only

0 Likes
5,194

In se37 excte the FM and specify the cutom tcode which you have developed..

also try this...

/ISDFPS/CALL_TRANSACTION

CALL_TRANSACTION_FROM_TABLE

SCMA_CALL_TRANSACTION

se37 --->calltransaction press f4 .. you will get list of FM

or you can use call transaction statement in a report

Read only

Former Member
0 Likes
5,194

hi tanu,

you can do this by writing CALL TRANSACTION command in the program.

if you want to skip the first screen and u need to call the teansaction in new screen you can do it as

CALL TRANSACTION 'TCODE' AND SKIP FIRST SCREEN. " wirte your transaction name u want to call in TCODE.

thanks & Regards,

tanmaya