Sync/Async BPM scenario : Problem at Integration Process..!!
Hi All,
I am doing Sync/Async BPM scenario.
start ->Receive(Request)> Transformation(Responsemap)>Send(SendtoR/3)->Send(Send Response) ---> stop.
When Iam trying to Activate, Integration process giving errors as
Source parameter AA_Payment_Req | http://XXXXXXXXX.com/SAP_PI/DirectSales/Payment not set Target parameter AA_Payment_Response | http://XXXXXXX.com/SAP_PI/DirectSales/Payment not set
Warning: Container element Response is defined but is neither initialized nor used.
But I am using them in the BPM. The same kind of scenario is working for another interface which is already running in production. When I tried to check that interface it is showing only Warning message as Container element Response is defined but is neither initialized nor used.
I tried deleting and creating again and still it is showing the same error.
Can anyone please suggest what might be the problem.
Regards
Deepthi
Hi,
could you pls let me know how its solved, while i am trying the same i am also getting the same problem..
could you pls explain bit more on this.
Thanks,
Venkat.
Similar Messages
-
Need help with Sync/Async BPM Scenario
I have an R/3 RFC -> XI -> HTTP (to vendor A) scenario that is working fine. It is a totally synchronous call event. The Integration Directory pieces sit in a scenario named HotkeyOutbound.
Now I need to create a process for RFC -> XI -> HTTP (to vendor Panduit). The R/3 RFC is the same sender, but vendor Panduit only supports an asynchronous HTTP connection. I followed the Sriram Vasudevan weblog on Sync/Async Bridge and created my BPM. I am stuck on trying to determine what to set up in the Integration Directory.
First off, should I be able to use the same HotkeyOutbound scenario as with vendor A so all hotkey stuff can stay together? Or do I have to create a new scenario with a copy of the R/3 business system for the sender? I moved forward with a new scenario (PanduitHotkeyOutbound).
I also need to know how many config Agreements and Determinations to use. The image at http://webpages.charter.net/kpwendel/keith1.html shows what I have so far. Which are not needed? What is missing?
And I tried setting up an HTTP communication channel for outbound async to vendor Panduit and another for inbound async from vendor Panduit. XI won't let me set up a sender HTTP channel. Why not?
Thank you in advance.I have yet to figure this out, and probably need to go back to my Integration Repository setup since my problems may start there. This screenshot shows my Repository objects.
http://webpages.charter.net/kpwendel/intProcess.jpg
HELP! These are the steps I took, with questions embedded.
(1) Created data type and message type for xml document (note that same format is used for request and reply).
(2) Created PANRequestAbstractInterfaceSync (abstract and sync) for first part of Integration Process. Should the input message be the RFC or XML message type?
(3) Created PANRequestAbstractInterfaceAsync (abstract and async) for 2nd part of Integration Process.
(4) Created PANResponseToBPM_MessageInterface (outbound async) for interface back into XI from partner. Is this needed?
(5) Created PANHotkeySync_to_Async_IntProc Integration Process to handle sync to async bridge.
- Wondering why PANRequestAbstractInterfaceAsync is the only message interface available when I make container object (PANMessage)?
(6) Created two Message Mappings to handle RFC data to XML mappings (outbound RFC-> XML and inbound XML -> RFC).
(7) Created Interface Mapping that includes both the Request and Response message mapping programs from step six. Source is the RFC and Target is PANRequestAbstractInterfaceSync.
- Do I need another interface mapping with Source being PANRequestAbstractInterfaceAsync and Target being the RFC?
Link to these steps and app diagram:
http://webpages.charter.net/kpwendel/PAN_Hotkey_Diagram.jpg
Thank you very much for your time. -
Exercise for sync/async bridge scenario
Hi,
Can anybody send me exercise scenario or link for sync/async bridge scenario?
Thanks
NarayanaHi Balaji,
pls check this weblogs
/people/venkataramanan.parameswaran/blog/2007/01/18/syncasync-communication-in-jms-adapter-without-bpm-sp19
/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi
/people/dmitry.govberg/blog/2006/12/20/mainframe-and-sap-integration--the-synchronous-case
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
conversations
Sync - Async Bridge
BPM Sync/Async Problem
BPM Design using sync-async bridge
Regards,
Ram -
Sync/Async - JMS receiver comm. channel not processing
I have a Sync/Async scenario (without bpm) in PI 7.11:
RFC -> PI -> JMS
whereby the JMS receiver comm. channel does not fully process the message.
More specifically, the RFC sender comm. channel gets a message in and passes the message to the JMS channel, but that JMS channel within the RWB comm. channel log only shows the entry:
- Message processing started
The odd twist to this is that when we bring the PI server down, then back up again, (or wait a period of time, still trying to determine this period) the FIRST message attempt does successfully get processed, i.e. the first message on that JMS receiver comm. channel RWB log shows as:
- Channel successfully processed the message: 08499236-387c-11e0-b002-000025bab2c2
- Stored the correlation ID 08499236-387c-11e0-b002-000025bab2c2 of the request JMS message: ID:c3e2d840d4d8d4f24040404040404040c754dc12d8b54ec6 correponding to the XI message: 08499236-387c-11e0-b002-000025bab2c2
- Message processing started
(but then because of an issue on the target system, no response comes back, so then we'll additionally get the log entry:
- Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: no message received
Any suggestions appreciated on what I can check here to try and figure this out. Possibly because the first message eventually errors out, it is stopping the other subsequent msgs from getting processed...
When I check the audit logs of a 'success' msg vs. a not-successful msg, the success msg has an entry (and subsequent entries) of:
14.02.2011 12:50:19 Information Transform: transforming the payload ...
14.02.2011 12:50:19 Information Transform: successfully transformed
14.02.2011 12:50:19 Information ROB: entering RequestOnewayBean
14.02.2011 12:50:19 Information ROB: forwarding the request message
14.02.2011 12:50:19 Information ROB: leaving RequestOnewayBean
14.02.2011 12:50:19 Information JMS Message was forwarded to the JMS provider succesfully."
14.02.2011 12:50:19 Information XMB Message as Binary was forwarded to the SAP XI JMS service succesfully.
14.02.2011 12:50:19 Information WRB: entering WaitResponseBean
14.02.2011 12:50:19 Information WRB: retrieving the message for 08499236-387c-11e0-b002-000025bab2c2 ...
wheras the non-success msg shows only:
14.02.2011 12:55:30 Information Transform: transforming the payload ...
14.02.2011 12:55:30 Information Transform: successfully transformed
14.02.2011 12:55:30 Information ROB: entering RequestOnewayBean
14.02.2011 12:55:30 Information ROB: forwarding the request message
14.02.2011 12:55:30 Information ROB: leaving RequestOnewayBean
So, we can see that the message is not "forwarded to the JMS provider..." in the non-success case.
And also the sxi_monitor shows these messages with a status of "Log version".
KeithHi Siddhesh - yes that was a while back and am trying to remember the resolution. I have implemented sync/async bridges (as well as async/sync bridges) successfully, so I don't mind checking your settings, particularly I am interested in the settings within the Module tab of the JMS receiver. I can then compare to mine if you'd like. Also if you can let me know what underlying queuing system in that target system (e.g. MQSeries?) that would be great.
Regards,
Keith -
Hi,
I'm trying to implement the sync/async bridge BPM example.
I've created a web service adapter (SOAP) as synchronous sender, and I thought I could use a JDBC adapter as asynchronous receiver, but it seems I need synchronous JDBC adapter to make a SELECT query and get results...
Does anybody know an adapter type I could use as asynchronous receiver adapter for my tests?
regards
YannHi Yann,
it is easier!
make 4 steps in your BPM
1) recieve
2) send async
3) receive (response from step 2)
4) send sync
For step 2) in your integration directory create a receiver determination that calls your BPM (step 3)!
Thats the trick. You do not really need a ASYNC backend system.
Regards Mario -
Problem with Integration Process
Hi all,
I have a problem within a Integration Process.
I created a loop with help of a local integer element.
On the development system it was running without any issued. But on the productive machine the Integration process runs until he has to increase my local element by one.
The system is raising the following error message. (Within the graphical BPM log / Process Engine)
Expression ''1'{TYPE=SWFXST_INTEGER}' does not correspond to data type () of element
In general I understand the error message. The Integer expression 1 (should increase variable by one) is the wrong
data type.
But I am not able to understand why it is running on the development system but not on the productive system.
I already compared the main configuration settings for BPM between development and production but the settings are equal.
Do you have any ideas about such a problem. Ideas about additional logs ...
cheers,
StefanHi,
Your container operation is perfect. there is no iisue with assigning valuee to counter
I am telling about the condition in Loop step
in BPM loop step you need to provide a condition . its basically a while loop.
i guess you are providing condition based on Counter element
What are you putting there as loop condition? Please check that one. -
[BPM] Standards to design integration processes
Hey,
I would like to create a paper as guideline for creation of further integration processes. The
last project has been end up in a chaos without a possibility of enhancement or maintenance.
Therefore I started with a naming convention and a paradigm of designing SWC.
Now I would like to give some hints about how a good bpm design looks like. Does someone
have some information about that.
I have:
- when a bpm is unavoidable (splitting, alerting..)
- when a bpm is not necessary (multi-mapping...)
- which bpm step needs lot resources (recveive/send steps, transformation...)
Do you have some hints for modular designing of bpm? For example to put error
handling in an own bpm (for reuseability) or something else?
How do you design BPMs to keep them small and clear?
thanks
chrisBPM is used to implement work-flow spanning across multiple application system against embedding the parts of work-flow in application system. Apart from this it also help achive other scenarios like, bridging synch and asynch systems, alert mechanism, multi mapping etc. Check the BPM overview document in SDN download section.
Check out the use cases discussed at http://help.sap.com/saphelp_nw04s/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm
BPM is mainly used in senarios where extra functionalities are to be done with the source message which cannot be done using the normal mapping and user-defined functions, like
->Collecting of messages till a certain count or for a specific criteria.
->Merging messages
->Spliting messages
->Processing of error files and sending to specific location and sending alerts.
->Parallel processing of two criterias at the same time can also be done using BPM.
Also go through these links,
/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/62/dcef46dae42142911c8f14ca7a7c39/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
Many other examples can be found under the following link at help.sap.com
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
And some weblogs
https://weblogs.sdn.sap.com/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
/people/siva.maranani/blog/2005/05/22/schedule-your-bpm *****
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
/people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm
/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/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements *****
/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
/people/kannan.kailas/blog/2005/12/07/posting-multiple-idocs-with-acknowledgement
Also have a look at these seminars,
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
I hope it helps....
Note: reward points if solution found helpfull
Regards
Chandrakanth.k -
BPM - ERROR while Activating Integration Process
Hi,
I am unable to activate my Integration Process if i use Transformation step between Receiver and Sender step.
The ERROR Log is given below:
Activation of the change list canceled
Check result for Message Mapping Msg_Mapping_BPM_File | http://sap.com/xi/File_BPM_File:
Starting compilation
Compilation complete
Check result for Integration Process Integration_Process_BPM_File | http://sap.com/xi/File_BPM_File:
Expression must return the interface type MI_Outbound
Check result for Integration Process Int_Process_File_BPM | http://sap.com/xi/File_File_BPM:
Source parameter MI_File_Outbound | http://sap.com/xi/File_File_BPM not set
Target parameter MI_File_Inbound | http://sap.com/xi/File_File_BPM not set
Regards,
PrashanthHi Prashant,
Pl check if u have used the abstract interfaces in the interface mapping.. I think thats where the problem is.
Regards,
Divya -
Problem converting Integration Process to ALE logical system(acknowledgmen)
Hello,
I have a scenario where a sender SAP system sends an IDoc via an Interface Mapping to an Integration Process.
This worked perfectly fine on our development environment, but after transporting the scenario to our quality systems I got the following acknowledgement error:
Unable to convert the sender service <i>name of integration process</i> to an ALE logical system.
What could be the reason for this? We have a logical system on the sender SAP system set up for the XI system itself but not for the Integration Process.
We also use SYSTAT IDocs and there we set the the logical sender system name to the logical system for SAP XI and not for the integration process.
Is this also necessary for acknowledgements? Where could this be done. Strange thing is that it works perfectly fine on our development environment.I raised the same question a few months back.Answer to this question is in the same thread.
Idoc Acknowledgements - Logical System Name
You will have to select option "Restore Original Parties for Idoc Acknowledgments " in the Acknowledgment Idoc adapter.
Regards
Bhavesh -
SOAP-XI-RFC sync without BPM scenario: How to catch timeout exception in PI
Hi all
I made a scenario where a Webservice request was placed via XI to RFC in CRM.
This is all done without BPM.
Now the request came up that I have to handle undhandled exceptions from RFC such as Fatal Error, Dump in CRM etc in PI so that customer can get the idea of what happend in the Backend rather PI failing in the monitoring. I did that in CRM by catching all the exception and sending a common error message to PI.
But another requirement is to handle Message Timeout of the RFC in PI for e.g. If the request goes to the RFC and due to the volume of the data, it gets Timed Out then neither PI nor CRM can handle this and it results in PI failing to catch this excpetion.
I tried Fault message type but that does not help either.
Can I get some expert advice.
Regards
NainaInclude your Send_to_RFC step inside a Block...have a deadline branch for this and an Exception Branch....in deadline branch have control step (thro Exception)....in Exception Branch have a Mapping and a Send Step....this mapping will produce a message (define separate DT for this) having constant values (like timeout occured message)
If you are fine with alert message...then instead of Mapping and Send step in Exception include a Control Step (thro alert)....alert message can be "timeout occured in receiving RFC response"
Regards,
Abhishek. -
Hi,
I am doing Sync/Async BPM scenario.
-> Receive message and process and response back to the sender.
Sometimes it will correct correctly. Sometime the message will come and stay in XI and fails with error
<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="INTERNAL">PL_TIMEOUT</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Timeout condition of pipeline reached</SAP:Stack>
<SAP:Retry>N</SAP:Retry>
</SAP:Error>
I observed that the messages will stay in transaction "SXMS_SAMON" . and will fail after sometime.
What might be the reason. ? what need to do to stop these kind of errors?
Thanks
Deepthi.Hi Praveen,
Webservice <--> XI -->BW .
BPM :
start ->Receive(Request)> Transformation(Responsemap)>Send(SendtoBW)->Send(Send Response) ---> stop.
Messages are getting struck in SMQ1 and SM58 at these three points.
1. Message comes and stays in SXMB_MONI in status "Log Version"
The messages are stuck in SMQ1 in READY status without doing any processing.
XBQO$PE_WS90100002 WORKFLOW_LOCAL_100 1 READY 26.02.2009
Once I push the queue by Activating/Unlocking, it will process.
2. when it is trying to send the message to R/3 (Backend system) it is waiting in SM58 with below entry.
WF-BATCH SWW_WI_EXECUTE_INTERNAL_RFC WORKFLOW_LOCAL_100 Transaction recorded
Manually I execute LUW to push it. Once I done the message will go to R/3 system and Response mapping also complete.
3. Again it is waiting at SM58 with below deatails while sending the response to sender.
PIAFUSER SWW_WI_COMP_EVENT_RECEIVE_IBF WORKFLOW_LOCAL_100 Transaction recorded
we are again manually execute LUW. Once we done the response message will go back to Sender.
Any Idea to solve this..?
Thanks
Deepthi -
I am trying to setup the sync/Async bridge.Scenario is below.
Receive (Open Sync/Async Bridge) --> Send Async > Receive Async> Send (Close sync/Async)
I am doing exactly those steps which is provided in Pattern.
Following are in the interfaces.
Sync Interface to post message to BPM (OutBound)
(This interface is exposed as WebService)
Abstract Sync Interface used by BPM.
Async Abstract Interface for Request Message used by Container.
Async Abstract Interface for Response Message used by Container.
Async Inbound Interface to receive message sent by BPM in Async Send Process.
Async Outbound Interface to send message to BPM by Async Receive.
All the configuration Sender agreement/receieve agreement/interface determination/Receive Determination looks fine.
On posting soap data I get the following exception.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Receiver Identification
-->
<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_BE</SAP:Code>
<SAP:P1/>
<SAP:P2/>
<SAP:P3/>
<SAP:P4/>
<SAP:AdditionalText/>
<SAP:ApplicationFaultMessage namespace=""/>
<SAP:Stack>No receiver could be determined</SAP:Stack>
<SAP:Retry>N</SAP:Retry>
</SAP:Error>
Any pointers will be great help!
Thanks,
SamirHi Samir
As you are trying Sync/Async BPM scenario and having a webservice as your sender,go through this link as it is quite similar to your scenario--
https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
If you still face error then post it in forum.
Regards
Arpit Seth -
Integration process in File to BPM Scenario
hi,
gud morning. i got a problem while designing a BPM. in designing the integration process in IR, i am not able to get both the abstract interfaces to select from, while defining the container. plz post a solution for this. thank u.Hi,
In this blog, I have used Business <b>Service</b> created in the integration directory.. This is an abstract . So I need to specify , the Sender and Receiver Interfaces explicitly in the business service. and it doesnot have any entry in the SLD.
But if you create the Business System in the SLD and if you import that into the Integration Directory-->Assign this into your configurations scenario, then this step is not required.
Regd. Importing Integration Process- BPM is kind of Abstract Service.. i.e BPM is acting as a Receiver Service and Sender service both..
i,e Source to BPM ( here BPM is a Receiver)
BPM to Target( here BPM is a Sender Service)
Hope this clarifies..
Regards,
Moorthy -
Integration Process problem in Message Split.
Hi all,
I have done message split using the this blog.
/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
I am getting problem in the BPM i.e. in Integration Process. In the message monitoring of RWB I am able to see data Outbound to BPM exchange but BPM to Inbound is not at all happening.
I dont have any SAP tools to trace the BPM.
I have been trying this for 3 days desparately.
Can somebody please help me in this.
Thanks,
Subhosh.Hi,
Like mentioned by Udo, you need to have the SAP log on to be able to debug and find the cause for your problem.
One option, can you look into message monitoring in RWB and check what the error message is?
Regards,
Bhavesh -
Monitor Integration process log in BPM
Hi
I am practising the following BPM
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
and I wanted to know how to monitor integration process log in BPM.
To monitor Integration process I logged, into transaction SXMB_MONI_BPE ->Process Selection->Selected corresponding integration process (in Service Field) - and Clicked Execute as suggested in the blog
But I get the message work item doesn't exist ??
What do I need to do in this case ??
Thanks,
KiranSAKHARDANDE ,
Go to sxmb_moni-->Monitor for processed xml message --> In the view box there is standard and process. Select Process for checking the messages of BPM.
Else as in the weblog mentioned go to SXMB_MONI_BPE ->Process Selection->Select corresponding integration process (in Service Field) ->Execute->Select work item. Select your service which you have used in ID.
If you dont find anything then first see whether you see your message in sxmb_moni or not? If not then check your file sender communicaiton channel in adapter monitoring.
Regards,
---Satish
Maybe you are looking for
-
I am fed up with Spring and Apple passing me off to one another and neither will fix the problem. I am unable to receive a connection on my phone. The internet goes out and I have to reset network setting each and every time. This is only a temporary
-
I'm trying to add the email address for my verizon phone to iMessaging. In order to verify, you have to reply to an imbedded link in the message. Unfortunately the link is truncated. Any idea how to get around this?
-
Odd System wake and HDD Failure
I came to work this morning and my storage drive was missing from the desktop. Disc Utility could not see it and when I restarted my machine I got the message that mac os could not read the drive. Checking the console I found this: 11/11/09 3:04:37 P
-
Is it normal for a iPhone to be hot on the back side? Cause mines sure does.
-
SwiXML - JTree LazyLoad Expand listener issue
Hi, Iam creating UI using SwiXML which is based on Swing. Able to create a Tree structure using the below code logic. Issue is, unable to invoke expansion listener method. It would be great, if you can suggest on this issue. We have configured Java f