cancel
Showing results for 
Search instead for 
Did you mean: 

How can I change a standard webservice

Former Member
0 Kudos

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=2828AC800D...

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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-c9af6994... ?

- julius