Application Development 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: 

Calling a Transaction from a Program

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

have u tried with call transaction

divya_nayudu
Participant
0 Kudos

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

Former Member
0 Kudos

Hi,

Use CALL TRANSACTION VT70 in your program.

Regards,

Chandu

Former Member
0 Kudos

Hello Balaji,

Try this

CALL TRANSACTION tcod. i.e.

CALL TRANSACTION 'VT70'.

CALL TRANSACTION 'VL71'.

with regards,

Jayshree.

Former Member
0 Kudos

Hi,

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

Regards,

vijay

Former Member
0 Kudos

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.