cancel
Showing results for 
Search instead for 
Did you mean: 

Help needed in a file to idoc scenario

Former Member
0 Kudos

Hi all,

The scenario is file to Idoc via XI. The problem here is the input file might contain both the PO create and PO change in the same file.

Assume the first record is PO create and When we post this via XI there could be a delay for creating the PO in the SAP.

Meanwhile even if the second record (say that's the PO change for the first PO create record) gets processed parallely there could be a possibility of error saying that PO is not created.

How do we handle this in XI??.. If we use Queue Processing in IDoc adapter it'll guarantee only the delivery order and not the processing order if I'm right?.

Please guide.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Saravanan - IDoc preocessing can be handled by serialization. This will guarantee also the order of processing.

<br/>

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/bd/277264c3ddd44ea429af5e7d2c6e69/frameset.htm" target="n">SAP Help - IDoc serialization in XI</a>

<br/>

<br/>

Peter

Former Member
0 Kudos

We did this by having a single file with Create, Change and Invoice in the same file and used BPM to send all creations before changes.

Former Member
0 Kudos

Hi Barry,

Can you please describe more on the BPM approach for this scenario.

Thanks,

Saravanan.N

Former Member
0 Kudos

The steps...

Create three steps/blocks.

One checks for documents marked as Create

One checks for documents marked as Change

One checks for documetns marked as Invoice.

They are then processed as separate Idocs.

Former Member
0 Kudos

Barry,

In the given functional scenario provided document will not have any key fields to determine whether the document is for create, change or delete.

we have a solution by using lookup in the mapping to determine for the PO create or change. But, is there any other efficient way to do this interface without lookup or BPM.

Former Member
0 Kudos

We had a field sent saying new, change or invoice.

I would say there is no way of doing this without BPM.

Former Member
0 Kudos

I'm new to BPM, can you describe more on the BPM approach.

Even if we send the create PO first and the change PO next, on what basis the change PO going to be sent?, because if PO_0001 is on the process of creation, and the process of changing the PO_0001 can be initited and it will fail because there is no PO_0001 is created.