‎2007 Jun 28 4:12 PM
Hi All,
Is there any way to change the SY-TCODE Programatically.
Thanks,
Preethi.
‎2007 Jun 28 4:15 PM
Hi
No! I don't think because the system would assign the value of the current transaction after changing it.
What do you need to do?
Max
‎2007 Jun 28 4:15 PM
Hi
No! I don't think because the system would assign the value of the current transaction after changing it.
What do you need to do?
Max
‎2007 Jun 28 4:15 PM
Hi,
We cannot change the SY-TCODE, this stores the current transaction code.
It has no effect even if you assign some thing to it.
But if you want to move to or call another transaction then use CALL TRANSACTION.
Regards,
Sesh
‎2007 Jun 28 4:16 PM
well programatically...don know what you mean, but you can change it in the Debugger at any desired stage.
In the program if you populate the value at some stage ot may get over written by the system.
‎2007 Jun 28 4:16 PM
I'm not sure I'd do this, but you can:
sy-tcode = 'XXX'.
I tested it. It retains the value. But I don't think it's good programming practice.
Rob
Message was edited by:
Rob Burbank