cancel
Showing results for 
Search instead for 
Did you mean: 

BPM collect message

Former Member
0 Kudos

Hi All,

I am doing a scenario for collecting messages using BPM, the objective was i need to collect the input messages and to be stored, when the message reaches 10, then it should deliver all these 10 messages to the target.

for this, i have designed bpm with the

1. Receiver Step

2. Container Operation

3. Transformation and Send.

but i am getting the following error while activating

Exptession must not return an multiline value

Expression must return the interface type MI_OUT_A

Expression must return the interface type MI_IN_A

Container element var1 in step Receive1 is initialized but is not used.

Here var1 is the abstract interface

the datatype& message type was DT_A and MT_A and the interfaces are MI_OUT_A and MI_IN_A.

could anyone clarify regarding this issue..

regards,

Sai

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hello Sai,

Tell me Exactly u r doing Bundling Idoc scenario,,,

Thanks,

Satya..

Former Member
0 Kudos

hi sai

please go through the following link

http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm.

Rewards point if found helpful

regards

Kasturika.

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

hi

Expression must return the interface type MI_OUT_A

Expression must return the interface type MI_IN_A

in tranformation step yo must define 2 MI wichs must be declarated like abstract. in this case.

MI_OUT_A

MI_IN_A

if there no problem in the configuration of this step no red box must be in the options.

Exptession must not return an multiline value

check that you must define a var with multiline option and i guest you are using it in tranformation step.

in mapping yuo must add 10 message of MI_IN_A. and mapp them againt MI_OUT_A.

try this

rgds

Former Member
0 Kudos

Sai,

Refer to the Integration Process "BpmPatternCollectPayload" in the SAP BASIS Software Component under the namespace "http://sap.com/xi/XI/System/Patterns".

This would help you.

Regards,

Hari.

Former Member
0 Kudos

Hi Hari,

I have seen the BPM collect message payload but the message type used in message mapping was different from which the data type used.

DT data type structure was different from the structure used in message mapping ..

Is it possible to add any node elements in message mapping, i think it is not possible.

clarify regarding this issue..

regards,

Kumar.

Former Member
0 Kudos

Hi,

Check some links on BPM.

/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm

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

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

/people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi

/people/michal.krawczyk2/blog/2005/09/04/xi-do-you-realy-enjoy-clicking-and-waiting-while-tracing-bpm-steps

/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/daea5871-0701-0010-12aa-c3a0c...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/e8515171-0701-0010-be98-e37be...

Regards,

Phani

Reward points if Helpful

Former Member
0 Kudos

i am not sure..

but i think u shd have a loop as well and handle ur count also there.