‎2005 Oct 18 9:41 AM
Hi all,
I have an i_tab of type x filled with data.
Now I have to copy this data to a file on a server.
I would like to do this through a dataset transfer (not with gui_download). I think that I have to transfer a xstring, but how do I get the data from the i_tab into a xstring?
Greetz Fred.
‎2005 Oct 18 9:45 AM
Hi,
I think you can achieve it with CONCATENATE..
For example,
DATA: s_xstring TYPE xstring.
LOOP AT i_tab.
CONCATENATE s_xstring i_tab INTO s_xstring
IN BYTE MODE.
ENDLOOP.
WRITE: s_xstring.
Hope this helps..
Sri
Message was edited by: Srikanth Pinnamaneni
‎2005 Oct 18 9:56 AM
Hi Sri,
I already tried that, but it doesn't work, because i_tab must be of type x or xstring.
greetz Fred.
‎2005 Oct 18 10:00 AM
Hi Fred,
I thought your internal table is of type X.
Any way, I think you can also try the following fm,
SCMS_BINARY_TO_XSTRING
Please do a where-used list on this fm in case you need more info..
In fact check this fm also,
<b>SCMS_TEXT_TO_XSTRING</b>
Sri
Message was edited by: Srikanth Pinnamaneni
‎2005 Oct 18 10:16 AM
Hi,
Check this help:
http://help.sap.com/saphelp_nw04/helpdata/en/ba/78d3c747b24546ab1c1499a054d8a5/content.htm
It explains all about uploading(or downloading) and manipulating the content.
Eddy
‎2005 Oct 21 9:01 AM
Hi,
Pls don't forget to reward points and close the question if you find the answers useful.
Eddy