Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SAPOfficeIntegration: Get ID from stored document

Former Member
0 Kudos

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

5 REPLIES 5

Sandra_Rossi
Active Contributor

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, ...)

Former Member
0 Kudos

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

0 Kudos
It's just what I have answered: BDS, CMS, database table, ... For BDS, there is the demo program SAPRDEMO_DOI_BDS.

0 Kudos

If you want to use Word in the SAP GUI and save the documents in SAP with a standard transaction (no custom code), then call the transaction OAOR (it will be in BDS).

Former Member
0 Kudos

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