Skip to Content
avatar image
Former Member

SAPOfficeIntegration: Get ID from stored document

Hi all,

SAP provides some useful reports in package SOFFICEINTEGRATION.

Unfortunytelly I could not find how documents are stored?

Is there an ID for each document?

Are there any value help to find already created documents?

I would like to write an ABAP to create store and repoen documents. For the reopening I need a value help to retieve a document ID.

I appreciate any help

REgards Mario

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Oct 21, 2017 at 07:52 AM

    When a document is created or opened, it exists in the memory of the frontend. Before it's closed, the user has to save it (custom button in Word, or in the SAP GUI dynpro), which should execute one of the SAVE_* methods of the document proxy to save the document (either to a file locally, or to a URL, or to an internal table).

    It's up to you to save it under the ID or name you want (maybe to be entered via a popup) and where you want (for instance BDS, CMS, database table, ...)

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 23, 2017 at 12:57 PM
    -1

    Hi Sandra,

    thanks for the reply. I debugged a few times. But I do not understand exatly what happens.

    Does anybody has an idea how to create, store, maintain a document (e.g. word, wordpad) in SAP?

    Are there not any standard solutions?

    Regards

    Mario

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 23, 2017 at 01:34 PM
    -1

    Hi Viajy,

    sure? Ever heared of BLOBs and that is is possible to store binary data?`

    How should it be possible to store Word-Documents in business workplace. Bevor giving answers prove your assumptions.

    Thanks

    Add comment
    10|10000 characters needed characters exceeded