2009 Aug 24 2:47 PM
Hi!
Is there any way to prevent the data to be converted to upper-case without changing it's domain?
I'm trying to insert mix case in a CHAR40 domain, but the text allways returns as upper-case.
Regards,
Andre
> It is possible to do that using code only?
Please give more details: what you want to do programatically. ?
If you check the domain of CHAR40 thru SE11 you can find :lowercase" check box not checked. so it convert to upper case
a®
2009 Aug 24 2:59 PM
Hello Andre,
You have to change the Domain if you want the data to be "saved" in a certain case in the DB. (May be TEXT40 can help in this case)
If you want the Data to be "displayed" in certain case you can use the TRANSLATE statement.
Hope i am clear.
BR,
Suhas
2009 Aug 24 3:01 PM
2009 Aug 24 4:19 PM
2009 Aug 24 4:26 PM
> It is possible to do that using code only?
Please give more details: what you want to do programatically. ?
If you check the domain of CHAR40 thru SE11 you can find :lowercase" check box not checked. so it convert to upper case
a®
2009 Aug 24 4:33 PM
I want to know if it's possible to 'check' that checkbox inside my program... I'm kind of a newbie in ABAP, sorry if my question doesn't make much sense =s
Regards,
Andre
2009 Aug 24 5:14 PM
Andre,
That check box comes from table DD01L for that domain value. If you want change it you need to change this table value.
Please donot change this table thru programatically, because CHAR40 has been used in many data elements, and also SAP is not suggesting
a®
2009 Aug 24 9:23 PM
if possible move ur data to local variable
DATA: lv_id TYPE text40.
lv_id = 'askdhlaUUIIU'.
lv_id+7(20) = lv_id.
WRITE lv_id.
2009 Aug 25 12:06 AM
hello. dont try to change it from program. just use some other data element which has a suitable domain or change that domain.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |