Skip to Content
0
Jun 09, 2011 at 06:16 PM

SAPScript ampersand (&) substitution in PERFORM

281 Views

Hi all,

My SAPScript has a PERFORM

PERFORM ROUTINE1 IN PROGRAM ZPROG
USING &VAR1&
CHANGING &VAR2&
ENDPERFORM

In the ABAP debugger I see the value of VAR2 as A&B&C, but when I go back to the form, the SAPScript debugger is showing the value as AC. My guess is that &B& is considered to be a symbol with a null value. How can I format VAR2 so it would come back as A&B&C?

Thanks and Regards.