08-02-2016 6:26 PM
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??
08-02-2016 8: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).
08-03-2016 12:47 AM
thank you giyz
could you show how to convert raw1024 to to X String kindly guideme
08-03-2016 9:48 AM
First step : 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.
Second step : search the web for SCMS_BINARY_TO_XSTRING.
08-06-2016 9:54 AM
08-06-2016 10:00 AM
Thanks. Could you tell more?
PS: as per the The SCN Rules of Engagement, a "like" is better than a "thanks" (what you also did, so double usage).
08-16-2016 1:43 PM
Hi Rossi,
I used FM SCM_DOWNLOAD in that using "tvarvc" table i specified the app server path and save it.