Skip to Content
avatar image
Former Member

field to be converted to upper case in input and output

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Apr 07, 2010 at 03: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.
    

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 07, 2010 at 05: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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 07, 2010 at 05: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]

    Add comment
    10|10000 characters needed characters exceeded