on 05-07-2010 8:06 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.