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: 

SELECTION-OPTION

Former Member
0 Kudos

Hi Guy,

I just wondering, of selection-option because when i created a program with selection-option I_PE for LFB1-KVERM. then when I type the in the screen layout (employee) the employee did not automatic CAPITAL[EMPLOYEE], unlike to others program with the same SELECTION-OPTION when I test it the its automatic Capital.

Pls. advice

Johnson So

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi John,

Try AT Selection-screen EVENT. It will not display the value in Capitals in selection screen, but at run time change into capitals.

at selection-screen.

translate i_pe to upper case.

Regds,

Anil

6 REPLIES 6

venkat_o
Active Contributor
0 Kudos

Try this way.

 TABLES :lfb1.
 SELECT-OPTIONS :i_pe FOR lfb1-kverm LOWER CASE.

<li>It keeps as it is when you input something.

Thanks

Venkat.

Former Member
0 Kudos

Hi Venkat

I try that one already, I want when user input small letter like employee it will automatic capital EMPLOYEE meaning it will appear like this EMPLOYEE. I need to know what cause of this. upon checking other program the employee or the variant is not initial. The result is the same as I wanted, but I'm not so sure about my finding. I hope someday experience this kind of question.

Best regards,

Johnson

Edited by: sojohns on Jul 31, 2009 8:49 AM

Former Member
0 Kudos

Hi,

http://www.geocities.com/academic37/abap/select_o.htm

just go through the link...

this will help u

thanks

Ashu

Former Member
0 Kudos

Hi John,

Try AT Selection-screen EVENT. It will not display the value in Capitals in selection screen, but at run time change into capitals.

at selection-screen.

translate i_pe to upper case.

Regds,

Anil

0 Kudos

Hi, Now I understood your question. <li>Have a look at the example

REPORT ztest_notepad.
 TABLES :lfb1.
 SELECT-OPTIONS:yyy FOR lfb1-kverm,
                xxx FOR lfb1-fdgrv.
<li>If you input something in the fields and press ENTER , second field values become CAPITAL. <li> Reason is if you go to Domain assigned to lfb1-kverm, under tab Definition, you will see LOWE CASE Check box. It was selected. That is why for the mentioned field, the value entered is not becoming CAPITAL. Thanks Venkat

0 Kudos

Hi Venkat,

I agree with your answer, and I also checked some the program with SELECTION-OPTION.

Thank you so much!

Johnson