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: 

what is % in a Abap code?

Former Member
0 Kudos

i have a report which uses % everywhere.

No idea what that means?

part of the code is like this..

DATA %data_selected(1).

DATA %glframe(1) VALUE 'X' .

DATA %uflag(1).

DATA %ustflag(1).

SELECTION-SCREEN: BEGIN OF LINE.

PARAMETERS: %alv RADIOBUTTON GROUP func USER-COMMAND outbut

DEFAULT 'X' .

SELECTION-SCREEN: COMMENT 4(26) text-f72 FOR FIELD %alv.

PARAMETERS: %alvl TYPE slis_vari.

SELECTION-SCREEN: PUSHBUTTON 72(4) pb%exco USER-COMMAND expcol.

SELECTION-SCREEN: END OF LINE.

3 REPLIES 3

matt
Active Contributor
0 Kudos

% has no special meaning in ABAP. It's just that the variable is called "%data_selected", for example. This is a convention often used to denote system type variables.

matt

Former Member
0 Kudos

Hi,

This kind of reports are generated by the System itself.

Thats y it contains % everywhere. I think this report is related with Select Query(SQ01).

Regards,

Ramya.

Former Member
0 Kudos

% character can be used in naming convection, so it is used by some programmers to name elements variable etc

not much to get confused