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

data %subrc type sy-subrc.

Former Member
0 Likes
882

What does the odd "%" character do in this statement?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
743

Hi John,

No real reason. The programmer must be a little fancy...:)

I will wait with you for more answers though..

Regards,

Ravi

What does the odd "%" character do in this statement?

5 REPLIES 5
Read only

Former Member
0 Likes
744

Hi John,

No real reason. The programmer must be a little fancy...:)

I will wait with you for more answers though..

Regards,

Ravi

Read only

Former Member
0 Likes
743

Nothing, it is just the data definition. %subrc is variable like any other variable.

Regards,

RS

Read only

Former Member
0 Likes
743

Hi,

In this declaration it is nothing to do

it is just a part of the declaration of Variable.

but in other cases, like Select statements in the where condition if you give '%' means LIKE .

reward points if useful

regards,

ANJI

Read only

Former Member
0 Likes
743

Thx

Read only

0 Likes
743

Change it to %_subrc & do an extended synatx check (SLIN ).. you will notice that %_ is reserved for internal use.. It is better not to use special characters at the begining of a variable name..

~Suresh