Bpm patterns?
Hi xi,bpm expertsu2026.
I am kid to xi so I am asking such these type of questions.
While I am doing message mergeing of to xml file scenario I want to do this using BPM collect pattern payload dependent is it possible? Same I want process two idocs ie.CREAMAS,MATMAS idocs data in to a single idoc in xi system is it possible by using BPM collect pattern payload dependent? After inserting this pattern how to define container elements? Is we need to give the details for each step in that pattern ,if any other way please give details?
While am reading that pattern material i got a doubt that each and every pattern was explained different contaiter elements i.e. for example in collect pattern , container elements collect u201Cmessage,collect message list,new message,stop messageu201D when I dragged in to my message mergeing scenario those container elements are not appearing?
Can any one please explain me the basic example scenario by using any pattern?
thanks in advance.
Hi XI Fresher,
Try the collecting simple files scenario in to one using BPM and apply the same for idocs also.Plese refer the sample patterns step by step.so that u will get basic idea on using patterns.
https://wiki.sdn.sap.com/wiki/display/stage/collectmultiplemessagesandbundlethemintoonemessage.
As there are different idocs coming in .You can try with Multificondition also but u need not apply condition here.Jus fork with two branches and no condition for fork u can skip that step.
https://wiki.sdn.sap.com/wiki/display/stage/BPMPatternMultiIfconditionExplained%28stepbyStep+Procedure%29
Thanks,
Ram.
Similar Messages
-
I am trying to merge multiple inputs within a loop and then merge them in a transformation step and then send the merged output.
I am getting an error <i>"Expression must return a multiline value"</i> because I assigned a multiline container to the source message of the transformation step. I made sure that occurances for the messages are 0..unbounded.
Has anyone faced this issue before?One more issue related to this scenario. As per SAP's pattern for "stop collect based on payload", the initial loop needs a condition based on the payload element.
My condition is
<i>(PurchaseOrder./p1:MT_PurchasOrderReq/TotalNumberOfMessages ≠ MsgCount)</i> similar to SAP BPM Pattern.
I don't get any error in IR or ID, but once the integration process is activated in ID, I see a return code of 99 for this integration process in SXI_CACHE. The Activation log error says <i>'TOTALNUMBEROFMESSAGES' is not a component of data object 'PAYLOAD'</i>
I get the same error if I import SAP's BpmPatternCollectPayload integration process in to ID and activate it.
If I change my condition to <i>(MsgCount ≠ 3)</i> then it works. Am I missing some kind settings? -
Hi,
If we are using the BPM patterns. what are the necessary steps to do in IR and IDhi,
The documentation editors of the example integration scenarios (demo examples) and the BPM pattern (in software component version SAP BASIS 6.40) contain hyperlinks to further documentation in SAP Help Portal.
To ensure that these links work properly, you have to configure the following base location for software component version SAP BASIS 6.40:
· Docu Storage Type: Knowledge Warehouse (File System)
· Base-URL: http://help.sap.com/saphelp_nw04s/helpdata/
Editing or Deleting Base Locations.
InIntegration Builder: Design:
integration process->(Start->Sender->Transform->Reciever->Stop)
Integration Builder: Configuration
Source and target communication channel
integration process->Create->ByMIAA
Reciever Determination-> Create 2(ip_target & Source)
Interface determination-> Create 2 (ip_target & Source)
Sender and Reciever argeement
Thanks,
Sendil. -
BPM patterns for using CIDX adapter
Hi,
I am trying to implement the below requirement and am having problems doing that. Any help or pointers would be appreciated.
Requirement:
We need to send an order create message from file system A to
Elemica(using CIDX adapter) asynchronously and capture the RA back and
convert it into a message and send it to a file system B.
I tried the below scenarios already and could not maker it work:
<b>Scenario 1</b>: I tried creating a scenario using Sync- Async bridge, but
it did not work as I need to send some response back to the File system
A. In this case I do not have any response to send.
I created an external definition for RA and used it for mapping to the
File system B interface.
CIDX adapter is not accepting any messages if we try to send
synchronously.
<b>Scenario 2</b>: I could not make my scenario work if I am trying to create
in my SWCV. So, I created all my abstract
interfaces for my business process in the CIDX SWCV. Now I created
Async Sync scenario by sending a synchronous order create request to
Elemica. It did not work as CIDX adapter does not support any
synchronous messages( guessing).
Apart from the above questions, I have few additional questions:
1. Can we send synchronous messages to Elemica through CIDX
adapter? If so, how do we configure our communication channel as
only Asynchronous option is available.
2. If we have File-Elemica-File scenario, how do we configure the
scenario?
3. Are there any blogs having scenarios with BPM involving CIDX
adapter? If so, pls send a link.
Thanks in Advance,
GPHi
Try this
check the following link for information on configuring CIDX Adapter http://help.sap.com/saphelp_nw04/helpdata/en/29/cb22419e2ab167e10000000a155106/plain.htm
And on specifically on Single-Action responder directly on http://help.sap.com/saphelp_nw04/helpdata/en/0a/cb23412546ef6fe10000000a1550b0/content.htm
Thanks -
BPM Pattern Collect Message Mapping run time error
Hi,
I'm carrying out a replica of BPMCOLLECTMESSAGE Pattern from sap basis...
Doing a simple file to file scenario and simple mapping....
I'm getting a MAPPING RUNTIME error at the transform step.
kindly help in this regards..
The checks i'v made are...
1. Deleted all the work flow items from SWWL transaction
2.SXI_CACHE is 0
3.Payload cross checked.
Is there any solution please ???Hi,
On sending Stop message PE at technical details i get error stating : *com/sap/xi/tf/_BpmPatternCollectMerge_com.sap.aii.utilxi.misc.api.BaseRuntimeException:RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:Messages/ns0~*
kindly look at the Trace error at PE
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Trace xmlns:SAP="http://sap.com/xi/XI/Message/30">
<Trace level="1" type="T">CL_XMS_MAIN->DETERMINE_EXT_PID: CENTRAL</Trace>
<Trace level="1" type="T">Party normalization: sender</Trace>
<Trace level="1" type="T">Sender scheme external = XIParty</Trace>
<Trace level="1" type="T">Sender agency external = http://sap.com/xi/XI</Trace>
<Trace level="1" type="T">Sender party external =</Trace>
<Trace level="1" type="T">Sender party normalized =</Trace>
<Trace level="1" type="T">Party normalization: receiver</Trace>
<Trace level="1" type="T">Receiver scheme external =</Trace>
<Trace level="1" type="T">Receiver agency external =</Trace>
<Trace level="1" type="T">Receiver party external =</Trace>
<Trace level="1" type="T">Receiver party normalized =</Trace>
<Trace level="1" type="B" name="CL_XMS_HTTP_HANDLER-HANDLE_REQUEST" />
- <!-- ************************************
-->
<Trace level="1" type="T">XMB was called with URL /sap/xi/engine?type=entry</Trace>
- <Trace level="1" type="B" name="CL_XMS_MAIN-ENTER_XMS">
<Trace level="1" type="T">CL_XMS_MAIN->DETERMINE_EXT_PID: CENTRAL</Trace>
<Trace level="1" type="T">CL_XMS_MAIN->DETERMINE_INT_PID: SAP_CENTRAL</Trace>
<Trace level="1" type="B" name="CL_XMS_TROUBLESHOOT-ENTER_PLSRV" />
<Trace level="1" type="T">system-ID = PI2</Trace>
<Trace level="1" type="T">client = 100</Trace>
<Trace level="1" type="T">language = E</Trace>
<Trace level="1" type="T">user = PIAFUSER</Trace>
<Trace level="1" type="Timestamp">2009-03-17T04:35:42Z CET</Trace>
</Trace>
<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_UC_EXECUTE" />
- <!-- ************************************
-->
<Trace level="1" type="T">Message-GUID = D3370BB6DF244EA7356EECD16D0E6FAD</Trace>
<Trace level="1" type="T">PLNAME = CENTRAL</Trace>
<Trace level="1" type="T">QOS = EO</Trace>
- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PIPELINE_ASYNC">
<Trace level="1" type="T">Queue name : XBTI0001</Trace>
<Trace level="1" type="T">Generated prefixed queue name =</Trace>
<Trace level="1" type="T">Schedule message in qRFC environment</Trace>
<Trace level="1" type="T">Setup qRFC Scheduler OK!</Trace>
<Trace level="1" type="T">----
</Trace>
<Trace level="1" type="T">Going to persist message</Trace>
<Trace level="1" type="T">NOTE: The following trace entries are always lacking</Trace>
<Trace level="1" type="T">- Exit WRITE_MESSAGE_TO_PERSIST</Trace>
<Trace level="1" type="T">- Exit CALL_PIPELINE_ASYNC</Trace>
<Trace level="1" type="T">Async barrier reached. Bye-bye !</Trace>
<Trace level="1" type="T">----
</Trace>
</Trace>
<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
- <!-- ************************************
-->
<Trace level="1" type="T">--start sender interface action determination</Trace>
<Trace level="1" type="T">select interface BpmPatternCollectIfStopCollect</Trace>
<Trace level="1" type="T">select interface namespace http://</Trace>
<Trace level="1" type="T">--start receiver interface action determination</Trace>
<Trace level="1" type="T">Loop 0000000001</Trace>
<Trace level="1" type="T">select interface</Trace>
<Trace level="1" type="T">select interface namespace</Trace>
<Trace level="1" type="T">--no sender or receiver interface definition found</Trace>
<Trace level="1" type="T">Hence set action to DEL</Trace>
<Trace level="1" type="B" name="CL_XMS_MAIN-PERSIST_READ_MESSAGE" />
<Trace level="1" type="T">Exception from packaging: No messages for constructing a package available.</Trace>
<Trace level="1" type="T">Continue single processing</Trace>
<Trace level="1" type="T">Note: the following trace entry is written delayed (after read from persist)</Trace>
<Trace level="1" type="B" name="SXMS_ASYNC_EXEC" />
- <!-- ************************************
-->
<Trace level="1" type="T">----
</Trace>
<Trace level="1" type="T">Starting async processing with pipeline CENTRAL</Trace>
<Trace level="1" type="T">system-ID = PI2</Trace>
<Trace level="1" type="T">client = 100</Trace>
<Trace level="1" type="T">language = E</Trace>
<Trace level="1" type="T">user = PIAFUSER</Trace>
<Trace level="1" type="Timestamp">2009-03-17T04:35:42Z CET</Trace>
<Trace level="1" type="T">----
</Trace>
<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PIPELINE_SYNC" />
- <!-- ************************************
-->
<Trace level="1" type="T">>>>PID delete old pid determination coding</Trace>
- <Trace level="1" type="B" name="PLSRV_XML_VALIDATION_RQ_INB">
- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">
- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL">
- <Trace level="1" type="B" name="CL_XMS_PLSRV_VALIDATION-ENTER_PLSRV">
<Trace level="1" type="T">Reading sender agreement</Trace>
<Trace level="1" type="T">Inbound validation by Integration Engine does not take place</Trace>
</Trace>
</Trace>
</Trace>
</Trace>
<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />
- <Trace level="1" type="B" name="PLSRV_RECEIVER_DETERMINATION">
- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">
- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL">
- <Trace level="1" type="B" name="CL_RD_PLSRV-ENTER_PLSRV">
<Trace level="1" type="T">R E C E I V E R - D E T E R M I N A T I O N</Trace>
<Trace level="1" type="T">Cache Content is up to date</Trace>
</Trace>
</Trace>
</Trace>
</Trace>
<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />
- <Trace level="1" type="B" name="PLSRV_INTERFACE_DETERMINATION">
- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">
- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL">
- <Trace level="1" type="B" name="CL_ID_PLSRV-ENTER_PLSRV">
<Trace level="1" type="T">I N T E R F A C E - D E T E R M I N A T I O N</Trace>
<Trace level="1" type="T">Cache Content is up to date</Trace>
</Trace>
</Trace>
</Trace>
</Trace>
<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />
<Trace level="1" type="B" name="PLSRV_RECEIVER_MESSAGE_SPLIT" />
- <!-- ************************************
-->
- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">
- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL">
<Trace level="1" type="B" name="CL_XMS_PLSRV_RECEIVER_SPLIT-ENTER_PLSRV" />
- <!-- ************************************
-->
<Trace level="1" type="T">number of receivers: 1</Trace>
<Trace level="1" type="T">Single-receiver split case</Trace>
<Trace level="1" type="T">Post-split internal queue name = XBTOX0__0002</Trace>
<Trace level="1" type="T">----
</Trace>
<Trace level="1" type="T">Persisting single message for post-split handling</Trace>
<Trace level="1" type="T" />
<Trace level="1" type="T">Going to persist message + call qRFC now...</Trace>
<Trace level="1" type="T">NOTE: The following trace entries are always lacking</Trace>
<Trace level="1" type="T">- Exit WRITE_MESSAGE_TO_PERSIST</Trace>
<Trace level="1" type="T">Async barrier reached. Bye-bye !</Trace>
<Trace level="1" type="T">----
</Trace>
<Trace level="1" type="T">Generated prefixed queue name =</Trace>
<Trace level="1" type="T">Schedule message in qRFC environment</Trace>
<Trace level="1" type="T">Setup qRFC Scheduler OK!</Trace>
<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
- <!-- ************************************
-->
<Trace level="1" type="B" name="CL_XMS_MAIN-PERSIST_READ_MESSAGE" />
<Trace level="1" type="T">Exception from packaging: No messages for constructing a package available.</Trace>
<Trace level="1" type="T">Continue single processing</Trace>
<Trace level="1" type="T">Note: the following trace entry is written delayed (after read from persist)</Trace>
<Trace level="1" type="B" name="SXMS_ASYNC_EXEC" />
- <!-- ************************************
-->
<Trace level="1" type="T">----
</Trace>
<Trace level="1" type="T">Starting async processing with pipeline CENTRAL</Trace>
<Trace level="1" type="T">system-ID = PI2</Trace>
<Trace level="1" type="T">client = 100</Trace>
<Trace level="1" type="T">language = E</Trace>
<Trace level="1" type="T">user = PIAFUSER</Trace>
<Trace level="1" type="Timestamp">2009-03-17T04:35:42Z CET</Trace>
<Trace level="1" type="T">----
</Trace>
<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PIPELINE_SYNC" />
- <!-- ************************************
-->
<Trace level="1" type="T">>>>PID delete old pid determination coding</Trace>
<Trace level="1" type="T">Start with pipeline element PLEL= 5EC3C53B4BB7B62DE10000000A1148F5</Trace>
- <Trace level="1" type="B" name="PLSRV_MAPPING_REQUEST">
- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">
- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL">
- <Trace level="1" type="B" name="CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV">
<Trace level="1" type="T">No mapping required</Trace>
</Trace>
</Trace>
</Trace>
</Trace>
<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />
- <Trace level="1" type="B" name="PLSRV_OUTBOUND_BINDING">
- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">
- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL">
<Trace level="1" type="B" name="CL_XMS_PLSRV_OUTBINDING-ENTER_PLSRV" />
</Trace>
</Trace>
</Trace>
<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />
- <Trace level="1" type="B" name="PLSRV_XML_VALIDATION_RQ_OUT">
<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV" />
- <!-- ************************************
-->
<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL" />
- <!-- ************************************
-->
- <Trace level="1" type="B" name="CL_XMS_PLSRV_VALIDATION-ENTER_PLSRV">
<Trace level="1" type="T">Reading receiver agreement</Trace>
<Trace level="1" type="T">Outbound validation does not take place</Trace>
</Trace>
</Trace>
</Trace>
</Trace>
<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />
<Trace level="1" type="B" name="PLSRV_CALL_ADAPTER" />
- <!-- ************************************
-->
<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV" />
- <!-- ************************************
-->
<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL" />
- <!-- ************************************
-->
<Trace level="1" type="B" name="CL_XMS_PLSRV_CALL_BPE-ENTER_PLSRV" />
- <!-- ************************************
-->
<Trace level="1" type="T">--start sender interface action determination</Trace>
<Trace level="1" type="T">select interface BpmPatternCollectIfStopCollect</Trace>
<Trace level="1" type="T">select interface namespace http://</Trace>
<Trace level="1" type="T">--start receiver interface action determination</Trace>
<Trace level="1" type="T">Loop 0000000001</Trace>
<Trace level="1" type="T">select interface BpmPatternCollectIfStopCollect</Trace>
<Trace level="1" type="T">select interface namespace http://</Trace>
<Trace level="1" type="T">--no sender or receiver interface definition found</Trace>
<Trace level="1" type="T">Hence set action to DEL</Trace>
</SAP:Trace>
Edited by: Robin on Mar 17, 2009 10:11 AM -
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 -
BPM SAP Pattern BpmPatternCollectMessage
Hello All,
I test the SAP BPM Pattern BpmPatternCollectMessage. All works fine but I have a question:
In a parallel section are two receive steps, one for the business messages and one for the stop message.
The business receive step activates the correlation.
If due tue an error the stop messages was processed first then an queue error stop the bmp process, because there is no active correlation.
how to fix this so stat an error is thrown in bmp and not on queue level
regards
ralfThe pattern has two receive steps. But the "Start Proces" is checked only for the original message and not the Termination message. If you want to handle things in BPM, you need to accept the stop message by activating the BPM instance even if the Stop message is sent first. So you may check the Start Process for other receive step also and then based on some condition, raise some exception.
Regards,
Prateek -
I have done 2 samples using fork and in both the cases it is not working. For each message new BPM is triggered and only one step (branch) gets completed and other branch steps remain in ready state forever.
1) I have tested standard BPM pattern BpmPatternCollectMultiIf
2) Simple process using fork - two branches using different inetrfaces (having different message types)
Integration process return code is 0 - runtime cache
I am testing on local sandbox (XI 3.0) with SP17.
Under SAP help only brief description available about fork. Please share if you have good references/samples about fork (BPM).Jai,
1)I expect following result in case of standard BPM pattern "BpmPatternCollectMultiIf"
Note: Here same message type for all 3 interfaces ( branches), no end condition, no of branches = 3
As all message types are same when I send first message only one branch will be executed and outbound status under sxmb_moni with be clock (Message being sent). When I send 2 message, second branch will be completed and status will be clock again. And when I send 3 rd message all branches will be completed and outbound status will be success flag (Message successful on outbound side). Under one process id three messages will be displayed
Actual result is every time status as clock. and for each message new fork instance is created. below are the processids for 3 messages
133721
133726 -
unexpected
133731 -
unexpected
Ideally when you send 3 messages all should be process under process ids 133721 to 133725
2) I have tried fork with 3 branches with different message types. When I send 3 messages ( here each payload is different as per message type ) I expect success flag after 3rd message. But in this case also always the status as clock. and every time new fork instance.
Is anybody successful to test BPM pattern -> BpmPatternCollectMultiIf? -
BPM : Files are not appended in the container operation step
Hi Guys,
I am using the BPM pattern, "BpmPatternCollectTime" provided by the SAP under SAP BASIS 6.4 for the N:1 transformation.
In the the Message mapping and Interface mapping source structure has "0 to unbounded" occurance and Target has 1 coourances.. I have given the Time as 5 Minutes to collect the messages...
I dont know why the files are not being appened? Each time am getting the only one file's content as output other files contents(records) are not being merged.
Is there anything wrong in the given BPM pattern? or i need to do any changes in the container operation step ?
can anybody explain why the messages are not appending into a single file. any help would be really appreciated...
Can anybody guide me , how can i debug the BPM?
Thanks and Regards
VenkateshHi Raj,
The Source and target structure are the same ie, BpmPatternCollectMessageToBeCollected..
Structure is
BpmPatternCollectToBeCollected
ID
OverallNumber
In SAP BASIS 6.4 , In the message maaping you can find the
"BpmPatternCollectMerge". I am using the same mapping..
The mapping contains the Source field mappings for field element ID and OverallNumber to the same field in the Target.
After selecting Source's occurance for 0 to unbounded , In the mapping the tool itself is adding two extra nodes as below...
Messages
Message1
BpmPatternCollectToBeCollected
ID
OverallNumber
Mapping is
Source Structure ->Target Structure
Messages (1) Messages (1)
Message1 (1) Message1 (1)
BpmPatternCollectToBeCollected (0-unbound) BpmPatternCollectToBeCollected (1)
ID (1)-------> ID (1)
OverallNumber (1)-------> OverallNumber
The line indicates above the mapped fields...ID and OverallNumber is only mapped above.
Regards
Venkatesh -
Hi,
when i perform a check to standard BPM patterns BpmPatternCollectMessage. I get the following info am i wrong some where do any changes needed to be done.
Container element stopmessage in step receive terminating message is initialized but not used
Container element collectmessage in step *receive * message is initialized but not used...
kindly helpI did the above scenario as told.
It is a bpm message dependent scenario. It keeps collecting messages till a particular message is received.
I more or less used the message dependent pattern given in SAP BASIS.
The data types are as follows.
Dt_In
Name
OverallID
Dt_In
Name
OverallID
1 to 1 mapping
I used the OverallId for correlation. The receive step inside the infinte loop collects the messages with OverallID '1' while the receive step below collects messages with OverallId '2'.
In the container elements i defined 2 separate message interfaces. One for OverallID '1' and the other for OverallID '2. The 2 message interfaces have the same Message type. Only values will be different.
For the parallel fork step i have given end condition OverallID = 2.
When i execute the scenario the messages are all comingin a queue. The status is wait for event.
What could be the problem?
Thanks
Edited by: pratichi chauhan on Sep 24, 2008 2:46 PM -
Hi Experts,
Async Scenario : SOAP -> Call Microsoft webservice -> Call BEA 2 webservices -> call ORACLE webservice -> call Microsoft webservice -> call XI webservice -> call Microsoft webservice
Issue: When I execute the above scenario, the services are called many times as well as that was not in order. I would like to call the service only once as well as it should be in the above order. How to do it with BPM?
Please help me out.
Thanks & Regards
SaraUse BPM pattern BpmPatternSerializeOneTrigger
http://help.sap.com/saphelp_nw04/helpdata/en/77/0737133012b24b9d0a12c6df2b1054/frameset.htm
Regards,
Prateek -
Question about Receiver Determination step in BPM
Hello all,
I have a BPM process similar to Multicat BPM Pattern.
I have some questions regarding how the Receiver Determination works:
1. Does it have to have interface determination in the Integration Directory?
2. Does that interface determination (including the mapping) takes place when sending a message to a receiver from that Receiver Determination step,
or should I perform a Mapping step explicitly in the process?
Thanks ahead,
Yoav.Yoav,
Am not sure if I understood your requirement compltely.
<b>Case A:</b>If you are using a send step without a Transformation Step.
Then <b>Send will have message A</b> being sent out from BPm and then , during Interface Determiantion this will be transformed into Message B by Mapping in Interface Determination and this message B will be received by receiver
<b>Case B:</b>If you have a transform and then a Send
In this case, the mapping has been done, so you have the message B with you and so, <b>them message sent from the BPM will be message B</b>Hope this clarifies,
Regards,
Bhavesh
Message was edited by: Bhavesh Kantilal -
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 -
Bpm collect time infinite loop error
Hi All,
I am doing the BPM pattern collect time scenario. I have an issue. The process is not coming out of the loop after the specified time of 1 minute. The deadline branch is not getting executed. What can be the problem?
The BPM design is that of the collect time pattern given in SAP BASIS patterns.
Thanks in advanceHi Sunil,
thanks alot that did work:) i did not schedule it, but the basis people did it for me. they scheduled it to work evey 3 minutes.
Anyway, there is another small issue.
my input is like this,
<?xml version="1.0" encoding="UTF-8" ?>
- <ns1:Mt_In xmlns:ns1="urn://collect_time">
<Name>pratichi</Name>
<ID>PR01</ID>
</ns1:Mt_In>
I am giving only one file for input
but output i am getting output as such
<?xml version="1.0" encoding="utf-8" ?><ns1:Mt_Out xmlns:ns1="urn://collect_time"><
Name>pratichi</Name>
<Name>pratichi</Name>
<Name>pratichi</Name><Name>pratichi</Name>
<Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name>
<Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name>
<Name>pratichi</Name>
<ID>PR01</ID><ID>PR01</ID>
<ID>PR01</ID><ID>PR01</ID><ID>PR01</ID>
<ID>PR01</ID><ID>PR01</ID><ID>PR01</ID><ID>PR01</ID>
<ID>PR01</ID><ID>PR01</ID></ns1:Mt_Out><?xml version="1.0" encoding="utf-8" ?><ns1:Mt_Out xmlns:ns1="urn://collect_time"><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><Name>pratichi</Name><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID><ID>1</ID></ns1:Mt_Out>
Why does this happen?
I kept the file only once, how come i am getting so many instances of the fields? -
BPM error: interface are not same
Hi,
In my BPM I opened a Asy/syn bridge. When I close it I get the error: A interface and B interface are not the same.
A is the interface (synch) which I used on the sender side when I opened the bridge. B is the aynch. abs. interface for the receiver side for which I defined a container.
A interface response and B interdace request are the same. Why do I get this error? Any idea.Make sure that you have created a SYNC interface (ABS) which refers to the Request and response messages....and then the COntainers in your BPM refer to these request and response messages only!
The COntanier should have the same message types as they are in the SYNC ABS message Interface..... as of now they are different and hence the error.
Just have a look at the BPM pattern which I mentioned in previous reply and you will know which message has to be include in the Receive and Send step.
Regards,
Abhishek.
Edited by: abhishek salvi on May 4, 2010 1:56 PM
Maybe you are looking for
-
Adding new node to the Clusterware fails with the root.sh script.
Dear All, I had successfully added third node to the existing 2 node cluster. After adding new node I need to run the root.sh scripts, but it was faling with the below error. Please help me with the below issue: Instantiating scripts for add node (Mo
-
I'm having problems upgrading from 10.6.8 to Yosemite. My computer locks up after the download and installation process. Does anyone know how I can overcome this problem?
-
I recently imported several CDs to my iTunes library, and for some reason, some of the songs are appearing out of order. I have read the discussions regarding this on the message board (probably not all, but four or so?), and it doesn't seem to be th
-
Value does not exist for "..." in connection...
Hello, I have following issue using Design Studio 1.3. I was changed my source of dashboard from universe to Bex Query. When it was done I have received following Script Problem related to CheckBox Description Location Event Script Component Applicat
-
Document type for Posting to Accounting
The standard program RPRFIN00_40 is used to Post to Accounting. The document type is specified at the Posting Doc. it has a parameter ID BAR. I assign BAR at the user's parameter via SU01, however the document type did not get default. Any one can ad