Skip to Content

How to find method in DPC or MPC class to which the client request is initially invoked in gateway?

Hello experts,

I have a requirement that I need to find the method in which the initial user requests are invoked in sap gateway? Because initially I need to use the function that using user-name(sy-uname) and user-id that retrieves the data and stores in transparent table. So that I can use these transparent tables for CRUD, expand and other functionalities. Otherwise, I need to use the function in every method like entityset, entity, expand etc., which is not an efficient way of coding.

Please help me!

Best Regards,


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Mar 21, 2017 at 07:20 AM

    Generally speaking, you could find out such thing by using ABAP trace with no aggregation setting. Transaction code SAT.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Nakil,

      I tried it by redefining the INIT, but it doesn't work. Finally, I resolved the problem by creating the function module where I had complete logic and I called this function module wherever I needed like in entitysets. Instead of executing complete logic in every entityset now I can execute only once.


      Kind Regards,