on 03-20-2008 6:21 AM
Hi all
What is SAPSCRIPT-COUNTER_1 and also tell me when is its value 1 and when is its value greater than 1?
Wit regards
Vijay
hi,
Counter variable SAPSCRIPT-COUNTERx (x = 0..9). These symbols can be used for counting.
With the option '+' or '-' their value can be increased or reduced by 1 before output.
With the control command DEFINE the value of these counting symbols can be filled
with an initial value.
syntax:
Syntax:
&SAPSCRIPT-COUNTER_x(+)& Increases by 1 the contents
of the counter variable x
(x=0.. 9)
&SAPSCRIPT-COUNTER_x(-)& Decreases by 1 the contents
of the counter variable x
(x=0.. 9)
Assume that &SAPSCRIPT-COUNTER_1& initially has the value 2.
&SAPSCRIPT-COUNTER_1& -> 2
&SAPSCRIPT-COUNTER_1(+)& -> 3
&SAPSCRIPT-COUNTER_1(-)& -> 2
&SAPSCRIPT-COUNTER_1(-)& -> 1
&SAPSCRIPT-COUNTER_1(+0)& ->
&SAPSCRIPT-COUNTER_1(+)& -> 3
rewards points if useful.
regards
sandhya
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 | |
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.