Skip to Content
avatar image
Former Member

How can I change a standard webservice

What steps are necessary for me to change the SAP webservice from SAP ESR?

I WANT to do this in ABAP.

I know that there are some BADIs and Enhancements spots available . But how does this fit into the whole Wesbservice interface.

For example :

I want to add a new field to the input structure in the WSDL. This field will then have to be mapped to the BAPI and so on. How can do this. have you come across anything like this? How does BADI work in this case.

Details :

http://esoadocu.sap.com/socoview/render.asp?packageid=DBBB6D8AA3B382F191E0000F20F64781&id=2828AC800DDD11DC2B24000F20DAC9EF

I want to be able to modify this service.

Add a parameter like DocumentStructure to the input which will let me create a document inside the folder.

I know that there is a proxy class in the backend CL_DMS_DOCUMENTCRTRC1 or something like that which calls the BAPI BAPI_DOCUMENT_CREATE2. This BAPI has the additional fields I am looking to map to.

How can I use BADI to accomplish my goals? how can I change the WSDL interface ?

How is this service tied to a Proxy class in the backend?

Am I getting ahead of myself? Is this do-able or should I start from scratch ( expose my BAPI as a new WS )?

Thanks for any pointers.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 15, 2008 at 09:14 PM

    Did you read the "Enterprise Service Enhancement Guide" at https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0bb5687-00b2-2a10-ed8f-c9af69942e5d ?

    - julius

    Add comment
    10|10000 characters needed characters exceeded