Hello Experts,
We have a scenario in SAP PI / XI were upon creation of a Sales Order , Purchase Order or Material Master Flow to Non-SAP System through SAP PI/XI , the IDOC shouldn't flow to SAP PI following a validation on Material Group.
The IDOC is triggered through Output Type , there is a custom Z function module which create outbound communication IDOC. This output type is attached to a Process Code ZSO, ZMPO defined for respective scenarios defined above.
Currently i am attaching the the status = 07 to control data structure & the IDOC is getting created but is having error.
Is this the right practice to follow for attaching error message Outbound IDOC.
Awaiting for your response.
Best Regards
Priyesh Shah