cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with used component

Former Member
0 Kudos

Hi,

I am calling one controller in another. Used controller is a faceless component.

I am getting error as

The following error text was processed in the system : Component Usage USAGE_MODEL Does Not Have an Active Component

The error occurred on the application server xxx and in the work process 1 .

The termination type was: RABAX_STATE

The ABAP call stack was:

Method: ENSURE_ACTIVE_COMPONENT of program CL_WDR_COMPONENT_USAGE========CP

Method: GET_INTF_CONTROLLER_INTERNAL of program CL_WDR_COMPONENT_USAGE========CP

Method: IFWDR_INTERNAL_API~GET_INTERFACE_CTLR_DELEGATE of program SAPLWDR_RG_PROXY_FACTORY

USAGE_MODEL is name of the component use defined in 'Properties' tab of view.

Everything is activated in the used controller.

Has anyone came across similar problem?Please help.

Thanks, in advance.

Trupti

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI,

Did you write this piece of code??


 IF L_REF_CMP_USAGE->HAS_ACTIVE_COMPONENT( ) IS INITIAL.
    L_REF_CMP_USAGE->CREATE_COMPONENT( ).
ENDIF.

I remember i had similar kind of problem but once i have used create_component()
It was solved.

Regards and Best wishes.

Answers (0)