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

calltransaction without using session method

Former Member
0 Likes
483

i saw one coding like this

perform tcode1

perform tcode2

form tcode1

loop at itab1.

calltransaction Tcode1 using BDCDATA.

endloop.

form tcode2

loop at itab1.

calltransaction Tcode2 using BDCDATA.

endloop.

is it possible to code in this way without using session method

4 REPLIES 4
Read only

Former Member
0 Likes
460

it is not possible with the call transaction

because multiple transations only possible with session method not with call transaction

(code worng)

regards

vijay pawar

Read only

Simha_
Product and Topic Expert
Product and Topic Expert
0 Likes
460

Hi,

BDC can be run in two ways...

Synchronous and Asynhronous..

Synchronous --(Call transaction)

Asynchronous--(Using sessin method)

So, if u want the updates of the table to be immediate..

U go for call transaction..

For ur question,

yes it can be done...

Go through the following site for more inforamtion..

<a href="http://www.sap-img.com/bdc.htm">http://www.sap-img.com/bdc.htm</a>

Cheers,

Simha.

Reward all the helpful answers...

Read only

Former Member
0 Likes
460

Hi Praveen,

It is possible.Call transaction and Session methods are two different BDC methods.

In call transaction also you can call different transactions.It will be called one after the other

Read only

Former Member
0 Likes
460

Hi Praveen,

This is possible. But you have to take care that you pass the right BDCDATA internal table to the call transaction syntax. For which you can either declare separate BDCDATA internal tables or you can build BDCDATA internal tables and pass it through the parameter interface of the routine.

You can update more than one transaction using CALL TRANSACTION

Regards,

George

    • plz reward points to helpful answers