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