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

Call Transaction Issue

Former Member
0 Likes
561


Hi All,

I'm calling a Transcation inside a transaction? Is there a way i can know that call is made from first transaction.

For example i have YTran1 and inside Ytran1 i'm calling Ytran2, When i'm in Ytran2 is there a way i can know that the call is made from Ytran1, I'm using call transaction.

Thanks

Ram

2 REPLIES 2
Read only

former_member219762
Contributor
0 Likes
507

Hi,

SY-CALLD contains SPACE if the program is the first and only program in a call chain. SY_CALLD contains 'X' if the program is a called program in a call chain.So from this we can find is it called form other programme or not.

SY-REPID gives current programme name and

SY-CPROG gives calling programme.

From above ststem fields we can find out from  where the second transaction is called.

Other wise we can use abap memory to send data(sy-tcode) bitween two transactions.


Regards,

Sreenivas.

So from above syste  we can

Read only

0 Likes
507

sy-calld worked

Thanks