on ‎2009 May 28 6:41 AM
Hi all,
I am writing a sapscript form to call a subrountine by passing the hardcode parameter 'ZXX_TSI_SHIPMENTS_FROM' shown as below: -
PERFORM GET_STANDARD_TEXT IN PROGRAM ZPXX_SHIP_INST
USING 'ZXX_TSI_SHIPMENTS_FROM'
CHANGING &ZXX_TSI_SHIPMENTS_FROM&
ENDPERFORM
My problem now is when I debugged in program ZPXX_SHIP_INST, the passing parameter is empty.
Could someone help me?
Thanks in advance.
Request clarification before answering.
you need to declare one variable and assign it the value and then pass this as parameter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Declare a variable in Script window using DEFINE
Ex : DEFINE &VAR1& = ' '
Before passing variables to Subroutine in Script those are declared in Script window code using Define statement.
But in your case you are sending direct variable from print program. so it is not necessary to declare variable in that case. To get the value debug the print program before assign to script otherwise debug the Script by active debugger in Utilities of SE71.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.