‎2006 Aug 02 8:24 PM
I have script 'Z_script'.
I have to pass this script (Z_script), to my subroutine pool program from SCRIPT editor(se71).
Do in need to define like
<b>DEFINE &SCRIPT& = 'Z_script'</b>
and use
<b>PERFORM script_name IN PROGRAM 'Z_XYZ'
USING &SCRIPT&
USING &LANG&
CHANGING &TEXT1&
CHANGING &TEXT2&</b>
OR is there any std variable available which stores our current script name to use directly with out defining variable.
‎2006 Aug 02 8:35 PM
Hi Sam,
First of all why do you want to send a script name to the program ? Are you calling the external subrouitine from the script ?
For calling subroutine from Script editor please refer to this link :
http://help.sap.com/saphelp_47x200/helpdata/en/d1/803279454211d189710000e8322d00/content.htm
Regards,
Varun .
Message was edited by: varun sonu
‎2006 Aug 02 8:36 PM
I do not understand.
You want to print the name of the SAPscript layout set on the actual output?
If yes, most print programs have TNAPR-FONAM available. The SAPscript layout set name is in this field.
‎2006 Aug 02 8:39 PM
Yes, there is one std variable available which stores your current script name, &TNAPR-FONAM&.
Regards.