Skip to Content

Upload / Open a Word Document from BDS with WebDynpro


we use the BDS (Business Document Server) to storage our word files. Now we use WebDynpro with the UI OfficeControl.

Could any one tell me, how to open/upload my documents from BDS with the OfficeControl.

The UI FileUpload does not work, because it is not allowed to use specify URLs. link:[]

For example that is the URL from the BDS: "SAPR3://SAPR3CMS/get/100/BDS_5FDB2_5FR/7B3AAF5B22AAD21197ED0060B0672A3C/Forminterface.doc"

I use the class "CL_BDS_DOCUMENT_SET" with the method "get_with_url". result is above.

Each example with the OfficeControl from SAP (Package SIOS) use the Mime Repository:

mime_repository = cl_mime_repository_api=>get_api( ).

CALL METHOD mime_repository->get


i_url = url


e_content = content.

wd_context->set_attribute( name = 'DATAS' value = content ).

Have any one an idea, how BDS and WebDynpro works together

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 24, 2008 at 07:28 AM

    The word document does not need to be stored in the mime-repository. What about getting the binary of the word document from BDS and download this?

    Regards, Silke

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Nils Groencke

      Can you please let me know, if you were able to get the above issue resolved. Its would be a great help to know , more on what was the planned action.

      Thanks in advance.