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

Session method & Call transaction implemented in one program

Former Member
0 Likes
798

Can you give me an EXAMPLE where we may use both SESSION & CALL TRANSACTION in a single program..if there is a situation How can we use the both methods?

Thanks & Regards,

Raja

4 REPLIES 4
Read only

Former Member
0 Likes
572

Hi Raja,

Che the link below

http://www.sap-img.com/abap/bdc-program-for-purchase-info-records.htm

It contains both the methods used

Read only

Former Member
0 Likes
572

The SHDB recording method offers both the chances. You can pick the required one dynamically.

Cheers.

Read only

vimal_kumar4
Explorer
0 Likes
572

Hi Raja,

We can write a program with CALL transaction method using the necessary recording etc. After the call transaction is executed if it fails due to some resaon, in the same program we can write a session method logic after checking the message table from call trans to find any errors are there in the call trans method or not, so that the program creates a session. At a later point of time this session can be processed to overcome the error.

Regards

Vimal

Read only

0 Likes
572

Hi,

Can you please share the program if it is possible to have both method's in same program.

Thanksℜgards

Prashanth