10-02-2012 11:47 AM
Dear gurus,
i have a file in DMS (table DRAW), how can we extract this file in binary format? Is there any FM? We need to extract it in binary format and sent it via interface in binary format.
Regards.
Alberto
10-02-2012 12:12 PM
Hi,
There is a FM For this
SDOK_PHIO_LOAD_CONTENT
Try with this and search for examples.
Thanks
Gourav.
10-02-2012 12:35 PM
Thanks
I already checked some threads with this FM but solutions access to tables dms_doc2loio and dms_ph_cd1, but in my case these tables are empty. I can see entires in DRAW, DRAD etc...
Regards.
10-02-2012 12:42 PM
Hi,
In this case please follow this thread
http://scn.sap.com/thread/169901
Hope it will solve ur problem
Gourav.
10-02-2012 3:33 PM
Thanks. This seems to be valid, Just one more question, what is the format of T_DRAO-ORBLK, we need to convert it to base64, how can this be done?
10-03-2012 5:06 AM
Hi,
To convert to base64 (if needed )
DATA: utility TYPE REF TO cl_http_utility.
CREATE OBJECT utility.
CALL METHOD utility->decode_base64
EXPORTING
encoded = mysapsso2
RECEIVING
decoded = cookie.
Use this
Thanks
Gourav.