cancel
Showing results for 
Search instead for 
Did you mean: 

Change Document Status Programatically

0 Kudos

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.

Thank you.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hello,

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

example-rfc-dot-net.txt

you also need to list your FM in rfc-tunnel-whitelist.txt, otherwise the call will be "blocked".

With Kind Regards,

Waldemar