Send Step RFC Problem
I have a Send Step in a BPM that must execute (Sync) a FM to create a notice and return the number, via Monitor I am not see the execution of the FM only the previous Receiver Step and the next Async Send Step, but via Workflow Log I can see the Sync Send Step as "Step Completed", in the Step Configuration I have the following:
Synchronous Interface: mi_as_avisoEst
Request Message: mi_aa_avisoEst
Response Message: mi_aa_avisoEst
I am using the same Abstract Async Interface.
No correlations.
Any ideas?
If it's working as it should and the only issue is that you can't see the synchronous messages in SXMB_MONI, go to SXMB_ADM -> Integration Engine Configuration -> Specific Configuration and set parameter LOGGING_SYNC with value '1' (default is '0').
Check /people/michal.krawczyk2/blog/2005/05/10/xi-i-cannot-see-some-of-my-messages-in-the-sxmbmoni for more details.
Regards,
Henrique.
Similar Messages
-
IDOC send step not running with exception in BPM?
Hello,
hope this is a simple question, but we are running with a problem here which is not answered well in SAP help or sdn. Possibly I didn´t find the right blog.
Situation:
We created a BPM with a send step (IDOC receiver) in a block (after a receive step starting the BPM) (That´s simple so far!).
The send step (async IDOC) in the block is connected in its attributes in field "system error" to an exception branch defined in the same block.
In this except.branch the process should send back to sender system a message via RFC and the last step in this exception branch is to interrupt the proces.
But now we tried to do a test. In this test we modified the receiver address of the send step (IDOC reciver) so that the receiver could not be reached, which results in a system error in SXMB_MONI (Service unavailable).
But this doesn´t work. The BPM starts the send step to the unavailable receiver, SXMB_MONI shows a system error step, but then the BPM continues with the next step after the block without starting the exception branch.
Any idea why the exception branch is not called?
Best regards
DirkHello again,
we are one step further now.
We did the same with an RFC instead of the IDOC send step.
Same result:
The service is not reachable. So the step results in an system error.
But as we could see in the monitoring SXMB_MONI the block with the exception and this send step (RFC) is passed before the step gives back this error!
So it looks like connection problems do not trigger an exception?
Any help is welcome!
Best regards
Dirk -
Hi
I am using RFC synch send step with in parforeach block in BPM. do I need to activate correlation to correlate synchronous request and synchronous response for RFC synch send step ?
Please let me know if you have any ideas on this.
Thanks
AnandHi Michal,
Thanks for the reply.
In SAP help I found the statement made below.
Activating a Correlation
An asynchronous or synchronous send step can activate correlations. This can be useful in the following cases:
· Synchronous send step
A synchronous send step waits for a reply message to be received. On receipt of this reply message,
correlations can be activated to correlate additional messages.**********************************Any idea on highlighted sentence...
Thanks
Anand -
Problems in SEND STEP with transport confirmation
Hi everyone.
I have a send step in a BPM. This send step has the 'transport confirmation' switch activated. If destiny system (SAP R3) is down, XI will retry to send the message.
Problem is that XI has been waiting for a long time (because of R3 backups) and now, the interface is stoped on that step, waiting for the transport confirmation that isn't going to arrive.
I would like to now the way to 'restart' this step because XI must notice that R3 is up again and is not sending the message.
Regards.Hi,
I am not sure about restarting but you can put deadline branch and after sometime atleast kill the bpm so that bpm resources are free.
Thanks,
TUhin -
Problem with EOIO in BPM Send Step
Hi All
We have 3 async send steps one after the other and it must be EOIO.
Even after giving the same Queue Name (EOIO) in all the 3 Send Steps it is working as EO.
Do we need to do any more configurations ??
Will this Queue Name appear in XML monitoring ??
We are on XI 3.0 SP15.
Thanks in Advance.
Regards
ChemmanzHi,
The messages persisted in the BPM can be sent to many receivers.
So, whenever we configure a BPM, in our scenario, the BPE assumes that the messages coming in to the BPM instance, could be sent to many receivers.
The QOS EOIO, does not support sending the same message to mutiple receivers.
However, with QOS EO, the message is duplicated and sent to multiple receivers.
Now, since, the BPE assumes that every message coming in, is sent to multiple receivers, it uses the QOS EO, no matter what QOS was set before.
Regards,
Smitha. -
BPM Send step and acknowledge application.
Hi All,
with this url
http://help.sap.com/saphelp_nw70/helpdata/EN/43/65ce41ae343e2be10000000a1553f6/frameset.htm
I understand that we can define application for acknowledgment from SEND Step in BPM. and this acknowledge will can let me know document as I sent to R3 that posting success or not. But when I try configure with this param. I see only waiting acknowledgement in SXMB_MONI. So how I can to configure this param. Do I have to config someting on R3 side or not?
Thanks and Regards
ParkRicardo,
You would not believe me but I had the same requirement a year back.
Infact I ended up posting a thread on this on the XI forum,
Idoc Acknowledgements and Idoc Packaging
Answering your question in 2 phases,
1. R3 can send the AleAduit back to XI immediately. In the inbound processing code, all the R3 team would need to do is add the code to trigger the RBDSTATE report to trigger AleAudit to XI.
2. The problem with Correlation - Well, in your case as you are using Idoc Packaging , the solution 1 in my earlier thread would not do the trick. If you look in IDX5 in XI you will see that the Idoc Packaging trigger multiple Idoc's from XI itself but again the problem is the correlation and for this there is no straight forward solution than having some custom field in the Idoc and in the corresponding response.
But yeah overall your analysis was perfect. Idoc's are used for Asynch Communications and hence trying to achieve what we are acheiving is not always and necessarily the best solution. Proxies help in these cases, and if proxies are not possible then I guess RFC is the way to go.
Regards
Bhavesh -
BPM: Send step with acknowledgment - Application
Hi folks,
Ive a simple BPM with receiver(sender file)->mapping->send(IDoc receiver). The Send step is configured with the option Acknowledge type -> Application. The scenario runs well, the IDoc is successfully processed, but my BPM remains waiting with the clock icon!!! Going to sxi_monitor, in the PE details is a step waiting for an event from R/3 with the message Waiting for an event SEND_OK_APPLICATION type CL_SWF_XI_MESSAGE. It seams waiting for an event that R/3 didnt send Did I miss some steps at R/3?
The idea is to receive an ack after my IDoc is successfully processed at R/3, in order to finish the BPM.
Regarding Acknowledgment type -> Application, the sap help says:
Wait for Acknowledgement
Specify whether the send step is to wait for an acknowledgement. To receive an acknowledgement in the send step, the receiver (adapter, business system, and so on) must send the corresponding acknowledgment.
Application - Specifies that the message was processed successfully by the receiver application (for example, posted).
I guess it should works, but maybe I'm missing something. Anyone knows how to work with this kind of ack at ccBPM?
Thanks in advance,
Ricardo.
Edited by: Ricardo Quintino on Jan 21, 2008 4:33 PMRicardo,
You would not believe me but I had the same requirement a year back.
Infact I ended up posting a thread on this on the XI forum,
Idoc Acknowledgements and Idoc Packaging
Answering your question in 2 phases,
1. R3 can send the AleAduit back to XI immediately. In the inbound processing code, all the R3 team would need to do is add the code to trigger the RBDSTATE report to trigger AleAudit to XI.
2. The problem with Correlation - Well, in your case as you are using Idoc Packaging , the solution 1 in my earlier thread would not do the trick. If you look in IDX5 in XI you will see that the Idoc Packaging trigger multiple Idoc's from XI itself but again the problem is the correlation and for this there is no straight forward solution than having some custom field in the Idoc and in the corresponding response.
But yeah overall your analysis was perfect. Idoc's are used for Asynch Communications and hence trying to achieve what we are acheiving is not always and necessarily the best solution. Proxies help in these cases, and if proxies are not possible then I guess RFC is the way to go.
Regards
Bhavesh -
Hi
Can someone tell me about sync send step in detail
because in my scenario I am using a sync. send step and the other end is oracle database which uses a SP(stored procedure) for updation.
problem is that I am able to see updation process successfully in the database i.e.the adapter says processing successful.
but after certain amount of time the send step in the sxmb_moni shows error
I think the problem is with the return flag that I am using as an acknowledgement
which is sent by the SP, any suggestions pls
RanjitHi,
This might help you
Synchronous Sending followed by Transformation
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/content.htm
Re: Sync - Async Bridge
Regards
Agasthuri Doss -
How to reprocess an interface with a RFC problem
Hi.
I have a simple scenario File->RFC->FILE
In the BPM that i use, i send some data vía RFC to a R3 Backend and retrieve it. FInally, i create a file with the result.
The send step that sends the data to R3 backend has been defined with a transport confirmation.
My problem is that the BPM has send the info to R3, has received the ACK and at this time, the R3 has crashed.
Now R3 is back again and the Receive Step of the BPM is waiting for the answer. I've checked Sm58 in R3 Backend but no entries in it.
How can i send once more the RFC now that R3 is ready?
Thanks.
Inigo.If so it is like of 2 scenarios. You need to have 2 receiver determinations
1) Sender File to RFC in R/3
2) R/3 to File
But if you want to execute these 2 separate scenarios in sequence then the current design should have these BPM steps
1) Receive File data
2) Transofrmation step ( InputFile to RFC1)
3) Send the RFC data
4) Receive the RFC2 data
5) Transformation Step (RFC2 to OutputFile)
6) Send this to file
You can avoid transformation steps inside the BPM. for this you need to do mapping outside the BPM
Regards,
Moorthy -
Hi all,
I have the same type scenario that is file initiates the bpm that invokes the Webservice.the file data goes into bpm as the input data of the webservice and webservice gives the response and then the web-service response is mapped to
idoc and finally posted to R/3.
The interface sI created:
1.outbound Async -
>for file
2. Abstract async----
>bpm reciever step.
3.Abstract sync----
>bpm sync send step.
4.inbound sync -
>for the webservice to recieve the reqst and to send the response to Abstract sync
5.Abstract async----
>to send the data out of BPM
6.inbound async----
for idoc
created 3 communication channel.
1.file adapter: sender
2.SOAP adapter: Recv
3.IDOC adapter: Recv
created 3 reciever determination
Business process instance in ID
reciever agreement(2)
interface determaination
But getting a problem in BPM.
I think the scenario is logically correct as I have seen previous
SDN suggestions.
But getting the problem in BPM's sync step.and the SOAP rec channel is also inactive.in BPM workflow I can see the recv step is getting file req data but after that in the sync send step
its stuck up.getting error.
Please sir suggest me.Remove the interface you created for Idoc that is inbound async one. use the imported Idoc itself as the interface and also as the message type. Everything else looks good though i did not really evaluate ur ID configuration..
VJ -
hi all,
My BPM flow starts with a single message that I split using a message map into a list of messages into a block which is foreach mode to be sent synchronously one by one splitted messages to an Oracle stored procedure via the JDBC adapter. After the mapping step, the flow goes into a ParForEach block that executes the sync Send step to the JDBC adapter, and then has a Container Action that collects the responses.
My problem is that BPM seems to not like executing a synchronous send from inside a block. The first execution of the send step will produce an error in the BPM flow.
thanks in advance.
srinivas.
Edited by: sri_rambo on Nov 27, 2009 8:06 AMMy problem is that BPM seems to not like executing a synchronous send from inside a block.
BPM does support SYNCSend step inside a Block....but not for ForEach/ ParForEach mode of execution.
I think you are following this procedure from quite a long time.....sync send inside a foreach block.
Regards,
Abhishek. -
Sync Send step after transformation step in BPM
Hi Gurus,
I have an interface where I am loading the data into an Oracle database and getting the response back (insertcount) from the database. Based on the response, I have to execute a stored procedure in another sync send step.
I am doing perfectly alright until the transformation step. The sync send step after this step has the following entries.
Sync interface: MI_LG_SP_INPUT_ABS
Request Message: sp_lg_rec
Response Message: sp_lg_snd
While doing 'check(F7)', I am getting the following error.
<b>Interface MI_LG_SP_INPUT_ABS for element sp_lg_poc_step2 is not abstract/asynchronous</b>
The request message for this sync send step is the target message of the transformation step.
This error is bugging me since 2 days. Please help me with this.
Thanks
KalyanSravya,
I know what I did now. For my send sync interface which is MI_LG_SP_INPUT_ABS, I have unnecessarily created a container element and which caused this problem. From your post, I rechecked it and found that I don't need a container element for my abs/sync interface as I already have container elements for request and response which are abs/asynch.
I gave you full points, thinking that you will come for my rescue in the future (just kidding!!!).
Thanks again,
Kalyan -
BPM synchronous send step - Fault message extraction
Hello Experts,
I am developing a BPM with Asynch RFC -> synch Webservice -> Asynch RFC scenario.
I have defined fault message in the synchronous interface used in the send step for web service, and also defined
exception branch where an alert is thrown.
In the alert, i want to send the fault text from the fault message. How can i do that??
ThanksHi Mona,
SOAP adapter doesnt support fault messages.
check stephan's reply @ How catch the SOAP Fault Message ?
> SOAP adapter does not support fault message.
> Any fault is treated as error.
> fault messages are only supported for XI messages (ABAP or Java proxies) and RFCs.
Fault message handling is not possible inside BPM. -
Synchronous Send step showing errors in process designer
Hi All,
I have few questions in using a synchronous send step in
BPM.
Can I use a synchronous send step without opening Sync/async bridge.
When is the sync/async bridge opened?
Scenario:
File async --> XI (receive async) --> sync send step to J2ee application (HTTP post) --> async response send to File
Sync Abstract Interface:
Input:
Message type (same as outbound)
Response:
Message type (same as Http response)
When I use the synchronous step, I see errors in the process designer saying
Message to be sent and synchronous interface are not of the same type. This happens for both request and response message.
Please help me.
Regards,
MeherI think the Problem is with the INTERFACE Determination.
You need a BPM for the above scenario, but not a Sync/Asynch Brindge
In BPM
Step 1 : Receive from File 1
Step 2 : Do Transformation from File1 format to J2EE Request Format
Step 3 : Send a Synchronous send Step to J2EE
Step 4 : Transform the HTTP response to your File2 Format Response
Step 5 : Send the Response to File2
Interface Determination
File1 to j2ee Request
J2ee Request/Response To J2EE Request/Response
J2ee Response to file 2
Please check your Interface determination very closely. -
How to get detail info of application acknowledgement in BPM send step
Hello
in BPM we will send an async message to SAP backend system, we need to know if the message is successfully process or not, if not, we need to get the detail info which is returned in the acknowledgement message.
As you know in PI monitor, you can open the acknowledgement message and you can see the error texts that are sent by the SAP backend system to PI in the acknowledgement message. However seems like there is no standard way in PI BPM to get the error texts inside the acknowledgement. In the send step you can only specify that application ACK is required, if negative ACK comes in, an exception is raised and you can handle the exception in the exception branch. However there is nowhere to capture the acknowledgement message to get the detail error texts.
Anyone has good idea to get the error texts from the application acknowledgment message inside BPM/
Thankswe need to know if the message is successfully process or not, if not, we need to get the detail info which is returned in
the acknowledgement message
One way to have the above requirement done is make the process synchronous (if RFC/ Proxy). The response message should contain the state of processing of the message inside SAP....now in the BPM make a check on the response message to see if it is a success or failure....you can apply logic like is success terminate the BPM without any alert.....if failure raise an alert/ send a mail.
Regards,
Abhishek.
Maybe you are looking for
-
Patch 16388307 Failling For The File xla120balcp.ldt
Hi there, Please find below error which i have found during applying "Patch 16388307: CLARIFICATION AS PER BUG 15934260 - INVOICE MATCH TO PO FAILS WHEN PROJECT IS CLO" on test instance. FAILED: file xla120balcp.ldt on worker 1 for product xla userna
-
I'm trying to restore my iPod and the update says it's going to take 9 hours and then after 2 hours or less it will say something about "unable to finish update." Why is this?? My iPod is a 3rd generation that I got from my brother and even when I do
-
How to make template for avery dvd labels?
Can one make a template to print avery dvd labels?
-
Sharing my wireless network safely, with my neighbor
Can I set up my network as to allow my neighbor internet access without sharing my private files.
-
anyone can help me?? i faced a problem in working of labview with VideoCapX.. does anyone have the idea deal with VideoCapX with the function of motion detection?? i stil don understand how it work in labview although i have looking through the tutor