Skip to Content
0
Feb 04, 2014 at 08:22 AM

RFC to ECC with list of items

46 Views

Hope this is a simple question. I have a remote enabled ECC function module that has import parameters and a list of items. But when I import this RFC into SAP PI repository the request/response part of the message are not what I expect. The list of items in only appears as a list of unbounded items in the response part.

Z_PO_CREATE
CUSTOMER_ID
CUSTOMER_ORDERNO

ORDERITEMS
item (unbounded)
MATERIALID
QTY
MEINS

The message mapping will of course only allow me to select either the Request part of the RFC or the Response part of the RFC. The Request part does not have ORDERITEMS.item as unbounded list. The Response part only contains the ORDERITEMS.item unbounded list.

I need to pass into SAP ECC the Customer#, CustomerOrder# and a list of Items. How do I do this with an RFC?

Attachments

modulea.jpg (208.5 kB)