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.
Hi Pratibha Gavurla,
this is a simple move opration:
charvar = stringvar.
If the defined length of charvar TYPE C variable is less than actual length of stringvar TYPE STRING variable, then it gets truncated.
The story about the C program is complete nonsense. Maybe Vijayendra Rao has a different understanding of your requirement.
Best way is give a small example with actual data and expected result.
Regards Clemens
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.