I am currently using .NET program to search for documents in ECTR, check out , make changes and check in documents using .net ECTR connector. So far, I have not been able to change document status programatically in ECTR.
Is there a way to change file status from IX to IW or from IW to RG using in .NET?
Note: These are AutoCAD dwg files.
there is no dedicated connector method to change just documents status. You can use RfcExecutor to call any RFC-enabled BAPI in SAP Backend which is able to change status, f.e. BAPI_DOCUMENT_CHANGE2
in attachment you can find a small example how to call an rfc FM using .net PlmConnector
you also need to list your FM in rfc-tunnel-whitelist.txt, otherwise the call will be "blocked".
With Kind Regards,