Skip to Content

Cannot add direct child without default aggregation defined for control sap.m.Image

error.jpg

Hi all,

I have created SAPUI5 application using XML view in eclipse. In that i have used sap.m.image but it shows error like below while executing.

"Cannot add direct child without default aggregation defined for control sap.m.Image".

See attached error image for detail.

Later, I have removed this sap.m.image control from my XML view and tried to execute. It's working fine in web app preview but showing same error when execute through ABAP server.

I have cleared cache using transaction: /IWBEP/CACHE_CLEANUP , /IWFND/CACHE_CLEANUP and SMICM.

I have deleted the application from ABAP server and deployed the same again as well.

No luck, anyone help me to get rid of this issue.

Regards

Vincent

error.jpg (29.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Nov 30, 2017 at 10:17 AM
    -1

    Hi Dennis,

    It's look plain blue color.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 29, 2017 at 06:58 AM

    HI

    How does your XML view look like?

    -D

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 04, 2017 at 02:06 PM

    Hi ,

    Try to run program "/UI5/APP_INDEX_CALCULATE" to clean application cache .

    Thanks.

    Onur

    Add comment
    10|10000 characters needed characters exceeded