Skip to Content

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

Error on using interface controller method: Incorrect amount type

Hi Experts,

I am facing one issue in my webdynpro projects.

I have multiple DCs and from DC1, I am trying to call method of DC2.

I created public part for DC2 webdynpro component and added it in used DCs of DC1 as build time and runtime dependency.

I added interface controller of DC2 in used webdynpro components and map that interface view to my controller of DC1. and in wdDoInit of my DC1,

try {

wdThis.wdGetModelInterface().ex_orderEntryInit();

} catch (Exception e) {

wdComponentAPI.getMessageManager().reportSuccess(e.getMessage());

}

It is giving exception as

com.sap.dictionary.runtime.DdException: Incorrect amount type (not decimal): Service for units cannot be set up

Has anybody faced such issue.

Please correct me if I am making some mistake and help me.

Regards,

Mehul

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