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
------------------------------