Skip to Content

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

webdynpro coding

Hi,

I am getting error in the following codes:

// Check if date range is valid

if (DateCalculator.isAfter(usrDate_low, usrDate_high)){

// If not: report error message

msgMan.reportContextAttributeMessage(wdContext.nodePerson().currentPersonElemen(),

personAttr, IMessageTablecomp.END_DATE_BEFORE_START_DATE,

new Object[] {usrDate_high, usrDate_low}, true); }

The errors are:

1. DateCalculator cannot be resolved.

2. msgMan cannot be resolved.

3. IMessageTablecomp.END_DATE_BEFORE_START_DATE cannot be resolved.

Please reply if you know the answer.

Helpful Answer

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