I am working on the scenerio in which i have to send data to different system depending upon the sending payload....
to brief about it..
i am using 2 mappings!! one for reciever determination and other for normal functionality
/ns1:Receivers=/ns0:MT_ABAPPROXY= /ns1:Receivers/Receiver=/ns0:MT_ABAPPROXY/header= /ns1:Receivers/Receiver/Service=SplitByValue([type=Each value]iF(const([value=BS_AED]), stringEquals(/ns0:MT_ABAPPROXY/header/EMPNO=, const([value=000000000023])), const([value=BS_AED_210])))
the logic was like i need if the employe number = 000000000023 , th ereciever should be BS_AED_210 else it shoud be BS_AED.
The other mapping which performs the functionality of the Scenerio:
Messages-> Messages->
Message1-> Message1->
MT_PROXY->(1..1) (a) ZTEST1(0..unb)
(a) header-> (0..unb) Data
(b)EMPNO (b) EMPNO
(c)EMPNAME (c) EMPNO
where ztest is my Customized RFC...
in ID Type of Recvr Det is Extended
And mapping i have put is my first mapping where i determine my Reciever
In Interface Det1: reciever was BS_AED
In Interface Det2: reciever was BS_AED_210
The data is gettign branched and Split sweetly it is not sending into diff syst.
as my data is like
EMPNO = '000000000022'.
EMPNAME = 'B'.
EMPNO = '000000000023'.
IT_HEADER-EMPNAME = 'C'.
.
the logic say 23 one should go to one specific system BS_AED_210 and the other to BS_AED ... but it sending both the data in both the systems...
I hope i have clarifiy my problem..
Kindly help me out in solving this issue....