cancel
Showing results for 
Search instead for 
Did you mean: 

Delete duplicates and do not process specific invoices

former_member440449
Participant
0 Kudos

Hi Gurus,

I am working on a File to IDoc scenario, where I receive lot of invoices in that file and I am sending Invoice IDocs to SAP.

There are 2 conditions here:

1) If an invoice has the 0 dollar value, it need to be deleted/not send.

2) All the duplicate invoices need to be eliminated

Is there any way to do this without using BPM?

Any ideas will be very grateful

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

This can done using Graphical Mapping itself. Here you can to use multi level mapping which will also help you maintaining the mapping easy.

Mapping

1. Source File Format ---> Intermediate File format (here have the graphical mapping to remove duplicate records as well as 0 valued invoice)

2. Intermediate File format ---> IDoc

This link will help you

regards

Ramesh

bhavesh_kantilal
Active Contributor
0 Kudos

>

> 1) If an invoice has the 0 dollar value, it need to be deleted/not send.

Use Enhanced Receiver determination. Check if the Invoice has the required value and if yes, process by setting receiver. Else do not set receiver in the Receiver determination mapping.

Check Blog on SDN on Enhanced Receiver Determination for more info.

> 2) All the duplicate invoices need to be eliminated

>

How do you track whether a Invoice is duplicate or not? Typically this check is to be done on end system. If XI has to do this, answer to questions depends on how XI can know whether duplicate or not. Multiple solutions are available to this depending on how the determining logic is.