Update Value Matrix

Hi a need a help
I have a matrix and want a update a value of one cell.
I Try this:
oColumn = oColumns.Add("Col", SAPbouiCOM.BoFormItemTypes.it_EDIT);
oColumn.TitleObject.Caption = "Cód. Mun. SAP";
oColumn.Width = 40;
oColumn.Editable = true;
oColumn.DataBind.SetBound(true, "@Table", "U_Col");
oMatrix.FlushToDataSource();
oDBDataSource = oForm.DataSources.DBDataSources.Item("@Table");
oDBDataSource.SetValue("U_Col", 10, NewValue);
oMatrix.LoadFromDataSource();
The new value is show in Matrix but when click in update the new value not update.

Hi Dear,
Please try this..
oColumn = oColumns.Add("Col", SAPbouiCOM.BoFormItemTypes.it_EDIT);
oColumn.TitleObject.Caption = "Cód. Mun. SAP";
oColumn.Width = 40;
oColumn.Editable = true;
oColumn.DataBind.SetBound(true, "@Table", "U_Col");
oMatrix.FlushToDataSource();
oDBDataSource = oForm.DataSources.DBDataSources.Item("@Table");
oMatrix.LoadFromDataSource();
oDBDataSource.SetValue("U_Col", 10, NewValue);
Hope this will help you..
lg Mahendra

Similar Messages

  • Not able to view actual Price updated 'Value' in Change Tracker

    I was able to get my Change tracker to work and it is functioning. (SRM 5.0 MDM5.5 )... Configured Portal iViews for change tracker.
    If I change a description I can see it in the change tracker application. But if I try and track a Price change it only shows me a date-time  and user as to I when the price was changed it doesnu2019t show me the actual value changed, for my audit purposes.
    On the portal the change tracker "Field" dropdown shows -> Price Updated. this is what is tracking any change of price.
    In MDM Console-> Admin->Change Tracker I am tracking under Catalog Items: Price information, Price Updated, Special search terms, long description.
    When I look at the Data manager in the Record Detail, I see  u2018Price Updatedu2019 and it only has a Date and time stamp. In this same Record Detail,  I see the field Price Information that contains :Lower bound, Purchasing Info record ID, Purchasing Organization, Amount and Currency.  Amount-> contains the actual price value. This is what i want to see in the portal iView as Old value and New value....this is what I am unable to view? theres one small step i am not doing...
    I am trying to track the actual change in the filed u2018Amountu2019u2026 I have tried to search for it in the Portal iView fields (table, record contains, fields, record)
    cheers
    alex

    Hi Alex,
    I would not here comment on change Tracking functionality but can you suggest another workaround to achieve this requirement. If it fits in your requirement you can go ahead with it.
    In MDM, Create another field in Main table say Initial Price and for already existing field Amount replace its name with Updated Price in Qualified table Price.
    now after this you will see that your by default Updated Price has values as it was your Amount field earlier and Initial Price field as empty. Now for next time, if any record comes using Import Manager then MDM workflow should trigger at Record Import.
    This workflow contains following steps.
    Start(Checkout)>Assign>Stop(CheckIn)
    Assign step should have below expression and assignment:
    Price Information.Updated Price
    Where I am assuming Price Information is the field in main table which is look up to this qualified table Price.
    So in this way you can maintain both existing and updated values of Price and cant then show in your Catalog.
    suppose you have already existing record say 1 which has value of Amount as 20.
    So that means you have Updated Price as 20 and Initial Price as empty(Null)
    Now when same record 1 updates with new Amount say 40, it triggers this workflow on record import which will then assign value of existing updated Price 20 to Initial Field after that Updated Price will update by 40.
    Note: This Assignment works well only if your main table record has this Qualified table link as single record. If your main table record contains more than one qualified links then this Assignment would not work fine. So use only if it fits.
    Regards,
    Mandeep Saini

  • Get Updated values in valueChangeListener of af:selectManyShuttle

    I am using Jdeveloper 11.1.1.3.0
    I have applied the valueChangeListener in selectManyShuttle to get the values in backing bean.
    But the problem is, it's not giving me the updated values.
    For example, for the 1st time, the left side list is empty. So, 1st time when I moves some values, it doesn't give me any value but next time, it gives me the the ID of previously moved items.
    How to resolve this problem?

    You can try to put the following line as the 1st line in your valuechangelistener method.
    valueChangeEvent.getComponent().processUpdates(FacesContext.getCurrentInstance());
    Thanks and Regards,
    S R Prasad

  • How to get updated values from the loops while they are running

    Hello,
            I am having difficulty solving a very basic problem, how to access the updated values from the 'FOR loop' while its running?  Basically, the VI  I am currently working on calls two sub VIs. Each sub VI has a for loop, and both VIs may or may not run for same number of iterations. My goal is to read the values at each terminal inside the loop of both sub VIs, in the Main VI. I tried to achieve it using Global Variables, but in main VI it displays only the last iteration value from both sub VIs. Could anyone please tell me whrere am I going wrong? Is there any other/better way to achieve this.
    I appreciate any input on this issue.  
    Kudos are (always) welcome for the good post. :-)
    Solved!
    Go to Solution.

    Dennis,
                In attached VI, I can see the values changing in the sub VI from the main VI with the numeric indicator whose reference is passed on to the sub VI. Now if I wanted to store or use those values how do I do that? I tried to chnge the indicator to control and read from it (in the attached VI) , but the the indicator updates only once. Tried to create a property node and read the Value from it and it didn't work either.
    Thanks in Advance!
    -Nilesh
    Kudos are (always) welcome for the good post. :-)
    Attachments:
    main-1.vi ‏8 KB
    sub-1.vi ‏9 KB

  • How to update values in ValueChangeEvent..

    Hi Everyone,
    I am using Jdeveloper 11.1.2.0.0.
    I have a scenario as follows. I have 2 input fields as Password and Confirmpassword.
    I wrote a ValueChangeListener for the field Password to do some validations and I wrote another ValueChangeListener for the Confirmpassword field inorder to compare the values entered in both fields.
    But here.., In ValueChangeListener event of Confirmpassword field, iam unable to fetch the value of Password field to compare.
    The reason is ..., ValueChangeListener  occurs in ApplyRequestPhase/ProcessValidationsPhase, and values get updated in UpdateModelPhase, hence values are not updating and unable to fetch in ValueChangeListener  event.
    In order to update values to the component tree in ValueChangeListener event, i tried using below code
    valueChangeEvent.getComponent().processUpdates(FacesContext.getCurrentInstance());
    But values are not updating..Kindly suggest me to achieve my scenario. Do the needful. Thanks in advance.
    Regards
    Alekhya

    Hi Nitish...
    Thanks for the response...
    I tried fetching password field value in Confirmpassword field by 2 ways as follows
    1. I binded value of the field as #{backingBeanScope.LoginPage.pwd} and tried to get value using getPwd() method.
    2. I fetched Ui component of  password inputfield and tried to get value using password.getValue()
    By both ways Iam getting null value in ValueChangeListener event of Confirmpassword.
    After clicking a button on the page , as usual the setters, ValueChangeListeners are executing and during this sequence..Iam getting value . But my scenario is this validation should be performed bu tabbing out of the field , not after clicking on a button .
    autoSubmit property is set to true.
    Kindly suggest me to proceed further. Thanks in advance.
    Regards
    Alekhya

  • Oracle Alert: Access before and after update values of a table column

    We have a requirement where a notification needs to be sent when 'END_DATE' attribute (column in a table X) is set, in an Oracle Applications form.
    I have defined an Event based Oracle Alert which fires 'On Update' of the table X.
    Could anyone please let me know as how to access the value of 'END_DATE' before and after update (i.e :new.END_DATE and :old.END_DATE) in the sql query of the alert.
    The need to use the before update and after update values of the attribute 'END_DATE' is that if we add the condition END_DATE is not null, the alert is sent even if any other attrbutes are updated in the Oracle form which is not the intended behavior.
    Appreciate any help.
    Thanks

    Hi
    use selectionlistener for your first table then add clientlistener and serverlistener so that you will get the rows on click in back bean.
    then get second table vo and and create and add row for that view object. add partial target to refresh your second table from back bean.
    on click of save call commit operation.

  • Update values of custom fields in table HRPAD506-Additional Data for PAD506

    Hi Experts,
    my requirement is write a report program to upload a file with records.
    I have to capture this records into an internal table and have to update values of 5 custom fields based on ADATANR.
    Can anyone suggest me about any FM or any way of doing this.
    Urgent requirement.
    Will HRIQ_RFC_BOOKING_CHANGE help.
    thankx.
    Duttad.

    hi,
    Above mentioned that when the values are entered in the customised fields they are not updating in the to the table mara.
    so, the program name and screen number which you are configuring in the spro, in that program name and in that screen number code it as below:
    (you could find the field statements in that screen for the standard fields like FIELD MARA-MEINS.)
    for example:
    PROCESS BEFORE OUTPUT.
           PROCESS AFTER INPUT.
          FIELD MARA-zzfieldname.
    Refer the oss note : 38229
    Thanks and regards.

  • How to update value in internal table from cdpos taking fname n value_new?

    hello everyone,
              i want to insert  value in internal table from cdpos table taking field name  from fname and value from value_new.but the problem is i am not getting how to map the corresponding field of internal table with fname value  which is the field name.
    for example
    i
    fieldname
    value
    name1
    raj
    name2
    sharma
    i want to update field name1. this name1 is there in fname with updated value in value_new  how to make name1 with fname value
    thanks and regards
    laxmikant soni

    Hi Laxmikant,
    If I have understood your requirement correctly, you need to update an internal table with latest 'value_new' from cdpos table where  'fname' = 'fieldname' .
    Hope the below logic will help you:
    FIELD-SYMBOLS: <wa_intab> LIKE LINE OF lt_intab.  "the internal table you want to change
    LOOP AT lt_intab ASSIGNING <wa_intab> .
       READ TABLE lt_cdpos INTO wa_cdpos           "lt_cdpos contains latest data selected from CDPOS
        WITH KEY fname = <wa_intab>-fieldname.
       IF sy-subrc = 0.
         <wa_intab>-value = wa_cdpos-value_new.    
       ELSE.
         "//logic if the name is not there in CDPOS
       ENDIF.
       CLEAR  wa_cdpos.
    ENDLOOP.
    If you wish to improve performance, I suggest using
    1. "transporting value_new" addition in READ TABLE,
    2.  select only the data which you require from CDPOS,
    3.  create the internal tables with only fields which you require,
    4.  when you are using SELECT,LOOP AT statements, limit records by using WHERE condition
    Regards,
    Kavya

  • After refreshing browser .as file loss updated value

    Hi Friend's
    1.
    I have some problem in flex. I have two .mxml file and one
    .as file when i change value of a variable which i declared in .as
    file from one .mxml file and getting in other .mxml file it
    displaying default value not that value what i changed in one .mxml
    file .
    what is problem with that can anybody help me
    2.
    Suppose i have first.mxml file and one .as file and i change
    property .as file from first.mxml file after changing i click on
    refresh button of browser then it get default value but i want
    updated value is there any option in flex to fix this issue or give
    me any Suggestion.
    thanks in adv

    refreshing browser, reloads flashplayer and flash application
    it is running, so all variables will be reset,

  • My Sites "Updating values in this field is disabled temporarily"

    Managed metadata is configured and I am able to access and add terms, etc. I am able to go to the User Profile Service in Central Admin and update the managed metadata fields such as "Ask Me About", "Past Projects", "Skills",
    etc. However, when I go to the My Site host and try to edit my profile there, I get the error:
    There was a problem retrieving data for this field. Updating values in this field is disabled temporarily. You can still update values in other fields.
    Managed Metadata Service is available:
    I am able to go to the Managed Metadata service in Central Admin, add terms, etc.
    Service Connection settings:
    Checked - This service application is the default storage location for Keywords
    Checked - This service application is the default storage location for column specific term sets
    Editing profile from My Site host:
    Ask me About: There was a problem retrieving data for this field. Updating values in this field is disabled temporarily. You can still update values in other fields.
    Edit the same profile in Central Admin works fine:
    Ask Me About: No error, able to add data.
    All the solutions for this error that I have been able to find are not working, but they are for when the managed metadata service is inaccessible, or the fields cannot be updated in Central Admin either. I've recreated both the User Profile
    service and the Managed Metadata service. Any ideas?
    Thanks

    Hi tammylj,
    Based on your description, you should use the different service accounts for your CA web application and MySite host site web application, since "Ask Me About" is working for CA but not for MySite host site, the service account for MySite may not read
    and write managed metadata term store.
    please check and make sure your MySite web application service account is added in the Managed Metadata service application with permission "Read Access to Term Store" and "Read and Restricted Write Access to Term Store", then it should work.
    http://james-brennan.co.uk/2011/10/19/failed-background-check-when-the-managed-metadata-service-says-no/
    Thanks
    Daniel Yang
    TechNet Community Support

  • Jsf page not getting refreshed with updated values?

    Hi All,
    - managed-bean - session scope.
    - On a request, Even though, I am updating the bean's properties(values), my Jsf page is not getting refreshed with updated values as it is displaying the older values.
    Can anybody throw some light?
    Thanks in advance.
    - Sri

    Please try to give us more information, follow BalusC suggestion.
    For this moment I only can say you that the more common cause to this problem (in my expirence) is that you have problems with your conversion/validate phase.

  • Update value in database(access-connectivity toolset )

    Hello,
    I am using the database connectivity toolset and I am trying to change values of an existing database.
    I used the "Update" command but i got an ERROR!!!.
    "Exception occured in Microsoft JET Database Engine, Syntax error in UPDATE statement..  in Conn Execute.vi->...."????
    What to do???
    Regard's
    Eyal.
    Attachments:
    update value.jpg ‏23 KB

    Hi
    The shearch statement (after Where) shud be anather field than the field you are trying to change.
    I am using defoult value on cursor type with sucsess.
    I hope this will help you
    Rune

  • BAPI to update value of Progress Tab under Network Activity in CJ20n

    Hi  all,
    can anybody tell me about a BAPI that insert or update value of Progress Tab under Network Activity in Project System(CJ20n)?
    Thanks in advance.
    Regards.
    Sarbajit.

    Hey Sarbajit Majumdar , you'r try this BAPI .
            CALL FUNCTION 'BAPI_PROJECT_MAINTAIN'
              EXPORTING
                I_PROJECT_DEFINITION       = LT_PROJ_DEF
                I_PROJECT_DEFINITION_UPD   = LT_PROJ_DEF_UP
              IMPORTING
                RETURN                     = LT_RETURN_MAINTAIN
              TABLES
                I_METHOD_PROJECT           = LT_METHOD
                I_WBS_ELEMENT_TABLE_UPDATE = LT_WBS_UP
                I_WBS_ELEMENT_TABLE        = LT_WBS
                I_NETWORK                  = LT_NETWORK
                I_NETWORK_UPDATE           = LT_NETWORK_UP
                I_ACTIVITY                 = LT_ACTIVITY
                I_ACTIVITY_UPDATE          = LT_ACTIVITY_UP
                E_MESSAGE_TABLE            = LT_METH_MESSAGE.
    I hope this help you .
    Akkadech.T

  • Webdynpro abap-method for saving updated values in new database table

    Hi Experts,
    I am creating an ALV  application in weddynpro abap where i have given update button to update fields & save button to save values in mastertable,but whenever i am updating & saving ,it will overwrit previous values. For this,I need  to create a separate method to save the updated values of the fields in a new database table.
    Looking forward for solutions.
    Thank You!

    becuase of the below statement u r getting the error
    insert into ZTAB_CS_ISSSAL values Item_Dates.
    u declared the field Item_Dates as Stru_Issuesal-DATES
    and u were trying to inesrting the record in the table ZTAB_CS_ISSSAL with the field Item_Dates
    the error is related to the compatible.
    so declare work area for updating the table should be of type ZTAB_CS_ISSSAL.

  • How to populate formbean with ONLY updated values?

    Is there a way to populate the formbean with ONLY updated values in Java Struts?
    Ex: Out of 50 fields displayed on GUI, If lets say user modifies 20 fields, I need to capture only those 20 fields into the form bean.
    The reason i am looking for such function is to avoid the overhead of updating all the 50 fields into the database everytime even if one field is modified.

    Normally, you update the entire record if one of the fields is changed. However, if you display more than one record, only those records have have changed should be updated. The reason you dont update all records is because if the performance hit on updating records that didn't change, among other things (see optimistic conurrency topic at http://msdn.microsoft.com/en-us/library/bb399373.aspx)
    I don't think you should bother coding to only capture those fields that have changed in one record. It complicates your code and makes it difficult to read. Also, performance gain on not reading unchanged fields is offset by performance loss on the logic to manage such a task. Also, your update sql statement will be overly complicated and will have to be dynamically built rather than a single simple update sql statement that updates all fields.

Maybe you are looking for

  • Server 2012 std not able to see Domain, DC and DNS on Win SBS 2008 std Domain

    Hi There I have a HP ML 110 G5 SBS 2008 std server as my DC on my network. I recently added a HP Microserver running Server 2012 std (with no roles or features installed) to act solely as a file server for a 3rd party program as the program was not r

  • MacBook Pro to iMac--Extended Desktop

    I work primarily on my MacBook Pro. I have an iMac (24" display-2.4GHz Intel Core 2 Duo) at work that I would like to connect to the MacBook Pro to create an extended desktop b/n the two. Just to be sure, I'd like to know what adaptors/connectors I n

  • How to create a Lion Boot Disc?

    Hi there, When Lion was release I updated from the App Store. I recently had to Repair my HDD using Disc Utilities and DU wanted me to boot from an install disc . . . guess what . . . no install disc. (Well I do have my Leopard install disc) How does

  • Trouble deleting songs from iPod Shuffle, 2nd generation

    I have a 2nd generation iPod Shuffle. I have songs on my iPod I want to delete. These particular songs no do not show on my playlist on iTunes. How do I delete them from my actual iPod? I have tried in vain to do so. Thanks so much.

  • SUS Invoice

    Dear SRM Experts, I am new to Classic Scenario and new to the process of creating invoice entries in SUS. I have read that invoice entries may be created in reference to Goods Receipt. My question is, can the supplier create invoice entries with an a