BPM Send Step with acknowledgment: ID: sender agreement?

Hello everybody,
I have a send step in BPM and I expect a acknowledgement from the receiver.
Do I have to configure a sender agreement?
Thanks a lot
Regards Mario

mario,
I have tried to use a Sen Synchronous Step to a JDBC adapter from a BPM and it works fine.
<i>After changing the send step in BPM from async to sync with acknowledgement, I get not response message</i>.
When you select MODE as SEND SYNCHRONOUS in your Send Step, there is no option to Select ACKNOWLEDGEMENT.
When you select the MODE as SEND ASYNCHRNOUS , you can have acknowledgements.
But, as you are using a RECEIVER  JDBC adapter , you need to have a SEND SYNCHRNOUS step that will get the response back from the JDBC adapter. This response will double up as Acknowledgemet.
You can surround this Send Synchrnous Step with an Exceptuion Handler to handle any exception that might occur.
Regards,
Bhavesh

Similar Messages

  • BPM: Send step with acknowledgment - Application

    Hi folks,
    I’ve 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 didn’t 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 PM

    Ricardo,
    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 Acknowledgemnt.Process logic depends on Application Ack.

    Hi,
    I am designing one BPM process in which I want to send IDOC to R/3.This IDOC will be processed by the R/3 system using process code.
    Now I have sent this IDOC to R/3 through send step with application acknowledgment and only if acknowledgment comes then only next processing logic of the BPM process should be executed.
    How should I design SEND step because the communication is asynchronous but I want the processing depending on acknowledgement only?
         Please guide me.

    Hi,
    Take a look at this doc,
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe">How to handle Idoc Acks'</a>
    Regards,
    Bhavesh

  • Send step with TRANSPORT Ack. fails in BPE after default client change

    Hi all,
    I had to change default client in my PI (7.0 sps 13) system from 001 to xxx. I did it according to note 940309.
    After this some probelms appears, for example my IPs becomes unworked and I have to repeat automatic customizing for BPE and re-activate in cache my IPs.
    But some of them sill doesn't work. I found that this IPs fails on send steps with transport acknowledgements. When I switch off transport ack. in send step, it become works fine.
    Please provide me with some solution, because I need transport ack. in my IPs.
    Maxim.

    Additional info:
    BPE monitoring shows that send step fails with errors:
    EXECUTE_METHOD_OBJECT_SYNC
    Work item 000000057118: Object CL_SWF_XI_SRV_SEND_ASYNCHRON method SEND_ASYNCHRON cannot be executed
    Maxim.

  • 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
    Park

    Ricardo,
    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

  • 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

  • IDoc outbound errors - mail send step in WF to send info-mail to enduser

    Hello specialists
    I searched quite a lot in the forums now. I found lot of info but nothing regarding my issue.
    I need to send an info-mail to the end user creating purchase orders. But only if the idoc (outbound ORDERS) could not be sent (failing for some reason, i.e. if rfc connection fails). This is what I've done to achieve this:
    - in WE40 I linked my WF to process code EDIO
    - the WF-BATCH user has an email address assigned to it (in SU01)
    - the mail sending step in my WF is configured like this:
    recipient type = G (organizational object)
    Expression = &_WORKITEM.CREATEDBYUSER.ID& (this contains the enduser id)
    subject = Test for &WORKITEM.CREATEDBYUSER.ID&
    When testing the mail can not be delivered (error SO23).
    When setting recipient type to U (E-Mail address) and giving a valid e-mail address, then it works fine (SCOT, etc. is configured and mailing to external systems works). But setting the e-mail address hard coded style in the mail send step is not an option here!
    It seems that the send mail step (SELFITEM.SENDTASKDESCRIPTION) always requires a valid e-mail address. Is it not able to handle SAP user id's ?
    Thanks in advance for some guideance on this one.
    Renaud
    Edited by: Renaud Desarzens on Feb 11, 2010 3:00 PM

    Hello and thanks for your help.
    I was able to solve it like this:
    - don't use mail send step
    - instead, add new activity with a new task (SELFITEM.SENDTASKDESCRIPTION)
    - in the bindings (workflow -> step) set:
         B --> &TYPEID&
         &_WORKITEM.CREATEDBYUSER.ID& --> &ADDRESSSTRINGS&
    Seems that the mail send step doesn't allow TYPEID to be "B" because each time I tried to tweak the generated bindings that way it messed up the recipient type and expression I set before.
    Regards
    Renaud

  • Sending mails with attachments is sending some parts in HTM format

    I have configured my ME account to Apple Mail. When I send an email with first some text, then i add an picture under the text, and after the picture i add some more text. Then i send the mail to someone.
    When that person opens the mail in Outlook on Windows for example, the first text that i typed above the picture is visible in the mail, the picture is added as an jpg attachment, but the text that i typed under the picture is always added in a HTM file
    So they don't see the whole mail, only the first end until the picture, the rest is an HTM attachment.
    It happens with mails send with Mobile Me, but also with other POP3 accounts.
    I already tried to change EDIT - ATTACHMENTS - SEND AS WINDOWS ATTACHMENTS and ATTACHMENTS AT END OF THE MAIL
    Both settings doesn't work.
    Please HELP!!

    I was troubleshooting my own issue noted above and tried to send the attachments via gmail's web interface (bypassing Apple Mail). This time, gmail provided an error message stating that the file contained a virus.
    Since it was a zip of several Word docs, I saved them as PDFs and then rezipped, and Apple Mail sent them off like a champ.
    Evidently, Mail does not have a method for relaying the precise nature of the error message that gmail sends (in this case that the attachment had what gmail thought was a virus). This would be a prime area for some software developers to tackle on a future version of Mail.
    By the way, the files almost certainly do not contain viruses; they are extremely old Word Docs that have been on my successive Mac hard drives for at least 9 years. Too old a format for gmail to recognize?
    Hope this helps someone who may be having the same trouble.

  • Transport Acknowledgement in an Ansynchronous Send Step in BPM

    I tried this scenario /people/michal.krawczyk2/blog/2006/06/22/xi-playing-with-the-file-adapters-acknowledgments for a file acknowledgement in an ansynchronous send step in BPM and it worked fine.
    This made me think of something else...
    This SAP help site http://help.sap.com/saphelp_nw04/helpdata/en/43/65ce41ae343e2be10000000a1553f6/content.htm
    says -  for a "Permanent negative acknowledgment" the "Send step triggers system error for which you can define a specific exception handling."
    I understood this as saying "If the tartget file is not placed, a system error is thrown for which we can write our own exception handling"
    In the scenario explained in the blog the 'deadline branch' was made to wait for a few miutes and once exceeded, made to throw an exception "NegAck" which is handled in the "Exception handler branch"
    So what i tried was, I removed the 'deadline branch' and retained only the 'exception handler branch' and made the 'send step' to throw a system error "NegAck" so that if the "Send Step" recieves a negative acknowledgement, it would throw this error "NegAck" which I have handled in the "Exception Handler  Branch"
    However, this did not work. Can anyone kindly explain where was my mistake?

    Dear Bharath,
    hmmm nice question...
    The answer to this is....whenever you configure a async send step with "transport ack" it will never go into error..
    the send step will either get a positive ack(if the file reaches correctly) or a negative ack(if there is some problem like password expires) but it will will never go into error and hence directly the control will never go to exception handler block...
    consider the cases :
    1. Async send step with transport ack and file reaches correctly : +ve ack is generated and BPM will stop
    2. Async send step with transport ack and passowrd expires : the send step will not go in error but you will get error in adapter engine(RWB) so it will keep on restarting and corresponding negative ack will keep on getting generated but here also the send step has not gone to error but the message in AE has gone into error and hence control will not pass directly to exception handler block....what you can do is keep a timelimit thru deadline branch so that after that much time control goes to exception branch...
    This should solve your problem...
    do not forget to close the thread marking useful answers after your query is resolved
    Edited by: Tarang Shah on Mar 30, 2009 4:10 PM

  • Missing sender information in message from BPM send step

    Hi All,
    I am testing a scenario uses Integration Process. This Integration process sends out a async message from deadline branch, but this message has empty sender service.
    Am I missing something in configuration? Please let me know how can i configure it.
    Regards,

    Hi,
    I chk my RD, ID and Receiver agreement and everything seems to be good.
    My Integration process bellow,
    1-Receive Step
    2-Send Step(with ACK)
    3-Deadline Brach(includes a Tranformation step and then it sends out a async message).
    This message that sends the tranformation step, is missing the sender service information.
    Is important that you know, that this tranformation step, have an empty message as source message.
    I fill the target message with constant values and then send it with a send step.
    I have tested the IM and it worked fine.
    Regards,

  • BPM RFC synch send step

    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
    Anand

    Hi 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

  • Sync send step in a loop step

    Hi Gurus,
    I want to query a database and based on the return value I will proceed to the next step. For this I have a 'sync send' step where I am finding if the count(*) is 0 or greater than 0. If it is only '0' then only I will proceed to the next step.
    For this functionality I am using a loop step with in which I have this sync send step (querying the database). The control will come out of the loop only when the count is 0.
    But, I found that the response message container is not loading. That is the reason why the loop condition is always coming out as 'true'.
    I want to know if I can use the send step with in a loop in BPM.
    Please let me know your solutions.
    Thanks
    Kalyan

    Hi,
    see the counter variable , initial value is 0 ,then the loop always true.
    second thing is when you send the request for synchronously and the response message to receive step, is it correct,
    if so why do you want to maintain the loop, are more messages sending the messages in seqencially /syncrounously .
    I think you want to check the response interface value is it , check this correctly..
    See the below links for Sync Send .
    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]
    Regards
    Chilla

  • Receiver From Field of Send Step of Integration Process

    Could somebody please explain how this works? I cannot get receiver determination to work for a synchronous send of an Integration Process, and I think this is the problem.
    Documentation states the following:
    Calling a Receiver Determination Defined in the Integration Directory
           1.      In the Receiver From field of the properties area of the send step, select Send Context.
           2.      In the Send Context field, specify a character string for the send context.
    You can choose the character string yourself. You must specify the send context to be able to send messages from the same message interfaces to different receivers in different send steps.
           3.      Query the send context in a corresponding condition in the receiver determination in the Integration Directory.
    I just don't get this; if I choose the character string myself, how do I use it in step 3? I cannot see any way to query the send context in a condition. Is the Send Context the name of the receiver?
    If somebody can walk me through this step I would be very greatful!
    Kind Regards,
    Tony.

    Tony,
    An example
    Integration Repository
    I have a synchronous send step with the Send Context set to ABCDE
    Integration Directory
    In the Receiver Determination, Configured Receivers, enter the Condition Editor
    Select Left Operand and enter the Expression Editor
    Select the radio button for Context Object
    Use the dropdown to select ProcessStep
    Select OK
    Select Right Operand and enter your value, eg ABCDE
    Runtime
    When I run my scenario an entry can be seen in SXMB_MONI corresponding to my send step.  In my case it is displayed in the top Window
    - <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="2" type="T">......old attachment XI_Context found</Trace>
      <Trace level="3" type="T">Append context with name =ProcessStep and value =ABCDE</Trace>
    You can see here that the ProcessStep has the value ABCDE
    Hope this helps

  • Switching Step based on Send Step Acknowledgement in BPM

    Hello Everyone,
    We have an inteface scenario to read a file, send the message to an R/3 system, check the return code and generate an email if the acknowledgement is not OK.  NT file -> SAP XI -(asyn ABAP proxy)-> R/3.
    We want to use the standard inbound interface provided by SAP which is an asynchronous proxy interface. We implemented a BPM with a send step and application acknowledgement. Now based on the application acknowledgement we want to send an email to a support group. Is there a way we can check the acknowledgement status and implement a switch step?
    Sathi.

    Hi Naveen,
    Thanks for your response.
    OK I will try transport acknowledgement. I find these acknowledgements are not available in a container. So how can I implement a switch to perform 2 different processing paths based on success/failure status of the acknowledgement.

  • 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/
    Thanks

    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
    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