Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Which transaction lead me to look up the source code

Former Member
0 Kudos

When I turn debugging on to trace a program, I sometime will see METHOD code which is associate with a CLASS name. Would you please tell me how to look up the real source code after I turn off the debugging?

Thanks,

Helen

1 ACCEPTED SOLUTION

former_member223537
Active Contributor
0 Kudos

Hi,

Goto Transaction SE24 and enter the class name. It has a tab called METHODS. Search your method and double click on that.

Best regards,

Prashant

6 REPLIES 6

former_member223537
Active Contributor
0 Kudos

Hi,

Goto Transaction SE24 and enter the class name. It has a tab called METHODS. Search your method and double click on that.

Best regards,

Prashant

0 Kudos

Thanks, I got it.

May I know what the difference this SE24 with SE18/SE19 (BADI)?

Helen

0 Kudos

Hi ,

SE18 for BADI Definition

SE19 for BADI Implementations.( BADI workds on OOPs Concept )

SE24 for Class builder.

Regards

Prabhu

0 Kudos

I think my question is when I turn the debugging on see the Method code. How do I know is it from BADI (SE19) or from SE24?

Thanks,

Helen

0 Kudos

Hi Helen

SAP will call Particular BADI in a Given Transaction

like this.If u Implemented that BADI then it will Execute that Methods in runtime.

<b>

* General delivery processing
  if gi_badi_delivery is initial.
    call method cl_exithandler=>get_instance
      exporting
        exit_name                   = 'LE_SHP_DELIVERY_PROC'
        null_instance_accepted        = 'X'
      changing
        instance                      = gi_badi_delivery
      exceptions
        no_reference                  = 1
        no_interface_reference        = 2
        no_exit_interface             = 3
        class_not_implement_interface = 4
        single_exit_multiply_active   = 5
        cast_error                    = 6
        exit_not_existing             = 7
        data_incons_in_exit_managem   = 8
        others                        = 9.
    if sy-subrc ne 0.
      message id sy-msgid type 'A' number sy-msgno
                 with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
  endif.

</b>

Regards

Prabhu

0 Kudos

can same class implement in BADI? so I see the source code both from SE24 and SE19?

Thanks,

Helen