Transient attribute's value not updated in view

Hi,
I am facing a strange behaviour with a transient attribute of an entity based VO. I have a method that creates rows in this VO, which sets a value to this transient attribute and at the end the new rows are shown. However, this attribute does not show any value despite all the others (non transient) do. What's more, if I set a default value to the attribute, then I'll always see the default one without minding if I had set any other value.
While debugging the method, the attribute shows the correct value after setting it; I have tried adding it as a calculated attributed in the VO's select sentence, but it won't work; and if I try to create another transient attribute, the same story gets repeated. Finally, if I create the transient attribute in the entity, and get it in the VO, it works correctly. Does anyone know why? I am using JDeveloper 11.1.1.2.
Thank you very much

Sure, here it is:
RowSetIterator itQuestions = voQuestions.createRowSetIterator(null);
while(itQuestions.hasNext()) {
VO_RO_QuestionsRowImpl rowQuestion = (VO_RO_QuestionsRowImpl)itQuestions.next();
VO_QuestionAnswersRowImpl rowAnswer = (VO_QuestionAnswersRowImpl)voAnswers.createRow();
rowAnswer.setQstnrResultId(qstnrResultId);
rowAnswer.setQuestionCode(rowQuestion.getQuestionCode());
rowAnswer.setVisibleFlag(rowQuestion.getRelatedQuestion() == null ? FLAG_YES : FLAG_NO);
voAnswers.insertRow(rowAnswer);
itQuestions.closeRowSetIterator();
As you can see, it hasn't anything special at all.

Similar Messages

  • Contract value not updated in open order value of credit management

    My requirement is i have created the contract and activated the credit management by assigning credit  group to contract document type, In item category the credit is active and in pricing subtotal is also assigned .
    But when i create the contract , the open order value is not updated .
    i do not want the credit to be active at order level.
    Dear guru's
    please let me know where i am going wrong
    thanks in advance

    hi,
    open sales orders value not updating currectly in sales value of CM
    http://wiki.sdn.sap.com/wiki/display/ERPLO/CreditmangementIn+SD-FI
    i think you have to run a report which is under the link number 1.
    regards,
    balajia

  • Statistic condition values not updated during Sales order Settlement

    Hi,
    In our client we have different Price condition types for based on scenario wise. Ex: Domestic Sales (ZPR1) and Export Sales ZPR2. I have maintained separately value fields for each price condition types.
    We are booking some financial charges, and interest on working capital etc., this cost we need to transfer to COPA each Material wise based on sales revenue.
    For this purpose we have created one COPA Assessment Cycle.  Tracing factor is Sales Revenue and receiver is Materials.
    In COPA Assessment cycle we can give only one base means ZPR1 related value field or ZPR2 related value field.
    For this reason we have created one new statistic condition type,  what is amount there in ZPR1 that amount will updated automatically in statistic condition place and so that we can give once one trance factor in COPA Assessment Cycle. We have assign this statistic condition all pricing procedure
    Now my problem is in MTS scenario statistic condition values updated correctly. But in MTO scenario sales order settlement time statistic condition values not updated.
    So is it possible update during sales order settlement time statistic condition values.
    Please give me suggestion.
    Regards,
    Thiru

    Hi Ajay Sir,
    As you said is correct.
    But in our client we have around 9 Plants and each plant manufacturing product are different. Client Requirement is in COPA Report they need see each product wise sales revenue. In this way we mapped product wise value field.  System already mapped one guy in this way earlier. Now I am doing some changes for relevant to month end activities.
    Some financial changes transfer to COPA each plant wise on Material. Here sender is cost center and receiver is Material. Base is Sales Revenue.
    Please suggest me is there any alternative.
    Regards,
    Thirumalesh .

  • Subscription value not updated despite payment made days ago

    Please help this is frustrating have been waiting for 3 days now payments have been made but subscription value not updated on skype account 

    Hello and welcome to the Skype Community.
    You have totally different issues. ALWAYS start your own topic please.
    1.0. Philippines Subscription.
    Your account shows that you have used your full minutes allocation in your current billing cycle and your next minutes will be added to your account when your next billing cycle starts on July 17th 2015.
    Renewing your monthly Subscription before your billing cycle ends has no effect on the date upon which your minutes allocation will be added to your account.
    To continue calling until your next minutes allocation is applied to your account please purchase either a Subscription but with a different amount of minutes or Skype Credit.
    2.0. Your account shows that you are calling a cellphone in Austria. Please note that only calls to landlines in Austria are included in the Unlimited World Subscription.

  • Letter of Guarantee Value not Updating with Payments

    Dear Expert
    The requirement from the user is that when a payment is made , the system should deduct the amount paid and refresh the new available value for the customer.
    For Example : A Financial document is created with 1000 value . And Sales order created for 8000 . Therefore now the open value is 2000. This means that the customer can order goods worth 2000 only.
    In the meanwhile the first order is delivered and billed . And the customer has paid 8000 when he received the bill. this means that now he has paid so he can now order more goods worth 8000.
    but in the system it still shows open value as 2000 , although now that the customer has paid, it should be updated with the payments made so the value can be used by the customer that he had paid.
    If any of you has any idea how to tackle this ( it works same way in credit management ) but not in financial documents.
    we were thinking of another work around , i.e by closing the Financial document that has been paid and creating a new one by adding the remaining balance. i.e 2000+ 8000 , this way the customer can again use his value. but then how can we automate the system to alert the sales user that the payment has been made for a certain invoice for a certain LG.
    your idea's and suggestion are highly welcome
    Best regards,

    Dear ATGSD,
    The functionality in GTS is designed for modelling of a single financial document for which the initial value is not updated.
    I understand your user's requirement, but surely that is dealt with simply by setting a credit limit in the SAP ERP system?  There should be no need to use the GTS functionality at all.  In the ERP system, the credit limit is updated by the account payments, exactly as your user requires.
    Please let us know if that would work, or if there are more detailed requirements that are not apparent from your post - thanks.
    Regards,
    Dave

  • Excise base value not updated

    Dear all,
    We have found that excise base value is not updated after creating excise invoices,later we corrected it,
    excise base value started updating in table J_1IEXCDTL,
    Intially for 2 months excise base value is not updated in table,
    Is there any problem will arise in future ?
    or
    How to solve this issue ?
    Jeyakanthan

    Awaiting valuable replies.....
    Edited by: Jeyakanthan A on Mar 6, 2010 5:36 PM

  • Automatic Product Selection item value not updated in S067

    Hello,
    We have a requirement for Automatic product selection based on ATP with pricing at item level. This is working fine.
    But the value of the subitem is not updated in open delivery value S067 after saving the delivery.
    The item category is marked as credit active. update group is 15.
    If i do main item pricing then the value is getting updated successfully.
    I check several notes but nothing helped.
    Pls. help.
    Regards,
    Praveen

    assigned it in sales order at item level in Billing tab
    Assign the same at header level billing tab in sale order.
    thanks
    G. Lakshmipathi

  • Open order value not updated in F.35

    Hi
    While using item category Tas ( Third party item ) in Sale order, it is not updated in open order value at F.35.
    please give your suggestions. thanks.
    Regards,
    Tirumal.R

    1/ Check your credit control area settings
    2/ Check your sales order config, if it works for one sales order type and not the other compare the two/

  • Invoice correction request (net value not updating)

    Hi guys,
    I have a problem when creating an Invoice correction request (RK).
    When I change the Target quantity in the item (L2N), the Net value is not updated. So I have to go to Conditions and Carry out new pricing.
    Any idea to fix this.
    Best regards,
    Eduardo

    Hi Eduardo
    Check the copy control  VTFA , what is the pricing type it is being used and what is the quantity field maintained  -ve or +ve or kept blank .
    Even Go to item data->conditions tab and click on analysis you will know the problem why it is not changing the gross price
    Regards
    Srinath

  • Invoice value not updating for limit PO

    Hi Experts,
    SRM 5, SP 10 ECC 6.
    Limit PO is created, invoice posted in ECC, the invoice vaue is not updating in the Statistics tab at item level of PO,Calculated Value  is showing 0.00 only
    any idea.
    Thx

    Hi David,
    The problem is coming for limit order only, not for normal order and bbp_get_status is running fine for confirmation and normal po, so no need to run again

  • Attributes getters/setters not found in view object class

    Hi,
    I am using JDeveloper 10.1.3.4 and have a question about customizing display hints in the view object.
    In my application that is to be used by both the students and the administrative staff, I generated both the entity object and view objects for a table from the database. Some of the attributes need customized display format. For example, social security numbers in the datatable is 123456789. For the student users it needs to be displayed in the xxx-xx-6789 format. For staff users, it needs to be displayed in the 123-45-6789 format.
    Therefore I create two view objects from the same entity object, one for students and one for staff, each to have its own display format. To put the customization code in the attributes' getter methods, however, I found that in the view object class files the getter methods are not there. The entity object class file has the getters; however if customization is done there I will not have two different formats.
    What should for the getters to become available in the object class file so that I can customize them?
    Thanks a lot for helping!
    Newman

    Newman,
    Attribute getters would be on the view object ROW class.
    John

  • Attribute binding value not refreshed after transaction rollback

    Hi,
    Using ADF Faces/Trinidad + ADF Data Bindings + ADF Business Components.
    I was experimenting with task flows vs transaction control vs form validation and met the following problem.
    First, here's a little intro to my application design. A page template defines the layout. There's only one page in the application using a dynamic region to show a dynamic task flow. The template defines a menu containing navigation items; each item action changes the current dynamic task flow id.
    One of the flow starts with a data bound table listing users. Each row has an edit button to navigate to an edit form. The edit form is in a separate task flow as I want the automatic rollback triggered when a flow is abandoned.
    The problem occurs when I quit the form clicking a menu item AFTER a validation error occurred. Transaction is rollbacked as expected, however when I go back to the form (whatever row I choose), the invalid value that failed the previous validation is shown.
    It seems the attribute binding is not refreshed. To validate this hypothesis, I added a button that explicitly calls refreshControl on the attribute binding as shown below. When the button is clicked, the form shows the correct value.
        // In a managed bean
        public void refreshFirstName(ActionEvent evt)
            getBindingContainer().findCtrlBinding("FirstName").refreshControl();
        }I working on a possible workaround, but I've not succeeded yet. I'm looking into using the finalizer of the task flow (or possibly the initializer) to force a refresh of the control bindings.
    Any ideas?
    Thanx!
    Olivier

    Hi,
    I am experiencing similar strange behaviour, it sounds like it could be related, i am not using task flows though.
    I have a read only table, and when a user double-clicks on a row an af:popup is displayed which displays an edit form (contentDelivery is set to "lazyUncached" in the popup). Pressing the cancel button on the edit form executes a rollback and hides the popup. However, after this has occurred, whenever another row (or the same row) is selected in the read only table, the edit form will display data from the old record that was rolled back. I've noticed that the old data is only displayed in editable fields, while the correct data is displayed in read-only fields. I'm pretty sure the rollback works properly, and the iterator is on the correct row, just it is displaying incorrect data in the editable text fields. I've tried implementing cancel functionality with both a rollback action and refreshing the row using REFRESH_WITH_DB_FORGET_CHANGES, but the same issue exists regardless of which method is used. I've also noticed that the application starts behaving correctly again if the commit button is pressed.
    Has anyone come up with a workaround for this issue?
    By the way, is there any way we can keep track of the bug numbers that are mentioned in this forum?
    Thanks,
    Michael.

  • ITS templates - checkbox value not updated

    Hi,
    I am experiencing a problem with checkboxes in my Internet Service (similar to problem described in forum: checkboxes in ITS (again) ).
    The checkboxes are inside a table (step-loop) and is blank by default. If the user selects the checkbox, the value is cleared after user input.
    I executed the dialog program and it is fine.
    The generated service template was modified to accommodate the step-loop. I'm using the SAP_TEMPLATE tags for the WEBGUI look & feel.
    To set the checkbox parameter according to the user's input, should an if-statement be inserted in the code or should I use the parameter "onclick" with a javascript function?
    I inserted an if-statement but it doesn't work.
    Here's my code:
    `SAP_TemplateTableBegin(title="Some title:", type="SAP_WEBGUI")`
    `if ( IT_BEHAV-DESCR.dim > 0 )`
    `repeat with j from 1 to IT_BEHAV-DESCR.dim`
      `SAP_TemplateTableRowBegin(isSelectable="X")`
       `SAP_TemplateTableCellBegin(subtype="NONEDIT1")`   `IT_BEHAV-DESCR[j]` `SAP_TemplateTableCellEnd()`
    <b>   `if (IT_BEHAV-SELECT[j].selected)` checked `end`
       `SAP_TemplateTableCellBegin(subtype="NONEDIT1")` `SAP_TemplateSimpleCheckBox("IT_BEHAVE-SELECT", VALUE="`j`")` </b>           
        `SAP_TemplateTableCellEnd()`
              `SAP_TemplateTableRowEnd()`
             `end`
           `end`
         `SAP_TemplateTableEnd()`
    If the check on the value of the checkbox is performed within SAP_TemplateSimpleCheckbox tag (e.g. <b>`SAP_TemplateTableCellBegin(subtype="NONEDIT1")` `SAP_TemplateSimpleCheckBox("IT_BEHAVE-SELECT", VALUE="`j`", "`if (IT_BEHAV-SELECT[j].selected)` checked `end`"
    )`</b>  ),
    the checkbox values are still not updated.
    My Business HTML and Javascript is not very good, please help.
    Your assistance will be much appreciated.
    Regards
    Liza-Marie

    Hi,
    I tried
    `if (IT_BEHAV-SELECT[j]=='X')`checked`end`
    but it is still not working. I am not sure <i>where</i> it should be inserted...? I added it inside the checkbox tag as follows:
    <b>`SAP_TemplateTableCellBegin(subtype="NONEDIT1")` `SAP_TemplateSimpleCheckBox("IT_BEHAVE-SELECT", VALUE="`j`", "`if(IT_BEHAV-SELECT[j].selected)` checked `end`")`</b>
    as well as before and after this tag, without results.
    The tag SAP_TemplateSimpleCheckbox has the parameter <i>onclick</i>. I suppose this can be used to call a javascript function to control the checkbox values. I'm currently investigating this option, not that my javascript is any good!
    If the input fields of length 1 is used inside the loop, would it still work like a checkbox? I mean, can the user input any character? Do you perhaps have example code for this?
    Unfortunately I cannot debug on the ITS at this stage since I dont have access to the ITS server and it would take too long to get access or arrange for debugging to be set up.
    Thanks for the help so far!
    Regards
    Liza-Marie

  • Values not updated in CRM ,CRM_BADI_BUPA_MOBILE_CHANGE for Sybasemobile

    Hi All,
    We are unable to make changes in CRM
    Implemented the Change BADI CRM_BADI_BUPA_MOBILE_CHANGE  (For language and timezone fields).
    please check my previous post.
    Implementing  CRM_BADI_BUPA_MOBILE_CHANGE for Sybasemobile
    On mobile made changes for these fields ,checked in DOE ,CE structures ,they are not updated with new values.
    checked the FM CRM_BUPA_MOBILE_CHANGE ,BADI is getting triggerd.
    How the dat flows ..mobile->doe ->crm ?(for update values)?
    Thanks,
    Anitha.

    Hi siva,
    Thanks for the information.
    data : ls_address TYPE bapibus1006_address,
    CALL FUNCTION 'BUPA_ADDRESS_READ_DETAIL'
          EXPORTING
            iv_partner           =ls_ce_bupa_hdr-partner
            iv_xaddress           = 'X'
          IMPORTING
            es_address            = ls_address
          EXCEPTIONS
            no_partner_specified  = 1
            no_valid_record_found = 2
            OTHERS                = 3.
    loop at ce_bupa_header into ls_ce_bupa_hdr.
        IF ls_ce_bupa_hdr-FIELD_NAME = 'LanguageKey'.
          ls_address-languiso =  ls_ce_bupa_hdr-FIELD_VALUE.
        elseIF ls_ce_bupa_hdr-FIELD_NAME = 'ZTIME_ZONE'.
          ls_address-time_zone = ls_ce_bupa_hdr-FIELD_VALUE.
        endif.
          endloop.
    CALL FUNCTION 'BUPA_ADDRESS_CHANGE'
      EXPORTING
         IV_PARTNER                      =ls_ce_bupa_hdr-partner
          IV_PARTNER_GUID                 =
          IV_ADDRNUMBER                   =
          IV_ADDRGUID                     =
      IS_ADDRESS                      =
           IS_ADDRESS_X                    =ls_address
          IV_DUPLICATE_MESSAGE_TYPE       =
          IV_ACCEPT_ERROR                 = ' '
    U mean to say this?.
    Will try executing and come back.
    Thanks.
    Anitha.

  • Values not updating in PCA

    Dear All,
    Here i need small clarification on PCA. in my scenario(ECC 6.0) the balance sheet items(g/l's) the amount is not updating in PCA tables (i.e GlPCA) it means line in 2nd line item value is not updating in totals table
    Pls advise me
    Thanks
    Sudhan

    Hi Sudhan,
    Please refer to the note 180906 for Balance sheet accounts whose balances are transfered periodically to PCA. In such case,the update logic for total table:GLPCT and line item table:GLPCA is as
    explained in the note. And if you drill down in such total bal report: i.e. 8A2N,the line items are different with the total amount.
    regards
    Waman

Maybe you are looking for