Skip to Content
0
Dec 31, 2022 at 04:15 PM

Design multiple interfaces in SAP PO

197 Views

Hi Experts,

We are working on SAP ECC[IDOC] to MQ[JMS] and MQ[JMS] to SAP ECC[IDOC] scenarios in SAP PO 7.5 .

We have to design multiple interfaces in SAP PO using an XSD with same Header fields but with different line data/item fields on MQ side for both outbound and inbound scenarios.

In case of outbound scenarios one IDOC type triggered should create specific XML based on IDOC XML content.

Based on IDOC field REFMES value the corresponding operation mapping will be called in ICO.

For sample, please see below XML for 2 different messages types with same HEADER fields but different DATA fields.

On below list of HEADER fields are same of all message types where NAME represent message type of JMS.

DATA contains different set of fields based on message type.

captur.jpg

For example, see another sample message type where HEADER fields same as above but DATA fields varies.

As you can the NAME field represent message type.

image.png

Please suggest me whether we need to create common XSD for all messages types where HEADER fields will be same and DATA fields should contain fields covering all message types.

Similarly, client will send same kind of file with HEADER and DATA for inbound interface also and based on NAME field value the corresponding interface has to triggered and respective IDOC to be sent to SAP ECC.

Could you please guide to achieve this requirement effectively.

Thanks,

Ramu.

Attachments

captur.jpg (91.3 kB)
image.png (53.0 kB)