Question
Consuming SAP web services with tables
I'm doing kind of feasibility study on consuming SAP web
services from CF.
So far so good, but I'm stuck dealing with tables (import/export parameters in SAP world).
I know how to receive a table object from SAP functions:
* With Apache Axis v1.2: pass an empty CF structure as a parameter
* With Apache Axis v1.4: pass an empty CF array as a parameter
Then the parameter is filled with data (replaced with Java object) and we can just parse the object accordingly.
My question here is whether or not we can pass a *table with actual records*.
For example, I want to pass a table with multiple records to update DB records under SAP.
I tried passing (1) CF array of structure and (2) Java ArrayList with no chance.
The web service call itself completes without errors (no method signature error), but the SAP function seems to see the parameter as an empty table.
Anyone has been successful with this case?
Any suggestion would be much appreciated.
So far so good, but I'm stuck dealing with tables (import/export parameters in SAP world).
I know how to receive a table object from SAP functions:
* With Apache Axis v1.2: pass an empty CF structure as a parameter
* With Apache Axis v1.4: pass an empty CF array as a parameter
Then the parameter is filled with data (replaced with Java object) and we can just parse the object accordingly.
My question here is whether or not we can pass a *table with actual records*.
For example, I want to pass a table with multiple records to update DB records under SAP.
I tried passing (1) CF array of structure and (2) Java ArrayList with no chance.
The web service call itself completes without errors (no method signature error), but the SAP function seems to see the parameter as an empty table.
Anyone has been successful with this case?
Any suggestion would be much appreciated.
