Skip to Content
avatar image
Former Member

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 20, 2008 at 08:19 AM

    hi!

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

    thanks and regards

    vishal anand

    Add comment
    10|10000 characters needed characters exceeded