please help with converting multiple idocs to single xml
I have had similar challenges / tasks / projects, and my solution has been as follows.
Depending on size I either save the files to local disk or uses an Add To Cache shape.
Before the Add To Cache shape, I define a Dynamic Document Property "key" with value in this example 2
In the Add To Cache shape all documents are stored with this DDP
When all documents have been added to the cache, I simply use a Load From Cache shape to get the files
In the Data Process Shape, I perform a combine of the Documents and that is basically it.
Hope the answer helps.
Kind regards, Leif
Thank you Lief Jacobsen.
appreciate your help. :-)
Leif answer was helpful.
But still, I got your got your question to be ambiguous.
To convert multiple IDOC's into a single IDOC then you might need to create a canonical profile in the target and use it accordingly.
If you wan to append then, in that case, I suppose you can directly use disk connector with append operation.
Sorry, should have been more specific.
In one of my integrations, where I use this technique, the files are too large to be cached so I save them to disk no appending. When all the files are saved to disc, i.e. with filenames file1, file 2, file3 etc. another disc operation gets and deletes the files, and they are combined in a Data Process Shape.
Thanks, Leif now I see your point.
Retrieving data ...