Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

script

Former Member
0 Likes
533

how to increment the variable in form?

2 REPLIES 2
Read only

Former Member
0 Likes
510

Dear Todi,

you were using driver program to call script.

you can pass from there!

In forms

you can do it like below.

/: DEFINE &MVAR& = u20181u2019. u201C It can store value in mvar

Read only

Former Member
0 Likes
510

Use SAPscript Field SAPSCRIPT-COUNTER.

&SAPSCRIPT-COUNTER_x& (x = 0.. 9):

These fields represent ten counter variables that you can use in your text and forms for any counting purposes. You can use the u2018+u2019 and u2018-u2019 formatting options to increment or decrement a counter before its value is printed. You can use the DEFINE control command to assign any specific value to a counter.

Regards,

Joy.