Skip to Content

Folder inside a folder in DMS

Hello all..

can anyone help me in overcoming the issue that i am facing while creating a folder inside a folder in DMS.

I used BAPI_DOCUMENT_CHANGE2 to create a folder in which i passed the other documents in the Document structure table to this bapi. Even though, the folders are not getting created in side the header folder as shown below..

dms-folders.jpg

in this example i want to create folders for ZSN inside Z02.

Can anyone help me please !

Much appreciated.

dms-folders.jpg (18.9 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Dec 29, 2017 at 11:33 AM

    Hi,

    maybe the function module EASYDMS70_DOC_BOM_CREATE or EASYDMS_FOLDERCREATESIMPLE

    could be useful for you.

    Best regards,

    Christoph

    Add comment
    10|10000 characters needed characters exceeded

    • Also i would like to add that, Document type Z02 is a hierarchy which has ZSN assigned to that. so when i use Bapi

      BAPI_DOCUMENT_CHANGE2 and attached those ZSN documents to the document structure, then it creates the structure as shown in the snippet attached.

  • Jan 02 at 09:39 AM

    Hi,

    do you use BAPI_TRANSACTION_COMMIT as well when creating new documents (BAPI_DOCUMENT_CREATEFROMSRC2) and after saving documents to the header (BAPI_DOCUMENT_CHANGE2)?


    Best regards,

    Christoph

    Add comment
    10|10000 characters needed characters exceeded