cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime Error : ASSERTION_FAILED while clicking on shop button to create SC

former_member277899
Discoverer
0 Kudos

Hi Experts.

We are using SRM 7.0

When i am clicking on shop button to create shopping cart getting

RUNTIME ERROR : ASSERTION_FAILED

Termination occurred in the ABAP program "/SAPSRM/CL_CH_WD_GAF_FACTORY==CP" -

in "SET_GAF_PROVIDER".

The main program was "SAPMHTTP ".

In the source code you have the termination point in line 29.

Please suggest what should I do ?

Thanks and Regards

Bumhwan oh

Accepted Solutions (1)

Accepted Solutions (1)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

What is the SP level? SRM 7.0 SP05 is the latest one.

Regards,

Masa

former_member277899
Discoverer
0 Kudos

Hi Masa.

We are using SRM 7.0 SP03.

Regards.

Bumhwan

Former Member
0 Kudos

Hi,

Please check the below note:

Note 1341605 - Webdynpro search help dumps occassionaly while scrolling

Thanks

Venkatesh P

Answers (1)

Answers (1)

former_member277899
Discoverer
0 Kudos

Hi Venkatesh.

Thanks for your reply.

But Note 1341605 has nothing to do with what we are discussing.

My problem is why runtime error result when I click Shop button in Employee Self-Service.

Here is source code in method SET_GAF_PROVIDER.

*****************************************************************************************************

IF io_fpm_gaf IS NOT BOUND. "SRM 6.0 coding (without FPM)

  • Get Class Name from explicit configuration (stored in mapped context)

lo_context_node = io_wd_context_node->get_child_node( name = 'CONFIGURATION_NODE' ).

lo_context_element = lo_context_node->get_element( ).

lo_context_element->get_attribute(

EXPORTING

name = `CLASS_NAME`

IMPORTING

value = lv_class_name ).

CATCH SYSTEM-EXCEPTIONS create_object_class_not_found = 4.

CREATE OBJECT lo_gaf_provider

TYPE

(lv_class_name)

EXPORTING

io_wd_context_node = io_wd_context_node.

ENDCATCH.

" Cause: The class specified in the TYPE addition does not exist

" [..] handle exception / abort use case

ASSERT FIELDS 'GAF Provider Class Name is not valid' lv_class_name

CONDITION sy-subrc = 0.

Former Member
0 Kudos

Did you resolve this issue and remember what the solution was ?

Former Member
0 Kudos

Hi Chan,

Have u solved the issue yet...

I am also facing the same issue..please help