2006 Jul 11 3:50 PM
Hi All,
I have an internal table which consists of name-value pairs. The value column is of type rawstring.I want to pass any value( character, integer, date etc.) to the value field. My questions are :
1 ) Can I do it just passing the value to the rawstring type field? e.g. ls_name_value-value = 'ABC' or ls_name_value-value = 1.
2 ) When I want to convert from the rawstring to a typed variable( character, integer etc. ), can I do it with a simple move ? e.g. lv_integer = ls_name_value-value ?
If so, it seems that I must also know the type of the variable to pass to( e.g. lv_integer must be of type i)
3) Does anyone have an example coding / documentation about the usages of rawstrings( which are xstring in ABAP ).
Thanks,
Sükrü
Hi All,
I have an internal table which consists of name-value pairs. The value column is of type rawstring.I want to pass any value( character, integer, date etc.) to the value field. My questions are :
1 ) Can I do it just passing the value to the rawstring type field? e.g. ls_name_value-value = 'ABC' or ls_name_value-value = 1.
2 ) When I want to convert from the rawstring to a typed variable( character, integer etc. ), can I do it with a simple move ? e.g. lv_integer = ls_name_value-value ?
If so, it seems that I must also know the type of the variable to pass to( e.g. lv_integer must be of type i)
3) Does anyone have an example coding / documentation about the usages of rawstrings( which are xstring in ABAP ).
Thanks,
Sükrü
2006 Jul 11 4:14 PM
HI
GOOD
GO THROUGH THIS LINK FOR THE DOCUMENTATION FOR THE XSTRINGS.
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3041358411d1829f0000e829fbfe/content.htm
THANKS
MRUTYUN
2006 Jul 11 4:19 PM
Hi Mrutyun,
The link you sent is about the declaration of constants in an ABAP program, it does not explain anything about XSTRINGS.
Regards,
Sükrü
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |