Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Case sensitive comparision in ABAP?????

Hi Guys,

Is there any way to do case sensitive comparision in ABAP. If not then what will be the work around?

eg: Vinod should not be equal to vinod.

Thanks,

Vinod.

Tags:
replied

hi,

just compare them using the equal (=) sign.

take a look at this example.

data:
  test1 type c value 'C',
  test2 type c value 'c'.

if test1 eq test2.
  write 'Equal'.
else.
  write 'Not Equal'.
endif.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question