on ‎2006 Apr 29 10:11 AM
I have the particular requirement that I want to convert a String type to a char type. Are there any standard functions in ABAP for that?
Any help on the topic will be highly appreciated.
Thanks,
Pratibha
Request clarification before answering.
Pratibha,
As String has no fixed length, your best bet is
CHAR_VAR = STRING_VAR+0(n).
n being the length of the CHAR Variable you have declared. There is a potential of data loss here.
regards,
Ravi
NOte :Please mark the helpful answers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 7 | |
| 5 | |
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.