Skip to Content

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Dec 09, 2018 at 06:25 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded