Skip to Content
avatar image
Former Member

Downloading Sap Office Document in Webdypro

Hello All,

I have to provide a link to a document that is present in SAP Office Folder.

I am able to read the document using SO_OBJECT_GET_CONTENT. But the contents are in the form of a table of character type.

The File download UI Component of Webdynpro requires the content to be in Raw string format.

Is there anyway I can convert or any function method that gives me the data in Raw format.

Thanks,

Anand

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 05, 2007 at 04:38 PM

    Hello Anand,

    First convert the table of characters in string. Then use class CL_ABAP_CONV_OUT_CE to get an xstring of it.

    Best regards,

    Thomas

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks Thomas,

      I was able to find a function some time back.

      SO_SOLITAB_TO_SOLIXTAB.

      This can also be used for converting the content to hex.