Application Development 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: 

DEFINE in sap scripts

Former Member
0 Kudos

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

Former Member
0 Kudos

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

anversha_s
Active Contributor
0 Kudos

hi,

pls give values in quotes.

rgds

anver