on 03-09-2007 5:12 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you guys for your help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can use the function module "SAVE_TEXT". The function module is well documented and you can use it to change the text in the SAP Script standard text. You will have to do this in a subroutine in the SAP Script before you print the form.
Hope this helps,
Sudhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.