‎2007 Sep 24 9:57 PM
Hello:
I am unable to change the status of my Document in Document Management in R/3 in ECC6.0. (The status seen in CV03N).
I have created a status network where I have an initial status, three temporaries and a complete status (Complete for ECM). When I bring the file into Easy DMS through its user interface, I can see my initial status in the drop down, but the drop down is disabled (grey) so I cannot change it there. That's fine. (However, I have seen in demo screen shots that this field is editable).
But once in R/3 after some actions, I would like to change the status through a BAPI (tried both BAPI_DOCUMENT_SETSTATUS and BAPI_DOCUMENT_CHANGE2 and even used BAPI_TRANSACTION_COMMIT afterwards). I followed the documentation for it, but all I get is a growing Status Log of my changes. I would be happy with that, except that my final document status cannot be set, because its reading the document status from the initial one.
I'm guessing the External status is what I need changed and I don't know how to do it. In CV02N it is disabled for edit.
Does anyone have any suggestions? Maybe there is a configuration flag I'm missing or something?
I forward my thanks now to anyone who helps <b><REMOVED BY MODERATOR></b>
Sean
Message was edited by:
Alvaro Tejada Galindo
‎2007 Sep 25 5:18 PM
Hello:
I figured it out. For those who are interested, here goes:
When configuring your Document Type, be extra careful of your Field Selections (a box with fields like Class Data, Hierarchy Indicator, Document Status, ...). For the Document Status field, I specified a '' believing that it would be displayed for me somewhere where I could search for it. It was that very '' that was the base of my problem. I blanked the field and voila! I was able to edit the Document Status.
That, however, did not entirely solve my problem of changing the Document Status from a BAPI. When defining the Document Status Types, I had made my interim Document Status' of the type 'T' for temporary. The external Document Status would not get set to these, so I too, made the Document Status Types blank.
Sometime simple is better; problem solved!
Sean