cancel
Showing results for 
Search instead for 
Did you mean: 

How to do IDOC Batching/Bundling in PI

Former Member
0 Kudos

Hi All,

I have a scenario where I need to bundle the IDoc but not sure whether or not it is possible in mapping.

Requirement.

100 IDOCs but some of them contains the following which is mentioned below.

Payment,Debit Account,Value date,charge indicator

LVP,123456,01/01/2010

LVP,123456,01/01/2010,BND

LVP,123456,01/01/2010,BND

LVP,654321,03/01/2010,BND

LVP,654321,03/01/2010,BND

1. Batch 1 with no charge indicator

2. Batch 2 with charge indicator and Debit Account

3. Batch 3 with charge indicator and Debit Account.

Now I need to batch/bundle the Idoc like that.

Batch 1 : PmtInf goes to

CdtrfInf

Batch 2: Pmtinf goest to

CdtrfInf

CdtrfInf

Batch 3: Pmtinf goest to

CdtrfInf

CdtrfInf

Idoc should be bundle/batch if payment = LVP then accumate idocs into batches based on Debit Account, Value date and Charge Indicator.

I am not sure whether it is possibe to this in mapping for not.

Can somebody please advice.

Thanks,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

It is possible.

In your target structure, make two more copies of the structure,

based on your condition, say like if condition 1 = true, the map them into first structure,

condition 2 - true, then map to second one, etc...

Regards

Liang

Answers (1)

Answers (1)

Former Member
0 Kudos

No solution