Problems performing commit

Hi All, I am stuck in this thing.
I have a form developed using Jclient, the ide is JDeveloper beta. This form is deployed as an applet and the bc4j as an ejb on to oracle9iAS release version(9.0.2.0). (means the APIs at development time were of beta and on deployment the APIs are that of release)
When the user performs a save operation using the toolbar, the operation gets performed successfully without any errors, but the data is not reflected in the database. Only when i exit the form, does the the data gets reflected in the database. The possible reason being that the data is cached by the bc4j and when the connection is disconnected as a result of exit the cache is flushed/cleared causing it to get committed in the database.
When I test the same form on oracle9iAS(1.0.2.2) the above mentioned problem does not occur.
kindly help me out on the same
Regards
Arvind

Hi All, I am stuck in this thing.
I have a form developed using Jclient, the ide is JDeveloper beta. This form is deployed as an applet and the bc4j as an ejb on to oracle9iAS release version(9.0.2.0). (means the APIs at development time were of beta and on deployment the APIs are that of release)
When the user performs a save operation using the toolbar, the operation gets performed successfully without any errors, but the data is not reflected in the database. Only when i exit the form, does the the data gets reflected in the database. The possible reason being that the data is cached by the bc4j and when the connection is disconnected as a result of exit the cache is flushed/cleared causing it to get committed in the database.
When I test the same form on oracle9iAS(1.0.2.2) the above mentioned problem does not occur.
kindly help me out on the same
thanks in advancepranav

Similar Messages

  • How to avoid Oracle Form to perform commit action ?

    I have a question.
    The case is: After a user correct some data displayed in text items, he needs to click a button to update the record.
    However, the oracle form the commit the update action.
    I don't want to allow Oracle Form to perform commit UNTIL the user closes the oracle form.
    Is it possible to do so?
    If yes, I should use what kinds of Trigger to realize this.
    Thanks a lot.

    First of all I wanna give you advice that please must specify your forms version with complete precision say 10g 10.1.2.0.1 or if 6i.... then tell everyone what have you done regarding your requirements and what are your errors and problems...
    I dont want to allow Oracle Form to perform commit UNTIL the user closes the oracle formso simple is that make a button with label Exit , in WHEN-BUTTON-PRESS trigger write code
    exit_form(ask_commit);
    you can use NO_VALIDATE if you don't want your form to perform commit anyways. . .
    hope it works

  • Problem with comma and point

    Hello,
    I have a problem with comma and point in a double-digit.
    I use a english driver for HM8142. When I get the values then I only get
    int-digits. How can I change "Use comma as separator" . I tried to change
    the option in LabVIEW.
    I changed it, then I got the window. "To change, restart the programm". I
    have done this. But when I have a look at the option, it is not changed.
    What can I do?
    I am not the admin on the computer.
    Martin

    Hi Martin,
    you do not have to change any system settings neither in LabVIEW nor in your windows.
    All instrument drivers should use a point as decimal separator. You can overwrite the decimal point handling in the string functions "Scan from string" and "Format into string".
    Make a right click on the function and use "Edit Scan String". In the dialog open the ring under "Selected operation", the last entry allows you to set the character for the decimal separator. This separator will be used for all the following floating point numbers.
    From your name and problem I think you are located in central europe. I do not have a german version of LV so I cannot tell you how the elements are named in german.
    Waldemar
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • Performance problem during commit

    hi,
    i register 5000 objects in a UnitOfWork.
    only a small number of objects changed.
    when commit the UnitOfWork i'm waiting
    over 10 seconds before the commit end.
    what can i do to increase the commit performance
    thanks

    Hello,
    A rule of thumb (so to speak) when using TopLink's UOW is to only register those objects that are needed in the UOW. In your case, only register those objects that will change.
    When the UOW commits, it has to determine for all 5000 objects what has changed. 10 seconds is not unreasonable for this large set of data.
    Darren

  • Problems performing offset null and shunt calibration in NI PXI-4220

    I am using a 350 ohm strain gage for the measurements, i have already create a task in MAX, when i want to perform offset null in the task, the program shows a waiting bar and the leds in the 4220 board start to tilting, but when the waiting bar stops, MAX gets blocked. it has been impossible to me to perform the offset null, what can i try?.
    which will be the correct values for the parameters beside the gage parameters for the strain measures?

    Hello,
    Thank you for contacting National Instruments.
    Usually when this problem occurs, it is do to incorrect task configuration or incorrectly matched quarter bridge completion resistor. Ensure that you have the correct Strain Configuration chosen. The default is Full Bridge I. If you only have a single strain gauge in your configuration, you will need to change your configuration. Also ensure that if your are using a quarter bridge completion resistor make sure that it is 350Ohm not 120Ohm. If the resistor if 120Ohm you will more thank likely not be able to null your bridge.
    Please see the PXI-4220 User Manual for more information about your configuration and signal connections: http://digital.ni.com/manuals.nsf/websearch/F93CCA9A0B4BA19B86256D60
    0066CD03?OpenDocument&node=132100_US
    Also, you can download and install the latest NI-DAQ 7.2 driver: http://digital.ni.com/softlib.nsf/websearch/50F76C287F531AA786256E7500634BE3?opendocument&node=132070_US
    This 7.2 driver has a signal connections tab displayed when configuring your DAQmx Task which show you how to correctly connect your signals.
    Regards,
    Bill B
    Applications Engineer
    National Instruments

  • Problems performing silent install of CR XI Rel 2

    We are using the instructions from the installation guide to perform a silent install by running the command
    setup.exe ADDLOCAL=ALL EXCLUDEDOTNETFILES=1 EXCLUDEJAVAFILES=1 EXCLUDERDCFILES=1 CLIENTLANGUAGE=EN REBOOT=ReallySuppress PIDKEY=(actualKey) INSTALLDIR="C:\Program Files\Business Objects\Crystal Reports 11.5" /live c:\temp\cr_11.log /qn
    The installation runs but fails at the end of the installation when attempting to put the shortcuts in the users or All users Start Menu with the error of MainEngineThread is returning 1603 (when under user ID) or MainEngineThread is returning 1604 (when under All Users).  The installation is being run with an administrator access login ID, so access to either area should not be a problem.
    The installation is on both Windows 2000 and XP pc's and the win32 directory of the msi installation files have been copied locally to the machine as part of the process to eliminate network lag.
    Does anyone have any suggestions on how to get past this?

    Check the readme and help files on  how to.

  • Problem with commit

    Hi All,
    I am using a COMMIT statement after update statement of a table in a transaction(say ZTRAN1),. When I am calling this transaction ZTRAN1 using CALL TRANSACTION ZTRAN1... statement from another transaction(say ZTRAN2) then the processing  is coming out of the first transaction ZTRAN1 after comit statement. i.e no statement after comit stmt in ZTRAN1 is executing. Can any one pls give me reason.
    All helpful answers will be awarded.
    Thanks
    Giridhar

    Hi,
    please do have a look at the following thread. Pay special attention to parameter RACOMMIT. i think that if you do a CALL TRANSACTION 'ZTRAN1'  OPTIONS FROM w_ctu_params with w_ctu_params-RACOMMIT = 'X' your problem will be solved.
    bdc
    Best regards.

  • Problem with commas in user settings in 4.0, WS

    There seems to be a problem returning user settings with GetUserSettings. The setting that contains a comma is being chopped.
    Dim ptSettings, ptUserSettings
    Set ptSettings = Server.CreateObject("GSServices.Settings")
    Set ptUserSettings = ptSettings.GetUserSettings
    Response.Write "<br>'" & ptUserSettings("strLastName") & "'"
    For example this instead of 'Clayton, Jr', 'Clayto' is being displayed. The setting is correct in the PTMYPAGESPREFS table. Has anybody came across this problem, and maybe found a solution or a workaround? Thanks.
    Dmitriy Karpov
    [email protected]

    I believe the problem is the following:
    You have an app that calls directly into Plumtree.dll to set preferences. Those preferences may have non-alphanumeric characters, which are stored fine in the database.
    You then want to retrieve these preferences through the EDK/GDK. The issue is, when EDK/GDK encounters non-alphanumeric characters, it encodes them using %u encoding before sending them over the wire to be stored in the DB. So, the data that's stored in DB is encoded, then it's sent back over the wire to EDK/GDK, which unencodes the prefs, and gives them to the calling app.
    If the EDK/GDK encounters unencoded prefs sent over the wire, the behavior is undefined -- it's quite possible that's what you're seeing.
    Basically, the trick is to store and retrieve preferences the same way -- either store them & retrieve them via direct calls to Plumtree API, or store them and retrieve them via EDK/GDK. If you have to store the prefs via the API and retrieve them in EDK/GDK, you HAVE to encode them the same way the EDK/GDK would encode them if it stored them.
    BTW, what are the exact versions of the portal and EDK/GDK you are using?

  • Problem with Commit button When Backing bean is in Request Scope...

    HI Everybody,
    I have a Backing Bean in request scope having over 1000 lines of code, And in my JSPX page I have a table binding with a view object and At run time when user select the row in table and click the edit button so user will be able to edit that selected row in the same table at run time.. but the problem is : when the user enters some data in the Editable inputTexts and then clicks save(Commit), then the save button doesn't work..but when i delete any selected row and then press save then it is working fine..
    And to test it in Session scope i made another sample page where every thing is working very fine..
    Now i want to know What is the difference between Session scope and request scope bean...
    And is there any solution to Save editable input text in Request scope?.
    Also want to know that is it safe to set the scope of my main bean class to session scope without effecting the current running functionality? which is having over 1000 lines of code and lot of component has been placed...
    Please help me to resolve this problem...
    Thanks in Advance to all of you
    Fizzz..

    Hi Frank...
    In my code i used almost same logic as Andrejus Baranovskis has explained in his Editable Table example...
    You can refer that example to see what problem I'm facing...
    http://andrejusb.blogspot.com/2007/04/create-edit-and-delete-operations-in.html
    The Bean Scope in this Example is Session scope...Save button is working fine...
    But as i Change the bean scope to Request scope then Save button is not working for Edit but it is working for Delete Action very well..
    I want that save button should work also for Edit action in Request Scope..
    Please Make me understand that why it is happened like that..
    and help me to find the solution..
    and Also if you have a better document to Explain the life cycle of Application in Different Bean Scope...So please provide me that Doc to me...
    It would be a great help for me to understand the concept of session...
    Thanks Frank
    Fizzz...

  • Problems on commit transaction

    I'm trying to use transactions in SAP B1 SDK but I have a problem, I start the transaction, I make the document normally for example a Purchase Order,  the document doesn't retrieve any errors at creation but SDK saids than can't commit the transaction, somebody knows why it happends...

    Hi Karla...
    This is your code:
    +++++++++++++++++++ CODE ++++++++++++++++++++++++++++
    There´s an example of my code:
    Dim conexion As SAPbobsCOM.Company
    Dim document As SAPbobsCOM.Documents
    Dim retval
    document = conexion.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oProductionOrders)
    conexion.StartTransaction()
    document.DocDate = Today
    document.DocDueDate = Today
    document.CardCode = "P0001"
    document.DocTotal = 250
    document.Lines.ItemCode = "Inv0001"
    document.Lines.Price = 0.01
    document.Lines.Quantity = 2500
    retval = document.Add
    If retval 0 Then
        conexion.GetLastError(ErrCode, ErrMsg)
        MsgBox(ErrCode & " " & ErrMsg)
        conexion.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_RollBack
    Else
        conexion.EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_Commit)
    End If
    +++++++++++++++++++ CODE ++++++++++++++++++++++++++++
    In this last "IF" is your error...
    You see, when a document is successfully added, your is 0 (zero), so you commit, not rollback... (I suppose that you already fix this in your code)
    Another interesting thing in SBO, is that when one of your documents fails, you shouldn't use the rollback, because, SBO already do that. But, if all your documents are added successfully, you have to use the Commit.
    You can also check the Company.InTransaction property... The way that this property works is:
    When using the StartTransaction method, this property is set to TRUE,
    When using the EndTransaction(Commit) method is set to FALSE
    When a document.Add method fails is set to FALSE automatically by SBO.
    I hope it helps...
    Greetings
    Gabriel

  • NCO 2.0 problem in commit and wait

    Hi there,
    I use NCO 2.0. It provides a SAPClient.CommitWork() method to implement BAPI_TRANSACTION_COMMIT. However, it doesn't support commitandwait function. Now, my problem is how do I know my BAPI execution has committed ? 
    here is my scenario:
    I execute BAPI_SALESORDER_CHANGE to create a sales order items. Then I use SAPClient.CommitWork() method to commit the work. Sequently, I execute a RFC function to write WBS for each order item. The error occured and showed that "the salesdocument was locked". I think it is because the commit action has not finished.
    If I add thread.Sleep() to wait 5 seconds, then I can successfully execute the RFC function to update WBS.
    So, how could I know the SAPClient.Commit() has finished ? In BAPI_TRANSACTION_COMMIT, it provides WAIT function. But NCO 2.0 can't add BAPI_TRANSACTION_COMMIT proxy class and SAPClient.CommitandWait() method was intentionally disabled. does anyone meet this problem, too ?
    Please tell me how to solve it.
    Thanks in advanced
    BTW, I already know I can wrapper BAPI_TRANSACTION_COMMIT. That's the way I don't want to do. Since it could result in Deadlock. I want to know is there any method that I can know the commit work has finished.

    Hi,
    Idealy, if the calling program could be automatically notified as soon as the commitwork is finished. Unfortunately, there is not such method and even not a method that is a little eleganter than polling, i.e., waiting and trying.
    Regards,
    Guangwei

  • Problems performing an outer join

    I added some criteria to the following sql statement to get the relationship.
    ie ('Husband', 'Wife','Father','Mother','Step Mother','Step Father','Father in-law','Mother in-law')
    The problem is that I also want to beable to display those that are not in this category. So I thought that I could do and outer join such as
    and hcr.relationship_name(+) in ('Husband',
    'Wife',
    This does not work. Can anyone recommend how I can perform an outer join to get that information that does not meet the in statement?
    thanks
    select      hac.case_id,hac.relation_to_hoh_id,hcr.RELATIONSHIP_NAME,
              decode(ha.GENDER_ID,1,'(F)',2,'(M)',3,'(T)') || ' Adult ' ||
              round((trunc(sYSdate) - ha.DATE_OF_BIRTH) / 365,0) info, 0 sort_by
    from      dpss_hts.hts_applicant ha,
              dpss_hts.hts_applicant_case hac,
              dpss_hts.certa_relationship hcr          
    where      ha.applicant_id = hac.applicant_id
    and      round((trunc(sYSdate) - ha.DATE_OF_BIRTH) / 365,0) > 17
    and      hac.relation_to_hoh_id = hcr.RELATIONSHIP_ID
    and hcr.relationship_name in ('Husband',
    'Wife',
    'Father',
    'Mother',
    'Step Mother',
    'Step Father',
    'Father in-law',
    'Mother in-law')

    If I understand correctly, you want to display the relationship_name only if it is one of those in the list. If it is not, then you want to display the rest of the data, but not the realtionship_name.
    Two approaches spring to mind. You can use an in-line view to select only the relationship_names you are interested in, then outer join to that in-line view like:
    SELECT hac.case_id, hac.relation_to_hoh_id, hcr.relationship_name,
           DECODE(ha.gender_id, 1, '(F)', 2, '(M)', 3, '(T)')||' Adult '||
           ROUND((TRUNC(sysdate) - ha.date_of_birth) / 365, 0) info, 0 sort_by
    FROM dpss_hts.hts_applicant ha, dpss_hts.hts_applicant_case hac,
         SELECT relationship_id, relationship_name
         FROM dpss_hts.certa_relationship
         WHERE hcr.relationship_name in ('Husband', 'Wife', 'Father', 'Mother',
                                         'Step Mother', 'Step Father',
                                         'Father in-law', 'Mother in-law') hcr
    WHERE ha.applicant_id = hac.applicant_id and
          ROUND((TRUNC(sysdate) - ha.date_of_birth) / 365, 0) > 17 and
          hac.relation_to_hoh_id = hcr.relationship_id(+)Another alternative would be do leave the current join intact, lose the predicate on relationship_name and do the dciding in the SELECT list.
    Something like:
    SELECT hac.case_id, hac.relation_to_hoh_id,
           CASE WHEN hcr.relationship_name IN ('Husband', 'Wife', 'Father',
                                               'Mother', 'Step Mother',
                                               'Step Father', 'Father in-law',
                                               'Mother in-law') THEN hcr.relationship_name
                ELSE NULL END relationship_name,
           DECODE(ha.gender_id, 1, '(F)', 2, '(M)', 3, '(T)')||' Adult '||
           ROUND((TRUNC(sysdate) - ha.date_of_birth) / 365, 0) info, 0 sort_by
    FROM dpss_hts.hts_applicant ha, dpss_hts.hts_applicant_case hac,
         dpss_hts.certa_relationship hcr
    WHERE ha.applicant_id = hac.applicant_id and
          ROUND((TRUNC(sysdate) - ha.date_of_birth) / 365, 0) > 17 and
          hac.relation_to_hoh_id = hcr.relationship_idHTH
    John

  • Problem with COMMIT WORKS command

    Hello all,
    I’ve a little problem. It seams that I don’t understand how ‘commit work’ command works. When I’m calling transaction with USING parameter:
    CALL TRANSACTION 'FPSA' USING itab_bdcdata.
    When inside of that transaction ‘Commit works’ occur, than commit is being executed and transaction is ending which is not good, because there is still code left that should be executed.
    When I run transaction without USING
    CALL TRANSACTION 'FPSA'
    Everything works fine. I’ve tried using UPDATE addition in CALL FUNCTION, but without result. Does anybody know what is the problem?

    This is meant to work exactly as you described:
    A transaction called with CALL TRANSACTION USING returns right after COMMIT occurs - if you don't provide any additional options.
    There is a way to make such transaction continue with the code after the commit. You just have to use "OPTIONS FROM" addition of the "CALL TRANSACTION" statement - parameter RACOMMIT.
    For more information put the cursor on CALL TRANSACTION statement in your abap code and press F1.
    regards
    good luck

  • Problem Performing 1:N multi-mapping in ccBPM

    Hi,
    I am trying to work out this simple scenario with the help of BPM.
         1. The BPM is receiving a Collection of Purchase Orders(say PO_Collection consisting of N PO).
         2. The Message is split by Transformation state(1:N) to N POs.(PO is Multiline)
         3. I am using a Block mode ForEach. Inside the block I am Checking Vendor Number and Material Code For validity.
    My problem is that the process is not entering the Block(I find it from the Workflow Graphic). But the Status is shown as Completed.
    I am not using any End Condition or Correlation for the Block.
    Please suggest what the problem can be and how to sort it.
    Regards,
    Dennis

    Hi denish ,
    In sxmb_moni , select u r message , use outbound cannel from menu . , In toolbat button u will find some button for technical details. select that. This will give u option to see steps and container ( BPM variables) and its runtime contents.
    u will here input and out put message.
    select output message . in the bottom window u will get some length say 10. click right button and select messages here . If transformation works u will have multiple messages there .
    I hopt i tried to explain , what I suggest if u lost use trial and error( not a better option than this ) to reach there .
    hope u will able to debug the BPM.
    Thanx and regards
    vinod Ahir

  • Sql report on item - problem with commas in the string

    I have a simple report that groups all the Job Titles entered on our database.
    I pass the job title to an apex item and then on a second page list the records that match that job title using:
    and ed.ede_job_title = :P35_JOB_TITLE
    If there is a comma in the job title the report returns the records that match the string up to the point the comma appears not the full string.
    So 'Project Manager, Operations' matches all the 'Project Manager' records.
    Also when there is a leading space in the job title the report displays the jobtitle without the leading space.
    Apologies if this is answered elsewhere, I did search.

    Check the actual URL up in the location bar. Your comma may actually be dropping out there, because it isn't encoded such that in value commas can be differentiated from delimiters, so the fields aren't lining up in the URL properly.
    When you go to a page that takes in parameters for assignment in the link, it has 2 fields. The first is the comma separated list of the item names on the page to assign, which wouldn't contain commas in their names. The other field in the URL is a comma separated list of values to be assigned to the previous list. Since these values aren't encoded, the comma in the value is picked up as delimiter and not a part of the value. I have an example I can load up to apex.oracle.com if you need.
    -Richard
    Edited by: rwendel on Aug 13, 2009 11:51 AM

Maybe you are looking for

  • BEx Macros for adding a column in workbook

    Hi All, I want to write a VB code for adding a next column to my workbook. I am working in BI 7.0. I dont know VB so , plz provide me the code for the same. Can someone guide me or provide the codes for these following functions also: &#56256;&#56452

  • Music store & 100% CPU usage

    I've had this problem on my newly built computer, and my older machine. When I browse the iTunes music store, the status bar on the top will often move like it's opening the music store, but it'll do this for a long period of time (several minutes) a

  • Third Party Sales Orders

    Hi, I am new to SAP SD module. Can anyone clarify this. In the material master sales 2 view, "BANS" is entered in Item gategory field. "NORM" is entered in field Gen. item cat. grp. I want to know the following? 1) In the sales order the item categor

  • Regarding Migration to Adobe Forms

    Hi Friends    I am working on adobe print forms. I have one doubt that is  If SAP itself providing the option <b>migrate smartform to Adobe Interactive form,</b> what's the necessity to create the forms from scratch i.e why we have to create Interfac

  • Where has the TextEdit search bar gone?

    I have just loaded Yosemite. When I open a TextEdit document the search bar no longer appears in the top right hand corner of the window. Is there a setting to get it back?