cancel
Showing results for 
Search instead for 
Did you mean: 

RunTinme Error in WDA application

Former Member
0 Kudos

Hi All,

I am getting the below error while navigating between tabs in a web dynpro application/portal:

Other than this I am also getting "Assert condition violated" error at times in this application.

Error when processing your request

 

What has happened?

The URL http://___(WDA portal URL)______________________  was not called due to an error.

Note

 

  • The following error text was processed in the system YRT : View Element with ID ZPRDHA_L2_SALV_WD_CE in View VIEW_TABLE Already Exists
  • The error occurred on the application server c700s021_YRT_25 and in the work process 0 .
  • The termination type was: RABAX_STATE
  • The ABAP call stack was:
    Method: ADD_ELEMENT of program CL_WDR_VIEW===================CP
    Method: REGISTER_TO_VIEW of program CL_WDR_VIEW_ELEMENT===========CP
    Method: REGISTER_TO_VIEW of program CL_WD_UIELEMENT===============CP
    Method: REGISTER_TO_VIEW of program CL_WD_TABLE_COLUMN============CP
    Method: ADD_COLUMN of program CL_WD_TABLE===================CP
    Method: IF_SALV_WD_COMP_TABLE_UI~UPDATE_COLUMNS of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_UI~UPDATE_TABLE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_UI~UPDATE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_VIEW~MODIFY of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: WDDOMODIFYVIEW of program /1BCWDY/JVZF8S1P3J8MDD0RFH91==CP

Any pointers would be much appreciated.

Accepted Solutions (0)

Answers (8)

Answers (8)

Former Member
0 Kudos

Hi,

Have you written any code in WDDOMODIFYVIEW ( ) . ?

Thanks

KH

0 Kudos

Hi, do you use in your tabs cell variants?

Former Member
0 Kudos

Hi Somya,

I am agree with Rama's statement.

Thanks

Mukesh

Former Member
0 Kudos

The ST22 dump takes to diff program and points to a "Raise Exception" syntax line.

I thought of adding a try & catch block there to handle this uncaught exception, but its a standard program and so cannot make changes to it unles mandatory.

@ rama: Hi Rama, Yes, the errors come while revisitng the tabs and not on first time click.

Its not for all tabs, but on revisting just two of the 7 tabs in the section.

Former Member
0 Kudos

Sowmya,

Please check the same through debugger.

I think same UI Element is passed again. Just debug the code

SKR

former_member195402
Active Contributor
0 Kudos

Hi Somya.

I agree with SKR, and you can set some external breakpoints using the callstck list of the shortdump.

Regards,

Klaus

ramakrishnappa
Active Contributor
0 Kudos

Hi Somya,

Thanks for the clarity.

Since the error occurs while re-visiting tabs ( 2 tabs with alv ), I suspect the alv configurations is being called again on event " TAB SELECT".

Please check if the alv config is called again. If so put it in WDDOINIT Method.

Regards,

Rama

former_member195402
Active Contributor
0 Kudos

Hi Somya,

do you have analyzed the shortdump in ST22 ? Maybe it will tell some more information about the fieldname or viewname ...

Regards,

Klaus

Former Member
0 Kudos

Hi Anusha/Rama,

Do you mean the IDs for the tabs UI element? All the tabs have different names and IDs.

Is there anything else I need to check for duplication?

Issue is:

There are around 7 tabs in that particular section of the page. On filling details in one section when I navigate to and fro from other tabs, it ends up in run time error. Some times the error is as above, whereas sometimes it is "Assert condition violated" error.

Former Member
0 Kudos

Hi Somya,

I think you are passing the same UI Element name, somewhere in your methods.

Anyway you just check the same through Debugger.

Just Make it Simple

SKR

ramakrishnappa
Active Contributor
0 Kudos

Hi Somya,

Okay, thanks for the elaboration.

I have a question:

Is error occurs while visiting new tabs or visiting tabs which are already been visited ?.

Do you have ALV table in any of your section where you fill data? if so, please check for the field: ZPRDHA_L2 in your structure and try to find out if it has been added dynamically more than once.

Regards,

Rama

ramakrishnappa
Active Contributor
0 Kudos

Hi,

It looks like duplicate column names used for alv table columns.

I would appreciate If you could elaborate the issue.

Regards,

Rama

Former Member
0 Kudos

Hi Somya,

I think you are using same id for ui elements in different tabs.