cancel
Showing results for 
Search instead for 
Did you mean: 

Is Abap a "case sensitive" language or not?

yalcin_mete
Participant
0 Kudos
419

Hi Masters

I knew the Abap language as a non-case sensitive language. I created my programs with Z with this in mind. Also, 

Spoiler
In programming languages
Some programming languages are case-sensitive for their identifiers (C, C++, Java, C#, Verilog,[2] Ruby,[3] Python and Swift). Others are case-insensitive (i.e., not case-sensitive), such as ABAP, Ada, most BASICs (an exception being BBC BASIC), Common Lisp, Fortran, SQL (for the syntax, and for some vendor implementations, e.g. Microsoft SQL Server, the data itself)[NB 2] Pascal, Rexx and ooRexx. There are also languages, such as Haskell, Prolog, and Go, in which the capitalisation of an identifier encodes information about its semantics.  source : wikipedia.org

 

If I use "@WMARA-MATNR" I get an error.

yalcin_mete_0-1733122663194.png

 

If I use "@wmara-matnr" I don't get any errors.

yalcin_mete_1-1733122693188.png

 

Is Abap a "case sensitive" language or not?

 

Thanks .

 

 

View Entire Topic
BaerbelWinkler
SAP Champion
SAP Champion

It looks as if you have @WMARA~MATNR (with the tilde) in line 641 in the first screenshot instead of the expected @WMARA-MATNR (with a dash). The upper and lower case don't have any effect.

Hope this helps!

Cheers

Bärbel

yalcin_mete
Participant
0 Kudos
thank you 🙂