on 05-26-2005 9:04 AM
Hi experts,
I have a scenario where XI has to read the following flat file.
-
FI010 delivery start ( 1..1)
FI020 Section start (1..n)
FI030 paymentrecord ( 1..n )
FI040 Name adresse record FI041 Meddelelsesrecord
FI080 Sektion end
FI020 Sektion start
..
FI080 Sektion end
FI090 delivery start
-
For each FI020 section XI has to create an Idoc.
In the message mapping i can create only one idoc.
How can i split this source message into multiple messages ( dependant on FI020 section records ) so that message mapping is done for each message and mulitple IDocs are created???
Can i split the source message using file adapter?
can i use BPM transformation to do this??
Looking forward to share your ideas.......
thanks in advance
Suneel
Message was edited by: Suneel
Hi,
For message mapping, you have to first convert the IDoc occurrence to '0 to unbound' in the idoc structure. please refer to sap note 814393.
You can use XSLT mapping, so that you have write a loop on 'FI020' records and create mulitple idocs inside the loop under one idoc package.
No need for BPM.
Thanks,
sasi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suneel,
you should use BPM to create multiple IDocs. In the basis SWCV is a example for a message split with BPM. You can easily use a message mapping to tranform 1 message in to many. You need for that a multiple-row-container. Loop over the rows and send the IDocs.
Regards, Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I was reading thru the thread..
I request a help.
I have a scenario where i have a outbound idoc (Zartmas04)
Against a material it can have multiple plant information.
It is required I update 6 tables of anotehr application if the incoming messages have all the mandatory fields..Else i have to consolidate all the error (Material Plant Comination) and send a Mail
Let me know how can i achieve this
Thanks
John
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.