cancel
Showing results for 
Search instead for 
Did you mean: 

Error on using interface controller method: Incorrect amount type

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi!

make sure that your mappings are correct and also reimport the model.

thanks and regards

vishal anand