Thank you all. We worked with Precisely Support and basis and found to use Direct option BAPI_DOCUMENT_CREATE2, which creates a new version of an existing document, with no attachments. Then we created a Transaction script to add a new original to the new version.
Regards,
Gabriela
------------------------------
beatsong Gabriela
Systems advisor
QUEENSLAND ALUMINA LIMITED
GLADSTONE QLD
------------------------------
Original Message:
Sent: 01-11-2026 02:48
From: Matthias Lautenschläger
Subject: Deleting DMS original in CV02N
Hello Gabriela, i use the CV01N as a regular Winshuttle Script to create the new DIS in SAP.
Greetings Matthias
------------------------------
Matthias Lautenschläger
PLM Assistant
GSI Helmholtzzentrum für Schwerionenforschung GmbH
Darmstadt
Original Message:
Sent: 01-06-2026 20:23
From: beatsong Gabriela
Subject: Deleting DMS original in CV02N
Hi Mathias,
We arrived to the same conclusion: a BAPI is needed. Did you have to use Direct to create it?
Thank you
Gabriela
------------------------------
beatsong Gabriela
Systems advisor
QUEENSLAND ALUMINA LIMITED
GLADSTONE QLD
Original Message:
Sent: 12-08-2025 01:46
From: Matthias Lautenschläger
Subject: Deleting DMS original in CV02N
Hello Gabriela, we also had this experience, but we solved the problem as follows. We wrote a script that sets the document to invalid and creates a new version of the DIS in SAP. However, when creating a new version, at least in our case, the content of the DIS set to invalid is transferred, which we did not want.
However, the DIS can be completely deleted using the BAPI - DOCUMENT_DELETE which means that the DIS has to be recreated, but it is then empty. .
Regards, Matthias
Translated with DeepL.com (free version)
------------------------------
Matthias Lautenschläger
PLM Assistant
GSI Helmholtzzentrum für Schwerionenforschung GmbH
Darmstadt
Original Message:
Sent: 12-02-2025 17:09
From: beatsong Gabriela
Subject: Deleting DMS original in CV02N
Hi,
We need to create a script to replace the version of an original document in cv02n. However the script does not take control of the original document attached so deletion does not work when running the script.
We were advised to select the original using TAB instead of mouse click, but it didn't work either.
Does anybody know how to do this?
Thank you
Gabriela
------------------------------
beatsong Gabriela
Systems advisor
QUEENSLAND ALUMINA LIMITED
GLADSTONE QLD
------------------------------