Skip to Content
avatar image
Former Member

Debugging Shopping Cart / Floor Plan Manager

Hello,

I am trying to debug the shopping cart in SRM 7. In step 2 there is a button 'check' and I am looking for the eventhandler of this event. In the floorplanmanager i found out that the component in this step is /sapsrm/wdc_sc_wz_gaf_2st. In the component controller of this component I find the expected method 'PROCESS EVENT' but without coding.

Can anybody help me how to find the handler of this event. I also would like to know how to find the coding when you press the button 'next step'.

Any help is very much appreciated.

regards

stefan

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Dec 09, 2009 at 08:55 AM

    Hi Stefan,

    set a breakpoint in the include (via SE38) CL_WDR_WINDOW_PHASE_MODEL=====CM009 (in our system it's a line 103):

    cl_wdr_rec_plugin_manager=>on_before_action_fire( l_action ).      <<<< set a breakpoint here
            l_action->fire( ).
              check me->root_component->is_deleted = abap_false.
            me->root_component->do_after_action( ).
    

    For this you will need external debugging in system debugging mode.

    If this doesn't work somehow, there is also an easier way to find the handler:

    - SE24 -> CL_WDR_ACTION -> set a breakpoint at the method 'IF_WDR_ACTION~FIRE'. With this breakpoint you will be stopped at each user action, and you can see in the callstack the methods which were called.

    Regards,

    Peter

    Add comment
    10|10000 characters needed characters exceeded