cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP adapter

Former Member
0 Kudos

Hi all

I configured HTTP adapter for (IDOC>XI>HTTP)scenario.

The message are being posted in to a jsp page.

Every time I trigger a material in R/3 the messages are being posted sucessfully but same material data is in multiple XML messages in the destination.

I want to mention that all tha elements in my data type have maxoccure=1.

How can I avoid this so that only one message can be posted for one MATERIAL record.

My Other Question is........

Is there a way to send username or something to determine the sender.

Can someone help me please........

Thankyou.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

<i>Is there a way to send username or something to determine the <b>sender</b>.</i>

i hope that as receiver...

U can use the Condition editor in ur Rx. Determinationto determine the receiver. "Dynamic content based routing".

If u are usign ur BPM, u can use switch to do this routing.

Cheers,

siva Maranani.

Former Member
0 Kudos

Hi siva Maranani

Thanks for the reply.

>>U can use the Condition editor in ur Rx. Determinationto determine the receiver. "Dynamic content based routing".

could you plese elobrate this for me please.

Thankyou

Former Member
0 Kudos

Hi,

In ur receiver determination-->Condition editor, u can specify the condition based on which the data is routed to the receiver.

For example, if the input message has a field "companycode". Depending upon the filed, u can route it to two business systems(say BS1, BS2). So u can use the condition editor to do this.

Refer to this link for Condition editor and how it can be used to specify conditions for routing messages to diff systems...

http://help.sap.com/saphelp_nw04/helpdata/en/67/49767669963545a071a190b77a9a23/content.htm

Cheers,

Siva Maranani.

Former Member
0 Kudos

Hi Siva Maranani

Thanks for the quick reply.

My query was that MULTIPLE copies of the triggered MATERIAL are being posted in the website.

Basically..............

say 3 XML messages with same data are appearing in the WEBSITE.

Former Member
0 Kudos

Hi,

as far as I know, to send a message more than once to a receiver, you need a BPM process (loop function and modification in occurence of different elements).

I would guess that the HTTP side is not working well when receiving and processing the message.

A simple occurence change in target interface e.g. should not work!

Did you check in monitoring (RWB, SXMB_MONI) if XI is sending a message in this scenario more than once?

Regards

Dirk