‎2009 Apr 14 2:02 PM
Hi,
I have requirement like,when i am using the parameters if i enter the value in the selection screen like 'Abcd' when i press enter it is changing to 'ABCD' but i need as usual like 'Abcd'.
Is there any functionality exist in SAP?
Moderator message - Please do not ask basic questions. The answer can easily be found using F1
Edited by: Rob Burbank on Apr 14, 2009 2:41 PM
‎2009 Apr 14 2:04 PM
use lower case addition with parameters statement
Parameters: p_name(20) type c lower case.thanks
Sarves
‎2009 Apr 14 2:04 PM
‎2009 Apr 14 2:07 PM
hello,
check field domain...(field->text element->domain->
there is setting for lowercase
regards,darek
‎2009 Apr 14 2:10 PM
Hi SACHIN,
As you want that first character to be Capital and rest to be small.
For this think you should first fetch the contents of parameter say pa_abcd into work field
Use offset of take the first character and then you can use the statement
TRANSLATE to upper case for single character which want to be capital and then you can concatenate it with the other into single work field.
Regards,
Nitin.
‎2009 Apr 14 2:36 PM
Hi Sachin ,
Did u tried the solution that Sarves gave.
It is working perfectly fine.
I have tried giving the same with a series of alphabets 'AbCdE' with parameter defined as blah blah type blah lower case.
And if i removed the lower case it is giving me it as 'ABCDE'.
Try the solution by Sarves.It is working.
Regards,
Anuj
‎2009 Apr 14 2:39 PM
Hi,
The parameter you are using must refer to a case sensitive data element.
Then in the AT SELECTION SCREEN on your_parameter statement move the content of your_parameter to a charlike global data then do the conversion to uppercase of your_parameter to display it as uppercase. In the rest of the program use your_global_data instead of your_parameter.
Issa
‎2009 Apr 14 7:32 PM
Use lower case as an addition to your parameters statement.
Parameters: p_name(20) type c lower case.If you do not use the LOWER CASE addition, all input values are automatically converted into upper case else it would remain unchanged if you used.
Regards,
Lalit Mohan Gupta.