on 12-23-2010 11:38 AM
Hi,
I have this peculiar scenario where i need to split xml file to process in pi,as the source xml file
is too big to process efficiently.
THIRD PARTY XML>PI----->SAP
THIRD PARTY --XML---->PI------->SAP
use multi-mapping for RFC....for IDOC you can change the occurence of the IDOC and then generate the idoc based on some condition...like split the file at every 100 records
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can think of the below approach.
Since it is an XML file, you can create a similar structure on the source side. Map it again to the same structure on the target side but split it based on each node.
Now, you would have a structure, where the parent nodes are split as messages. For this, you have to change the occurences of the target structure and use enhanced interface determination.
Then, create a JMS receiver channel to read each split message and map it to the Idoc.
This can be done in two mapping steps:
1st mapping: XML File -- > JMS split message
2nd mapping: JMS split message -- > IDOC
Thank you.
Regards,
Subbu
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.