cancel
Showing results for 
Search instead for 
Did you mean: 

The ASSERT condition was violated

Former Member
0 Kudos

Dear Gurus,

in EP 7.01 we implemented GRC, and integration with BI 7.01, when we enter in EP to GRC Risk Management -> Risk and Opportunities and try to create Risk u201CResponse Plans->Create Control Proposalu201D we got abap dump The ASSERT condition was violated.

here is the log of abap dump:

Error analysis

The following checkpoint group was used: "No checkpoint group specified"

If in the ASSERT statement the addition FIELDS was used, you can find

the content of the first 8 specified fields in the following overview:

" (not used) "

" (not used) "

" (not used) "

" (not used) "

" (not used) "

" (not used) "

" (not used) "

" (not used) "

If the error occures in a non-modified SAP program, you may be able to

find an interim solution in an SAP Note.

If you have access to SAP Notes, carry out a search with the following

keywords:

"ASSERTION_FAILED" " "

"/1BCWDY/EMNIK7JUW4X6QOZ0YA6T==CP" or "/1BCWDY/B_RF0EJRS5C5YA3YX6081S"

"SET_META_DATA"

Information on where terminated

Termination occurred in the ABAP program "/1BCWDY/EMNIK7JUW4X6QOZ0YA6T==CP" -

in "SET_META_DATA".

The main program was "SAPMHTTP ".

In the source code you have the termination point in line 1338

of the (Include) program "/1BCWDY/B_RF0EJRS5C5YA3YX6081S".

Termination occurred in a Web Dynpro application

Web Dynpro Component GRPC_CONTROL_PROPOSAL

Web Dynpro Controller COMPONENTCONTROLLER

Source Code Extract

Line SourceCde

1308 lo_el_regulation = lo_nd_regulation->get_element( ).

1309

1310 CLEAR: wd_this->dv_control_proposal,

1311 wd_this->dv_control_detail.

1312

1313 lo_el_proposal_info->get_static_attributes( IMPORTING static_attributes = wd_this->dv_cont

1314 lo_el_control_detail->get_static_attributes( IMPORTING static_attributes = wd_this->dv_con

1315 lo_el_regulation->get_attribute( EXPORTING name = 'REQUIREMENT_ID' IMPORTING value = wd_th

1316

1317 ev_return_code = wd_this->validate_data( ).

1318

1319 ENDMETHOD.

1320

1321 method set_meta_data .

1322 data:

1323 lo_nd_control_detail type ref to if_wd_context_node,

1324 lo_node_info type ref to if_wd_context_node_info,

1325 lo_nd_regulation type ref to if_wd_context_node,

1326 lv_fullname type ad_namtext,

1327 lr_exp type ref to cx_grfn_exception,

1328 lo_nd_proposal type ref to if_wd_context_node.

1329

1330 * set control detail text

1331 if wd_this->dt_autom_valueset is initial.

1332 wd_this->dt_autom_valueset = wd_this->get_valueset( 'AUTOM' ).

1333 assert wd_this->dt_autom_valueset is not initial.

1334 endif.

1335

1336 if wd_this->dt_nature_valueset is initial.

1337 wd_this->dt_nature_valueset = wd_this->get_valueset( 'NATURE' ).

>>>>> assert wd_this->dt_nature_valueset is not initial.

1339 endif.

1340

1341 if wd_this->dt_purp_valueset is initial.

1342 wd_this->dt_purp_valueset = wd_this->get_valueset( 'PURP' ).

1343 assert wd_this->dt_purp_valueset is not initial.

1344 endif.

1345

1346 if wd_this->dt_sig_valueset is initial.

1347 wd_this->dt_sig_valueset = wd_this->get_valueset( 'SIG' ).

1348 assert wd_this->dt_sig_valueset is not initial.

1349 endif.

1350

1351 if wd_this->dt_freq_valueset is initial.

1352 wd_this->dt_freq_valueset = wd_this->get_valueset( 'FREQ' ).

1353 assert wd_this->dt_freq_valueset is not initial.

1354 endif.

1355

1356 if wd_this->dt_evnt_valueset is initial.

1357 wd_this->dt_evnt_valueset = wd_this->get_valueset( 'DT_EVNT' ).

Also, the BI system is not configured(after installation), RSA1 not maintained.

Warm regards,

Mustafin Abay

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

In your webdynpro component, go to the window which is called on launching the application. In the methods tab, go to HANDLEDEFAULT method. Check if this methods has some importing parameters or not. IF this method is having some parameters and they are coming as blank, this error comes ( in general). If this is the case than such application can't be triggered individually.For testing purpose u can pass some data to these parameters in debugging mode.

Regards

Vishal Kapoor

Former Member
0 Kudos

Hi Vishal Kapoor,

i could not find this tree, can you explain step by step where is it? ABAP system BI or Enterprise Portal part?

Thank you.

Former Member
0 Kudos

Hi

Go to transaction SE80 in SAP ECC system, select webdynpro applications and enter the component name : GRPC_CONTROL_PROPOSAL.

Expand the tree displayed and expand the windows node. If it has multiple than u need to find out which window is called first for that go to the methods tab of each window and put breakpoint in method HANDLEDEFAULT. Run the application from portal or directly from R/3 ( if it can be) and get the window name called first. go to the HANDLEDEFAULT method of that window and see if this method has some importing parameters.

Thanks

Vishal