Skip to Content
author's profile photo Former Member
Former Member

Converting RAW1024 data type into String

Hi Guyz,

Please share your ideas on below scenario .

Using FM "SCMS_AO_TABLE_GET" I get the Data on "Tables tab" -> RAW1024 format (It contains documents .xls,pdf,.txt,msg)

Now i need to upload that table data in Application server & later i need to retrieve it.

How to convert raw1024 data type??

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Aug 02, 2016 at 07:31 PM

    It's a table of lines of 1024 bytes each. You may convert it into an XSTRING variable, by using function module SCMS_BINARY_TO_XSTRING. You also need to pass the size (number of bytes) so that the result does not contain useless extra bytes.

    You write this XSTRING to the application server by a single TRANSFER xstring TO dataset (with of course the OPEN and CLOSE DATASET around).

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.