cancel
Showing results for 
Search instead for 
Did you mean: 

Application parameters

Former Member
0 Kudos

Hi Experts,

The component that I have created has 2 views. I would like to display either of the view depending on the application parameter that i give when i create the iView. I know that to display the view I need to fire the appropriate plug but I am unable to access the parameter in the HANDLEDEFAULT method of the window.

Please help!

Thanu

Accepted Solutions (1)

Accepted Solutions (1)

Yashpal
Active Contributor
0 Kudos

create a parameter of same name in the HANDLEDEFAULT as created in the appln parameter , u will be able to access it .

Regards

Yash

Former Member
0 Kudos

Hi Yash,

When I create the parameter and run I get the following error.

The following error text was processed in the system SIP : The ASSERT condition was violated

The ABAP call stack was:

Method: IFWDR_INTERNAL_API~ASSIGN_UNTYPED_REFERENCE of program SAPLWDR_RG_PROXY_FACTORY

Method: HANDLEDEFAULT of program /1BCWDY/830VT0PJXT5RKNLGJ3SO==CP

Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/830VT0PJXT5RKNLGJ3SO==CP

Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_IF_VIEW=====CP

Method: DISPLAY_TOPLEVEL_COMPONENT of program CL_WDR_CLIENT_COMPONENT=======CP

Method: INIT of program CL_WDR_CLIENT_APPLICATION=====CP

Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP

Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP

Method: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================CP

Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME

Thanu

Edited by: Thanu Krishnan on Jun 20, 2008 4:14 PM

Yashpal
Active Contributor
0 Kudos

Hi ,

have u created the application parameter it should be of type string .

Regards

Yash

Former Member
0 Kudos

Hi Yash,

Thank u.

Thanu

Answers (0)