on 09-10-2007 4:06 PM
Hi All
I have to send an idoc to 2 Receivers by spliting the message.
Based on the occurance of a particular source segments i need to create those many instance of targets.
IDOC ---> Rec1 (More than one message instance)
---> Rec2 (More than one message instance)
I have taken messages of Receiver into a multi line container1
and messages of Receiver 2 into another multi line container2.
HOW can i rotate the loop as many lines of multi line container.
Thans
Prasad
Prasad,
We can use For-Each block to loop through the messages in Multiline element. But ur scenario is confusing, can u be more specific about the scenario.
Is it like that ur receiver depends on the number of source occurrence.
What is the receiver ? is it file?
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raj
There are two webservices are 2 receivers.
In the idoc there is specific segment , which occurs unbounded,Each occurence we Need to check the value of a particual field and send to corresponding Receiver.
For Ex:
ZE1KONH (1..Unbounded)
>MSFGN =004 --> Rec1
>> MSFGN==0009 Rec2
It could be like , 1 or more segm for Rec1 and 1 or more segm for Rec2
all are for Rec1 or All are for Rec2.
so in the tranformation we need to put all message of Rec1 in corresponding multiline container as well for Rec2. Then i need to send to correspongind Receiver.
So here i need to send all splited messages to appropriate receivers
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
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.