‎2008 Sep 11 3:54 PM
Hi,
when I create a Webservice from a Function Module, the parameters seem to be put in alphabetical order in my webservice definintion, so the order is not equal to the parameter order in my Function Module. Is this the way standard SAP works? Can i change the order of the parameters, because there's a need for a certain parameter to be the first in every webservice.
Pieter
‎2010 Sep 14 3:42 PM
Hi Pieter,
this seems to be the way SAP works. I tested the reaction with SOAP UI from the generated WSDL out of SOAMANAGER.
The parameter sequence of the Function Module is not important if you generate a webservice.
The generating tool sorts them by name (internal and external view).
The only way to handle this seems to be calling the FM directly by calling the FunctionModule over /sap/bc/soap/rfc.
This is a webservice for all rfc FMs.
The problem there is you need to call it with parameternames as capitals (FM does only accept parameters in capitals).
Kind regards, Bodo Körner FLS GmbH, Germany