Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3523

Mapping requirement for file to IDOC scenario

$
0
0

Source: we have file which contains many vehicle (C1 to C6, F1 contains fault code field) records C1 Is mandatory, for each occurrence of C1 we are creating one IDOC.

The issue is F1 (faultcode) record can repeat any number of times in each vehicle

The each occurrence of Fault code should be mapped to Err code1, Errcode2, Errcode3… at the target side(IDOC).

We have achieved it by using index (mapping)

screenshot1.png

 

But by using the above logic we could only generate the ERRCode only for the first vechicle in the First IDOC, no other IDOC are getting the values.

PFA input  structure:

screenshot1.png

The first IDOC is comming fine with containing error code feils :

screenshot1.png

2nd IDOC no err_code should come as the input file contain only record C1 not Record F1.

3rd IDOC Err_code is not populating though it contin Record F1 (faultcode field)


Viewing all articles
Browse latest Browse all 3523

Trending Articles



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