Pablo Otero
Pablo Otero

Reputation: 73

Whats the meaning of the % symbol in a data declaration?

I found this data declaration in ABAP code. Does anyone know what this % means?

Data: %rlmob type str_mob 

Upvotes: 7

Views: 930

Answers (1)

Sandra Rossi
Sandra Rossi

Reputation: 13628

Nothing more than any other character, outside of ABAP Objects ("The name must start with a letter or an underscore (_). Only outside of ABAP objects can the name also start with a different character."). It's recommended to use ABAP objects, so % is deprecated. Historically it's also often used by SAP for naming "system" (i.e. very low-level SAP programs) variables, types, and any other kind of symbols.

Upvotes: 13

Related Questions