cancel
Showing results for 
Search instead for 
Did you mean: 

How to distinguish incoming GR XML for Purchase Order and Production Order

Former Member
0 Kudos

Hi

We are implementing an application wherein we receive two different XML message for GR ( Goods receive)

1) GR for Purchase ORder

2) GR for Production Order

Both these message have different XMLroot node and are identifed as different IDOCS ,

The logic of processing these two messages is different , Is there a way that we can distinguish the two message by using there root node , if so what is the way of implementing it .

I am new to SAP PI and any help suggestion would be of great help .

Thanks & Regards

Rahul

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Those 2 GRs will be distinct messages (as they do not have the same root node as you said), so using XI feature for msg processing (receiver determination, interface determination etc), you'll be able to specify how to process each GR document and where to route them (ie, source system -> channel -> GRProdOrder -> mapping -> target IDOC type -> channel -> target system).

Hope this helps

Chris

Former Member
0 Kudos

Hi

Thanks for the input , can you please give me any reference or document to help me understand this process in detail