We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

[sap-abap] Facing Problem While Converting Binary Format to Text Format

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Question from sarveshkme7 on Sep 29 at 5:46 AM
I am facing a problem while converting the binary format to text format. Actually my requirement is that need to read the content of the word file and send to application server through background job and once it got in application server through AL11 they will download the file in word document. For this I have written some code and I am getting the file content in binary format by using "cl_crm_documents=>get_with_table"....later to convert that binary format to normal text format I have used function module "scms_binary_to_xstring"...so I am getting the content as "504B030414000600080000"

I am getting this content in importing variable 'buffer' and passing to application server by open data set concept, but here while I am downloading file in application server, the word file is downloading but here 2 problems are facing one is only directory name with file name is showing in normal text and the content is displaying in special character and second problem is only 2 characters are printing per line.

Please help me to sort out these problems.
 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
© 2016 Ziff Davis, LLC. and message author.
Ziff Davis, LLC. 28 E 28th Street New York, NY 10016
sarveshkme7  

Programmer/Developer - Software
 
View this online
Ask a new question
 
In the Spotlight
Become a blogger at Toolbox.com and share your expertise with the community. Start today.

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language