cancel
Showing results for 
Search instead for 
Did you mean: 

UNCAUGHT_EXPECTION

former_member198064
Participant
0 Kudos

Hi Experts,

In our portal side when we are executing the ESS component we are facing the error UNCAUGHT_EXPECTION CX_POWL_FATAL_EXECEPTION.How can i rectify this problem.Could you please help me for this issue.This is the Severe issue for us.In below source code i have mentioned where the error has get with symbol ( _______> ).

SOURCE DODE:

result = cl_powl_util=>ms_display_alvdialog_as_popup.

  • read configuration setting for POWL FOCUS

CALL METHOD me->read_config_property

EXPORTING

i_property = 'POWL_DEFAULT_FOCUS'

  • i_type =

IMPORTING

result = mv_powl_focus.

  • switch POWL delta rendering on (if requested in corresponding URL parameter)

mr_table_helper->set_powl_delta_rend_state( i_powl_delta_rend ).

m_refresh_srv_group = i_srv_group.

l_applid = i_applid.

IF m_applid IS INITIAL AND

l_applid IS INITIAL.

  • try to get application ID from configuration

me->read_config_property(

EXPORTING i_property = 'POWL_APPLICATION_ID'

IMPORTING result = l_applid

).

IF l_applid IS INITIAL.

  • we expect a valid application ID!(Here it is showing )

*----


> RAISE EXCEPTION TYPE cx_powl_fatal_exception*

EXPORTING

textid = 'APPLID_ILLEGAL'.

ENDIF.

ENDIF.

" clear latest switched query

CLEAR ms_new_query.

  • check if we have to do a full (re-)initialization

IF l_applid IS NOT INITIAL AND

m_applid <> l_applid.

m_applid = l_applid.

l_do_full_init = 'X'.

ELSE.

l_do_full_init = space.

ENDIF.

  • check if we can exit here since the WD session data is still valid

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

You can check the application id that is called in PFCG in the details of the webdynpro application settings. The APPLID mentioned there must be available in in tx FPB_MAINTAIN_HIER.

rgds,

Jeroen

Footer
Explorer
0 Kudos

That was helpful in my case. Thank you!

former_member262988
Active Contributor
0 Kudos

Hi Venkatesh,

I did faced this issue, you need to check in PFCG @ webdynpro settings. The application ID must be available FPB_MAINTAIN_HIER.


Also check the SICF settings whether the Component is active or not.


Thanks,

Shailaja Ainala.

Former Member
0 Kudos

Hi Durga,

It seems you don't have a valid application id available in the system.

Could you please check whether the application id is available in the transaction fpb_maintain_hier.

Thanks & Regards,

Arun.

former_member198064
Participant
0 Kudos

Hi Arun,

I am new to this Powl concepts.Could you please tell me how to debugg to get whether the valid value of application id.

Former Member
0 Kudos

Hi,

How can i rectify this problem.Could you please help me for this issue.

First of all you need to debug the code inside the below method as to why l_applid is initial after the method call.


* try to get application ID from configuration
me->read_config_property(
EXPORTING i_property = 'POWL_APPLICATION_ID'
IMPORTING result = l_applid
).

Now to avoid the uncaught exception, enclose your code within TRY ENDTRY block with in which you can CATCH the below exception and handle the exception in a more graceful way.


DATA: LCX_EXCEPTION TYPE REF TO cx_powl_fatal_exception.
TRY.
IF l_applid IS INITIAL.

* we expect a valid application ID!(Here it is showing )
**----------------------> RAISE EXCEPTION TYPE cx_powl_fatal_exception**
EXPORTING
textid = 'APPLID_ILLEGAL'.
ENDIF.
CATCH cx_powl_fatal_exception INTO lcx_exception.
* Handle the exception, show a message or something.
ENDTRY.

Regards,

Chen

former_member198064
Participant
0 Kudos

Hi,

when i am able to execute in SICF my apllication powl in below link.I am getting the error can u please help me for this solution.

http://kand0117.kan.eu:8000/sap/bc/webdynpro/sap/powl was not called due to an error.

Note

  • The following error text was processed in the system PHE : An exception occurred that was not caught.

  • The error occurred on the application server pand0117_PHE_00 and in the work process 0 .

  • The termination type was: RABAX_STATE

  • The ABAP call stack was:

Method: INITIALIZE of program CL_POWL_MODEL=================CP

Method: HANDLEDEFAULT of program /1BCWDY/F9YU3EHYNKZISLCQ9MLZ==CP

Method: HANDLEDEFAULT of program /1BCWDY/F9YU3EHYNKZISLCQ9MLZ==CP

Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/F9YU3EHYNKZISLCQ9MLZ==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: IF_WDR_RUNTIME~CREATE of program CL_WDR_MAIN_TASK==============CP

Method: HANDLE_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP

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