on 07-24-2008 10:12 AM
how to declare a variable in form?
Hi,
In scripts
there is one control command
/: define see the below link
http://help.sap.com/saphelp_nw04/helpdata/en/d2/cb3d07455611d189710000e8322d00/frameset.htm
In smart forms
click the Global data tab
Regards
Jagadeesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
do you want to create variable in script or smartform?
In scripts to define a variable use the following declaration statement.
DEFINE &<VARIABLE_NAME>&
place this statement as command. we can assign initial value for this by adding VALUE ' ' to above statement.
If your requirement is for smartforms go to global declaration, create a variable there that will be applicable only for smartform.
Hope this will help you,
Regards,
Aswini.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Declare in global definitions
ex:
v_var type <any field name>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
global definitions--> global data
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.