Skip to Content

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

Call a webservice Operation with a list element (ComplexeType)

Hi,

I consume a webservice in ByD with ABSL.

There is no Problem to access "wfName" or "customerID" with ABSL:

here my sample:

Import ABSL;

var Request:Library::BitFlowBalanceService.invoke.request;

Request.parameters.wfName = "wert1";

var Response = Library::BitFlowBalanceService.invoke(Request, "", "BitFlowBalanceService");

The problem is to set balanceOrderDtos.

balanceOrderDtos is a List!

How can I fill a list?

How can I "add" elements with complexe objecttype (in this case BitFlowBalanceServicebalanceOrderDtosComplex)?

I tried to set elem1 (see below) but type BitFlowBalanceServicebalanceOrderDtosComplex is unknown.

var elem1:elemtsof BitFlowBalanceServicebalanceOrderDtosComplex;

Request.parameters.Input.orderDto.orders.balanceOrderDtos.Add(elem1)

Any idea?

Kay

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