on 03-05-2007 11:32 AM
Hi All,
I want to use the &SAPSCRIPT-COUNTER_X& variable .
but when i give it
as
/: DEFINE &SAPSCRIPT-COUNTER_1& = 1
...
...
/: &SAPSCRIPT-COUNTER_1& = &SAPSCRIPT-COUNTER_1(+)&
i am getting the error command expected in the above line while checking.
please tell me whether the syntax is correct ..
or suggest some way to use the counter...
thanks in advance,
Sathanbabu Mathan Kumar
First use control command DEFINE to declare the counter
/: DEFINE &SAPSCRIPT-COUNTER_x&
and then use this command to increase by 1 the value of the variable
/: &SAPSCRIPT-COUNTER_x(+)&
Check this link to know more -
http://help.sap.com/saphelp_47x200/helpdata/en/d2/cb3d07455611d189710000e8322d00/frameset.htm
Regards,
Amit
reward all helpful replies.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
no need to give like
/: &SAPSCRIPT-COUNTER_1& = &SAPSCRIPT-COUNTER_1(+)&
just give..
/: &SAPSCRIPT-COUNTER_1(+)&
this would increment the value.
reward if it helps u...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
If you want to add 1 to the counter:
/: &SAPSCRIPT-COUNTER_1& = &SAPSCRIPT-COUNTER_1& + 1
Regards
Tamá
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.