Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to Identify When Attachment is Loaded to SIGNED_DOC field via Script

Hi Experts,

We are running E-Sourcing 5.1 and I am wondering if there is a way to identify when an attachment has been loaded in the Final Sign Document field  (UI: doccommon.contractdocument.ui.sellside.default ---> Field ID:  SIGNED_DOC) in a Contract via Method in script or otherwise.

We are trying to have the system validate in a Script whether an attachment has been loaded to this field before allowing a user to change the Contract phase from “Executed” to another custom Contract phase. Any input/help would be greatly appreciated!



Former Member

Hi Vince,

Try doc.getFieldMetadata("SIGNED_DOC").get(doc) where doc is the Contract Document.

Hope this helps.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question