Synchronous bpm call
Hi All,
I have a scenario where a bpm is synchronously calling a nother bpm.
Is it a must that the receiving bpm should receive the message only synchronously ?, ie the receiving step should open an syn bridge ?
Thanks.
Regards.
Disney Joe.
Hi,
>>>ie the receiving step should open an syn bridge
yes, you have to open this bridge
to send a sync call to BPM
a receive step in BPM with option Start Process
does not allow you to send sync messages in any other way
then just in Async or "sync-async bridge" way
Regards,
michal
Similar Messages
-
Synchronous SOAP call from XI without BPM....
Hi All,
Is it possible to use the (File - XI - SOAP) Synchronous SOAP call from XI with out BPM. to trace the error messages. If yes then how it can be achived in XI.
Thanks,
JaneHi,
You will get either a system error/application error raised if there is a problem processing the SOAP request without the need for BPM.
You can then raise an alert from the RWB if this occurs.
If all is OK with processing, you will get the standard chequered flag.
Cheers
Colin. -
I have two messages, one coming from SOAP and second one from JDBC adapter. I want to map this two messages to Single BAPI call. How do I go about doing this using BPM.
SSG,
1. You will have a fork with 2 branches with 2 receiver steps. One for the SOAP request and the other the JDBC sender adapter.
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/24/e2283f2bbad036e10000000a114084/content.htm">Step Type - FORK</a>
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm">Multiple Start Process Receiver Steps</a>
2. Transformation Step -- N:1 mapping where the 2 source messages are mapped to the Single BAPI message.
3. Send Synchronous Step -- You will be sending the BAPI request message and getting the Response message.
You can use the <a href="/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC">File - RFC - File</a> blog as a template to see how synchronous RFC calls are made and then , you can get the RFC response and do the needful as per requirements.
Regards,
Bhavesh -
How to Use synchronous RFC calls during test run for remote accesses
there is a Setting for the usage of RFC accesses from a tested system
using eCATT.
'X' - Use asynchronous RFC calls during test run for remote accesses
' ' - Use synchronous RFC calls during test run for remote accesses
I developed an eCATT as following :
SAPGUI ( SAPGUI_1 , Target_system_1 ).
SAPGUI ( SAPGUI_2 , Target_system_2 ).
My question is how to run the eCATT in a synchronous RFC calls
PS: I do not want to change the Target_system to the same one in the
above script of ecatt.Because I need to run it in 2 different Target
systems sometime.
for example, I give a Target_system_3 when run this eCATT
I want the SAPGUI_1 and SAPGUI_2 run the Target_system_3 but not the
Target_system_1 or Target_system_2 .
Could you please tell me how to make it without the changes in script?
Edited by: Weitong Liu on Mar 24, 2011 9:44 AMHi Liu,
Weitong Liu wrote:
> ' ' - Use synchronous RFC calls during test run for remote accesses
This is the standard option value. Asynchronous are not the standard way and used only for very special purposes.
Weitong Liu wrote:
> I developed an eCATT as following :
> SAPGUI ( SAPGUI_1 , Target_system_1 ).
> SAPGUI ( SAPGUI_2 , Target_system_2 ).
> My question is how to run the eCATT in a synchronous RFC calls
The commands will be executed in sequence. So each call will be synchronously replayed against TS1 and TS2.
What is you issue with this standard procedure?
Kind regards,
Christoph -
Mapping SOAP Fault during synchronous SOAP call
We are building a mediated service scenario where PI is brokering a synchronous SOAP call, without changing any of the information being sent or received (the mappings use the same source and target data types with no transformations). When the service is successfully executed everything works as expected, but when the target service returns a SOAP fault, PI appears to be wrapping the fault in a separate fault before returning it to the client. Why is this happening? Is there a way to simply return the SOAP fault to the client without adding the additional wrapper?
Here is the fault received from the target service when called directly:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header/>
<soapenv:Body>
<soapenv:Fault>
<faultcode>Missing_Required_Data</faultcode>
<faultstring>**Required data is invalid : Dealer Country**</faultstring>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
Here is the fault received from the mediated PI service call:
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<SOAP:Fault>
<faultcode>SOAP:Server</faultcode>
<faultstring>Server Error</faultstring>
<detail>
<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
<context>XIAdapter</context>
<code>ADAPTER.JAVA_EXCEPTION</code>
<text>com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: XIAdapterFramework:GENERAL:com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: **Required data is invalid : Dealer Country**
at com.sap.aii.adapter.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:1161)
at sun.reflect.GeneratedMethodAccessor948.invoke(Unknown Source)
</s:SystemError>
</detail>
</SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>
Why aren't they the same?are diferents coz the first is a fault message and the second is a exception message.
to send back the fault message define a fault message for both structure and map them in a new message mapping. later in the operation mapping or interface mapping (depends of the pi version) under fault message or fault mappinng (i dont remember) tab assisg the fault message mapping.
thats all you need. -
Cant see synchronous http-calls in message monitoring
Hi all,
I 've got a synchronous http call. When the request was bad I saw the failed request and response messages in XI message monitoring with red lights. But now the call seems to work fine, because the sequenced step is showing. But I can not see the http-message in message monitoring.
Any ideas?
Regards
Mathiashi,
have a look at my blog:
/people/michal.krawczyk2/blog/2005/05/10/xi-i-cannot-see-some-of-my-messages-in-the-sxmbmoni
how to turn it on
logging_sync
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
I`m experiencing wierd thing.
I have simple scenario using BPM
[ async iFlow1 ] -> [ BPM ] -> [ async iFlow2 ]
All SI are asynchronous, including one which I call from BPM through Automated Activity. But if I look in the message log of that outgoing message (from BPM to iFlow2), I see there this log entry
Application attempting to send an XI message synchronously using connection JPR
How can message be send synchronously through async SI/operation.
I doublechecked, that everything is set to async - even in automated activity in BPM process - when I try to set outbound mapping - it tells me, that it cannot be done.
I have a real problem with it, because I want to split that outgoing message and send it to two receivers. This cannot be done with sync messages, of course.
Do you experience same problem?Vladimir may I know how your customer imported his Service Interfaces?
I did import them from file to avoid ws-rm so that i can start the process from SOAP UI. When I send a request and look for the message content in the Message Monitor, i see the following tags:
<sap:ReliableMessaging xmlns:sap='http://sap.com/xi/XI/Message/30' SOAP:mustUnderstand='1'><sap:QualityOfService>BestEffort</sap:QualityOfService></sap:ReliableMessaging>
So somehow SAP does RM anyway, and with that the synchronous messaging... Is there a possibility to disable wsrm on system side? When i look in the single service administration wsrm is disabled at least for the inbound event..
I just imported the service interfaces from ESR and started the process from wsnavigator and now it worked:
Application attempting to send an XI message asynchronously using connection JPR
Regards,
Maurice -
Synchronous BPM starting with HTTP Request
Hello there,
I have a requirement to call 3 web services, consolidate their responses, and sending back the results to the caller (a web page in this case). The request is coming over HTTP (synchronously...the file sender scenario that is on SDN does not apply here).
I have tried the sync/async bridge to prototype this synchronous scenario, but I get the following error.
"The process does not support the given synchronous interface or does not support synchronous messages"
Since the Receive step only allows Async and Sync/Async Bridge options (which doesn't really apply here because all of my web service calls are synchronous), and off course the HTTP as well. What options do I have to build this scenario via BPM (or without BPM)?
Looking forward to the replies.
ThanksHi,
I'm trying to build similar ccBPM process which processes a synchronous message sent from XI SOAP sender to a Web Service. Both sender and receiver systems are synchronous.
Instead of going directly to the Web Service receiver, I would like the message to go through ccBPM.
Can you give a sample for such process ?
What receive step mode should be used - "Asynch" or S\A "bridge" ?
I tried to receive the message using "Asynch" mode and than send it with "Synch" mode.
A runtime error is generated:
<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="BPE_ADAPTER">SYNCHONOUS_MESSAGE</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>The process does not support the given synchronous interface or does not support synchronous messages Exception CX_WAPI_DEF_PROPERTY_NOT_FOUND occurred (program: SAPMHTTP, include: , line: 0).</SAP:Stack>
<SAP:Retry>N</SAP:Retry>
</SAP:Error>
Please help !
Thanks
Orit -
hi,
why do you need a BPM in this case?
it's a standard sync - sync communication
where not BPM is necessary
Regards,
michalThanks all for help.
Is a JDBC call synchronous or asynchronous? Means,
which step do I have to use in BPM for this?
@Moorthy
The link you send me uses a synchronous sending step
at the end of the BPM. Why do I have to use a
synchronous step here? I don't want to receive
a response in the BPM. Other examples (like the blog
I linked above) uses a asynchronous sending step
at the end.
@all
Is is only possible to select interfaces within a BPM
from the same namespace? I couldn't select interfaces
from outher namespace.
regards
chris
Message was edited by: Christian Riekenberg -
Without BPM:Call RFC using JCO in interface mapping using java mapping
Hi all
I have a very small scenario where REQUEST from the customer comes via Web Service all i have to do is to read the request using SOAP adapter and call an interface mapping(lets say the name is IM_TEST) inside which there is a JAVA MAPPING program written which will call an RFC in CRM using JCO.
Now this was really simple and i cud test the Interface mapping successfully, but the problem is when loading the scenario in integration directory i have certain things to do
1. to set the SENDER AGREEMENT which i did correctly
2. set the RECEIVER DETERMINATION, INTERFACE DETERMINATION AND RECEIVER AGREEMENT now here i am stuck because there is no receiver in my case as the RFC is called inside the mapping only.
can i call one more message mapping in IM_TEST which will write file onto the XI directory and then in RECEIVER DETERMINATION, INTERFACE DETERMINATION AND RECEIVER AGREEMENT i can mention the reciever as FTP.
I tried it but i gives the following error
Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_MM_TEST_WRITE_FILE: com.sap.aii.utilxi.misc.api.BaseRuntimeException; Parsing an empty source. Root element expected!
Please help me how to complete the scenario so that customer can run it end to end.
<REMOVED BY MODERATOR>
Edited by: Prateek Raj Srivastava on May 12, 2010 1:44 PMStefen
What do i do then...actually this is the project requirement. They want a very fast response from PI and thats why they wnt us to omit BPM and the Graphical mapping from the scenario.
I am able to test the interface mapping which calls the the Java mapping inside which there is an RFC call, but i cannot implement it end - to - end as there is no receiver business system in this case. The only business system i have is the SOAP sender.
I am really troubled now, please help me with a solution.
Is there any other possible way through which the process can become very fast whic hcan meet their requirement.
Regards
Naina -
Integration Process not continuing after Synchronous BAPI call
I have an integration process that splits up a batch file of purchase orders into single purchase order messages. This allows me to use the "ForEach" block to call the synchronous BAPI_PO_CREATE1.
I have managed to get the process to call the BAPI and create the purchase order. The response message arrives back though the abstract synchronous interface and is mapped to the asyncronous response message. After that the process seems to hold where I am expecting it to continue on the process and be appended to a container storage list for mapping to a single return message.
I have not set up any correlation sets as I thought they wouldn't be needed for a sychronous call.
Has anyone got any advice on my approach to this process and how I might fix it.
Thanks in advanceHi Bhavesh,
There are no errors as such in the SXMB_MONI but it gets as far as the Inbound Message (PE_ADAPTER) stage after the Sych BAPI call.
Also the SOAP Header at this stage seems to be missing "sysnchronous" or "asynchronous" in the SAP:ProcessingMode tags.
The technical workflow is as follows
FTP Batch file outbound to Integratin Process Receive (Async)
Transform message into a Multiline list of BAPI_PO_CREATE1.request (async abstract)
Enter "For Each" Block using the multiline list.
BAPI_PO_CREATE1 mapped to synchronous abstract interface
synchronous abstract interface mapped to BAPI_PO_CREATE.request and response
BAPI_PO_CREATE.response mapped to async BAPI_PO_CREATE.response
async BAPI_PO_CREATE.response appended to multiline list
Exit block
Transform multiline response list into single line response
FTP inbound
As far as I can make out I have not correctly configured the receiver of PO_CREATE1.response after it has been mapped from the sync to async so it just persists it and sits there waiting or it is waiting for somethign else to happen.
Let me know if I can clarify anything further.
Thanks
Ben -
Hi Experts,
We are working on PO 7.4 single stack.
We want to trigger BPM process from another BPM process without involving PI.
As we have huge data and multiple calls to different BPM process via PI.
Any pointers on this would be helpful.Implement the process as you normally would. Import the WSDL for the service call to start the process. Use the same WDSL in the start event of the sub process and the automated task that calls the sub process. Make sure that the Service Reference for this Web Service is of type WS. Then configure the Service Group to call the system that should run the child process. If both processes should run on the same system choose local system for the Service Group.
Bottom Line: Implement everything as you're used to. Use a Service Reference of type WS and configure the Service Group accordingly in NWA. -
Hi I am new to bpm can somebody provide me with a sample project in either oracle bpm 10.3 or aqualogic 6.0 to call some simple web service such as helloworld ?
Anju,
Thank you for your response. I am not having much luck with getting any of these projects to work. For example, I imported the ExpenseReimbursement project (this project uses web services, I think) by following the step by step instructions in the read.html ( C:\OraBPMStudioHome\samples\demos\ExpenseReimbursementDemo\README.html) but when I login to the workspace as the administrator I didn't see anything to Set Administrative Options with.
There was nothing under Views, nothing under Applications and under Work List it said 'No Processes were found. Log in again and contact your administrator if the problem persists'.
Any help to resolve this would be appreciated. -
Hi All,
I am doing scenario in which my sender ORION is webservice (It is synchronous to synchronous scenario)
I have to use bpm for this,
We are receiving webservice in XI and sending it to another PI system where i m doing soap look up (request,response mapping) and i m getting response in BPM and some transformation i have to do and send it back to the ORION.
Can you poeple please suggest me steps how to execute in BPM,I have tried doing it as a asynchronous request from ORION and sending ASYNCHRONOUS response.
Now requirement is changed they want us to do synchronously,
Wht will be the BPM scenario of this?In BPM we cant have sync receive,We can open sync async bridge but that also we cant use in this case
Please suggest me on this
Thanks
Best Regards,
Harleen Kaur ChadhaHi,
Yes you can do it in BPM. You need to do the following steps.
Step 1.Receive step, receive request from ORION with mode as Open S/A bridge
Step 2. Send Step, mode as Synchronous, synchronous send to PI and gets the response back from PI.
Sep 3. Send Step, mode as Close S/A bridge , this will synchronously send the response back to ORION.
In between you can have your transformation steps for any mappings.
thanks
amit
reward point if answer is helpful -
Hi All,
I have a Synchronous RFC(SAP) to Database(Oracle) scenario, the call to Database is via Stored Procedure in which i am inserting some data in database and returning a status flag back. I have two queries here:
1. What if the stored procedure is executed successfully, I get a status flag as "Success" from database and just before the response was sent back to SAP there is some comunication failure or any error while connecting XI to SAP. What will happen to the data inserted in table. Will it be still commited or rollback? As it is Synchronous process the data should not be commited untill the requestor system gets back the response. Any clues on this?
2. I need to pass a table type(basically a dyncamic array) as one of the parameters while invoiking Stored procedure. How it can be done?
I am connecting to Oracle 10g.
Looking for some quick answers.
Thanks
Amit1) You can set Transaction Isolation Level=Serializable
To avoid data inconsistencies in the database when the isolation level is lowered, ensure that multiple database transactions cannot access the database simultaneously.
2)
<StatementName5>
<storedProcedureName action=u201D EXECUTEu201D>
<table>realStoredProcedureeName</table>
<param1 [isInput=u201Dtrueu201D] [isOutput=true] type=SQLDatatype>val1</param1>
</storedProcedureName >
</StatementName5>
http://help.sap.com/saphelp_nw04s/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
Maybe you are looking for
-
Enterprise 600 m602n IPX/SPX Configuration
Good Day All My organization recently purchased a number of hp laserjet enterprise 600 m602n printers to replace an ageing fleet of 4000 series printers attached to external jetdirect cards. The printers being replaced recieve jobs by both TCP/IP IPv
-
SPA2002 Cannot establish connection!!
I have an SPA2002 behind an RVS4000 router. Spa2002 firmware version is 3.1.18. The adapter is connected to a high priority qos port. Proxy access is enabled. When I lift up the receiver there is a dial tone so the registration is ok, but the calls a
-
Built in error checker - email addresses on forms
When a form asks for an e-mail address to be input, this new version of IE 10 is making life hell. What winds up happening is that if you use an e-mail from a small company or a school, IE does not recognize it as being valid and tells you to correc
-
How to buy additional 6 users license more from different vendor
Hi If i buy 30 licenses from Vendor #1 and then later on buy additional 6 licenses from Vendor #2, do i have to pay AMC for 30 licenses to Vendor #1 and AMC for 6 licenses to Vendor #2 or pay AMC for 36 licenses to either Vendor#1 or Vendor #2. pleas
-
Hello friends Any one know some good books which will be helpful to build a server side java application. I am using servlets and JSP's , no EJB. I need some good standards and advise on creating the classes, passing the data from the backend to fron