FILE TO MULTIPLE IDOC QUERY
I have a file (PO details)from which i create multiple idoc. The structure of file and idoc is as follows
now in order to get multiple idoc from the file structure i changed the idoc segment cardanility to 0-unbounded and mapped
HEADER of file to IDOC node of idoc so that idoc gets created for each header,
my requirement is that for each idoc
1) the batch segment should also get populated
2) there is a feild batchid in the batch of file value of that feild should be populated in one of the header feilds
Presently suppose the file has 10 POs, then it creates 10 IDOCS where in only the first idoc has the batch segment populated and the header of first idoc has batch id populated , rest 9 IDOCS the batch segment is blank and even i am not getting the batchid value in the header.
Edited by: Sudhakar Gongloor on Jun 21, 2010 4:12 PM
Shabarish Vijayakumar replied
so in your case if source field A has 5 values and you need there values to go into 5 IDocs, you will use
Source field A -> Split by value -> Idoc field
Also note that you will have to similarly maintain a context mapping for the parent node of the target field.