Skip to Content

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

Error Message

Hello

I have little problem with Error Messages (Message pool)

public void checkMandatory( java.lang.String FieldName,java.lang.String Node )

{

//@@begin checkMandatory()

IWDMessageManager messageMgr =wdThis.wdGetAPI().getComponent().getMessageManager();

IWDAttributeInfo attributeInfo = this.wdContext.getNodeInfo().getChild (Node).getAttribute(FieldName);

messageMgr.reportContextAttributeMessage(this.wdContext.nodeUnit().currentUnitElement()

,attributeInfo,IMessageAccident.DATE_NOT_FOUND,null,true);

//@@end

}

But I have problem because my context

+Unit

-UnitID

-office

-Base

and I need to conect Error message to to UnitID

please tell mehow can I solve this problem

Thank you

Former Member
Not what you were looking for? View more on this topic or Ask a question