on 10-08-2007 1:29 PM
Hi all,
I'm trying to upload an xml file with GUI_UPLOAD but the result is that the function upload it in a single line.
I've tryied to do the same thing using WS_UPLOAD and it works fine.
Since that WS_UPLOAD is obsolete I want to know how to make GUI_UPLOAD works the same way.
thanks,
Stefano
Hi,
here you have some pointers
<a href="https://forums.sdn.sap.com/click.jspa?searchID=5767191&messageID=2964324">https://forums.sdn.sap.com/click.jspa?searchID=5767191&messageID=2964324</a>
<a href="https://forums.sdn.sap.com/click.jspa?searchID=5767191&messageID=692144">https://forums.sdn.sap.com/click.jspa?searchID=5767191&messageID=692144</a>
grtz,
Koen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi and thanks for the reply.
I understand the need of use GUI_UPLOAD instead of WS_UPLOAD but my problem is that GUI_UPLOAD doesn't recognize the carriage return char in my xml while WS_UPLOAD does.
So the questions are:
- why GUI_UPLOAD doesn't recognize the CR char?
- how can I solve this without using WS_UPLOAD?
Thank you again
Stefano
HI,
These are the import parameters of the function module ws_upload
FILENAME
FILETYPE
HEADLEN
LINE_EXIT
TRUNCLEN
USER_FORM
USER_PROG
DAT_D_FORMAT
These are the import parameters of the function module gui_upload
FILENAME
FILETYPE
WS-upload is obsolete with respect to 4.7 version.
But if you just look at the import paprametres of ws_upload then you cna notice that except filetype headlen dat_d_format other are used for internal purpaose of the SAP.
Try to use GUI_uplaod all the times it is easy to fo,
Specify your tabs in the flat file correctly,
Regards
Sudheer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.