cancel
Showing results for 
Search instead for 
Did you mean: 

Portal SAP

Former Member
0 Kudos

Hi expert, I have this problem with an iview on the portal SAP

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: ComponentUsage(CharRelInst): Active component must exist when getting interface controller. (Hint: Have you forgotten to create it with createComponent()? Should the lifecycle control of the component usage be "createOnDemand"?

Can you help me ?

Best regards

Accepted Solutions (0)

Answers (1)

Answers (1)

nikhil_bose
Active Contributor
0 Kudos

if Lifecycle is set to 'manual' it should be instantiated before using it.

1. Add used component controller to view

2. create a component usage

e.g.

wdThis.wdGetDfsComponentUsage();

refer [Dynpro Component Usage Tutorial|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ba2db0e5-0601-0010-9790-e271902f2c38]

nikhil