on 12-10-2014 6:50 PM
hello all,
I create a WDA application for uploading files, waht Inned now is a FM that convert/give back the content of this File.
it is not an XML file, it is just normal DATA, but I need this Data in an internal Table.
by Debugging, i cann see this DATA when clicking on XML Broser. but i get it alawys as XSTRING forma.
please show me how solve this. how to get this data in internal table as it is writen on the Files.
thank you very much
You have to convert XSTRING to STRING. Just search for it and you will find the corresponding fm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You have to supply an encoding to tell the system what codepage/unicode type the XSTRING is.
data: convin type ref to cl_abap_conv_in_ce,
call method cl_abap_conv_in_ce=>create
exporting
encoding = encoding
input = buffer
receiving
conv = convin.
call method convin->read
importing
data = text_buffer.
Note : Buffer is the XSTRING, text_buffer is the string.
Or
You can use this FM : HR_KR_XSTRING_TO_STRING
Hope this helps you.
Thanks
KH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.