Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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.

Not what you were looking for? View more on this topic or Ask a question