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

DEFINE in sap scripts

Former Member
0 Likes
470

in sap scripts using DEFINE i want to take a variable and i need to increase that every time.

/: define &a& = 1

/E abc

/: &a& = &a& + 1

this is the code that i wrote

but it is showing error

2 REPLIES 2
Read only

Former Member
0 Likes
439

Hi Kiran,

You are doing correct.

Only thing missing is : define &a& = '1'.

Give value in quotes.

Reward Points if this helps.

Manish

Message was edited by: Manish Kumar

Read only

anversha_s
Active Contributor
0 Likes
439

hi,

pls give values in quotes.

rgds

anver