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

Set Parameter ID for recognizing the called transaction

Former Member
0 Likes
683

Hi Guru's,

Please help me out from the following situtation. Will reward the points for the usefull answers.

I am calling a transaction (ZC17) from another transaction (ZF00). Now iam getting a screen which is different as compared with the screen which i got if i called transaction ZC17 directly. This is happening Becoz SY-CALLD is having value X if called from other transaction and SY-CALLD is BLANK if called directly. so what i want to do now is i need to put a condition in ZC17 to make SY-CALLD to BLANK if called from ZF00. for this i need to set a parameter in ZF00 bfore calling the transaction ZC17.

How can i achieve it. Please help me out.

Thanks in advance.

3 REPLIES 3
Read only

jayanthi_jayaraman
Active Contributor
0 Likes
607

Hi,

You can record the BDC using SHDB transaction to call the required transaction directly.

Read only

Former Member
0 Likes
607

hi.,

validate sy-dynnr.

if sy-dynnr eq 'ZC17' then

set the system field sy-dynnr eq SPACE before calling the ZC17 Transaction from ZF00.

hope this helps

Cheers.,

Chandra

Read only

0 Likes
607

Hi Chandra,

I Tried with what u suggested but SY-CALLD still holds value 'X'.

Please suggest