06-06-2006 1:47 AM
Dear Experts,
I want to know how SY-CALLD works in both 46C and Enterprise.
It seems in some cases SY-CALLD works differently in new versions. COuld you please
give us an example and explain.
Thanks in advance.
ambichan
06-06-2006 1:51 AM
SY-CALLD is set to "X" when a program is called via CALL TRANSACTION or CALL DIALOG, or even SUBMIT. Here is the help from NW04s.
<i>In the first program of a call chain, a blank, otherwise 'X'. Set to 'X' after call via CALL TRANSACTION, CALL DIALOG or SUBMIT ... AND RETURN. Empty if the program was started via LEAVE TO TRANSACTION or through a transaction code from the screen layout. A caller via SUBMIT (without AND RETURN) takes over the value of the calling program.</i>
REgards,
Rich Heilman
06-06-2006 1:51 AM
SY-CALLD is set to "X" when a program is called via CALL TRANSACTION or CALL DIALOG, or even SUBMIT. Here is the help from NW04s.
<i>In the first program of a call chain, a blank, otherwise 'X'. Set to 'X' after call via CALL TRANSACTION, CALL DIALOG or SUBMIT ... AND RETURN. Empty if the program was started via LEAVE TO TRANSACTION or through a transaction code from the screen layout. A caller via SUBMIT (without AND RETURN) takes over the value of the calling program.</i>
REgards,
Rich Heilman
06-06-2006 2:00 AM
hey Rich Heilman.
Thanks for your suggestions.
So you mean to say that initial program in call chain which has SY-CALLD will be BLANK rather X? only when u call thru Call transaction /submit the SY-CALLD will change to X.right.
>>A caller via SUBMIT (without AND RETURN) takes over the value of the calling program. << means ?
little more explanation will make me understand please.
Thanks.
Ambichan
06-06-2006 2:20 AM
<i>only when u call thru Call transaction /submit the SY-CALLD will change to X.right.</i>
Yes, that is correct. SY-CALLD is only set to 'X', when the program is called via CALL TRANSACTION, CALL DIALOG, or SUBMIT...AND RETURN.
With SUBMIT (without RETURN) SY-CALLD retains the previous value held by the caller.
Regards,
Rich Heilman
07-29-2016 9:21 AM
Hi Rich,
When we use SUBMIT without Return, sy-calld retains the previous value held by the caller,
Which value does the sy-called take?
Regards,
Adelene