Author: Karthik D
Submitted: 14th May 2008
In SAP Dialog Programming we call transactions using the CALL TRANSACTION statement but it opens up the new Tcode in the same session. Is there any option in CALL TRANSACTION Statement to open a transaction in New Session(window) No ! . But there is a way in which we can attain the same result , its by using the CALL TRANSACTION Statement inside a Remote-Enabled Function Module and then using the STARTING NEW TASK addition while calling the Function Module.
How to create a Remote-Enabled Function module
Its just the same procedure as of ordinary Function module, but in the Attributes Tab, under Processing Type you have to select Remote-Enabled Module instead of Normal Function Module.
So How Can i call the Function Module to Open the Transaction in New Session
You have to use the following code segment to call that Function Module , and here Sales Document 9000000012 will open for Display in a New Session(Window).
Hope the above snippet will be useful for all.
Thanks & Regards