cancel
Showing results for 
Search instead for 
Did you mean: 

JMS to IDOC

Former Member
0 Kudos

Hi All,

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?

Thanks

Karthik.

Accepted Solutions (0)

Answers (2)

Answers (2)

Shabarish_Nair
Active Contributor
0 Kudos

what you need is to use xpath conditions.

Ref:

Receiver Det- Xpath:

/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination

/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers

XPATH in Interface Det:

/people/suraj.sr/blog/2006/01/05/multiple-inbound-interfaces-within-a-service

MichalKrawczyk
Active Contributor
0 Kudos

hi,

>>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

Regards,

Michal Krawczyk

Former Member
0 Kudos

Hi Michal,

Thanks for your suggestion...but i have forgot say that my sender and receivers are same but the sender interface and name space are different for those interfaces. At the time how can i give the condition? Please suggest me.

Thanks

Karthik

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>the sender interface

hmm... then you have two channles right ?

if so use receiver determination only - I don't see the issue here

Regards,

Michal Krawczyk