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

Calling a Transaction from a Program

Former Member
0 Likes
1,535

Hi all.

I need to call transaction VT70 and VL71 from a Program and print the Output ZBOL and ZPCK resp.(ZBOL and ZPCK are ouput types)

So how to call TCODEs from Program and print them

Thanks in Advance,

Balaji

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,134

Hi,

Use call transaction statement to call the required transaction and pass the data to the transaction using SPA/GPA parameters.

parameter id can be taken from the dataelement from the dictionary.

Reward.

6 REPLIES 6
Read only

Former Member
0 Likes
1,134

have u tried with call transaction

Read only

divya_nayudu
Participant
0 Likes
1,134

call transaction <Transaction code> can be used to call transaction in the program.

Read only

Former Member
0 Likes
1,134

Hi,

Use CALL TRANSACTION VT70 in your program.

Regards,

Chandu

Read only

Former Member
0 Likes
1,134

Hello Balaji,

Try this

CALL TRANSACTION tcod. i.e.

CALL TRANSACTION 'VT70'.

CALL TRANSACTION 'VL71'.

with regards,

Jayshree.

Read only

Former Member
0 Likes
1,134

Hi,

U can pass the output types to VT70/VT71 t-code thr BDC..

Regards,

vijay

Read only

Former Member
0 Likes
1,135

Hi,

Use call transaction statement to call the required transaction and pass the data to the transaction using SPA/GPA parameters.

parameter id can be taken from the dataelement from the dictionary.

Reward.