Functional Acknowledgement in BPEL

Hi,
I have a source BPEL , BPEL A which will insert the record into a target table and should sleep. There is BPEL B which will poll the target table and process the record which BPEL A has put. As soon as the BPEL B is finishes processing the record BPEL A shold resume and complete the process ( To ensure that the record has been processed successfully ). Is there any way that BPEL B acknowledge BPEL A that the record has been processed? ( In real conditions BPEL A can put record into a table and the record passes multiple tables and finally reaches the target table, can BPEL A wait till that record successfully reach the target.)
Thanks,
Ramesh

Yes you can. Process A should have a Receive activity on the client partnerlink with a differernt operation . It wil wait on this activity for a message. Process B should Invoke Process A on this operation and send the message.
You should use your own correlation-set to pass the correct message from B to the A. The correlation should on be defined on process A.
http://orasoa.blogspot.com/2006/07/bpel-correlation-this-usefull-article.html
Marc

Similar Messages

  • Handling Functional Acknowledgement only in case of transaction exception

    Hi ,
    We have requirement to acknowledge client with only exception transactions. How can we handle this with B2B?
    I have used the Functional Acknowledge concept wherein for Acknowledging EDI transactions, we are using Control D3 message format and moving the acknowledgement message to another JMS Queue.
    But the acknowledgements/Control EDI messages are getting generated for both success as well as error cases and there is no way to distinguish between them. How can I restrict this to only Error cases.
    Basically flow is like EDI Message Format --> JMS Queue --> B2B
    --> (in success case) XML generated in B2B_IN_Queue (no ack required)
    --> (in error case) generate CONTRL D3 message and send it to another JMS Queue.
    Pls help.
    Regards
    Aparna

    Hi All,
    Can anyone pls answer my question?
    Regards
    Aparna

  • Functional acknowledgement posting to PO confirmation tab

    Hi Gurus,
    Can anbybody please  throw some light on the followin scenario.
    is it possible to have the functional acknowledgement posted to the confirmation tab of the PO. If so what kind of confirmation control key has to be used and other settings that will make it such that i can see the functional acknowldegement show up on the PO confimations tab.
    Thee way we envision to do this is,
    1) we send the PO to the vendor
    2) vendor sends us back 997 - now this message should some how get posted to PO confriamtion and not just stop at we05 tcode level.
    3) next is our order confirmation - which is the 855 frpom the vendor (ORDRSP)
    4) then next we will have ASN or 856 etc etc.
    steps number 3 and 4 we do not have any problem. we are fine.
    we want to have step 2 done .
    so at the end of the day when i look at he po confirmations tab, i should see three confirmation control keys.
    first one for 997, second one for 855 and third one for 856. please help
    Thanks
    Anusha

    OK. thanks for the reply. here is where we need to go more in detail. This is how i cuurently have assigned.
    in external confirmation category node of the menu path in config, i have
    AB -order acknowledgement
    LA - Inbound delivery.
    now in the internal confirmation category node of the menu path, i have assigned
    order acknowledgement - AB - order acknowledgement
    Shipping notification - LA - inbound delivery.
    now in the node of setup confirmation control i have specified AB as the first sequence and LA as  the second sequence.
    Now the question is if i want to receive 997 updated on the confirmation tab of the PO, shouldn't i define another key like AB, which is for 997 and then place it first in the sequence of confirmation category. Now what should be the key that i should define or create in external confirmation categories node of the menu path such that it will act like 997.
    The business wants 997 updated onthe PO becuase they do not want to rely on the van provider to dtermine that the document was trasnimitted and received succseffully by the vneodr
    Thanks
    ANusha

  • EDI 997 - Functional acknowledgement

    Hi,
    Our requirement is to send and recieve functional acknowledgement through EDI.
    What is functional Acknowledgement?
    Can any one help me out in using functional acknowledgement?What is the message type and functional modules involved for processing functional acknowledgement.Once I recieve a funtional acknowledgement where should that data be updated?
    Any help in this regard would be appreciated.
    Regards,
    Nagaraju Donikena.

    Swapnil Bachal thanks for your help.This would be helpful when I recieve functional acknowledgement from my vendor.
    Now my other requirement is that when ever I recieve a purchase order from my vendor I need to send 997 and also create the sales order for the PO recieved.I understand that for any inbound idoc I can configure process code which is attached to some Function module.SAP has provided with  a standard function module which would create a sales order for the PO recieved.Could you please advice on how to send the 997 simultaneously.
    Regards ,
    Nagaraju Donikena.

  • Re sending Functional acknowledgement 997

    Gurus please help,
    We are using seeburger with AS2 adapter. How can I resend a functional acknowledgement from PI or Seeburger or Runtime work bench? Please explain the steps.
    Your help is greatly appreciated.
    Best regards,
    Pavan

    Hi,
       Did you checked my blog..
    /people/rajeshkumar.pasupula/blog/2009/08/05/wanna-implement-seeburger-for-edi-find-the-booster
    here i am using file adapter in place of file use AS2..
    HTH
    Rajesh

  • Functional acknowledgment 997 reconcilation

    Hello Experts.
         I have gone through the below blogs.
    http://scn.sap.com/docs/DOC-46260
       There is a limitation for this approach if you are  sending multiple Functional Groups and /or Transaction Sets in a single EDI Message.
    My requirement is that I want Functional acknowledgment 997 reconciliation.
    Can you please suggest any other way to achieve this .
    Thanks in Advance.
    Regards
    Advit Ramesh

    Hi Tom !
    Try this BAPIs:
    IDOC_STATUS_CONVERT
    IDOC_STATUS_WRITE_TO_DATABASE
    Regards,
    Matias.
    PD: please award points if helpful

  • 997 Functional Acknowledgment update to SAP IDOC

    When a 997 returns to my BizTalk system I want to update the status code on the IDOC that was sent to the trading partner.  First question is which BAPI would I use to update the status code on the IDOC in SAP.  Second question is what is the unique identifier in the 997 Functional Acknowledgment that is returned to me to know which IDOC status code to update.
    Thanks,
    Tom

    Hi Tom !
    Try this BAPIs:
    IDOC_STATUS_CONVERT
    IDOC_STATUS_WRITE_TO_DATABASE
    Regards,
    Matias.
    PD: please award points if helpful

  • Functional acknowledgement by B2B

    Hi
    When I am setting Operational capabilities for remote TP
    I have seen following options
    i) Functional acknowledgement required
    ii) Is acknowledgement handled by Integration B2B
    Can anybody tell how above both differs...?
    Aren't they same...?

    Hi
    I am using "Custom Document Over Internet" business protocol
    In the tutorial I read as
    "Is Functional acknowledgement required ? feature is applicable only for Business protocols that include the EDI X12 or EDI EDIFACT document protocol. It does not apply to business protocols using the Custom Document protocol like UCCnet even though you set to YES."
    so if the above statement is correct then "Is Functional acknowledgement required " optioin is irrelevant to my case
    so obviously according to your update "Is ACK handled by B2B" is relevant only if
    "Is Functional acknowledgement required ? " set to "Yes"
    So in that case I dont need to worry about these options for my business protocol
    Custom Document Over Internet"
    Am I right ?
    Please confirm...

  • Functional Acknowledgement Version

    Two questions about B2B automatic functional acknowledgements:
    1. What version of CONTRL does B2B produce if FA Handled Automatically is set to Yes in 11.1.1.6 in an EDIFACT exchange?
    2. Can the content of the CONTRL message to be produced be configured?
    Thanks

    1. What version of CONTRL does B2B produce if FA Handled Automatically is set to Yes in 11.1.1.6 in an EDIFACT exchange? CONTRL version D3 is used for single transaction and version 4.1 is used for batches.
    2. Can the content of the CONTRL message to be produced be configured?No. You may indicate B2B to generate envelope parameters for CONTRL as per incoming request but you cannot modify the data. To have customized CONTRL, disable the FA Handled By B2B option in the agreement and preapare & send the FA from back-end.
    Regards,
    Anuj

  • Functional Acknowledgement varying version

    Hi Gururs,
    We are using OAG BODs for B2B Communications.
    The document version is 9.0; and we are allowing B2B to collaborate the message acks.
    Is it possible to use the Confirm BOD (Ack) to be of version 7.2 despite the documents (e.g. PO, POCO) being 9.0; and not requiring us to go to the middleware layer, but allow b2b to correlate?
    Regards,
    Sambhav

    Hi Sambhav,
    You may send CBOD of different version but from middleware and instead of FA, it should be treated like a response message at B2B layer. You can have content based correlation at B2B layer as well.
    Regards,
    Anuj

  • Rejecting functional acknowledgement before reaching PI. (incoming EDI)

    Hi Friends,
    Scenario is EDI (X12 format)<-> PI <-> IDOC (Shipment notification)
    Requirement is we need to send reject acks (997) if the sending X12 doesn't have item details.
    This has to be accomplished at Seeburger level and should not reach PI. (bcause if it reaches PI then sender (EDI) assumes that we already picked up the file using the splitter adapter)
    Any inputs is grtly appreciated.
    Regards,
    Pavan

    Solved,
    We are making changes in the BIC mappings in Seeburger.

  • Bpel Server Does Not Catch Exceptions Thrown By Custom Xpath Functions

    Hi.
    I am using some custom xpath functions in a bpel process and whenever they fail I get an XPathExecutionError with summary:
    XPath expression failed to execute.
    Error while processing xpath expression, the expression is "<my function>", the reason is FOTY0001: type error.
    Please verify the xpath query.
    I am forcing my function to fail by giving a wrong input, which should result in an XPathFunctionException("Input does not respect format").
    There is a note on Metalink with ID 458434.1 on this subject which says that patch 5926809 should fix my problem.
    Patch 5926809 fixes Bug 5926809 - ORA:PARSEESCAPEDXML XPATH EXPRESSION FAILED TO EXECUTE FOTY0001: TYPE ERROR.
    I am using it, but it does not work :(
    I am using version 10.1.3.3.0 of App Server with various patch sets, including fix for bug 5926809.
    Has anyone suggestions on how to overcome this problem?
    Thanks

    Hello,
    I am trying to add a custom xpath function to the BPEL server, and I see that you made it work. I am using Oracle SOA Suite 10.1.3.3 and jDeveloper 10.1.3.4. I am using this function inside an xsl mapping file, although I am able to compile and deploy the Bpel Process to the server, it stops mapping where I placed the function and I have not seen any meaningful message from the domain/log/ files.
    Can you tell me how you did it?
    I think you will tell me faster than Oracle support, I already placed an SR but they just give me superficial advice.
    I appretiate your time and advice,
    Guillermo

  • Jdeveloper Bpel Functions

    Hi,
    I m using Jdeve 11g for developing Bpel applications. I know that bpel provides some advanced functions for most of the regularly used operations.
    I wanted to know, is there any such function available which will check whether the string is an alphabet or not ? I had gone thr the functions available, but could not find any..

    Hi there:
    There is no such function directly from BPEL to check if a string is all alphabetical, you may think of the embedded Java code approach or searching broader on XML namespaces to see if there is anything closer.
    Good luck,
    Alex

  • BPEL Process unable to read Inbound messages from B2B Inbound IP_IN_QUEUE

    Hi Greetings.
    I am working on setting up trading partners at a customer place using BPEL and B2B. BPEL is 10.1.3 and B2B is 10.1.2. The previous BPEL developers developed some processes and deployed them to Development environment. B2B is also set up by them. Lets say the customer name is Pet Safe who is the host trading partner and the remote trading partner is Pet Smart. PetSmart sends Purchase Orders (850s) using EDI over Internet via AS2 connection. My B2B server has received the test PO and sent back the Functional Acknowledgement (997) to the Remote Trading partner. I can see the messages in TIP_BUSINESSMESSAGE_RT in B2B schema of the database which Oracle 10g.
    There is a BPEL process called RSCProcess850. It has been developed by using JDeveloper 10g. This process has a AQ adapter configured in the source code of BPEL. It uses a managed connection factory to connect to the Adapter framework and makes a connection to the database, which in turn talks to the EIS to dequeue the messages in B2B inbound queues. This process dequeus the messages and transforms the EDI and puts the PO details into Oracle e-business Suite tables. There is another process called SendInvoice which is configured to a Data Base adapter which polls a table in the Data BAse and sends the invoice to the B2B schema by enqueing the data to OutBound queues of B2B schema. I tried creating a connection factory using Enterprize manage console for both AQ Adapter and DB Adapter but when restarted the server it is unable to load all the BPEL process because the source code of BPEL is mismathching the password. So I have deleted the connection factories that are created suing em console. These connection factories insert an entry in oc4j-ra.xml files for both AQ Adapter and DB adapter. Once I have deleted them and restarted the server all the processes are loading but the problem is the BPEL process is neither dequeueing or enqueueing the messages. There are no errors thrown in the BPEL Domain logs also. The test PO order details are not there in the staging tables of the e-business tables, which means that the BPEL process are not able to DeQ or EnQ using the adapters. How do I know whether the adapter is fetchingthe data from staging tables or not? I am nearing my deadline but unable to proceed I am stuck here. Any sort of help or approach is highly appreciated.
    my e-mail Id is [email protected]
    Thanks in advance
    Sudhakar

    Hi,
    To test whether the messgae is ENQ or DEQ u can use the sql given in thte B2B user guide.
    Ritesh

  • Error message in BPEL console when purging instances

    Hi
    I get an error message in the BPEL console when I Purge All Instances. The problem arised when i patched SOA suite to version 10.1.3.3. (On 10.1.3.1 i beleive this worked.)
    ======================================
    Exception
    Operation failed because:
    Cannot delete instances.
    The process domain was unable to purge the instances from the datastore. The exception reported is: [POL-5130] table or view SYSTEM.WI_FAULT not found
    Please check that the machine hosting the datasource is physically connected to the network. Otherwise, check that the datasource connection parameters (user/password) is currently valid.
    sql statement: DELETE FROM wi_fault WHERE domain_ref = ?
    ======================================
    I also get a similar error message when i use the search activity function in the BPEL console, and when I use the java-api:s to search among activities.
    Does anyone know anything about this error?
    Thankyou
    //Kalle

    I got the same error, but long after I upgraded to 10.1.3.3.
    As this was on Windows with Oracle Lite, I did like below to fix the issue. Unfortunately I seem to have more issues with the BPEL database so I'm going to try to find a way to reinitialize it from scratch.
    C:\product\10.1.3.1\OracleAS_1\Mobile\Sdk\BIN>msql system/manager@jdbc:[email protected]:1531:orabpel
    SQL> @C:\product\10.1.3.1\OracleAS_1\bpel\system\database\scripts\upgrade_10131_10133_olite.sql
    [POL-5130] table or view SYSTEM.WI_FAULT not found
    Table created
    Index created
    Index created
    Object created
    Object created
    [POL-5130] table or view SYSTEM.WFPRODUCTIVITY_VIEW not found
    [POL-5130] table or view SYSTEM.WFTASKPRIORITY_VIEW not found
    [POL-5130] table or view SYSTEM.WFUNATTENDEDTASKS_VIEW not found
    [POL-5130] table or view SYSTEM.WFTASKCYCLETIME_VIEW not found
    View created
    View created
    View created
    View created
    Commit complete

Maybe you are looking for

  • How do I migrate bookmarks from one HD to another?

    Windows XP became corrupted (?). It was cheaper to install another hard drive, and install windows on the new drive (backing up the original HD would cost more than the new HD did....) The old drive is easily accessed. How do I migrate Firefox bookma

  • Cannot install Boot Camp on my imac 27

    Hello, I´m using Bootcamp to install Windoes on my Imac, afteri downloaded the Windows Support Software i couldn´t copy it/ burn it. When i tried to burn on a disk nothing happend after i pressed the ¨burn¨ button. I need some help here! Thanks! P.S:

  • Win7 problem with Telnet with IE8 (32 bit version)

    We are not able to run Telnet in Win7 (64bit)  with IE8 (32 bit ) (example: telnet://ip), but it works with 64bit IE8. Any solution? Thanks Bahram

  • I want the table names for these fields

    Customer ID.      Material Number      Cross company Purchase Order.      Delivery date (requested by the company who is placing the purchase order).      Qty requested.      Value of the Qty requested     (Value of the Qty requested = Qty requested

  • Basic question on Adobe document services

    Hi    We have a ECC50 instance - the basis component of which has been given to us from our headquarters that has stripped off the J2EE server ( i.e given a WAS640 with just the ABAP runtime installed ). Now, we are planning to use Adobe Interactive