Commit doesn't work via operation binding

hi,
i try to commit changes made by selectonechoice boolean .
why can't this commit invoked in backing bean not work?
OperationBinding operationBinding = getBindings().getOperationBinding("Commit");
operationBinding.execute();
at the same time when i call commit button, everything gets commiited
jdev 11.1.2.3
Edited by: grodno on Feb 12, 2013 1:57 AM

the chechbox is a column's value which is based on VO->EO , it reflects changes to the underlying DB right after user cliicks checkbox.
<af:column sortProperty="#{bindings.DcaRegisterLinesV1.hints.Selected.name}" filterable="true"
sortable="true" headerText="#{bindings.DcaRegisterLinesV1.hints.Selected.label}" id="c1"
width="30">
<af:selectBooleanCheckbox value="#{row.bindings.Selected.inputValue}"
label="#{row.bindings.Selected.label}" autoSubmit="true"
valueChangeListener="#{registerBean.socSelectedChangeListener}"
shortDesc="#{bindings.DcaRegisterLinesV1.hints.Selected.tooltip}" id="sbc1">
</af:selectBooleanCheckbox>
</af:column>
functionality works fine, since it works when i press commit button after the click
so that i can see changes in the DB immediatly
the pagedef uses the same definition in pagedef that was created upon button creation.
sure commit is defined in pagedef
<action id="Commit" RequiresUpdateModel="true" Action="commitTransaction" DataControl="AppModuleDataControl"/>
could it be connected with am tuning (some postponed posts), vo passivation mode?
Edited by: grodno on Feb 12, 2013 2:43 AM

Similar Messages

  • Perform ON COMMIT doesn't work (Try it)

    Has anyone tried a PERFORM ON COMMIT within a BADI? It doesn't work and i don't know why.
    I am working with the HR Module, and i have a BADI, which is fired when the user hits the 'SAVE' button (PA30 Transaction).. when this happens, i execute a PERFORM ON COMMIT and the subroutine is never called...
    Does anyone know anything about this?
    Regards

    In your BADI submit a function module [IN BACKGROUND TASK|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=inBACKGROUNDTASK&adv=false&sortby=cm_rnd_rankvalue] to update the second infotype via FM [HR_INFOTYPE_OPERATION|https://www.sdn.sap.com/irj/scn/advancedsearch?query=hr_infotype_operation&cat=sdn_all] (create a RFC enabled Z-FM that call the standard FM)
    Regards

  • Flash doesn't work in Opera and Konqueror

    Hello,
    since Firefox doesn't work for me atm, I'm using Konqueror and Opera as a substitute. The experience is lessened, however, by the fact that I can't reliably view flash content in either browser. In Opera, when I access youtube, for example, I get nothing but a white rectangle where the video should be. In Konqueror, whenever I access a site with flash content, the program nspluginviewer immediately crashes with a floating point exception.

    I use opera and find that the you need  to make sure it is trying to use npwrapper.libflashplayer.so as it's flash player.
    However that seemed to cause a lot of issues and lead to slowness while dealing with flash.
    I did try to add the /usr/lib32/mozilla/plugins/ to the plugin directories Opera watched, but it didn't seem to work.
    So I began downloading the 32 bit version of flash player directly from adobe, since Opera's pluginwrapper natively supports 32 bit plugins.
    Just download the tar.gz file and pull the libflashplayer.so file and copy it to /usr/lib/mozilla/plugins/libflashplayer.so. You will need to do that as root or with sudo, if you have it set up on your system. Opera will pick it up automatically. after that as long as it is looking in that folder.
    Since flashplugin seems to put a copy of libflashplayer.so in /usr/lib32/mozilla/plugins/, I wonder if you can just copy that to /usr/lib/plugins

  • Tiff2icns doesn't work via ssh w/o window manager

    I need to run tiff2icns on a Mac mini (Mac OS X 10.4.6) via a remote ssh connection. Unfortunately this doesn't work if I don't have a window manager session open on the Mac at that time. Is this a bug in tiff2icns, or am I doing something wrong? I want to run tiff2icns without having a window manager open on the remote system.
    Franz
    Mac mini   Mac OS X (10.4.6)  

    any ideas?

  • External DVD doesn't work via USB on macbook pro

    My old internal DVD drive in macbook pro doesn't work. I want to use my old DVD burner from my old PC. I connect it to enclosure for disk.
    This stuff i plug in to USB in my macbook. It can read CD/DVD but not burn CD and DVD. What can I do? Is there any drivers for USB to make it work?

    The 60 watt old style T-connector for MacBooks is about $20 on eBay http://shop.ebay.com/i.html?_nkw=60W+POWER+ADAPTER+FOR+APPLE+MACBOOK&_sacat=0&_o dkw=60W+POWER+ADAPTER+FOR+APPLE+MAGSAFE+MACBOOK+A1184&_osacat=0&_trksid=p3286.c0 .m270.l1313
    The 85 watt old style T-connector for MacBook Pros is about $25 on eBay http://shop.ebay.com/i.html?_nkw=85W+POWER+ADAPTER+FOR+APPLE+MACBOOK+pro&_sacat= 0&_odkw=60W+POWER+ADAPTER+FOR+APPLE+MACBOOK&_osacat=0&_trksid=p3286.c0.m270.l131 3

  • Custom Windows 8.1 .WIM doesn't work via WDS, works OK manually

    Hello,
    I have a very peculiar situation; I've created a custom Windows 8.1 Enterprise x64 image, but when I deploy it using Windows Deployment Services on Windows Server 2012 R2, using the Windows 8.1 Enterprise x86 boot.wim as the Windows Deployment
    Services boot image, it deploys successfully, but malfunctions;
    it doesn't activate [against our KMS server]
    when a new user logs on, the process stalls; if you logoff then logon, Microsoft Office gives you a 1603 error.
    File Explorer [I think] doesn't work (apologies for vagueness; I absolutely
    wasn't expecting this and was somewhat floored by the symptoms)
    HOWEVER, if I manually deploy the SAME .WIM image, copy in the
    SAME unattend.xml, and manually replace %MACHINEDOMAIN% and %MACHINENAME% with the right values, it works fine.
    HOWEVER, I've already verified that Windows Deployment Services is working perfectly well because I've added the Windows 8.1 Enterprise x64 install.wim as an install image, and used the unattend.xml to automate it.  In other words, with the
    install.wim from the .ISO, everything is working fine, but with a custom image, it malfunctions.
    I don't know why it's malfunctioning; nothing looking like a root cause appears in any event logs. I have injected some drivers into my custom image, but these are for relatively obscure devices such as scanners and smart card readers, which
    aren't even on the computer I'm testing this on.  The test computer would benefit from
    chipset, video and network drivers, but the inbox ones work OK.  In any event, they work fine when I manually deploy.
    Have more-or-less replicated this on test machines that are virtual, desktop and laptop, so I have no reason to believe the target device is a factor.
    For now, Windows Deployment Services doesn't have a client unattend file.
    This is a very peculiar problem. My existing, production environment has
    Windows 7 Enterprise in a custom image
    Windows Server 2008 R2
    Windows Deployment Services
    working perfectly, and was looking to maintain the same approach, but simply update it.
    Would welcome your ideas.
    Kind regards,
    Anwar

    Hi,
    For this issue,I think it is related to the custom image.
    I suggest we don't add any drivers to the custom image to test it.
    Meanwhile,I  suggest you upload following logs here for further research. SkyDrive or similar network sharing would be better to use to share your files.
    C:\WINDOWS\PANTHER\setupact.log
    C:\WINDOWS\PANTHER\setuperr.log
    Regards,
    Kelvin hsu
    TechNet Community Support

  • Create cl_crm_bol_entity and commit doesn't work!

    When i select a row in my first tableview the my second tableview will be filled.
    In my second tableview i have a insert button to insert an extra record in the tableview. I redefined the EH_ONINSERT event with the following code:
    DATA: lr_wrapper   TYPE REF TO cl_bsp_wd_collection_wrapper,
            lr_wrapperParent TYPE REF TO cl_bsp_wd_collection_wrapper,
            lr_parent    TYPE REF TO cl_crm_bol_entity,
            lr_currentEntity    TYPE REF TO cl_crm_bol_entity,
            lr_newEntity TYPE REF TO cl_crm_bol_entity,
            lr_firstEntity TYPE REF TO cl_crm_bol_entity,
            lr_core     TYPE REF TO cl_crm_bol_core,
            lr_transaction TYPE REF TO if_bol_transaction_context,
            lv_event     TYPE REF TO cl_htmlb_event_button.
      DATA: lr_bo_prop   TYPE REF TO if_bol_bo_property_access.
       TRY.
         "get the core object out of the factory
          lr_core = cl_crm_bol_core=>get_instance( ).
         "Method starts Business Object Layer
          lr_core->start_up( '/CERNUM/SURVEY' ).
        CATCH cx_crm_genil_general_error.
          RETURN.
      ENDTRY.
      TRY.
          lr_wrapper ?= typed_context->ELEMENTS->collection_wrapper.
          lr_currentEntity ?= lr_wrapper->get_first( ).
          lr_parent = lr_currentEntity->get_parent( ).
          "Create a new entity
          lr_newEntity = lr_parent->create_related_entity( iv_relation_name = 'DynElementsRel' ).
          CHECK lr_newEntity IS BOUND.
          DATA property TYPE string.
          "Set some default values
          property = lr_currentEntity->if_bol_bo_property_access~get_property_as_string( IV_ATTR_NAME = 'APPLICATION_ID' ).
          lr_newEntity->if_bol_bo_property_access~set_property( IV_ATTR_NAME = 'APPLICATION_ID'
                                                             IV_VALUE     = property ).
          property = lr_currentEntity->if_bol_bo_property_access~get_property_as_string( IV_ATTR_NAME = 'SURVEY_ID' ).
          lr_newEntity->if_bol_bo_property_access~set_property( IV_ATTR_NAME = 'SURVEY_ID'
                                                             IV_VALUE     = property ).
          lr_newEntity->if_bol_bo_property_access~set_property( IV_ATTR_NAME = 'ID'
                                                             IV_VALUE     = '7000' ).
          "Add the created entity to the collection.
          lr_wrapper->add( lr_newEntity ).
          me->typed_context->ELEMENTS->visible_first_row_index = me->typed_context->ELEMENTS->collection_wrapper->size( ).
          lr_core = cl_crm_bol_core=>get_instance( ).
          lr_transaction ?= lr_core->get_transaction( lr_newEntity ).
          if lr_transaction->check_save_possible( ) eq abap_true.
            if lr_transaction->save( ) eq abap_true.
              lr_transaction->commit( ).
            else.
              lr_transaction->rollback( ).
            endif.
          endif.
        CATCH cx_root.
          RETURN.
      ENDTRY.
    This code works works perfect, but no record is added to my tableview and also not added to de db. what is wrong with it?

    Hi,
    that means that there is an error at saving, and I assume the error is not propagated to the bol layer, so you do not receive an error. I advise you debug the commit.
    Best regards,
    Erika

  • Commit() doesn't work...why?

    Hi,
    I have a problem with this code
          user = getProfilsUtilisateursLogin();
          user.setMaxFetchSize(1);
          user.setNamedWhereClauseParam("var_CpCdUtilisateur", userLogin);
          user.setNamedWhereClauseParam("var_ChPassword", null);
          user.executeQuery();
          if (user.getEstimatedRowCount() > 0)
            Row currentuser = user.first();
            Number currentNbEchecConnexion = (Number)currentuser.getAttribute("NbEchecConnexion");
            currentNbEchecConnexion = currentNbEchecConnexion.add(1);
            currentuser.setAttribute("CdUtilisModif", userLogin);
            currentuser.setAttribute("NbEchecConnexion", currentNbEchecConnexion);
            getTransaction().commit();
          }[edit]
    I remake the view object and it works.
    [edit]
    Thanks for your help.
    Edited by: user10925470 on 30 août 2009 23:16

    Couple of things:
    1) When posting to this forum, please let us know which version of JDeveloper you're using, which technologies you're using (in this case ADF BC) and so on. Help us to help you by giving us the details we require.
    2) Otherwise in your example, is the final System.out.println being called or is it throwing an exception? Have you traced this in the debugger?
    Alternatively look at the following section in the Fusion Dev Guide http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcqueryresults.htm#CHDBBEEB to see how to turn on the diagnostics option. From the log window you should then be able to see if the ADF BC is "really" commiting your work to the database (you see an update statement as well as a commit).
    Btw, do you realize the oracle.jbo.domain.Number class has an add() method? You don't need to drop the Number to an int, add 1, then convert it back to a oracle.jbo.domain.Number.
    Let us know how you go.
    Cheers,
    CM.

  • Applet doesn't work in Opera..

    works in all other browsers though..
    Opera says "Applet not found"
    here's my html
    <html>
    <head>
         <title>Java Applet</title>
    </head>
    <body>
    <center>
         <p>Applet Test.</p>
         <p>
              <object archive="flowchart.jar" classid="java:Main.java" width="90%" height="90%" codetype="application/java"></object>
         </p>
    </center>
    </body>
    </html>**EDIT**
    and I do have Java enabled in Opera! =P
    it says it's valid too
    and it works on other sites..
    Message was edited by:
    Nizzle

    Since it works in other browsers, I'd ask at a Opera forum:
    http://my.opera.com/community/forums/

  • WD Hard Drive doesn't work via Fire Wire to Mac OSX Lion or Mountain Lion.

    I have a 1 terrabyte WD Hard Drive that works perfectly fine connected to Snow Leopard but isn't even recognized by any Mac running Mountain lion!!!
    How do I fix this?????

    I agree with alkhater. From reading other posts about the issue (Googled "Western Digital hard drive not appearing in Disk Utility") it sounds like you need to update your driver. If you need help locating the correct driver, please let us know the exact hard drive that you have.

  • Script doesn't work via Task Scheduler

    I've got the script below that works fine in an elevated PS window but when run as a sceduled task produces a last run result of 0x80070001 which I think is strangely something to do with Windows backup after some googling!
    $LimitDay = 21
    $limit = (Get-Date).AddDays(-$LimitDay)
    # Path to Recurse
    get-childitem -Path \\mainserver\backups\myfolder  -Force |where {$_.psiscontainer -and $_.lastwritetime -le $limit}|foreach { remove-item $_.fullname -recurse -force -confirm:$false }
    The task is set to run with the highest privileges and usin a domain user service account, I have tried to deleteand recreate the job as well.
    I'm trying to remove old backup folders based on their modified date and the contents, but not the contents when the modified date is valid e.g. server backups so config files date's never change but the folder to be deleted should still be recognised.

    Hi,
    in the Scheduler try to  call the script with the whole path like this:
    powershell.exe -noexit &'C:\DATA\Scripts\myscript.ps1'
    Regards
    I'd use -File instead (and drop -noexit).
    Action: Start a program
    Program/script: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    Add arguments: -File C:\Path\To\Script.ps1
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • CUCMBE dtmf doesn't work via SIP Trunk to PSTN

    The dtmf events packets send by CUCMBE have incorrect UDP Length. Based on RFC 2833 a correct UDP length value for dtmf event packets is 24 (decimal), but this CUCMBE sends its events packets with UDP length set to 36 (decimal). Since the events packets have an incorrect udp length field, it is causing the ITSP to discard the packet. The CUCMBE version is 7.1.3.30000-1.
    The attachment fiel TestNo1.bmp is a capture with wireshark that show the udp length with 36. It was taken in CUCMBE version 7.1.3
    However, with a CUCMBE version 8.6.2 it works well and it formats the events packets with udp length with 24.
    The attachment fiel GoodTestNo.bmp is a capture with wireshark that show the udp length with 24. It was taken in CUCMBE version 8.6.2
    I'll appreciate any help.
    BR
    Juan

    Does DTMF work on *any* outbound call? If it's only broken to this destination it's possible that the length is too short for that conference bridge to recognize.
    Please remember to rate helpful responses and identify helpful or correct answers.

  • HT4437 Airplay doesn't work via my iphone anymore

    I've had my airport express for years and have been able to airplay via my iphone 4s. All of a sudden the icon as vanished and i can't play through the phone...
    I have restarted phone and soft reset the airport but no luck. any advise?
    Thanks, Jay

    Read here:
    http://support.apple.com/kb/ts4215

  • I'm trying to install photoshop CC because I just purchased a license, but it doesn't work via creative cloud.  " error " message,  and now I'm stuck.

    I just purchased a license for photoshop CC because my older version of CS5 is expired.
    but I can't seem to download it via creative cloud, it says error all the time. and it's like 40 procent downloaded. What can I do?

    this is the error message:
    Exit Code: 34
    Please see specific errors below for troubleshooting. For example, ERROR:
    -------------------------------------- Summary --------------------------------------
    - 1 fatal error(s), 0 error(s)
    FATAL: Payload 'Camera Profiles Installer_7.4_AdobeCameraRawProfile7.0All 8.0.0.22 {38CE8E2B-ABDF-487F-A606-31D5E75AF8C0}' information not found in Media_db.

  • File download via servlet doesn't work with IE via https

    I have a URL from a jsp page which points to a struts action servlet. This works with firefox via http and https. With IE it works via http but it doesn't work via https. The error message I get is "Internet Explorer cannot download ...File_name.doc from Server_name.
    Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later."
    Here is my code.
    public ActionForward execute(ActionMapping mapping, ActionForm form,
                   HttpServletRequest request, HttpServletResponse response)
                   throws Exception {
              String attachmentURL = AppSettings.get("EAIAttachmentURL");
              String encodingScheme = AppSettings.get("EAI_encoding");
              String filename = request.getParameter("URL");
              String fileStr = URLEncoder.encode(filename, encodingScheme);
              fileStr = fileStr.replaceAll("\\+","%20");
              URL targetURL = new URL(attachmentURL + "/" + fileStr);
              URLConnection connection = targetURL.openConnection();
              connection.setDoInput(true);
              connection.setDoOutput(false);
              connection.setAllowUserInteraction(false);
              BufferedInputStream attachmentStream = new BufferedInputStream(
                        connection.getInputStream());
              * Setting the content disposition filename, so that the
              * attachment preserves the original filename
              response.setHeader("Content-Disposition",
                        " attachment; filename=" + filename);
              if (connection.getContentType() != null) {
                   response.setContentType(connection.getContentType());
              else {
                   response.setContentType("application/octet-stream");
              response.setContentLength(connection.getContentLength());
              response.setHeader("Pragma", "public");
              response.setHeader("Cache-Control", "public, max-age=-1, must-revalidate");
              if ( connection.getContentEncoding() != null ) {
                   response.setHeader("Content-Encoding",
                             connection.getContentEncoding());
              BufferedOutputStream responseStream = new BufferedOutputStream(
                        response.getOutputStream());
              byte[] buffer = new byte[4096];
              int bytesRead;
              try {
                   while ((bytesRead = attachmentStream.read(buffer)) != -1) {
                        responseStream.write(buffer, 0, bytesRead);
              } catch (Exception e) {
                   log.error("AttachmentProxy error: " + e.getMessage());
              } finally {
                   if (attachmentStream != null) {
                        attachmentStream.close();
                   if (responseStream != null) {
                        responseStream.flush();
                        responseStream.close();
              return null;
    There is a bug with IE when downloading via https according to Microsoft support site. Refer to http://support.microsoft.com/default.aspx?scid=kb;en-us;812935
    According to this bug, I have set the response header - "pragma" to public and "cache-control" to public. I've also unchecked the Do not save encrypted pages to disk setting in IE Options, Advanced tab.
    Has anyone come across this problem or a similar problem. Any help is appreciated. Thanks.

    I have a URL from a jsp page which points to a struts action servlet. This works with firefox via http and https. With IE it works via http but it doesn't work via https. The error message I get is "Internet Explorer cannot download ...File_name.doc from Server_name.
    Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later."
    Here is my code.
    public ActionForward execute(ActionMapping mapping, ActionForm form,
                   HttpServletRequest request, HttpServletResponse response)
                   throws Exception {
              String attachmentURL = AppSettings.get("EAIAttachmentURL");
              String encodingScheme = AppSettings.get("EAI_encoding");
              String filename = request.getParameter("URL");
              String fileStr = URLEncoder.encode(filename, encodingScheme);
              fileStr = fileStr.replaceAll("\\+","%20");
              URL targetURL = new URL(attachmentURL + "/" + fileStr);
              URLConnection connection = targetURL.openConnection();
              connection.setDoInput(true);
              connection.setDoOutput(false);
              connection.setAllowUserInteraction(false);
              BufferedInputStream attachmentStream = new BufferedInputStream(
                        connection.getInputStream());
              * Setting the content disposition filename, so that the
              * attachment preserves the original filename
              response.setHeader("Content-Disposition",
                        " attachment; filename=" + filename);
              if (connection.getContentType() != null) {
                   response.setContentType(connection.getContentType());
              else {
                   response.setContentType("application/octet-stream");
              response.setContentLength(connection.getContentLength());
              response.setHeader("Pragma", "public");
              response.setHeader("Cache-Control", "public, max-age=-1, must-revalidate");
              if ( connection.getContentEncoding() != null ) {
                   response.setHeader("Content-Encoding",
                             connection.getContentEncoding());
              BufferedOutputStream responseStream = new BufferedOutputStream(
                        response.getOutputStream());
              byte[] buffer = new byte[4096];
              int bytesRead;
              try {
                   while ((bytesRead = attachmentStream.read(buffer)) != -1) {
                        responseStream.write(buffer, 0, bytesRead);
              } catch (Exception e) {
                   log.error("AttachmentProxy error: " + e.getMessage());
              } finally {
                   if (attachmentStream != null) {
                        attachmentStream.close();
                   if (responseStream != null) {
                        responseStream.flush();
                        responseStream.close();
              return null;
    There is a bug with IE when downloading via https according to Microsoft support site. Refer to http://support.microsoft.com/default.aspx?scid=kb;en-us;812935
    According to this bug, I have set the response header - "pragma" to public and "cache-control" to public. I've also unchecked the Do not save encrypted pages to disk setting in IE Options, Advanced tab.
    Has anyone come across this problem or a similar problem. Any help is appreciated. Thanks.

Maybe you are looking for

  • Remote Desktop Connection with WRT54G from Novice

    Well, I’m usually pretty good at using Google and forums to eventually figure out how to fix my problem but this one absolutely has me stumped and I’m hoping someone out there has an answer for me. For the record, I have probably a beginner/intermedi

  • ERROR in  XI TO BI INTEGRATION   PSA in yellow status

    Hi, I have a scenario of XI 2 BI (JDBC to ABAP proxy), I have done the configuration and in SXMB_MONI it is showing processed successfuly. in BI Side  message is succesful in SXMB_MONI but PSA Data is not updating. when i  go to t code RSA1 and then

  • Account Recievables Extractor and Profit Center

    Hi Gurus, I have a requirement of creating an Aging report ( which i am planning will be based on AR DataSource , 0fi_ar_4). Now , i have a requirement to show the Profit Center data in this report. I am not sure how to go ahead with this. If anybody

  • Vendor Replication not Successful in EBP4.0 from ECC R/3 4.7

    Hi, I am trying to replicate vendors from my ECC backend using BBPGETVD. I have specied the backend system , vendor number and the object ID of the organizational unit for Vendor. I have checked the Only transfer R/3 numbers option. When I click on t

  • Is it possible to call a report whith Ñ character in it's file name

    Hi, We have a customer which is having problem when calling a report when the file name has Ñ character, for example: reportedeañonuevo.rdf when invoking the report it gets the following error: REP-110: File reportede¿. cannot be opened REP-1070: An