Stateful messages in BPM(Urgent)
hi,
BPM is used for handelling stateful messages.But what is the maximum no. of messages it can handle,without reducing the performance.
Hi,
Business Process Management provides SAP Exchange Infrastructure with functions for stateful message processing: The status of an integration process is persisted on the Integration Server. This means that you can specify how long an integration process must wait for further messages to arrive, for example. Furthermore, this enables you to process messages within an integration process further still; for example, you can collect certain messages and then send them in a particular order.
For Performance fine tunning avaoid having message mapping inside BPM,do it either before the BPM or after BPM
BPM is used for Stateful communications,suppose u have to delay message processing,or wait for other messages to arrive and then semd them all together,in that case use BPM.
go thru this: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bf550d4-0201-0010-b2ae-8569d193124e
Performance is not only depend on the usage of BPM, it also depends on the message volume inside the BPM. So it depends on the memory size, message size i.e payload size , design , mapping used etc
This basically means SAP XI as a EAI tool without the BPM provides stateless message. this means that one message coming in SAP is not dependtent on another message.
BPM in SAP XI is used to make messages stateful and this allows us to do functionalities like collecting message , splitting message, waiting for a message etc.
Similar Messages
-
Stateful message processing for async scenario
Dear all,
my async scenarios:
1. RFC -> PI -> File
2. File -> PI -> RFC
Following facts:
- The second message is a response to the first one. Both message are separted and async.
- Scenario 2 can be send some hours after Scenario1.
- A response should only be send if a specified field in the message of first scenario is filled.
For example: Message in scenario has a field <ResponseNeeded>YES</ResponseNeeded>
This field does only exist in message of scenario 1.
- Both message have an ID field (e.g. <ID>4711</ID>) which can be used to identified the
corresponding message.
Questions:
- Is it possible to use stateful message processing for this scenario? Or do I need BMP + Correlation?
- A service interface with pattern "stateful" can only be used synchronously. So is it
possible to use this stateful for async message processing at least?
I would assume that I will need a BPM that sends the messsage and keep alive until a
response will be sends with same ID. After this I would check message of scenario1 and
send (or even not) the message of scenario2 to receiver depending on <ResponseNeeded>.
Thanks in advanced.
ChrisHi Chris,
Although BPM is possible here, I would not recommend you to use one here for the reason,
>>Scenario 2 can be send some hours after Scenario1.
This means you are keeping a process alive for so long which is not a good thing to do.
You could end up with a lot of open/live process instances.
Having said that, if you still wish to go ahead with BPM, the steps would be
1. Receive async (RFC req) - start process, correlation based on ID.
2. Switch step (Evaluate ResponseNeeded)
branch 1(True): a. Send asynch step - File
b. Receive async - File correlation - ID.
c. Send async - RFC call.
branch 2(false) a. Send async -File
3. Stop process.
Regards
Jai -
Hi experts,
Need to create one scenario to collect payload of XML files, I have done this work in Design and Configuration :
data types : test_collect
Message Types : test_collect
Message Interfaces : Test_collect_1 (abs asy), Test_collect_2 (abs asy)
I need to collect Test_collect_1 and pass it to Test_collect_2
Message Mapping : Test_collect_1 - Test_collect_1
Interface Mapping : Test_colect_1 - Test_collect_2
Integration Process is created as example in Standard Process in SAP BASIS
--> http://sap.com/xi/XI/System/Patters --> BpmPatternCollectPayload
Need to created more mappings or not.
How I will created proper Configuration Steps,
mean no. of Sender Agreements, receiver agreements, Receiver Determinations and Interface Determinations etc.
Regards,
Study SAPhi study sap,
check the below blogs to have a cleat understanding
Check these
BPM:
Walkthrough with BPM - Walk through BPM
BPM in XI https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/integrationProcess%28ccBPM%29inXI&
BPM-1 Walkthrough with BPM
BPM-2 Reconciliation of Messages in BPM
BPM-3 RFC Scenario using BPM --Starter Kit
BPM-4 The specified item was not found.
Schedule BPM Schedule Your BPM
Use of Synch - Asynch bridge in ccBPM Demonstrating Use of Synchronous-Asynchronous Bridge to Integrate Synchronous and Asynchronous systems using ccBPM in SAP Xi
Use of Synch - Asynch bridge in ccBPM https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
without BPM Sync/Async scenarios without BPM
without BPM1 Sync/Async communication in JMS adapter without BPM (SP19)
IDOC BPM IDOCs (Multiple Types) Collection in BPM
multimapping without BPM /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible---- Multi Map With out BPM
Various multi-mappings and Optimizing their Implementation in Integration Processes (BPM) in XI. Various multi-mappings and
Optimizing their Implementation in Integration Processes (BPM) in XI.
Illustration of Multi-Mapping and Message Split using BPM in SAP Exchange Infrastructure --- Illustration of Multi-Mapping
and Message Split using BPM in SAP Exchange Infrastructure
IDOCs (Multiple Types) Collection in BPM (N:1 Mapping )
regards
kummari -
Hello
I have read all related topics
fault message in BPM process
Alert monitoring and fault message types
Using Fault Message Type in BPM
but no answer..
I have synch BPM that send synch request to RFC and a mapping step. Then I have to catch exception (of send step or mapping) and send fault message in exception handler.
I haven't a proxy. I want to create fault message manually and send it. Is it possible? I cannot create an interface of fault message type.Hi Sergey,
As far as I know, it's possible to catch the mapping/send exception.
It's also easy to define an exception branch for this exception, and inside the exception branch, send a "normal" message in a send step.
However, as far as I know there's no way of specifying a BPM send step that sends a fault message.
At least in my experience, regular messages are just as useful when sending error information.
Cheers,
Ofer -
Hi Experts,
Collection of messages in BPM is not working,IP is executing for each Idoc.Actually i have done the sceanrio Idoc to File,Here I am getting multiple IDocs of same type from R3 when run a transaction and i would be generate a single file for all the IDocs.For this i have changed the occurence of Idoc from 1..1 to 1..unbounded and done the mapping betweeen these two. i have done bpm just like as standarad bpm pattern "BpmPatternCollectTime".I mentioned the time as 1 minute.in transformation step i had mentioned interface mapping for 1..1 Idoc to 1..unbounded Idoc and the real mapping conditions of this sceanrio is carried out after the bpm. The Idoc's are generating from R3 with the time diffrence of 3 secs.So it should generating a single file what ever the no.of idocs populating within a minute.
In monitoring it showning for bpm, its trigerring for each incoming Idoc and procesing successfully.
For Ex: Two idocs are coming from R3 then BPM triggers twice
What could be the possible reasons for this or i have done any thing wrong.
Any ideas.., Thanks in advance
Cheers
Tiger Woods.HI,
Try to Use Idoc packaging. also see the below links
/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
/people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm - collecting IDocs without BPM
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
Regards
Chilla -
Multiple files, same structure into one message without BPM
Hi,
Is it possible to read multiple files (each with single row) as one message without BPM by some configuration in channel?
For example:
input files placed simultaneously in input folder:
file1: a,b,c
file2: f,g,h
file3: k,l,m
after adapter picks files, xml message:
<Message_type>
<RecordSet>
<file>
<A>a</A>
<B>b</B>
<C>c</C>
</file>
<file>
<A>f</A>
<B>g</B>
<C>h</C>
</file>
<file>
<A>k</A>
<B>l</B>
<C>m</C>
</file>
</RecordSet>
</Message_type>Bond,
Yes Bond. You can read the pattern what you have given.
First Read the whole line in the file as one record. Now take the substring or write udf in mapping. This entirely depends upon your requirement.
Regards,
---Satish -
How to split messages without using Message split (BPM)
In file to file scenario how to split messages coming from file without using Message split (BPM)
Thank you very much.
-
Hi guys, i got a question regarding BPM. Does BPM will retain the sequential order of a message?
For example I am calling a storedprocedure oracle (via jdbc adapter) synchronously.
My message will contain 4 rows in sequential order 1 2 3 4. The stored procedure will return a value to XI (BPM) for each row (that is A B C D).
Does the return from the storedprocedure is also in the order of my message from BPM, that is:
For row 1, i will get an A for the return.
For row 2, i will get an B for the return.
For row 3, i will get an C for the return.
For row 4, i will get an D for the return.
Does anyone know about how XI (BPM) handle this?
I really appreciate any solution and input from you guys. Thank you very much in advance.Wishnu
Are you sending all the rows in one instance ( Single XML file ) or in different 4 XMl files.
If they are in different XML files than you have to use the Correlation, to assign messages that belong together to the same process instance.
- Lalit - -
How to monitor message in BPM?
Hi all
I try to find in forums but I did not find. Could you please to guide me how I can to see message content in each step in BPM.
Thanks and Regards
ParkHi park,
To monitor messages for BPM... got transaction SXMB_MONI_BPE
there u can check each step.....
hey... check the slide....also useful......
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1db5e190-0201-0010-1c90-d9de570c6b18
Regards
Biplab
<i>Reward with point if useful</i> -
HT3529 How do I make my text messages quit saying "urgent"??
All of my text messages are showing "Urgent". How do I take this off?
What are you talking about?
-
Hi
I'm having a scenario where i use a JDBC adapter to extract data from a DB. As a result of the query say, 10 rows are returned as message to XI server. I have a transformation (BPM) set and the receiver(target system) is a file. When i open the file to see its contents i can see only the first record been transfered. The mapping part used for the transformation node is having IF condition. But all the fetched records satisfies the conditions in the mapping.
Pls let me know the corrective step.
reg: PrabhuHi,
1)Check the input XML i.e all 10 records are coming into XI . This you can check in SXMB_MONI
2) Then you can test the mapping in the integration Reposiotry .. So now you can get if any mapping problem. For this , check is the occurence of target strcuture is 1..n or 0.n
/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
3) If mapping is correct , then check the RWB->Message Monitoring->Message Display Tool and check the payload.
4) If this is correct, then check the File COntent Conversion of the Receiver File Adapter.
Hope this helps,
Regards,
Moorthy -
Report Error Message in BPM Alert?
Hi,
I designed a BPM with a transformation step and a send step. For each step I have an exception branch where I want to trigger an alert, when something goes wrong.
I already configured in TC ALRTCATDEF an alert category (Dynamic Text activated). And I made an container operatinon with folloing control step, where I for example report the message ID.
But, going through the blogs and threads I didn't find the information, how I can report the exact error message, the error category (and in case of the send step the adapter and the adapter error text) to the alert. How can I get this data to put it into a container variable?
Can anybody give me some information about that?
Thanks in advance
Dominic
System: PI 7.0 SP15You can use the below information for raising an Alert for adapters.
Specific Error Information from the Adapter Engine:
Container Element
ABAP Dictionary Data Type
Meaning
SXMS_TO_ADAPTER_TYPE
CHAR70
Adapter type
SXMS_TO_ADAPTER_ERRTXT
CHAR70
Error text from the Adapter Engine
Refer the below link:
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm -
How to Multi-Map N:1 messages in BPM when N is unknown
I need to perform an N:1 message mapping in a transformation in an Integration Process. SAP Documentation explains how to do this:
[http://help.sap.com/erp2005_ehp_03/helpdata/EN/21/6faf35c2d74295a3cb97f6f3ccf43c/content.htm|http://help.sap.com/erp2005_ehp_03/helpdata/EN/21/6faf35c2d74295a3cb97f6f3ccf43c/content.htm]
But it seems to be the case that the first message of the source will be contained in a <Message1> </Message1> element pair, the next message in <Message2> </Message2> element pair, etc.
So what do I do in the case of a variable number of input message that get mapped to one message? I don't know how many messages will be coming in before the mapping needs to be done; it depends upon how many messages are sent out in a fixed time interval.
I will be using an ABAP XSLT transform to do this. I cannot use a
<xsl:for-each select="Message">
Kind of construct because each message is enclosed by a different <MessageN> element.
This must be a problem that has come up before. Can anybody please point me to the solution?
Kind Regards,
Tony.
Edited by: Anthony Bateman on Mar 23, 2008 9:31 PMHi Anthony,
Yes you can perform N:1 message mapping using BPM by just using a "wait" step. Its very simple. The "wait" step waits for a particular time period or scheduled time(like 25th March 10:00 PM).
If only "collection of input messages for a particular time interval" is your concern, then I think you can just do it with a simple BPM and no need of ABAP XSLT maaping. It can done by a simple Message mapping itself.
I can send you screenshot of a sample BPM which does this work on your mail Id if you are interested. Plz provide your email ID.
If I havent understood your Qn properly, plz do inform.
U can refer,
/thread/186475 [original link is broken]
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
/people/siva.maranani/blog/2005/05/22/schedule-your-bpm
Thanks,
Shobha -
Handling SOAP Fault messages in BPM
Hi,
My scenario is Sync-Async Bridge involving File to SOAP transformation. I have used BPM as 1 file has many records and each record is required to call the web service synchronously.
In the BPM I have
Receive ---> Transform (1:n multimapping ) -
> Block (Par for Each)
In Block I have Send Sync step to call Web service . I have an exception branch for the send step for catching Fault message that is sent back from webservice for Application Fault.
Problem:
Though the Fault message is sent from web service ,in the BPM the block goes in error saying : "No exception defined for fault message ". The Exception brach is not executed.
Please suggest if anyone has come across such a scenario and solution to this.hi satesh
using "exception handler" in BPM we can handle the error messages
regards
kummari -
Handling fault messages in BPM
Hi,
I am using BPM for a RFC to SOAP scenario to handle Fault messages. (Please have a look at my previous post also SOAP Fault message )
I have created an exception block in BPM to catch the fault message from SOAP service. Inside the exception block i need to map the fault message to RFC response. But fault message is not accessible in Exception block.
Let me know if you have any idea to solve this.
Thanks,
UmaUma:
Let me make clear the requiremt. You have RFC Import(aka Request message) and Export(aka Response + Exception) and you have Web Service with Request, Response, Fault messages. And you want to send the fault messages back to the RFC in addition to the response. I was wondering, If we do the following mapping without BPM, does that fulfill your requirement.
RFC-Import <----
> SOAP Request
RFC-Export <----
> SOAP Response
RFC-Export <----
> SOAP Fault
Can you let me know if you face any problems with this one. I have seen your other thread and was wondering, whats the problem is. May be I didn't understand the requirement properly. Please clarify me
Maybe you are looking for
-
Question. I look for integrated in the legend bloc of diaporama, a widget such as "Accordion" for, with a click, or passing with mouse, open a new legend for each photo. I tried with "Accordion" of Muse, it does not work. I tried copy/paste, mais no
-
My ipod 5 wont connect to wifi, all the other devices in the house will does not make sense
Ipod 5 wont conect to wifi in my house when other devices do. does not make sense, went to apple store connected no problem there. Funny thing is it has worked since christmas now all the sudden i have problems, any ideas?
-
Set password for DSN (SQL Toolkit)
Hello everybody, I'm working on WinNT4.0 with LV5.1.1 and SQL Toolkit v5.0. I've got an ODBC DSN for an Oracle7 database. I'm asked for a password when I make a connection to the DSN, which I now enter manually. After that I can read and write data t
-
Can't use multiple speakers?
when trying to play music on both my desktop and my stereo (where the music is playing now), after clicking on the mulltiple speakers tab, I get a message saying that my express "doesn't support playback as part of a group." can someone tell me why t
-
IPod crash when updating w/ iphoto
Ok guys - old problem, new version: I am synching my fifth gen iPod. I successfully update eveything right up until it gets to my photo (I have iphoto 6.0.5). Then itunes (7.1) says it couldn't update due to error-36. When I check the ipod all the mu