Patterns in bpm
Hi all,
how many types of patterns are there in BPM?
Thanks
Keerthi
Keerthi,
check these links
http://help.sap.com/saphelp_nw70/helpdata/EN/9c/8d8442dcaad665e10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/EN/45/79af42a6f6cb6ae10000000a155106/frameset.htm
Similar Messages
-
what is process pattern in BPM? How many Process Patterns are there namely?
Please REPLY urgently?Hi vinod sharma ,
The following websites give u complete details on Process Patterns in BPM :
BPM Process Patterns Repeatable Designs for BPM Process Models
http://edocs.bea.com/albsi/docs55/pdfs/BPM%20Process%20Patterns%20White%20Paper.pdf
An introduction to Business Process Management
http://www.avelon.nl/downloads/Introduction_BPM.pdf
Business Process Management -Modeling to Execution
http://www30.sap.com/korea/company/events/techday05/img/data_06.pdf
BUSINESS PROCESS MANAGEMENT (BPM)
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ed49db90-0201-0010-c4a5-c520866a19c7
BPM Process Patterns:Repeatable Design for BPM Process Models
http://www.bptrends.com/publicationfiles/05%2D06%2DWP%2DBPMProcessPatterns%2DAtwood1%2Epdf
cheers!
gyanaraj
****Pls reward points if u find this helpful -
Hi All,
1) On which field I should use correlation in order to post POs into R/3 using Collect Pattern procedure in BPM?
2)What is the advantage of using Collect Pattern in BPM?Hi Krishna,
Pls give complete scenario, so that exacltly we can help how to use.
Just for information on collect pattern
BPM CollectPattern..
http://help.sap.com/saphelp_nw2004s/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm
Thanks,
venu -
hi
experts
What are patterns in BPMHi
BPM Patterns are designed by SAP by considering the frequent requirement.these patterns can be reused in the similar requirement rather than the developer designing it from the scratch....and you can find the patterns under SAP BASIS Software Component...
The following websites containing PDF & PPT documents BPM Patterns which will answer u'r question in detail with examples:
http://www.sap.com/platform/netweaver/pdf/BWP_NetWeaver_BPM.pdf
BPM Process Patterns Repeatable Designs for BPM Process Models
http://edocs.bea.com/albsi/docs55/pdfs/BPM%20Process%20Patterns%20White%20Paper.pdf
An introduction to Business Process Management
http://www.avelon.nl/downloads/Introduction_BPM.pdf
Business Process Management -Modeling to Execution
http://www30.sap.com/korea/company/events/techday05/img/data_06.pdf
BUSINESS PROCESS MANAGEMENT (BPM)
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ed49db90-0201-0010-c4a5-c520866a19c7
BPM Process Patterns:Repeatable Design for BPM Process Models
http://www.bptrends.com/publicationfiles/05%2D06%2DWP%2DBPMProcessPatterns%2DAtwood1%2Epdf
Also these blogs will be helpfull
Walkthrough with BPM
XPath to show the path (Multiple Receivers)
RFC Scenario using BPM --Starter Kit
/people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
The specified item was not found.
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-c3a0c6d54e02
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/e8515171-0701-0010-be98-e37bec4706cc
BPM:Single Sender and Multiple Receivers based on synchronous exchange(switch) part-1
Using a BPM to collect messages for a set interval of time
Thanks
Saiyog -
Interface Mappings in BPM Collect Pattern
Hello
I am new to XI development and currently facing problems while implementing collect pattern of BPM.
I am trying to map IDoc structure with target legacy format.In BPM I had a block with infinite loop where I am transforming IDocs to target legacy format.Then I am trying to transform list element (Multiline Abstract container variable) to form a single message.For this I tried to have interface map with Occurences 0..unbound..but while activation of Interface Map it gives error
<b> Mapping program Message does not match the interface mapping. The number or frequencies of source or target messages for the message mapping are not identical to the number or frequencies of source or target interfaces.</b>
If I use single line in Interface map then in BPM it gives error when passed Multiline element to this Interface map.
I checked the sample program provided by SAP but I found out that every message interface was using same Message Type which has got occurence as 1 but in the message mapping program its 0..unbound.
My question is can we have data type (or Message type )with Occurence as 1 and Message Mapping program using same message type with occurences 0..unbound..I tried to find such option but could'nt find that.Otherwise how to do Interface Map for transforming Multiline parameter of BPM to a single message.
Please help..Thanks in advance..
Regards
Rajeev PatkieInitially I tried to perform test by tree view and it worked fine.But it was one message in the source and the same was in target.Later as given by you I updated XML source message.The source message looks like
******************Source Message***********************
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ns1:MATMAS_to_Stockware_MT xmlns:ns1="http://mccormick.com/ez_dev">
<MAT_List>
<ZPITNO>121212</ZPITNO>
<ZPIDS>Test Message</ZPIDS>
<ZPPOPN />
<ZPCNQT />
<ZPZLOC />
<ZPZPCB />
<ZPZCPA />
<ZPGRWE />
<ZPSAEL />
<ZSPLDY />
<ZPFRAG />
<ZPZCRO />
<ZPZOPT />
</MAT_List>
</ns1:MATMAS_to_Stockware_MT>
</ns0:Message1>
</ns0:Messages>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message2>
<ns1:MATMAS_to_Stockware_MT xmlns:ns1="http://mccormick.com/ez_dev">
<MAT_List>
<ZPITNO>78912</ZPITNO>
<ZPIDS>Test Message12</ZPIDS>
<ZPPOPN />
<ZPCNQT />
<ZPZLOC />
<ZPZPCB />
<ZPZCPA />
<ZPGRWE />
<ZPSAEL />
<ZSPLDY />
<ZPFRAG />
<ZPZCRO />
<ZPZOPT />
</MAT_List>
</ns1:MATMAS_to_Stockware_MT>
</ns0:Message2>
</ns0:Messages>
************************End Source*********************
if this would be the message multiline is generating its bound to fail as I guess every XML has one topmost element and over here.So I changed my source XML to look like
******************Start message******************
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ns1:MATMAS_to_Stockware_MT xmlns:ns1="http://mccormick.com/ez_dev">
<MAT_List>
<ZPITNO>121212</ZPITNO>
<ZPIDS>Test Message</ZPIDS>
<ZPPOPN />
<ZPCNQT />
<ZPZLOC />
<ZPZPCB />
<ZPZCPA />
<ZPGRWE />
<ZPSAEL />
<ZSPLDY />
<ZPFRAG />
<ZPZCRO />
<ZPZOPT />
</MAT_List>
</ns1:MATMAS_to_Stockware_MT>
</ns0:Message1>
<ns0:Message2>
<ns1:MATMAS_to_Stockware_MT xmlns:ns1="http://mccormick.com/ez_dev">
<MAT_List>
<ZPITNO>78912</ZPITNO>
<ZPIDS>Test Message12</ZPIDS>
<ZPPOPN />
<ZPCNQT />
<ZPZLOC />
<ZPZPCB />
<ZPZCPA />
<ZPGRWE />
<ZPSAEL />
<ZSPLDY />
<ZPFRAG />
<ZPZCRO />
<ZPZOPT />
</MAT_List>
</ns1:MATMAS_to_Stockware_MT>
</ns0:Message2>
</ns0:Messages>
**********************End Message****************
but this produces only one output message
******************Start Message***********************
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ns1:MATMAS_to_Stockware_List xmlns:ns1="http://mccormick.com/ez_dev">
<MAT_List>
<ZPITNO>121212</ZPITNO>
<ZPIDS>Test Message</ZPIDS>
<ZPPOPN />
<ZPCNQT />
<ZPZLOC />
<ZPZPCB />
<ZPZCPA />
<ZPGRWE />
<ZPSAEL />
<ZSPLDY />
<ZPFRAG />
<ZPZCRO />
<ZPZOPT />
</MAT_List>
</ns1:MATMAS_to_Stockware_List>
</ns0:Message1>
</ns0:Messages>
**********************End Message****************
I am also pasting schema of message mappings
*****************Source Schema************************
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://sap.com/xi/XI/SplitAndMerge" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://sap.com/xi/XI/SplitAndMerge">
<xsd:import namespace="http://mccormick.com/ez_dev" />
<xsd:element name="Messages" xmlns:p0="http://mccormick.com/ez_dev">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Message1" form="qualified">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="p0:MATMAS_to_Stockware_MT" minOccurs="0" maxOccurs="unbounded" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
********************End Source***********************
********************Target Schema******************
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://sap.com/xi/XI/SplitAndMerge" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://sap.com/xi/XI/SplitAndMerge">
<xsd:import namespace="http://mccormick.com/ez_dev" />
<xsd:element name="Messages" xmlns:p0="http://mccormick.com/ez_dev">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Message1" form="qualified">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="p0:MATMAS_to_Stockware_List" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
****************************End Target*************
Thanks in advance.
Regards
Rajeev -
Hi all,
Am doing a collect message pattern using BPM. After collecting messages wen mapping is called its throwing exception. CAn you help me out in this. I ll explain.
the input i give is :
<Root>
<Name> asd </name>
<ID> A </ID>
</Root>
i sent thid message 5 times to BPM (using collect pattern).
the stop message is of the format
<Stop>
<ID> A</ID>
</Stop>
wen i send this the collect block is exited and the flow comes to a transformation step which does a n:1 mapping
ie. in my mapping i add the source message type and changed its occurence to unbounded in messages Similarly in IM also i changed the occurence of source MI to unbounded. wen i test the message mapping with this
<Root>
<Name> asd </name>
<ID> A </ID>
</Root>
as input it gives the exception. But if i gve like this ten its showing successful.
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<Root>
<Name> asd </name>
<ID> A </ID>
</Root>
</ns0:Message1>
</ns0:Messages>
But how can wedo that as transforamtion happens in BPM. PLease help me out in thisHi,
Check these links
/people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm
/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
http://help.sap.com/saphelp_nw2004s/helpdata/en/76/5d373f5e550456e10000000a114084/frameset.htm
Regards,
Kumar -
Correlation Collect pattern in SAP XI
Hi,
Could some one please clearly and simply explain me about the correlation and collect pattern in BPM. Your help is really appreciate.Hi,
First go thru these links will help you to understand the concepts-
/people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
http://help.sap.com/saphelp_nw2004s/helpdata/en/a5/64373f7853494fe10000000a114084/frameset.htm
BPM CollectPattern..
http://help.sap.com/saphelp_nw2004s/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm
Questions are welcome here!!
Also mark helpful answers
Thanks,
moorthy
Message was edited by: Krishna Moorthy P -
Hi All,
My scenario is Portal(SOAP)- - - R/3(RFC)- - - MDM
The webservice(Asyn) is being triggered from the portal ,it will update the data into ECC system by using a RFC(syn) and from the response(status) of the RFC the message is passed to the MDM server.
Could anyone suggest me on how to proceed the above stated scenario.
Thanks in Advance.
Regards,
LavanyaUse Async Sync bridge pattern with BPM
Soap sender (async) ---> RFC(sync) --> Proxy or Idoc (async)
For Soap sender refer this document
To configure Asynchronous
use Quality of Service: Exactly Once
Follow this link for soap sender configuration
http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
For Async sync pattern use this link... also Refer below link does RFC (sync)
http://www.riyaz.net/blog/a-step-by-step-guide-to-bpm-asynch-sync-bridge/technology/sap/170/
For Proxy or Idoc at the target side... This below link gives abap proxy receiver details
http://wiki.sdn.sap.com/wiki/display/XI/Step-by-stepFTPtoABAPProxy
Hope this helps. -
Synchronous and asynchronous bridges in bpm
hi
please tell me any one in whitch situation we r using synchronous and asynchronous communiction?
please give me some example.
thank u
SwariHi Swari
Already VJ has explained you
Example
Demonstrating Use of Synchronous-Asynchronous Bridge to Integrate Synchronous and Asynchronous systems using ccBPM in SAP Xi
To check other patterns in BPM Check
BPM with Patterns explained Part-1
BPM with Patterns explained Part-2
Thanks
Gaurav -
Error from BPE Adapter using in Async Sync scenario
Hi,
I'm trying to use a Asyn Sync pattern with BPM:
1)File adapter get a file from AS400, split it several XML messages and send to XI(Async)
2)XI get each message and forward to BPM using XI adapter
3)BPM has to send the message to R/3 via BAPI (Sync)
4)R/3 reply the result message to BPM(Sync)
5)BPM has to send the result message to e-mail system if an error had occurred in BAPI call (Async)
When I send directly from File adapter to R/3 works like a charm, but when I want use the BPM, a soap header error says to me, that cannot identify a data type that Im using in the message sent by File adapter.
The error that I'm getting is BPE Adapter UNKNOWN_MESSAGE in soap header.
Regards,
EduardoI got the same problem after installing new patches.
This is what I had to do:
Go to SXI_CACHE
- Choose Business Processes
- select your Buisness Process
If your buisness process has Return Code 99
- Click "Repeate Activate" button
- On the next screen, click Activate again.
This worked for me. Good Luck! -
Process huge number of records in XI
Hello
I am having a simple scenario where I am sending details from SAP to legacy system on weekly basis. I am having SAP ABAP proxy as a sender and file as a receiver.
My problem is when the data is huge (around 600,000 records) the its giving RFC timeout error on SAP ECC side. I tried to sending limited number of records per submit to XI but it creates multiple files on receiving FTP server.
Instead of that can I use collect pattern of BPM to collect messages in BPM? Will it not be an overhead using BPM in this case as the data is tooo huge?
If someone has already tackeled this problem pl respond.
Thanks in advance.
Regards
RajeevHi Rajeev,
dont use BPM for solving that, BPM itself has still a lot performance problems.
If possible, split the 600.000 at R/3 side into several proxy requests. If required, use modus "add lines" of the file adapter to collect the messages again. You should think about to send the messages "Exacly Once In Order" to avoid processing more than one message at the same time.
Regards,
Udo -
Multiple IDocs - XI - Flat file
We are looking at a scenario to send multiple IDOCS from SAP to Flat File. We implemented this using the Collect Pattern in BPM, merge all the IDocs into a single message and write it in a file. But is there any a way to avoid BPM and still be able to send multiple IDOCS in a package to be written onto one file?
Thanks
VinodaHi,
I think this is possible using PACKAGING.
Check this note <b>814393</b> on Service Market Place.
<i>You want to create or process an XI message with multiple instances of an IDoc (of the same IDoc or extension type) in the mapping.
The payload of the relevant message is to have the following the format:
<IDOCTYP>
<IDOC>...</IDOC>
<IDOC>...</IDOC>
</IDOCTYP>
To be able to process these messages in the message mapping of the source system and to create them in the target system, you need an XML schema for the IDOC that allows multiple instances of the IDOCtag.
If the relevant IDOC is imported into the Integration Repository, the system generates an XML schema that sets the number of instances of the IDOC tag to exactly one.
The following describes how you can manually change the XML schema so that multiple instances of the IDOC tag are allowed, and how you can make the modified XML schema available to an adequate message mapping.
Other terms
IDoc packaging
Reason and Prerequisites
The relevant IDoc is imported into the Integration Repository.
Solution
1) Log on to the Integration Repository.
2) Open the relevant IDoc in the object editor.
3) Select the "Export XSD" menu option in the "Tools" menu.
4) In the subsequent dialog box, assign a file name and save the data to the hard disk of your local PC.
5) Open the file that you have saved in step 4 in an adequate editor (for example, Notepad) for editing.
6) Locate the first entry: <xsd:element name="IDOC" type="<
Idocname>"> and add the following expression, maxOccurs="unbounded", between the value of the type attribute and the closing angular bracket.
Example:
<xsd:element name="IDOC" type="ADR2MAS.ADR2MAS02"
maxOccurs="unbounded">
7) Save the modified file to the hard disk of your local PC.
8) In the message mapping, use the file saved in step 7 instead of the imported IDoc by using the "Import XML or XSD" function in the mapping tool to select the source or target messages.
</i>
Regards,
Bhavesh -
Remove first line in the XML Document
Hi Friends,
In my File to File scenario when ever new mesg is appending to file at receiver side,it should remove <?xml version="1.0" encoding="ISO-8859-1"?> tag from the XML Document.This means <?xml version="1.0" encoding="ISO-8859-1"?> tag should appear once in a document.Plz suggest me to do this.
Thanks
pullarao.Hi there,
you can either use XSLT (with output type="text") or Java, using the code:
try {
DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
Document doc = docBuilder.parse(in);
TransformerFactory tf = TransformerFactory.newInstance();
Transformer trans = tf.newTransformer();
trans.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, "yes");
DOMSource source = new DOMSource(doc);
OutputStream out = new ByteArrayOutputStream();
trans.transform(source, new StreamResult(out));
} catch (...
But as Bhavesh said, append mode is not recommended for XML files.
Best approach is collect pattern on BPM.
Regards,
Henrique. -
PI 7.1 Ehp1 IDOC adapter message packaging - package options on sender side
Hi guys,
I am trying to use the new IDOC adapter PI7.1 Ehp1 functionality for packaging the IDOCs in single PI message, instead of using Collect pattern in BPM. I have configured IDOC sender comm. channel with Sender Agreement as well. So far, so good, but I am wondering if the packaging done on PI side should be the same as the packaging parameters on sender side...
What I mean? Do I have to set the Pack. Size (we20) to be the same as the one on PI, and do I have to use "Collect IDocs" as
Output mode (also found in we20) .. I guess "Yes".. Actually what I got also is that I have to schedule RSEOUT00 if I am using the option to Collect IDOCs, right ? Can execution of RSEOUT00 be "plugged" somehow to be executed after bd21(Creation of IDocs from change pointers) execution ..?
If you have any personal experience on this - please share it with me
Thanks & Best Regards,
LaloI am wondering if the packaging done on PI side should be the same as the packaging parameters on sender side
Do not have to be same.
Think of this way: there are two containers carrying water: A for ECC and B for PI (specified in communication channel), you are defining the size of the containers.
If Size of A > B, then, One full A will need more than one B to handle, means multiple PI messages will be created.
if Size of A < B, One PI message is enough to handle incoming package.
For sure in partner profile of ECC, you will need to enable IDOC packaging and specify the size (container A).
Regards
Liang
Edited by: Liang Ji on Jun 8, 2010 3:30 PM -
One IDOC sent but 8 IDOCs received in backend
Hi,
I have a strange problem:
I generate a IDOC at the end of a simple BPM (receive message, send same message, no transformation step). In sxmb_moni, I can see one message (from process engine to IDOC adapter) as expected. When I click on "IDOC"-field in the message row (sxmb_moni), I can see that 8 identical IDOCs (only different IDOC numbers) were generated and in the SAP Backend system, I also receive 8 IDOCs.
This effect sometimes appears, sometimes not. I cannot see why or why not.
Has anyone an idea where I could search to stop this phenomen?
Kind regards,
TorstenHi Bhavsh,
no, I'm not using a collect pattern. BPM simple consists of one receive step and one send step.
I don't think that there are any Packaging settings on XI, because it worked already for a long time and we didn't change settings.
Or could Packaging settings in the backend system influence the XI?
But I got a step further: If I double-click on one of these IDOC messages in IDX5, I can see a lot of error status entries (6x status 51, 2x status 54). Is it possible that XI sends an IDOC multiple times if an error occurs?
Kind regards,
Torsten
Maybe you are looking for
-
Problem in alv report coumn header in the background while using salv
Hi all, now i am working on alv report for this i have used salv i mean oops alv ,So here i am facing one issue while executing the report in background the report column headers are not displaying properly as it is displaying in f
-
Cannot resize partition...
Before mods delete/close/move my post 'cause I'm sure there exist hundred of related problems to this let me explain. I study Engineering in Computational Systems, for my Digital Design class I need some software that only exist for Windows (I've bee
-
Adobelm_Cleanup.001.dir.* folders in Temp folder?
I was checking in my Temp folder at C:\Documents and Settings\My User Name\Local Settings and there are 83 folders named Adobelm_Cleanup.001.dir.*, with the * representing a 4-digit number starting with 0000 up to 0082, and Date Modified from 3/3/200
-
When JSP's are compiled as servlets, does the servlet send HTML to the browser during the html generation or does it send after the complete html is generated? Thanks AJ
-
Time machine question - multiple accounts
Hello, I searched the recent posts but could not find anything specific to my problem so apologies if it has been covered or is obvious. I have a MacBook which has two user accounts on it, I plugged in an external USB drive to act as the Time Machine