cancel
Showing results for 
Search instead for 
Did you mean: 

Looking for function module to clear document structure

Former Member
0 Kudos

Hello,

we want to use Easy DMS for quick check-in of documents. Therefore we need a folder (document structure) to move all new documents in this fixed defined folder. Now we want to clear every night this folder. Does anybody know, which function module could I use?

Thanks a lot for any support.

Best regards.

Markus

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Markus,

I would try it with BAPI_DOCUMENT_CHANGE2

regards

Iring

Former Member
0 Kudos

Hello Iring,

thanks a lot for your answer. BAPI_DOCUMENT_CHANGE2 is a solution, but in this case I have to read everytime all documents. In my case I know already the folder number (document structure) and therefore I'm looking for a function module to give just the folder number to clear, which would be the best way from performance side.

Anyway thanks a lot for your answer.

Regards.

Markus

Former Member
0 Kudos

Hi Markus,

if you pass in DocumentStructure of BAPI_DOCUMENT_CHANGE2 only one record with the document-number '*' and the deletevalue set, this will delete the complete bill of document for the given DIR

regards Iring

Former Member
0 Kudos

Hi Iring,

thanks a lot it works.

Regards.

Markus

Answers (0)