Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

Replicating the source field in target side multiple times

$
0
0

Dear All,

 

I have a requirement of file to idoc. In source file, we are getting multiple line item with line item number. In target side i'm having different nodes. In each node a retailnumber field is there.I need to populate the retail number from the Retailline item segement.

 

 

My flat file structure:

 

H|C001|20130512|1001|2|CC-01|20130404022030|SUPERVISOR|INR

D|1|2001|1|8901314117342|1308012024|1|EA|40.00|40.00

I1|D1|4401|04.44

I1|D2|4402|04.44

I2|1|3901|-6.50

I2|2|3902|-8.50

D|2|2001|1|7615032862350|1307012057|1|EA|40.00|80.00

I1|D1|4401|04.15

I1|D2|4402|06.50

I2|1|3901|-2.50

I2|2|3902|-3.50

F|1|3101|40.00|INR

F|2|3102|50.00|INR

 

My output should be:

 

Here

D- Retail Line Item

I1 - TAX

I2- DISCOUNT

F- TENDER

 

My output should be like:

 

In case of

I1:

1,D1

1,D2

2,D1

2,D2

For I2:

1,1

1,2

2,1

2,2

 

In the mapping  tried with multiple options but no luck,Any suggestions regarding this issue.

 

 

 

 

 

Regards,

Aravind


Viewing all articles
Browse latest Browse all 7030

Trending Articles



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