Confirmation of CMP batch

Hi,
I wrote a Entity bean/Session facade that transacts a whole bunch of records to the database using the enable-batch-operations field within my weblogic-rdbms-jar DD.
I want to confirm that's it's performing as advertised. Namely, I want to ensure that it's batching the group of DB operations at the commit of the transaction. How can I confirm this?
The one thing I doing now to confirm this (I think) is using the weblogic.JDBCSQL debug flag on App server startup. I'm seeing that the JDBC addBatch() method is being called. I assume this indeed verification, but are there better metrics to observe the efficiency of this CMP style batch update/insert operation?

You can enable JDBC logging in the console. That may produce slightly different output. But it will show you all of the JDBC activity that is taking place.

Similar Messages

  • Status "confirming" with payment batch

    Hi,
    I am working on payment batches et I have a problem with one batch.
    Usually, when I want to confirm my payment batches, it works et the status of the batch switch from " formatted" to "confirmed".
    The problem is, that I wented to confirm one of my payment batches, but instead of ths status "confirmed", I found "confirming" status et I have only one option: cancel the batch, and I don't want to cancel this one but I want to confirm it.
    This is my problem, thank you foryou help.

    This seems to be known issue of AP patchset level N or below in 11.5.10. Raise SR and Oracle support should be able to provide your patch.
    Tarun

  • APP-SQLAP-10252: You cannot Confirm a payment batch

    Dear all:
    IN ORACLE EBS 11.5.9 , When I click the button "Action 1" in "Payment --> Entry --> Payment Batch" and choose the "Confirm the payment Batch" will show the error:
    *"APP-SQLAP-10252: You cannot Confirm a payment batch that does not have any payment documents"*
    How can I fix the issue?
    Regards
    Terry

    Dear Hussein:
    Thank you for your reply. I've checked the ad_bugs and find the Patch 3682716 and 2375849 had been applied. My case seems like hit the Note: 282133.1. I was new for the AP module, I'm not sure the directory of the setting in Note 282133.1. Can you tell me the directory?
    1. Review the Preliminary Payment Register output file. It should show an invoice with Document
    Number=******* and message No Supplier Bank
    2. Check that there is an existing supplier bank
    3. Check that a supplier bank is attached to the supplier site for the impacted invoice
    4. Check that the Remit-to bank account in Invoice Payment Schedules is correctly populated.
    Regards
    Terry

  • Batchbatch assignment ( multiple batches ) takes place - at goods receipt ( order confirmation ) assignment ( multiple batches ) takes place - at goods receipt ( order confirmation )

    Hi all,
    when will the batch assignment ( multiple batches ) takes place - at goods receipt ( order confirmation ) for each process order ?
    we will be prompted for the batch assignment ?
    thanks
    Vinu

    Hi,
    Yes system will create three process order considering you have maintain maximum lot lize as 1 Lac in Mateial master MRP 1 View.
    and these three process order will have different three batches considering you have batch number assignment as the time of release of production order.
    this can be multiple batches as well if partial confirmation done and batch number assignment is done on GR.
    If you are looking for one batch for three process order you need to go with development.
    Thanks

  • Batch creation at the time of order creation & confirmation on the batch.

    Hi all,
    My client's requirement is while creation of the production order of say 100 pcs, system should create 4 batches, each of 25 (this might be different every time) of that order & also the confirmation (CO11) should be done on those batches.
    Also if the order contains 10 operations then confirmation of operation no. 0020 should not be possible before confirmation of 10, whether it is for partial & whole quantity.
    You can say these batches will reprsent the lots.
    Regards
    SmanS
    Edited by: SAP PP Consultant on Mar 9, 2009 8:05 AM

    Hi SAP PP
    You can use this function to automatically create a batch for the material to be produced.
    You can make the following settings in Customizing (production scheduling profile):
    No automatic creation of batches in production orders
    Automatic creation of batches during order creation
    Automatic creation of batches during order release
    To carry out automatic batch splitting via batch determination, proceed as follows:
    Select the component that you wish to split and choose Component ® Batch management ® Trigger batch det.
    The system lists all batches that meet the selection criteria and that have available stock on the requirements date.
    Distribute the required quantity as required over the existing batches.
    Choose .
    The system copies each batch as a separate component into the component overview screen.
    For more information refer to Batch Determination.
    To carry out manual batch splitting with manual batch assignment, proceed as follows:
    Select the component for which you want to carry out batch splitting. Choose Edit ® Insert ® Batch split.
    Enter the batch number and the required quantity manually in the component.
    Save your entry.
    Regards
    Sachin

  • Problem in Process order confirmation ( while doing batch splitting)

    Hi All
    In our Industry we have sceneraio
    we create Internal order and assign internal order to sales order
    Once MRP run take place
    Planned order created and converted to process order
    Process order released
    once we try to do confirmation of process order
    example suppose process order header matl qty : 8
    and in final confirmation while Goods receipt(101) of Fert
    we do batch splitting (example 4 batch : each qty : 2)
    but some time system not allows to do Goods receipt (movement type101)
    system gives "Error confirm order not allowed"
    please need urgent help
    Thanks in advance
    Sunil Singh

    Hi Sunil,
    During your first confirmation you must have activated "Final confirmation" Indicator, probably this is blocking from further confirmation.
    Please check whether current system status of the order contains "CNF" if so, please cancel the previous confirmation and then redo confirmation with "partial" button active. Final confirmation should be activated only when it is the last confirmation for the order.
    Hope this will resolve the problem, reward your points....
    Regards,
    Prasobh

  • COR6 can't confirm due to batch

    I try to confirm a process order, but encounter below error:
    Batch 3000001 Z001 Z010 0000000078 does not exist
    Message no. M7042
    Diagnosis
    For material 3000001, you have entered a batch that does not exist in plant Z001, storage location Z010.
    Procedure
    If this error has occurred during the entry of a reservation, you can do the following:
    Enter the reservation without specifying the batch. The reservation can be posted on a non-batch-specific basis. The batch is not determined until the goods movement is posted.
    If you wish to reserve a certain batch, you can call up the stock overview to display a list of existing batches.
    If this error occurred on entry of a physical inventory document, you can do the following:
    Do not enter a batch. The system will automatically determine all batches that can be included in the physical inventory document.
    But I have use MSC1N to create the batch 0000000078 , I didn't put any production date, I put class type:023, this batch appeared in BMBC, Do I need to release this batch, how to release?
    if I remove 78 batch and use batch determination in COR6, It says
    T331 entry for warehouse number 301 and storage type  not found
    Message no. LC1004
    what's wrong? how to confirm the material  3000001?

    Dear
    Please check wether you have  this set up in place :
    1. If you want to do the batch determination during confirmation then you have to create search strategy in MBC1 with MovType/Plnt/MatlNo
    2.Did you mark automatic Batch Determination flag  in OPJ2 ??
    3.Check the batch determination procedure for process order in COB2 ??
    4. Check the batch selection criteria in  000000078 whether process order date ?
    Refer my earlier thread : batch determination COR6N
    Automatic batch determination in process order
    Try and check
    Regards
    JH

  • Need confirmation on Import Batch to TCA Registry

    Hi Team,
    On one of the instance the Import Batch to TCA Registry is getting succeeded and on other instance the same concurrent request is getting failed with ORA-01400 :cannot insert NULL INTO.
    Where the both instances are same where i have cloned from the same instance.Could anyone help on this.why it is getting failed.

    Pl see if the steps in MOS Doc 279924.1 (How To Import Parties Using Bulk Import Process) can help
    HTH
    Srini

  • Unable to automatically assign batch numbers in REM upon confirmation

    Hi expert,
    I did all required configuration:
    the batch level is Material (OMCT)
    internal Batch Number Assignment is activated (OMCZ)
    Define Batch Creation For Mvt is set to C for type 131
    Define Initial Creation of Data for Batch Master Transactions is set to C for my material type
    the indicator for BM is set in the view Plant Data/Storage Location for the material/SL
    But still when I confirme my production with MF42N, the system is not getting the internal number range for the batch.
    Any idea why?

    Hi,
    U can assign the Batch Number for Finished material at MFBF screen . For Components batch number check with "Postwith correction screen " of MFBF. If u set bacth search procedure at REM profile batch number for Components will com automatically.
    SPRO>LOGISTICS>PRODUCTION>REM>BACKFLUSHING>MAINTAIN GLOBAL SETTINGS FOR CONFIRM. & LIS> BATCH CLASSIFICATION ACTIVE FIELD.
    Use the field value as '1'.
    Maintain Batch search procedure at control data tap2 in REM profile (SPRO) which will be assigned to Finished material.
    Please try and come back.
    Regards,
    R.Brahmankar

  • De-allocate batch from sales order

    How do you de-allocate a Batch from the Sales Order , so that it becomes available to another Order?
    I removed the Batch from the sales order and saved the order. A confirmation without the batch was created . However when I tried to determine the same batch in another Order it was not available.
    I then rejected the line item and saved the order , and it allowed me to pick up the batch in a second order.
    ATP quantity was available however the batch was not getting recognized till I rejected the order.
    Any ideas on why this case?
    Thanks,
    Asha

    Hi,
    This is because, when you ran Availability check, the batch was already reserved for the sales order. So once you remove the batch number, you should run availability check once again. Dont forget that if you are giving some other batch number to teh order now, the batch should have some stock.
    So, after changing or deleting the batch number, run availability check once and then save the order. Then create the second sales order and assign the batch number. It will take the batch.

  • Editing the formula in batch characteristic

    The product is maintained with batch. The batch is created for the finished product manually at the time of confirmation. The batch characteristic values are maintained at the same time.
    One of the characteristic value is to be calculated by using algebraic formula which includes simple mathematical operations on the values of the other characteristic.
    for ex---
    characteristic a---- 89 (VALUE entered by user)
    characteristic b---- 1 (VALUE entered by user)
    characteristic c---- 5 (VALUE entered by user)
    characteristic d-----Automatic calculation based on above values & the formula.
    I want for characteristic D----
    Char D = {(a-0.03-0.07) * b + c} / d
    How can I do this???? What will be syntax for this???
    Please if anybody can help on this........

    Dear Ramanujan,
    I have received the reply from you & thanks very much for ur quick reply.
    I have tried the settings suggested by you, but having still the problem.
    Conversion factor is a batch characteristic which is to be calculated based on the other batch characteristics values entered by the user at the time of confirmation.
    I have maintained the objectdependency in the class as mentioned by you. The dependency type mantained is "Procedure". The formula is as follows
    $self.conversionfactor=((($self.actthickness-0.067)*$self.density)
    ($self.paintgsm$self.metalgsm))*$self.width/1000
    The formula is appearing in 2 lines in the dependancy editor. There is no syntax error. As well as the the dependency status is also "released".
    But at the time of confirmation, if the values of the other characteristics are entered, no calculation for the characteristic conversion factor is done by the system.
    Can you please guide on this???

  • Same functionality as COR6N - through Function Mod - passing Batch Number

    Hi All,
    We are using function 'BAPI_PRODORDCONF_CREATE_TT' to make a completion confirmation with a goods movement.
    We are trying to achieve the same functionality as COR6N.
    We enter a proc order, then put a qty into yield, click Goods movement (the matr is batch managed) and then enter a batch (movement type 101 by default). Then save. Everything is ok and is I check in table MSEG there is an entry for the confirmation with the batch I used.
    Now, when we try this with the bapi the qty is confirmed but in MSEG the batch that appears is different than the one we passed to the BAPI. This is how we are calling the funciton:
    CALL FUNCTION 'BAPI_PROCORDCONF_CREATE_TT'
    EXPORTING
    POST_WRONG_ENTRIES = '0'
    TESTRUN = 'X'
    IMPORTING
    return = wa_bapiret1
    TABLES
    timetickets = i_timetickets[]
    goodsmovements = i_goodsmovements[]
    link_conf_goodsmov = i_link_conf_goodsmov[]
    detail_return = li_detail_return[] .
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    WAIT = 'X'
    IMPORTING
    RETURN = li_ret
    i_timeticket one entry with fields informed: orderid, phase, plant, yield
    i_goodsmovements one entry with material plant resource stg location, batch, mov type
    (values as in COR6N)
    i_link_conf_goodsmov[] two cases:
    1.if we place an entry such as
    i_link_conf_goodsmov-INDEX_CONFIRM = 1.
    i_link_conf_goodsmov-INDEX_GOODSMOV = 1.
    Then no entry appears in table MSEG, in COR3 delivered qty is not increase but in COR6N the already confirmed quantity IS increase
    1.if we place no entry then
    Then an entry appears in table MSEG but the batch is not the one in i_goodsmovements, in COR3 delivered qty is increase and in COR6N the already confirmed quantity also increases.
    So our problem is that when we use i_link_conf_goodsmov to make the bapi use the batch we specify then it does not seem to work. success is returned from bapi in both cases. Of course we do a commit work immeaditely after the bapi.
    I would really appreciate somebody help me out.
    BR,
    Ashwani

    Guys please advise on this issue.
    Ashwani

  • Batch problem with 'BAPI_PRODORDCONF_CREATE_TT'

    Hi All!
    We are using function 'BAPI_PRODORDCONF_CREATE_TT' but not fully sucessfully.
    We call this function to make a completion confirmation with a goods movement.
    Right now we are doing some test trying to get the same results that if we use COR6N.
    We enter a proc order, then put a qty into yield, click Goods movement (the matr is batch managed) and then enter a batch (movement type 101 by default). Then save. Everything is ok and is I check in table MSEG there is an entry for the confirmation with the batch I used.
    Now, when we try this with the bapi the qty is confirmed but in MSEG the batch that appears is different than the one we passed to the BAPI. This is how we are calling the funciton:
      CALL FUNCTION 'BAPI_PROCORDCONF_CREATE_TT'
    EXPORTING
      POST_WRONG_ENTRIES       = '0'
      TESTRUN                  = 'X'
       IMPORTING
         return                   = wa_bapiret1
       TABLES
             timetickets              = i_timetickets[]
             goodsmovements           = i_goodsmovements[]
             link_conf_goodsmov       = i_link_conf_goodsmov[]
             detail_return            = li_detail_return[] .
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
         WAIT          = 'X'
       IMPORTING
         RETURN        = li_ret
    i_timeticket one entry with fields informed: orderid, phase, plant, yield, conf_acti_unit1
    i_goodsmovements one entry with material plant resource stg location, batch, mov type
    (values as in COR6N)
    i_link_conf_goodsmov[] two cases:
      1.if we place an entry such as
          i_link_conf_goodsmov-INDEX_CONFIRM = 1.
          i_link_conf_goodsmov-INDEX_GOODSMOV = 1.
        Then no entry appears in table MSEG, in COR3 delivered qty is not increase but in COR6N the already confirmed quantity IS increase
      1.if we place no entry then
        Then an entry appears in table MSEG but the batch is not the one in i_goodsmovements, in COR3 delivered qty is increase and in COR6N the already confirmed quantity also increases
    So our problem is that when we use i_link_conf_goodsmov to make the bapi use the batch we specify then it does not seem to work. success is returned from bapi in both cases.
    I would really appreciate it anyone can shed some light in this. (points will be given of course!)

    Hi Alberto,
    We are facing same problem.
    While we are passing batch through BAPI it is considering running batch not considering inputed batch.
    Thanks
    Ram Mittal

  • Batch split and picking via interface

    We have a set-up where we receive picking confirmations from an external system, via an IDOC (type DELVRY01). The picking strategy is SD picking w/o transfer orders, so we update picked batches directly into the delivery, with the picked quantity.
    However we have an issue if the delivery quantity is 30 CAR ex. and we receive a picking confirmation for 30 CAR or more. I this case the batch is updated on the delivery main item. If the picking confirmation was for 29 CAR or less, it is updated as a batch split item. The issue is that if the 1. picking confirmation is eaqual or higher than the delivery quantity, the main item is updated. It is then not possible to receive more picking confirmations for that item.
    What we would like is to force creation of batch split items, regardless of the picking quantity. Any ideas for user-exits/BAdI or customising settings are welcome.

    I have found a solution to this using user-exit EXIT_SAPLV55K_002. If you receive a picking confirmation for an item where the quantity is equal or creater than the delivery quantity, you can add an extra record to table T_KOPO in the user-exit, only containing the delivery number and item number. This will then generate the picking confirmation as a batch-split item.

  • Payment batch exception

    Hi Folks,
    When I try to close JAN period, its showing that there is an exception in payment batch which is in built status for JAN period.
    could any expert help me that how to fix this issue? I am in 11.5.1.2 ver.
    Thanks in advance,

    If you have not confirmed a payment batch u cannot close the period. Either u will have to cancell the batch or confirm it.
    Regards,
    MPH

Maybe you are looking for