Field value not being written to database

Hello,
I'm trying to auto-populate a form field from a value in one of my backing beans by changing the field value property from #{bindings.Modifiedby1.inputValue} to #{pageFlowScope.backing_Login.userName}. When I open the form, the correct value from the backing bean is displayed in the field now, but when I save/commit the record the value doesn't make it to the database so while it is displayed on the screen in the form field, it doesn't get written to the database. Is there something that needs to be done to update the input value in the actual binding or something? I'm developing in JDeveloper 11.1.1.3.
Thanks!

Well, I thought it was working. I've found that the ModifiedBy and ModifiedDate fields do get updated in the database now, but it updates those two fields in the first row that was displayed on the table instead of the row that was selected. Here's my backing bean code (I've tried to comment what I'm doing in each step):
public void editDialogListener(DialogEvent dialogEvent) {
//when "ok" button in dialog box is selected
if (dialogEvent.getOutcome().name().equals("ok")) {
//get userName from Login backing bean and save as loggedInUser
RequestContext requestContext =
RequestContext.getCurrentInstance();
String loggedInUser =
(String)requestContext.getPageFlowScope().get("userName");
//get bindings
BindingContainer bindings = getBindings();
//get Modifiedby1 attribute from bindings and setInputValue to LoggedInUser
AttributeBinding attrModifiedBy =
(AttributeBinding)bindings.getControlBinding("Modifiedby1");
attrModifiedBy.setInputValue(loggedInUser);
//get Modifieddate1 attribute from bindings and setInputValue to current date
AttributeBinding attrModifiedDate =
(AttributeBinding)bindings.getControlBinding("Modifieddate1");
attrModifiedDate.setInputValue(new Date());
//perform Commit
OperationBinding operationBinding =
bindings.getOperationBinding("Commit");
operationBinding.execute();
Can anyone see what I need to add or do differently to grab the selected row's attributes for updating?

Similar Messages

  • Ocrfile is not being written to.  open file issues.  Help please.

    I've been troubleshooting an open file issue on our Test environment for quite a while now. Oracle has had me update to latest CRS bundle for 10.2.0.3, then upgrade to 10.2.0.4, then two more patches via OPatch to bring 10.2.0.4 RAC to it's most recent patch. None of these patches resolved our problem. We have ~8700 datafiles in the database and once the database is started, we're at ~11k on Production but on Test we're at ~37K or higher. It takes 1-2 days to hit the 65536 limit before it crashes. I have to 'bounce' the database to keep it from crashing. Yes, I could raise the ulimit but that isn't solving the problem.
    Over the weekend I noticed that on Production and DEV, the ocrfile is being written to constantly and has a current timestamp but on Test, the ocrfile has not been written to since the last OPatch install. I've checked the crs status via 'cluvfy stage -post crsinst -n all -verbose' and everything comes back as 'passed'. The database is up and running, but the ocrfile is still timestamped at April 14th and open files jump to 37k upon opening the database and continue to grow to the ulimit. Before hitting the limit, I'll have over 5,000 open files for 'hc_<instance>.dat, which is where I've been led down the path of patching Oracle CRS and RDBMS to resolve the 'hc_<instance>.dat bug which was supposed to be resolved in all of the patches I've applied.
    From imon_<instance>.log:
    Health check failed to connect to instance.
    GIM-00090: OS-dependent operation:mmap failed with status: 22
    GIM-00091: OS failure message: Invalid argument
    GIM-00092: OS failure occurred at: sskgmsmr_13
    That info started the patching process but it seems like there's more to it and this is just a result of some other issue. The fact that my ocrfile on Test is not being written to when it updates frequently on Prod and Dev, seems odd.
    We're using OCFS2 as our CFS, updated to most recent version for our kernel (RHEL AS 4 u7 -- 2.6.9-67.0.15.ELsmp for x86_64)
    Any help greatly appreciated.

    Check Bug... on metalink
    if Bug 6931689
    Solve:
    To fix this issue please apply following patch:
    Patch 7298531 CRS MLR#2 ON TOP OF 10.2.0.4 FOR BUGS 6931689 7174111 6912026 7116314
    or
    Patch 7493592 CRS 10.2.0.4 Bundle Patch #2
    Be aware that the fix has to be applied to the 10.2.0.4 database home to fix the problem
    Good Luck

  • Net value not being updated from Pricing Element/Pricing condition

    Hi All,
    User confirm activity of 40 hours in CJ20n of Project System. When we are creating RRB(Resource Related Billing) request for billing of 40 hours using DP91, Net Value is coming Zero where as pricing condition for the item is upodating Basic Price from quantity of 40 hours.
    Please adise, why Net Value field is not being updating.
    Regards
    Rajesh

    hi monty,
    first of all please check the validity and other criteria by which sytem populates the pricing records in to the sales order.
    this can be easily done by refering to past "pricing" posts.
    also
    kindly check on the reference status whether this order is getting referenced and pricing values from a preceeding document like  sales quotation,because if the conditions mentioned by you are not in the preceeding saes document then it will not get populated ,hence you have to update pricing by going on to the conditions tab,
    update me so that other solutions can put to you
    regards
    Mohit Singh

  • User defined fields does not get added into database

    Hello Experts
                              User defined fields does not get added into database , when i click add button it
    shows data added sucessfully , but when i check data base no entry is made , only entry is made for
    B1 fields , like DocEntry ,DocNum etc.., no entry is made for U_fields..
    I have check every thing databound is also set to true
    Actually first few 6 data was added properly but now its not geeting added for user fields
    I have used 2 document row  child table for 2 matrix and for remaining Document table
    What might be the problem
    reply soon
    plz suggest

    Hello sir
    I have checked Default form , in that entry is made into database
    but running the form in screen painter in preview mode or through coding it does not get added for user field
    this id my binding code
    LoadFromXML("updateopd.srf")
                oForm = SBO_Application.Forms.Item("updopd")
                oForm.DataBrowser.BrowseBy = "txtpatid"
                'Adding combo in Obervation
                oItem = oForm.Items.Item("txtpatid")
                oEdit2 = oItem.Specific()
                oEdit2.DataBind.SetBound(True, "@UPDATE", "U_PID")
                oItem = oForm.Items.Item("txtmnane")
                oEdit3 = oItem.Specific()
                oEdit3.DataBind.SetBound(True, "@UPDATE", "U_FName")
                oItem = oForm.Items.Item("txtlname")
                oEdit3 = oItem.Specific()
                oEdit3.DataBind.SetBound(True, "@UPDATE", "U_LName")
    Plz suggest

  • IO Labels are NOT being written to prefs!

    I've followed all the advice on existing threads about this and it's definitely a serious bug for me. IO Labels are not being written to prefs for me.
    Any ideas? Already tried deleting prefs, creating new blank project and not saving, nothing has worked.

    I found a workaround for anyone having this issue - and this is the ONLY thing that has worked after a week of trying everything on several forums.
    Open Logic, set your labels how you want.
    While Logic is open go to ~/Library/Preferences and delete com.apple.logic.pro.plist
    Quit Logic. I don't think it matters whether you save your project or not. When Logic quits a new plist will be written, and this one WILL have your labels!
    Seems on my machine Logic would not update the IO labels bit of the prefs unless it was writing a complete new prefs file.

  • Database adapter - timezone value not being picked up

    We are using Oracle SOA suite v 11.1.1.6, along with database adapter to connect to different Oracle database - D1 and D2. All 3 system - SOA suite, D1 and D2 are set to different timezones. Within the SOA composite, we are using Database adapter to
    query data from Oracle database
    execute pl/sql stored procedure in Oracle database.
    In all cases we noticed that the date time data seen in the SOA EM console is same as in the respective database system, but surprisingly the timezone value in the data field is constant and it does matches with that of SOA suite.
    <D1_DATE>2013-08-15T01:10:00.000-06:00</D1_DATE>
    <D2_DATE>2013-08-15T02:10:00.000-06:00</D2_DATE>
    Ideally the timezone value should match with that of respective database, from where the date value is being picked up. Did we miss any set up or this a known issue ?
    Thanks.

    The database column is of "Date" data type. Was just checking, if the DB adapter can be configured to look into the timezone set at the Oracle data base and use that along with the actual data in the "Date" type column
    Am aware that, if i use the "Timestamp with Timezone" it works good.
    Thanks.

  • Field value not getting updated in R/3

    Hello Experts!!
    I am facing a problem while updating a field value back in R/3.
    The Syncbo is of type U01 and the field has data type char 40.
    The meRepMeta.XML file has following description
    Field name="DESCR1" type="C" length="40" decimalLength="0" signed="false" isKey="false" isIndex="false">
    <Input type="modify">false</Input>
    1) when i test the function module in R/3. The field value is gets updated.
    2) when i create a record for the sync BO from client , i can see the field value being created on the client.
    3) when i synchronize, i dont get any error or warning and get a successful message.
    S        15.07.2008 12:19:09 All updates for one TOP block were successful (seq. no.=65, TOP cntr.=0000000001)
    15.07.2008 12:19:09 Synchronizer UPLOADER completed successfully (mobile ID=0000002646, SyncBO=ZDBMSERORD)
    I am not able to locate where is the problem
    Please suggest!!
    Regards,
    Priya Ghosh

    Hi,
    please check your maping in the create handler in MEREP_SBUILDER. Perhaps the value is created on the client but not mapped to the field of the function module. Furthermore have a look into MEREP_MON and see if the data gets forwarded in there.
    At last I would dump the information received by the function module into a table without any logic. So you can see what data actually is forwarded into the funct module - if brake point i not possible.
    Hope this helps.
    Regards,
    Oliver

  • Problem in Search Help[F4] - Values Not being Dsplayed

    Hi,
    Search help values are not being displayed.
    F4 help pop up is being displayed with the text on top: ' xxxx number of entries found".
    But no values are visible in that popup where it normaly displayes all values for selection. This is happening with all search helps.
    Example: I tried for Tcode: ME21, for field Vendor.
    =><i>No patch has been applied on Server recently.</i>
    Any clue on that..??
    Any help is appriciated.
    Regards,
    Vijay Raheja

    Hello Vijay,
    This is simple as well.
    Go to help then settings and then F4 help. Under system defaults tab strip you will find Display tab strip. Here go to change mode and choose dialog. The other choice will be for control only ( 2 radio buttons only this time around). However to do so make sure you have the authorization object S_ADMI_FCD with value TCTR.
    Ask yoru authorization adminstrator to make these changes. He would be having these authorizations. Normally all  users dont have this authorization as this is part of security audit considerations.
    Please award points if issue got solved.
    Regards.
    Ruchit.

  • Field value not working as "Can grow" when exported in PDF

    Hi, I have a unique problem. We have a report which is using a sub-report. When we run that report in Crystal report and preview then it looks fine. This subreport is designated as "can  grow" so if the field length is bigger than the size then it is coming in the second row. Everything works fine except when we export this report in PDF.
    When we export in PDF then this field is not working as "Can grow" and remaining value of the fields is  truncated. This is happening both in XI and 2008 version of Crystal client.
    Thanks,

    Hi, This is declared as bug by Business Objects Support and Product team will decide if they want to include fix in next release (or fix). This is not possible before Dec 2009 or Early 2010. 
    Below are the general steps on how to apply the suggested workaround:
    1. Remove the on-demand subreport caption, and add an empty string to it instead.
    1.1 In the u201CDesignu201D view of the report, right click on the subreport and select u201CFormat Subreportu2026u201D
    1.2 In u201CFormat Editoru201D window, under the tab u201CSubreportu201D, click on the u201CX-2u201D button of the option u201COn-Demand Subreport Captionu201D
    1.3 In the u201CFormula Workshopu201D window, highlight the text in the formula, and cut it. ( Ctrl-X)
    ( We are just copying the text, as we need to use the samething for the formula or text object we will use to replace this. )
    1.4 Type the following in the formula: u201Cu201D
    1.5 Click on the button u201CSave and closeu201D, to close the u201CFormula Workshopu201D
    1.6 Back to the u201CFormat Editoru201D window, click on the u201COKu201D button to accept the change.
    2. Create a formula or insert a text object in which you add the text or fields you will like to display
    ( In the following steps we will be using a formula )
    2.1 In the u201CField Exploreru201D, right click on u201CFormula Fieldsu201D and select u201CNewu201D
    2.2 In the u201CFormula Nameu201D window, type the name of the formula. ( Example: My subreport caption )
    2.3 In the u201CFormula Workshopu201D, copy the text you cut in step 1.3, or simply add the database fields and text you will like to display for your on-demand subreport caption.
    2.4 Save and close the formula by clicking on the u201CSave and closeu201D button
    3. Insert the formula over the on-demand subreport, and resize the field to be of the desired length.
    4. Format the formula to display like a hyperlink. ( Blue font and underlined text )
    4.1 Right click on the formula inserted in step 3, and select u201CFormat Fieldu2026u201D
    4.2 In the u201CFormat Editoru201D, under the tab u201CFontu201D, set the color to blue
    4.3 Still under the tab u201CFontu201D, check the u201CEffectsu201D option u201CUnderlineu201D
    4.4 Under the tab u201CCommonu201D, check the option u201CCan Growu201D
    4.5 Click on the u201COKu201D button to accept the change
    5. Move the formula to the back in order to ensure you can drill-down on the on-demand subreport
    5.1 Right click on the formula inserted above the on-demand subreport and select u201CMove u2013 To Backu201D
    Now, when exporting the report to PDF format, the formula used to replace the u201Con-demand subreport captionu201D that displays more than one line will all be exported.
    This workaround has following limitations:
    The User can see the service description in two lines because of the u2018Text Objectu2019, the On demand subreport is not growing into the second line in the crystal report since we removed the caption.
    So the user has to carefully click on the first line of the description in the main report to open the subreport. If he clicks on the second line then it wonu2019t open the required subreport and it may create confusion.
    If we manually stretch out the subreport to occupy two lines space then it will leave a gap in between when we have only 1 line service description.
    So plan ahead of time about how lengthy text in su-report would be.

  • In AS03 internal order field is not being utilised

    Hi All,
    In the master data (AS 03 ) internal  order field under the Tab, Time dependent is not being utilized because when the field is filled with I/O No it is generating wrong depreciation(additional) in COu2019S module which is to be rectified..     
    This field as a matter of fact needs to be filled up, to know from where the asset is capitalized. Correct me if i am wrong.
    Regards,
    Arvind

    Hi Arvind,
    This field in the tab Tab, Time dependent is used for the depreciation posting.
    When you want to see where it comes from you have to use the ftab origin.
    If you settle the cost from an investment order/project it fills in automatecly this value in the tab origin

  • Field value not updated in Dialog Programming

    Hi experts
              My problem is when i change the field value in dialog programming, the text value is not updated, its showing the same value what exist in database.
       I have done coding as follows, what i need to change in coding, Pls give me the suggestion.
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_1200.
    PROCESS AFTER INPUT.
    CHAIN .
        FIELD :  zrecpt-zrno.
        MODULE vali_zrno ON CHAIN-INPUT.
      ENDCHAIN.
    module header_data10.
    MODULE STATUS_1200 OUTPUT.
        SET PF-STATUS 'ZRECT'.
        SET TITLEBAR 'ZRECT'.
    ENDMODULE.              
    MODULE vali_zrno INPUT.
    if zrecpt-zrno  is not initial.
        select single * from zrecpt
                        where zrno = zrecpt-zrno.
    endif.
    ENDMODULE.
    MODULE header_data10 INPUT.
    CLEAR : it_zrecpt.
      REFRESH : it_zrecpt.
      MOVE-CORRESPONDING zrecpt TO it_zrecpt.
      APPEND it_zrecpt.
    ENDMODULE.
    Thanks in advance.
    Regards
    Rajaram

    Hello...
    IN PAI,,
    You were not updating into any database..
    you were just appending to an internal table...
    now either move the internal table values to the database ...
    or you can simply move from the values entered...[text boxes ]
    pls chk.....

  • Adobe field values not getting displayed in UWL workitem

    Hi,
    We filled a ISR Adobe form and submitted it and generated the corresponding notification number.
    On clickng the 'display and print form', the form is gettin displayed properly.
    But on checking the form at the approvers UWL, the field values are not getting properly filled.
    The form is getting properly displayed at R/3  through IQS22 and also the data values are properly attached to the notification number( checked through ISR_PROCESS_EVENT ).
    Kindly help.
    Thanks and Regards,
    Anto.

    Thanks for publishing your own solution!
    Cheers,
    Noë

  • Object Size and Position values not being retained

    Hi,
           I'm trying to set the size and position of a picture object in a report. This logo, should appear on the top right corner of the report.
    The margins of the report are Left - .79 in, Right - 0.79 in, Top - 0.79 in and Bottom - 0.39 in.
    The size of the picture object should be 1.574 x 0.79 inches.
    I have ensured that File -> Page Setup -> dimensions are in INCHES.
    I right click the logo and select 'Size and Position'.
    I set 'Y' (distance between top of object and top margin) = 0. This is to perfectly align the object with the top margin.
    Now, i set the height of the object = 0.79 inches. Ok the dialog and close.
    The strange thing happening is, when i re-open the size and position dialog, i see that the values i set are not being retained.
    0.79 becomes 0.810
    and
    0 become -0.010.
    What am i doing wrong here? How can i make sure the values i specify in the size and position dialog are  retained.
    Thanks.

    Ensure File | Options | Layout tab has the following UNMARKED!!!!
    Design View
      Guidelines
      Grid
    Preview
      Guidelines
      Grid
    Ensure that "Snap to Grid" is turned off.
    Make your grid size larger (.5 inches for example)
    What is occurring (I suspect) is that your objects are snapping to the grid - thus changing the position and possibly size due to the Snap to Grid being turned on.

  • Custom fields values not saved in AUFK using bapi_alm_order_maintain

    Hi ,
        We have a requirement where we have to update the custom fields in enhancement tab of IW31 using bapi_alm_order_maintain.
    We are able to get the successful creation of work order ,but the custom fields are not updated in enhancement tab aswell in aufk table. We are passing values in below table of bapi.
    EXTENSION_IN
                STRUCTURE           =  CI_AUFK
                VALUEPART1        =  '20091223' .
    Please provide the solution.

    Hi Phani,
    May be these links are helpful:
    BAPI extention to work order aiming AUFK custom field filling
    Update custom fields in MARA (BAPI_MATERIAL_SAVEDATA)
    Also search sdn using the BAPI function module, you may get some idea.
    Regards,
    Swarna Munukoti

  • PO service item - custom field value not copied to GR

    Hi All,
    I have a custom field in SC,PO and GR. For a sevice and limit items, the value in custom field in PO is not copied to GR. For goods, it is copied.
    When I debugged, I found that the system tries to match PO item internal number with that of backend item internal number. If this is matched, the custom field values are copied.
    But here it is not matched. What can be the possible reason. Is there any configuration for item internal numbers?
    I found a note 848797 for transfer. But exactly at the corrected code in note, program is failing.
    Have anyone faced this issue before?
    Thanks
    Nandalal

    Yes Disha, the notes are correctly implemented.
    I am confused on whether the internal number generated for the item is copied from some configured internal range, because when I enter two service items, the items shows backend internal numbers like 0000000010 and 0000000020 (increment by 10). But in SRM it is 0000000001 and 0000000002.
    When the code tries to match the respective numbers, it fails and skips the logic to copy custom fields.
    I dont have access to r/3 data.
    Please help.
    Have anyone tried to create a GR with service item and has custom field?
    Thanks
    Nandalal

Maybe you are looking for

  • Can no longer see text messages on iMessage

    Hi, As of this week, I can no longer see my text messages on my laptop  (OS 10.10.2). My iPhone (8.1.3) gets texts, and in the settings for Messages, the only forwarding device is my iPad. I can't add a device here for some reason. Any ideas?

  • HP 8620 printer two sided printing reverses pages

    Is there a way to change the order that this printer prints double sided prints? It prints last page first, so if it is 3 pages pages 2 & 3 are one page and page 1 is just one-sided.  Need this to be reversed.  Can you do this in the Mac driver? Lisa

  • Normal stock to order stock.

    Hi frnds,   We create Purchase orders against the sales orders , in the Purchase order we assign Account Assignment Category  ( E ) in the Purchase order , so that while we receive the material the stock will be lying against that particular orders.

  • Import EPS and make transparent background

    Hi all, I'm basically a n00b with Illustrator.  I have an EPS logo (downloaded from here: http://www.allfreelogo.com/logo/federal-bureau-of-investigation-fbi-logo.html) and it imports perfectly to Illustrator. However, after I resize it, when I do th

  • $5k camera recs with hassle-free FCP X workflow?

    Sorry if this is a redundant question, but I couldn't find a current answer in past posts. Desperately looking to replicate the good ol' MiniDv workflow from years back when I connected my camera to FCP via firewire and captured with no re-compressio