cancel
Showing results for 
Search instead for 
Did you mean: 

sending data to targer one message at a time

Former Member
0 Kudos

Hi

I have a file -> http scenario.

in the file there is customer data with multiple customer records.

I have to send these customers to the HTTP client one cust at a time. how can i do this and what can be the mapping cardinality.

and how will the bpm look like

thanks

nikhil

Accepted Solutions (0)

Answers (2)

Answers (2)

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

Receiver HTTP adapter supports a QOS of EOIO . SO, you can use a multimapping without BPM and then select QOS as EOIO to process one message ater the other in your HTTP side and avoid BPM.

/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

http://help.sap.com/saphelp_nw04/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm

Regards,

Bhavesh

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

Sorry for the cofusion here.

Unfortunately HTTP adapter resides on the ABAP stack and so it cannot be used in multi mapping.

You will need a BPM.

Regards,

Bhavesh

Former Member
0 Kudos

Nikhil,

Mapping --> You need multi mapping to get 1:N msgs. Cardinality: Set in Messages tab in Message Mapping

Source : 1

Target : 1..Unbounded

Steps in BPM

1. Receive(to receive from file)

2. Transformation (target will be a multi line msg)

3. Block. Mode (For Each)

With in the block send(to send single customer data to HTTP)

Regards,

Jai Shankar.

Former Member
0 Kudos

Hi,

check this example for the same:

http://help.sap.com/saphelp_nw04/helpdata/en/11/13283fd0ca8443e10000000a114084/content.htm

This can be seen in the SAP BASIS SWCV also.

Regards

Vijaya

Former Member
0 Kudos

Hi Jai,

I developed the scenario as u discribed .

not getting any error but the data is not getting passed too. I checked the BPM and its status is completed

any idea why could it not work. I have made the scenario as HTTP -> XI -> File.

thanks

Nikhil

Former Member
0 Kudos

Hi,

1, If u are not receiving anything back then u can remove th cardinality.

2. Check if the File adapter has an error

3. ALso, in your BPM check if the send process is triggered

Regards

Vijaya

Former Member
0 Kudos

Nikhil,

Can you see the msg from HTTP in SXMB_MONI?

Can you see your msg in SXMB_MONI_BPE?

Sure there are no errors?

Regards,

Jai Shankar.

Former Member
0 Kudos

HI Jai,

I checked the sxmb_moni the HTTP message is in there. but there is no message from the IP going out .

I even checked the sxmb_moni_bpe . in there the last work item mentioned is block. it seems to me that the send step inside the block was not processed.

i was getting a problem and that was while assigning the current line in the block step the container created at the process level was not getting accepted. so i had to creat the container at the block level. and the same i assigned to the send step to .

if you can figure out something then please do let me know

Thanks

Nikhil

Former Member
0 Kudos

Nikhil,

>>> had to creat the container at the block level

You did it correctly.

>>and the same i assigned to the send step to

Correct again.

Regards,

Jai Shankar.

prabhu_s2
Active Contributor
0 Kudos

Check if the container is set as mutliline inside the BPM. Also ensure that the IM has cardinality set as 0..unb for target message as in MM

Former Member
0 Kudos

Hi,

i have checked all the details. as specified by u .

I checked in the Tcode sxmb_moni_bpe its not showing the send step work item . its only showing the work items up to block step .

any idea why is it so

Thanks

Nikhil