Tagged: missing the tables parameter
i have created a custom function module in SAP and generated a wsdl with the WSDL generator without any errors. However when i want to import this into my existing model to use it, it generates errors like null pointer exception.
What is wrong with this generated file ?
the WSDL seems to be well formatted, however but I’ve got the same error like you.
I will forward this issue to our R%&D department for further investigations.
I have renamed my FM to ZIDOC_FROM_E2E_ASYN and generated a wsdl again.
The strange this is that i invoke a standard FM of SAP which is called IDOC_INBOUND_SINGLE. When i generate a WSDL of this standard FM and import it into my model it seems to be missing the tables parameter ? it only has the import and export parameters.
Attached is a screenshot of the FM and the imported wsdl.
You won’t find the the ‘Tables’ definition in ‘Types’-Package but instead in ‘Services’-Package. Since the ‘tables’ parameter is of type ‘Tables’ of Base Components it is not shown in the ‘Types’-Package.
Attached you will find a screenshot of the containment tree.
regarding your first problem with ZPROCESS_INBOUND_IDOC_FROM_E2E, it seems to be an issue with our importer. We have created a bug ticket for further investigations.
I can not say when we are able to deliver a fix. However, for the time being you can try with the modified WSDL that is attached. This should work with the current importer.