ORABPEL-09222 Document not found in datasource

We are running BPEL 10.1.3.3.
We run seperate App and Database Servers. During a test, the network was disconnected between the App and Database Server, which resulted in a message being placed on the Invoke Manual Recovery Queue.
When I try and recovery this message, get heaps of Java Stack Trace in the domain.log and the message cannot be recovered.
Example of the stack trace below. Has anyone else seen this, or know the cause?
Pete
<2008-01-17 11:49:24,257> <ERROR> <default.collaxa.cube.engine.data> <BaseDeliveryPersistenceAdaptor::loadInvokeMetaData>
ORABPEL-09222
Cannot deserialize DOM element.
Failed to deserialize the DOM element from binary format, the document id ec04eb2f0c9f4507:6adb5099:11781f7931e:-7f60. The exception reported is Document not found in datasource.
The process domain was unable to fetch the bytes for the business document "ec04eb2f0c9f4507:6adb5099:11781f7931e:-7f60" from the datasource.
Please check that the business document identifier "ec04eb2f0c9f4507:6adb5099:11781f7931e:-7f60" refers to a valid entry in the document table; this row may have been manually removed from the table.
     at com.collaxa.cube.xml.dom.SDOMHelper.loadCompressedNormalDocuments(SDOMHelper.java:384)
     at com.collaxa.cube.xml.dom.SDOMHelper.loadDocuments(SDOMHelper.java:153)
<2008-01-17 11:49:24,273> <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "cube delivery": [com.collaxa.cube.engine.data.DataStreamException: Cannot decode properties.
The process domain was unable to decode the properties for message guid 10, which are stored in column Cannot deserialize DOM element.
Failed to deserialize the DOM element from binary format, the document id ec04eb2f0c9f4507:6adb5099:11781f7931e:-7f60.  The exception reported is Document not found in datasource.
The process domain was unable to fetch the bytes for the business document "ec04eb2f0c9f4507:6adb5099:11781f7931e:-7f60" from the datasource.
Please check that the business document identifier "ec04eb2f0c9f4507:6adb5099:11781f7931e:-7f60" refers to a valid entry in the document table; this row may have been manually removed from the table.
; the exception reported is: {2}
sql statement: SELECT conv_id, message_guid, domain_ref, process_id, revision_tag, operation_name, receive_date, state, priority, properties, master_conv_id, headers_ref_id FROM invoke_message WHERE message_guid = ?
ORABPEL-04025
Cannot decode properties.
The process domain was unable to decode the properties for message guid 10, which are stored in column Cannot deserialize DOM element.
Failed to deserialize the DOM element from binary format, the document id ec04eb2f0c9f4507:6adb5099:11781f7931e:-7f60. The exception reported is Document not found in datasource.
The process domain was unable to fetch the bytes for the business document "ec04eb2f0c9f4507:6adb5099:11781f7931e:-7f60" from the datasource.
Please check that the business document identifier "ec04eb2f0c9f4507:6adb5099:11781f7931e:-7f60" refers to a valid entry in the document table; this row may have been manually removed from the table.
; the exception reported is: {2}
sql statement: SELECT conv_id, message_guid, domain_ref, process_id, revision_tag, operation_name, receive_date, state, priority, properties, master_conv_id, headers_ref_id FROM invoke_message WHERE message_guid = ?
     at com.collaxa.cube.engine.adaptors.common.BaseDeliveryPersistenceAdaptor.loadInvokeMetaData(BaseDeliveryPersistenceAdaptor.java:2029)
     at com.collaxa.cube.engine.adaptors.common.BaseDeliveryPersistenceAdaptor.__loadInvoke(BaseDeliveryPersistenceAdaptor.java:1932)
...

looks like during recovery it is not able to fetch the message header elements for the invoke-message. is it possible to provide a test case with instructions to reproduce this problem? also can you please file a SR and upload all your supported files (test case, input xml, the current log files which has the exception trace).

Similar Messages

  • Error while invoking bean "finder": Instance not found in datasource

    Hi All
    I am facing Error while trying to execute a BPEL processing using Notification service for sending out mail .
    Following is the Error Stack :
    <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "finder": Instance not found in datasource.
    The process domain was unable to fetch the instance with key "677c0310e56e2b26:26d607:10dca65e80a:-7ffc" from the datasource.
    Please check that the instance key "677c0310e56e2b26:26d607:10dca65e80a:-7ffc" refers to a valid instance that has been started and not removed from the process domain.
    ORABPEL-02152
    Instance not found in datasource.
    The process domain was unable to fetch the instance with key "677c0310e56e2b26:26d607:10dca65e80a:-7ffc" from the datasource.
    Please check that the instance key "677c0310e56e2b26:26d607:10dca65e80a:-7ffc" refers to a valid instance that has been started and not removed from the process domain.
         at com.collaxa.cube.engine.data.AdminFinder.__lookupInstanceMetaData(AdminFinder.java:314)
         at com.collaxa.cube.engine.data.AdminFinder.__lookupInstanceMetaData(AdminFinder.java:262)
         at com.collaxa.cube.engine.data.AdminFinder.lookupInstanceByConversationId(AdminFinder.java:235)
         at [b]com.collaxa.cube.ejb.impl.FinderBean.lookupInstanceByConversationId(FinderBean.java:177)
         at IFinderBean_StatelessSessionBeanWrapper42.lookupInstanceByConversationId(IFinderBean_StatelessSessionBeanWrapper42.java:669)
         at com.oracle.bpel.client.Locator.lookupInstance(Locator.java:420)
         at displayInstance.jspService(_displayInstance.java:111)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:222)
         at com.collaxa.cube.fe.DomainFilter.doFilter(DomainFilter.java:152)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    <2006-09-20 14:55:44,109> <ERROR> <default.collaxa.cube.services> <PCException::<init>> Error in sending e-mail message.
    <2006-09-20 14:55:44,119> <ERROR> <default.collaxa.cube.services> <PCException::<init>> Error in sending e-mail message.
    The understanding formed till now is that the service is trigged using a stateless session bean wrapper and the lookup for the same is failing.
    One option will be to write the java code for performing the lookup using method
    lookupInstanceByConversationId(String convId, DomainAuth auth)
    but certain information e.g DomainAuth is not available.
    I have tried locating information about the dynamic wrapper which is being created.
    Any inputs/comments/direction for the above problem are welcomed
    Cheers

    Thanks Marc.
    I checked the domain log (ORA_BPEL_HOME\bpel\domains\default\logs\domain.log) for information. It repeats the same error displayed in the bpel server window.
    I have now put some SOPs in my Java embedding activity to see if the process gets instantiated or not. On the BPEL server window, I am able to see these SOPs upto the point where I invoke a method invocation on my remote Java class. Which clearly means the BPEL process is instantiated, contrary to the information in the error (that the BPEL instance cannot be found) I am getting.

  • Error: Document not found. (WWC-46000) while updating a form whit blob items

    Hi all,
    I have to manage a table-based form. The table has a BLOB field that allows NULL.
    The blob field of the form is hidden.
    When I try to INSERT all works well but when I attempt to UPDATE I get "Error: Document not found. (WWC-46000)".
    Have you some suggestions ?
    Thanks,
    Antonino
    p.s. Oracle Portal 3.0.7.6.2 / NT

    I have the same problem. I have one form to insert file (works fine), and another form to update that record, but not the file. The fields of the file (blob and mime type) are not on the form at all, and getting the message WWC-46000.

  • "Error: Document not found (WWC-46000)" with a form based on a table with blob item

    Hi all,
    I have to manage a table-based form. One of the fields of the table is BLOB and the corrisponding field of the form is HIDDEN.
    When I push the INSERT button all works well but when I try to UPDATE I get "Error: Document not found. (WWC-46000)".
    Have you some suggestions ?
    Thanks,
    Antonino
    p.s. Oracle Portal 3.0.7.6.2 / NT
    null

    Sorry, I think I did not explain well my problem.
    Imagine this simple table:
    key number;
    description varchar2(50);
    image blob;
    I need to make a form that contains the corresponding "key" field and the "description" field but not the "image" one. I don't want to allow the end user to upload images!
    When I insert a row the form works well and in the "image" field of the table an empty blob or null (now I don't remember) is stored: that's ok.
    Now imagine I want to change the value of the "description" field. I submit a query for the right key, I type a new value for the description and finally I push UPDATE button but....an error occours.
    I think this error is related with the Blob item of the table but I'm not sure.
    Thanks again,
    Antonino
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Dmitry Nonkin([email protected]):
    Antonino,
    If I understood the problem correctly:
    The form's item type for BLOB column used to upload content cannot be hidden, that's why we have a special item type FileUpload(binary).
    Thanks,
    Dmitry<HR></BLOCKQUOTE>
    null

  • Document not found. Excise posting not done or document is archived.

    Hi,
    I have created an order, delivery and billing document. Billing doc has been released to accounting. However though the accounting doc has been generated, the excise invoice is not generated and also BED, EDCESS & VAT amount not disable. When I was doing the Excise invoice (T code: j1iin) I got the following error
    Modvat utilization done already for XXXXXX of Delivery No: XXXXX
    Message no. 8I446
    Diagnosis
      Modvat utilization done already for mentioned billing document
    Procedure
      Check the billing document entered
    If I click on display button after that I got error like
    Document not found. Excise posting not done or document is archived.
    Message no. 8I301
    Diagnosis
    The entered document number could not be found either because it is not
    correct or the document has been archived
    Procedure
    Please check the entered document number
    Plz help me what cud be the reason for that.
    Regards
    LVK

    Dear LVK
    Go to SE16, input Table J_1IEXCHDR and execute.  There input the excise invoice number and execute.  Check whether system is showing a document.  Alternatively, without giving any data in the above table, just give the excise invoice date and execute.  Check whether the said  excise invoice is stored in the table.
    thanks
    G. Lakshmipathi

  • ORABPEL-11627 Mapping Not Found Exception

    Hi,
    I am getting into this error . Any idea how I can overcome this.
    Invoke_1 (faulted)
    [2006/05/16 18:03:20] "{http://schemas.oracle.com/bpel/extension}bindingFault" has been thrown. less
    <bindingFault>
    <part name="code" >
    <code>null</code>
    </part>
    <part name="summary" >
    <summary>file:/D:/OraBPELPM_1/integration/orabpel/domains/default/tmp/.bpel_check3xml_1.0.jar/write_good_file.wsdl [ write_good_file_ptt::merge(Ebill1500HdrStagingCollection) ] - WSIF JCA Execute of operation 'merge' failed due to: Mapping Not Found Exception. The mapping [ebill1500DtlStagingCollection] for descriptor [class bpel___localhost_default_check3xml_1_0__MD5_1599fb090298a18cd7a14175df888307_.check3xml.Ebill1500HdrStaging] could not be found. The input xml record had an element [Ebill1500HdrStaging/ebill1500DtlStagingCollection]. ; nested exception is: ORABPEL-11627 Mapping Not Found Exception. The mapping [ebill1500DtlStagingCollection] for descriptor [class bpel___localhost_default_check3xml_1_0__MD5_1599fb090298a18cd7a14175df888307_.check3xml.Ebill1500HdrStaging] could not be found. The input xml record had an element [Ebill1500HdrStaging/ebill1500DtlStagingCollection]. Make sure that the input xml is valid relative to the xsd and that the mapping exists in the Mappings.xml. If an old version of the descriptor without this mapping has been loaded by the database adapter, you may need to bounce the app server. If the same descriptor is described in two separate Mappings.xml files, make sure both versions include this attribute/mapping. </summary>
    </part>
    <part name="detail" >
    <detail>null</detail>
    </part>
    </bindingFault>
    thanks in advance

    Hi,
    I too get the same type of error. But in my case, i don't have two partner links. I have created only one and it throws the same error.
    Error details:
    <bindingFault>
    <part name="code" >
    <code>null</code>
    </part>
    <part name="summary" >
    <summary>file:/usr/oracle/midtier/integration/orabpel/domains/Dev/tmp/.bpel_DBSample_1.0.jar/DBInsert.wsdl [ DBInsert_ptt::merge(TestQueueCollection) ] - WSIF JCA Execute of operation 'merge' failed due to: Mapping Not Found Exception. The mapping [TestQueue] for descriptor [class bpel___localhost_Dev_DBSample_1_0__MD5_354f16a7145fe31c41b6d41f55336740_.DBSample.TestQueue] could not be found. The input xml record had an element [TestQueue/TestQueue]. ; nested exception is: ORABPEL-11627 Mapping Not Found Exception. The mapping [TestQueue] for descriptor [class bpel___localhost_Dev_DBSample_1_0__MD5_354f16a7145fe31c41b6d41f55336740_.DBSample.TestQueue] could not be found. The input xml record had an element [TestQueue/TestQueue]. Make sure that the input xml is valid relative to the xsd and that the mapping exists in the Mappings.xml. If an old version of the descriptor without this mapping has been loaded by the database adapter, you may need to bounce the app server. If the same descriptor is described in two separate Mappings.xml files, make sure both versions include this attribute/mapping. </summary>
    </part>
    <part name="detail" >
    <detail>null</detail>
    </part>
    </bindingFault>
    Can you please help me to solve this problem?
    Thanks

  • "Document not found "  Error message

    Hi Experts:
    In CRM 4.0 - WinClient, we are getting error message CRM_ORDER000 "Document not found".
    The error occurs when the agent creates two sales orders for the same client. She does not save the first order with Saving bottom (F ), but presses directly the quick link to create a new sales order.
    A pop-upp apears with the question: Do you want to save transaction Telesales? The agent confirms this. Later she is not able to save the second order because of the error message  CRM_ORDER000 "Document not found".
    We have found note 856954 but we have already the relevant support package.
    Any idea what this could be?
    Best regards,
    Cristina

    Hello,
    have you find the problem's cause ?
    I have the same problem ....
    Thank you.

  • RSIMG (BW Customizing) leads to message "document not found"

    Hello,
    when I try to open the transaction RSIMG (BW Customizing) in our SAP BW 7.0 systems, I get the message "Dokument wurde nicht gefunden" ( document not found ).
    I get this on the newly installed SAP BW 7.0 development and production systems. I nearly have SAP_ALL athorizations and SU53 does not hint to any athorization problem. I also cannot find anything on this topic in the SDN.
    Is this a normal behavior? Can it be fixed?
    Hope someone can help me.
    Best regards
    Thomas

    I get exactly the same... to be honest, it's the first time I heard about that transaction. I always use SBIW or SPRO.

  • Foreign Current Revalution posting document not found

    Hi SAP Expert,
    I have post an foreign currency valuation in IDES system and found that the document is posting to Posting Not in Leading Ledger (Document Status) and Ledger Group (L5).
    When i view document in FB03 the document can be display. But when i check on g/l display in FS10N the document is not posted to the g/l account
    Attachment is on http://docs.google.com/View?id=dgfn24s4_1n6jmtfgp
    Document posted is 42 and when view g/l account 280000 in fs10n does not found the data.
    Does this related with Doc Status: Posting Not in Leading Ledger and Ledger Group: L5?
    please advice.
    Thanks
    regards,
    ng chong chuan

    Hello,
    Check whether flag of write classic  gerneral ledger(GLT0) is activated in SM30,V_FAGL_ACTIVECCL.
    If not, no data will updated into GLT0 when you creating doc.
    You could also check whether there is data updated into faglflexa/faglflext and bseg/glt0.
    Best Regards,
    Gladys xing

  • Appraisal Document Error "Document not found"

    Hi All,
    I have created iVIew MSS Appraisal Document with following details
    Technical Name of iView   :   com.sap.pct.erp.mss.hap_document
    Technical Name of Application :   HAP_MAIN_DOCUMENT with application parameter Mode=D
    Runtime Technology   :  ABAP/Web Dynpro
    Help URL :  [http://help.sap.com/erp2005_ehp_04/helpdata/en/6f/c2cfcd65164677ba4179718188f75e/frameset.htm]
    While accessing "Appraisal Doucment" from Portal getting "Docuemnt Not found" error.
    If I will click on Adapt Configuration button in the view getting  "Access via 'NULL' object reference not possible" error.
    Thanks in Advance,
    Risha

    Hello Risha,
    If you've applied the note 1416756 , you probably already have the ESS and MSS Business Package 1.41.
    First off, have you got the standard iViews to work from the standard ESS portal role before creating you own iViews?
    On your Portal Content Admin tab, navigate to Content Provided by SAP->End User Content->Employee Self-Service->ERP 6.0 EHP4->Pages->Career and Job
    You will see 2 pages called Appraisal Document and other two called Appraisal Documents (WD_UI) and Appraisal documents (Predefined Process). Since you are trying to use hap_main_document, I assume you are trying to get the Flexible Template iViews working.
    The Pages you will want to reuse/copy are Appraisal Documents (WD_UI) and Appraisal Document with the PCD ID ending with documents_ee.'Appraisal Documents (WD_UI)' is your starting point and 'Appraisal Document' is your target page on clicking on an individual document. If you check the properties of the iViews included in these pages, the ECC applications used will make more sense. (Notice the OBN within the WD_UI page under the page properties. The OBN operation used should show up here If you want to add your own, navigate to Portal Content-> Business Objects->ERP->HR . Locate the operation you want to use and add it to this perspective in your custom page) .
    So create some docs using 'phap_prepare' . Launch the Appraisal Documents (WD_UI) page and click on the doc you've created. The target Page will be launched . What you have been trying to do all along (I think) is launch the target page independently without any inputs.
    Good luck
    Pooja

  • Org.w3c.dom.Document not found

    I'm using jdk 1.6 and I'm getting "cannot find symbol" element when I try to compile to following simple code:
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import org.w3c.dom.Element;
    import org.w3c.dom.Document;
    import org.xml.sax.SAXException;
    public class TestXml {
        public static void main(String[] args) {
          DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
          DocumentBuilder builder = factory.newDocumentBuilder();
          Document = builder.newDocument();
          Element root = (Element) document.createElement("gene");
    }What do I need to get this to compile? I thought jaxp was built into jdk1.6, so why is it not being found?

    javac TestXml.java
    TestXml.java:14: cannot find symbol
    symbol  : variable Document
    location: class TestXml
          Document = builder.newDocument();
          ^
    TestXml.java:15: cannot find symbol
    symbol  : variable document
    location: class TestXml
          Element root = (Element) document.createElement("gene");
                                   ^
    2 errorsIn eclipse, the problem is shown as "Document cannot be resolved."

  • Document not found to confirm against a Purchase Order

    Hi all,
       I have been experiencing some issues with confirmation in SRM. We are in SRM5.0 Extended Classic on SPack 15. Lately the system is acting strangely or probably I am missing something that all POs initiated from Shopping cart or emergency PO in SRM are being ordered correctly and a copy is being seen in ECC as well. But when I try to do confirmation against the PO in SRM, I dont find the document. I dont get any error message but cannot find the document.
    These are happening for most POs. I dont see errors in BBP_PD or Application monitor. I dont get any errors in BBP_POC and able to verify these POs are confirmation and Invoice expected (regular 3way match PO).
    I appreciate if you could suggest what might be the issue and possible alternatives.
    Thankyou
    Rao

    Hi Rao,
    In reference to your message, it seems that this issue is not with all the P.Os and you can still do confirmations for many P.Os from SRM.
    Is this issue occuring while posting a new confirmation for a P.O (i mean for the first confirmation of a new P.O) or while doing partial confirmations for existing P.Os which have already been confirmed.
    Also let us know whether this issue occurs when posting confirmations for Service P.Os or Goods (free text) P.Os.
    Please check the table BBP_DOCUMENT_TAB in case any entries exist for concerned P.Os.
    In case entries exist for concerned P.Os then you need to remove /clear the entries from this table to post further confirmations. This table would have goods confirmations and not service ones.
    You can use FM BBP_DELETE_FROM_DOCUMENT_TAB to delete / clear the concerned entries from the table BBP_DOCUMENT_TAB.
    Before concluding just a basic check, which option you are using for posting confirmations ?
    Try posting confirmations using Confirm  Goods / services centrally option.
    Please check the same and let us know the outcome to help you further in resolving this issue.
    Regards,
    Teja

  • Change document not found in article master ( t.code MM42)

    Hi,
    I am facing a strange  issue in MM42 !
    I see that the RP type in Logistic Dc view is not  same as the last value. Which means there is a change  made in this field. But the change document for this is not seen in MM42.
    Do you have any idea about which may have caused this?
    Thanks in advance
    Indrani

    Hi Indrani ,
    Another way of checking it ...
    Se16/SE16N   Table CDHDR .....
    Object = MATFULL and Object Value = Article Number ...  TR COde : MM42 ...
    Give an open date range...
    This will bring out all changes done to the article.
    then take the Object ID and Change DOC Numbers to CDPOS ... and now there you can filter for the field name DISMM or( RP Type field name)... If it has been changed ... it will be picked up..
    Regards
    Amitava

  • Document not found error in sourcing

    Friends,
    We are implementing SRM 5.0 in ECS. I have created a shopping cart. It is approved and is purchaser's worklist. When we go to sourcing(BBPSOCO01) and add it to my workarea and then click "create purchase order", I get a message "Document 1000000341 does not exist ". if I click on the create PO again a Purchase order is created but is in held status. I get the same error in this PO also.The message doesn't even have any number. Please any help will be appreciated.

    Hi
    <b>Please go through the following SAP OSS Notes as well -></b>
    <u>Note 1008491 - BBPSOCO01:Problems with large follow on Docs
    Note 979476 - Calling transaction BBPSOCO01 takes a very long time
    Note 858153 - Short dump could occur after implementing note 851605
    Note 851605 - PO references updated incorrectly in the back-end
    Note 954435 - Short dumps during creation of purchase order
    Note 1045347 - "Error in system;" when using Requirements link in BBPSOCO02
    Note 904550 - Obsolete vendor in document preview of the sourcing cockpit</u>
    Hope this will help.
    Regards
    - Atul

  • BAPI_ACC_DOCUMENT_POST posted documents not found

    Hi all.
    I'm using the FM: BAPI_ACC_DOCUMENT_POST to post documents simulating TCODE F-05. Is that possible?
    To execute the BAPI I'm populating data into structure DOCUMENTHEADER(BAPIACHE09) and tables ACCOUNTGL(BAPIACGL09), CURRENCYAMOUNT(BAPIACCR09), and after the execution I call the BAPI_TRANSACTION_COMMIT. The BAPI returns the message: "S RW 605 Document posted successfully: BKPFF 0100082524TOGV2010 R3TVDCL010" but when i try to see the document posted through FB03 or table BKPF (using obj_key+10 as Doc. No.) I cant see it.
    Does anyone know whats happening? Please i need help.
    Regards.
    Gregory.

    Gregory,
    BAPI_ACC_DOCUMENT_POST is equivalent to FB01. You can post the same document that you post using F-05 via FB01 also.
    Are you calling this BAPI via SE37? If yes, then your data will not commit. You need to write a program to call this BAPI and then call the commit BAPI.
    Another option is, in the SE37 screen, use menu option Function Module -> Test -> Test Sequences. Then enter both the bapi and the commit functions in the list and then test.
    Regards,
    Salai.

Maybe you are looking for