Create dynamic standard text in Sapscript
I have a requirement to create a dynamic standard text for a plant address. I need to combine the plant number from the field QALS-WERKS with a standard text ZADD_PLANT_xxxx. So the address from standard text ZADD_PLANT_WERKS will have to print on the form. Can anyone provide me with some example code to do this?
In the print program..Concatenate the values..
CONCATENATE 'ZADD_PLANT_' QALS-WERKS INTO V_STANDARD_TEXT.
In the sap script
Do the following..
INCLUDE &V_STANDARD_TEXT& OBJECT TEXT ID ST