Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

RE: How to group data from file on to IDOC Header & Line Item based on 2 fields

$
0
0

Hello!! All

 

Need your help on the below:

 

I have a FILE to IDOC senario and need to group the data on the file to post IDOC based on data grouped by two fields (unique combication of Carton # & Order #).

 

Carton# ShipDate Quantity Prepacks Order#

1          12/22/013    10         450         101

1          12/22/013    20         200         102

1          12/22/013    30         100         103

2          12/27/013    10         100         201

2          12/27/013    20         200         202

1          12/28/013    10         500         105

 

The above needs to post 3 IDOC's as once you group by Carton # & Date you have 3 combinations

 

IDOC # 1

Header

Carton # 1         Ship Date - 12/22/013

With 3 Line Items

10 (Quantity)

20 (Quantity)

30 (Quantity)

 

IDOC # 2

Header

Carton # 2          Ship Date - 12/27/013

With 2 Line Items

10 (Quantity)

20 (Quantity)

 

IDOC # 3

Header

Carton # 1          Ship Date - 12/28/013

With 1 Line Items

10 (Quantity)

 

Can you please help on how this can be achieved - best approach in a graphical mapping ?!

 

Your help is greatly apprecaited!!

 

Thank you,

Ritu


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>