04-07-2010 4:36 AM
Hi All I want to create new field in a z table which should be a three character field
but in capital letters with defined values.
I mean i need input and out in capital latters and want to save data in upper case.
can any one suggest any idea. or which Convers. routinei must use to perform this.
04-07-2010 4:43 AM
Use lowercase checkbox on definition at domain level of your field.
SAP help for that field.
If this indicator is set, upper case and lower case are distinguished
when you enter values with screen masks.
Otherwise all the letters entered will be converted to upper case when
you enter values with a screen mask.
This mechanism is in effect for all the fields referring to this domain.
04-07-2010 6:08 AM
When no case is specified, SAP will convert the text into CAPITALS and store it in upper case.
However, you can convert the text into upper case using the statement TRANSLATE <text> INTO UPPER CASE and store the data.
04-07-2010 6:24 AM
Create new domain with on the definition tab uncheck the lower case checkbox and use it for your fields. You fields will always have data in capital letters.
Please refer to SAP Help Link for [Creating Domains|http://help.sap.com/saphelp_webas620/helpdata/en/cf/21edf2446011d189700000e8322d00/content.htm]