Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Create dynamic standard text in Sapscript

Hi,

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?

Thanks,

A.P.

Former Member
Former Member replied

Hi,

In the print program..Concatenate the values..

CONCATENATE 'ZADD_PLANT_' QALS-WERKS INTO V_STANDARD_TEXT.

CONDENSE V_STANDARD_TEXT.

In the sap script

Do the following..

INCLUDE &V_STANDARD_TEXT& OBJECT TEXT ID ST

Thanks,

Naren

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question