on 08-08-2012 6:23 PM
Hi Experts,
We are facing one issue in attaching the documents and sending back to SAP. Also retieving the document from SAP in webdynpro Java.
For sending the document to SAP, I am unsing fileupload UI element. I am converting the resource type to bytearray and then passing to the XString field in the SAP. But in SAP, ABAP team is unable to read the document. They are able to read only .txt but not other formats.
Similarly when they are passing XString I am taking that in bytearray variable and then converting into resource and tried to open using File Download UI. But I am also getting junk value. I am also seeing the .txt but not other formats sent from SAP.
In both the cases bytearray and Xstring content is like
[B@3e25a5 Is it correct format or not I am confused.
Are we missing anything. Can anyone help me in this regard. Thank you.
Thanks&Regards,
Raghu
Hi Experts, Can you please help me in this regard. Thank you Message was edited by: Raghavendranath Garlapati
You're following the right path to get the binary data into SAP. If you can't read the binary files in SAP, the first thing that comes to mind is something that has to do with unicode or code-pages. I think you may want to have a look into that.
The ABAP debugger has a feature which allows you to see contents of variables using various code-pages. Try to see if you can get somewhere with that...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.