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

lower or upper case

Former Member
0 Likes
781

i want to ask

if zparam = 'X' if it upper 'X' or lower 'x'

what the command???

7 REPLIES 7
Read only

Former Member
0 Likes
759

TRANSLATE zparam TO UPPER CASE.

if zparam = 'X'.

endif.

Read only

Former Member
0 Likes
759

little,

it is capital X always

regards,

Talwinder

Read only

Former Member
0 Likes
759

It is Capital X.

Read only

jayakummar
Active Participant
0 Likes
759

hai,

come clearly........

and give the purpose of this check.

regards,

jai.m

Read only

Former Member
0 Likes
759

Hi,

U mean to say that u have a radio button on the screen. based on that u need to convert the text to upper or lower?

try this,

if r_upper = 'X'.

translate l_str to upper case

else.

translate l_str to lower case

endif.

reward points if useful,

regards,

Niyaz

Read only

Former Member
0 Likes
759

If you want to check a variable is having upper case or lower case...use the following...

if zparam ca sy-abcde.

write:/ 'Upper'.

else .

write:/ 'lower'.

endif.

Read only

0 Likes
759

Hi,

this code display just UPPER :

PARAMETERS : zparam(1) TYPE c.

IF zparam CA sy-abcde.

WRITE:/ 'Upper'.

ELSE .

WRITE:/ 'lower'.

ENDIF.

!!!!

Mustapha