Skip to Content
avatar image
Former Member

Finding the ABAP code behind an Enterprise Service

Starting with the definition of a Service in the ES Workplace, how can I find the ABAP code that is executed when the service is invoked?

I understand the WSDL, and I understand ABAP; what I am missing is the way to find the link to the code being executed.

BR,

Tony.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Oct 15, 2013 at 06:59 AM

    Dear Anthony,

    this is pretty easy. Use Tcode sproxy and navigate to the enterprise service you are using. Double click on the service interface and then double click on provider class in section interface attributes. Then double click on the method(s) to see the code. As easy as that...

    Regards,

    Markus

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 15, 2013 at 06:32 AM

    Hi Anthony,

    I dont know what you are exactly looking for, because behind enterprise services there is standard code and it's normally difficult to understand, at least for me 😊.

    When you create a proxy to consume a service, ABAP generates automatically an ABAP code in order to transform the object structure in ABAP to a http call with a plain payload (the response is obviosly inverse). You can debug your proxy call if you have the debbuging enabled with the transaction /h.

    Also you can check if you want the program SAPLSPRX_SI_TEST, this is the program called in the transaction sproxy when you test an interface.

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 15, 2013 at 07:31 AM

    hi,

    just to give you some info:

    - if you have a specific SP/EhP level all of your web services will be available

    (mostly as ABAP classes) - you can either open then from sproxy as mentioned in the conversions in this thread of by SE80 (enable ent service view first). If you've deplyed the necessary SWCV in PI (as per SP/ehp level) you will see all of them in se80/sproxy and the link too (in the method of the class)

    Regards,

    Michal Krawczyk

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Michal Krawczyk

      Hi Michal,

      That is true, but in SE80 when I search for the components using the Enterprise Services Browser, none of the standard Software Components appear, only custom components. For Example,

      SAP APPL 6.06 is not visible.

      How can that be? If the code is standard, how come the component does not exist on the ABAP stack?

  • avatar image
    Former Member
    Oct 15, 2013 at 09:21 AM

    Hello Anthony,

    you can look up the service in either ES Workplace or in SOAMANAGER and look for the "Internal Name" which is the Enterprise Service used in ABAP. In ES Workplace the Enterprise Service is sometimes mentioned, sometimes you find the BAPI used to implement the service. That depends a bit on the service you use.

    Regards,

    Jörg

    Add comment
    10|10000 characters needed characters exceeded