Skip to Content
author's profile photo Former Member
Former Member

Gateway service call not triggering DPC_EXT class


Hi,

I have created a gateway project and have implemented the DPC_ EXT method of getentityset. While testing in Gateway client I am getting status 200 for the service call [/sap/opu/odata/sap/ZTEST_SRV/EmpolyeeadressSet?$filter=Pernr eq'00000012'], but there is no data in results object. I have put external debugger for my user in the DPC_EXT ->EmployeeadressSet_getentityset method, but not getting triggered even as iam testing the service with my userid. (Gateway is implemented as Hub. Trusted RFC connection has login user configured. Was able to debug gateway services of standard fiori apps previously in the same way ).

thanks in advance

scn3.JPG (160.1 kB)
scn2.JPG (74.1 kB)
scn1.JPG (96.2 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Posted on Mar 18, 2016 at 04:23 AM

    Cab you check in setting for which user the external break point in maintained.

    Regards,

    Vishal


    user.png (15.0 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 18, 2016 at 05:14 AM

    Hello Govind,

    Did you first try just passing EntitiySet as below ? Please check this.

    /sap/opu/odata/sap/ZTEST_SRV/EmpolyeeadressSet


    Regards,

    Ashwin

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 18, 2016 at 09:34 AM

    Hi Govind,

    It might be either of the reason from the below, Please take time to validate all of it,

    • Check the debugging user set properly, if yes, activate the complete class once again and log out from the session and login again
    • As you are trying to access single entry, check whether you have redefined GET_ENTITY method as well. If yes, keep a break-point in GET_ENTITY method and test

    Cheers,

    Sabari

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 18, 2016 at 12:18 PM

    Hi Govind,


    Try running a trace on the call with trx: /IWFND/TRACES, you also might want to look at the two logs to see if you can see anything there,

    1) /IWFND/ERROR_LOG - SAP Gateway Error Log

    2) /IWFND/APPS_LOG - SAP Gateway Application Log Viewer

    Let us know if you find anything.

    Cheers,

    Dave

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 19, 2016 at 08:59 AM

    Hi Govind,


    it could be also possible that the RFC points to the wrong client if you have multiple clients on your backend system.


    SM59-->double click the RFC connection--> logon data


    regards,

    Yueqiang

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.