cancel
Showing results for 
Search instead for 
Did you mean: 

General question about Document-Management in SAP and the DMS programming Interface

DanielleinaD
Advisor
Advisor
0 Kudos

Hi experts,

I'm really confused. Currently, I'm trying to enhance my skills in the area of document management inside SAP.

I found some function modules at:

https://help.sap.com/saphelp_erp60_sp/helpdata/de/9b/e8c186eaf811d195580000e82deb58/frameset.htm

For example, SDOK_PHIO_CREATE which allows me to create physical documents.

My Question:

Have these function modules anything to do with the document types which I can define in the customizing area like DRW etc.?

Can I use any of these "SDOK_PHIO...." to upload/download "PDF/JPG" files to my SAP system?

best regards

Accepted Solutions (1)

Accepted Solutions (1)

Sandra_Rossi
Active Contributor

The DRAW and DRAO tables, CV* transactions, BAPI_DOCUMENT_* and CVAPI_* function modules are part of the CA-DMS software component aka DMS (mostly ERP + maybe PLM is made of some ERP modules).

Depending on the the document type (flag in table TDWA), the storage of files is done :

- either in the table DRAO,

- or via the DMS layer of the Knowledge Provider aka KPro aka BC-SRV-KPR software component.

The DMS layer of KPro has APIs made of SDOK_* function modules.

(Note that both the CA-DMS and BC-SRV-KPR-DMS software components are called DMS, which doesn't help to understand well the software layers)

So, if a document type is customized to store the files in the KPro, yes you may extract them via the DMS APIs.

But why complexifying your code, just use the BAPI_DOCUMENT_* function modules.

Answers (0)