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 Transaction code & returning back to calling program

Former Member
0 Likes
4,474

Hi,

I have requirement as below

Write the report to call the transaction code say for example different tcode (1000 in number) need to be executed and after every tcode execution it should return back to calling report. I tried using "CALL TRANSACTION 'ABC' AND SKIP FIRST SCREEN" it does execute the tcode but need the user interaction to return back to report, where here i want do this programatically.

can someone please help me & what is possible ways this can be do able.

Thanks,

John.

3 REPLIES 3
Read only

Former Member
0 Likes
862

Hi,

Use CALL TRANSACTION USING bdc_tab MESSAGES INTO itab.

Do F1 on call transaction and check.

Regards,

Ankur Parab

Read only

Former Member
0 Likes
862

Hi John,

Just go through this link, I hope it will help you.

[Link|;

Regards,

Nidhi Kothiyal

Read only

Former Member
0 Likes
862

There are two method of BDC

1- Call transaction method

2- BDC Session method

In this case you can use call tansaction method.

Syntax- call tansaction abc using gt_bdcdata.

Do the recording with t-code SHDB for that particular transaction and after the necessary modification use it in your program.

Please check f1 help of call transaction for details.