I am facing an issue at the time of JMS TO IDOC. I have done two scenarios JMS TO IDOC. I am using the same idoc invoices (FIDCCP02) for both interfaces. At the sender JMS adapter the JMS Queue is same for both. My requirement is If the interface ID(REFMES) is 1000 then the message should be processed and post the Idoc through the Interface1 and If the Interface ID is 2000 then it should go through Interface 2.
Can any please give me suggestions on this?
what you need is to use xpath conditions.
Receiver Det- Xpath:
XPATH in Interface Det:
>>1000 then the message should be processed and post the Idoc through the Interface1 and If the Interface ID is 2000 then it should go through Interface 2.
you can use two things for this:
a) if you have different IDOC receivers (2 SAP systems) then use receiver determinaiton and put your condition over there
b) if you have the same receiver you cna use interfaces determination
(add one more position and you can use condition columan as with receiver determination)
so you can always stay in standard