on 07-30-2009 7:47 AM
Hello all,
How a variable will be populated in a standard text? Please help.
Thanks in advance.
Hi Akira,
you can give a variable directly in standard text &variable& like we normally give in sap scripts or smartforms.
declare that variable in your program globally the value will come in the variable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In std text you need to mention the variable as &v_variable&, this variable should declared globally in driver program, once the program runs the variable in std text would be displayed what ever the values available in run time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Create a standard text in transaction S010, if you want to display any text dynamically, define that variable with in the standard text between ampersands '&' . In the smartform define the same variable and pass value to it before calling the standard text.
For example if you want to display the invoice number dynamically then in the standard text write like as mentioned below.
&V_VBELN&.
Hope this will help, in case of any issue please revert back.
Thanks & Regards,
Tulasi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.