Modify or Update Attributes of a Node of an ALV

Hi,
i have an alv and a popup window which is opened on on_click event of alv. i'm changing the values of clicked row and i'm updating database table from new values but changed values of alv is not updated from node so they are not changed in alv.
i want to refresh my alv so i must modify my node,
How can i modify and bind my node with new values?
Thanks.

Hi Nurullah,
Create a supply function for the node which you are using for binding to your ALV. Now when the user enters the new set of data in the popup and saves it into the database call the INVALIDATE method up on the context node. This will result in all the contextual data getting invalid & would re-call your supply function. Your supply function would then fetch the new modified set of values from the database & display them on your ALV. Hope this helps resolve your problem.
Regards,
Uday

Similar Messages

  • [svn] 4241: A collection of minor fixes for FXG transcoding to SWF: matrix attribute name correction; allowing for 0x prefix for hexadecimal colors; allowing for an id attribute on FXG nodes; fixing blur filter quality encoding; fixing the order in which

    Revision: 4241
    Author: [email protected]
    Date: 2008-12-05 11:00:45 -0800 (Fri, 05 Dec 2008)
    Log Message:
    A collection of minor fixes for FXG transcoding to SWF: matrix attribute name correction; allowing for 0x prefix for hexadecimal colors; allowing for an id attribute on FXG nodes; fixing blur filter quality encoding; fixing the order in which bevel filter colors are encoding - the SWF specification appears to have the wrong order specified; updating SwfxPrinter to display a linestyle's fillstyle (if present).
    Temporarily removing generated id attribute emitted in FXG to SWF optimization as this attribute is not present in the AS impl.
    Also updating compiler error base types to allow a rootcause to be specified for additional detail to a compiler message exception.
    QE: No
    Doc: No
    Checkintests: Pass
    Reviewer: Discussed compiler base error change with Paul.
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerException.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/EmbedEvaluator.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/util/CompilerMessage.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/fxg/FXGConstants.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/fxg/dom/AbstractFXGNode.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/fxg/dom/TextGraphicNode.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/fxg/swf/AbstractFXGGraphics.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/swf/TagDecoder.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/swf/TagEncoder.java
    flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tools/SwfxPrinter.java

  • Script to modify the location attribute in an existing subnet registered on AD sites

    Could anyone help me to make an script to modify the location attribute in an existing subnet registered on AD sites and services.
    Using the script to create subnet, like this one below, occurs error because the subnet already exist:
     Set objRootDSE = GetObject("LDAP://RootDSE")
      strConfigurationNC = objRootDSE.Get("configurationNamingContext")
      strSiteObjectDN = strSiteObjectRDN & ",cn=Sites," & strConfigurationNC
      strSubnetsContainer = "LDAP://cn=Subnets,cn=Sites," & strConfigurationNC
      '-- Create Subnet --
      Set objSubnetsContainer = GetObject(strSubnetsContainer)
      Set objSubnet = objSubnetsContainer.***MODIFY/UPDATE***("subnet", strSubnetRDN)
      objSubnet.Put "siteObject", strSiteObjectDN
      objSubnet.Put "description", strDescription
      objSubnet.Put "location", strLocation
      objSubnet.SetInfo
    Thanks,

    Just get the subnet by name:
    subnet = "192.168.1.0\/24"
    Set objRootDSE = GetObject("LDAP://RootDSE")
    strConfigurationNC = objRootDSE.Get("configurationNamingContext")
    strSiteObjectDN = strSiteObjectRDN & ",cn=Sites," & strConfigurationNC
    strSubnet = "LDAP://CN=" & subnet & ",cn=Subnets,cn=Sites," & strConfigurationNC
    Set objSubnet = GetObject(strSubnet)
    objSubnet.Put "description", strDescription
    objSubnet.Put "location", strLocation
    objSubnet.SetInfo
    ¯\_(ツ)_/¯

  • Can't modify user's attributes by the Delegated Administrator

    Hi, I've installed the JES05Q1 on Sun Fire V480. The components are Directory Server�AAccess Manager�APortal Server�AMessaging Server�AWeb Server�ADelegated Administrator. After I adding a user by DA,assigning a service package to the user, I can use it to logon the web mail and sending mail.But I can't modify it's attributes using DA. It said �goperation failed" . I found the error message "Error during user update: Service not assigned" in the log file of DA ,

    there are no operation failed message:
    [05/Aug/2005:10:12:12 +0800] conn=8159 op=1889 msgId=2474 - SRCH base="o=teamsun.com.cn,dc=teamsun,dc=com,dc=c
    n" scope=2 filter="(&(&(uid=testmail8)(&(objectClass=inetOrgPerson)(!(inetUserStatus=deleted))))(&(uid=testmai
    l8)))" attrs="departmentNumber objectClass psIncludeInGAB title givenName mailUserStatus mailForwardingAddress
    dn inetCOS postOfficeBox mailHost telephoneNumber street uid preferredLanguage postalCode mail l sn cn mailDe
    liveryOption facsimileTelephoneNumber mailEquivalentAddress inetSubscriberAccountId description mailAlternateA
    ddress st objectClass" authzid="dn:uid=admin,ou=people,o=teamsun.com.cn,dc=teamsun,dc=com,dc=cn"
    [05/Aug/2005:10:12:12 +0800] conn=8159 op=1889 msgId=2474 - RESULT err=0 tag=101 nentries=1 etime=0
    [05/Aug/2005:10:12:12 +0800] conn=8159 op=1890 msgId=2475 - SRCH base="o=teamsun.com.cn,dc=teamsun,dc=com,dc=c
    n" scope=0 filter="(|(objectClass=*)(objectClass=ldapsubentry))" attrs="sunRegisteredServiceName" authzid="dn:
    cn=dsameuser,ou=DSAME Users,dc=teamsun,dc=com,dc=cn"
    [05/Aug/2005:10:12:12 +0800] conn=8159 op=1890 msgId=2475 - RESULT err=0 tag=101 nentries=1 etime=0
    [05/Aug/2005:10:12:12 +0800] conn=8159 op=1891 msgId=2476 - SRCH base="o=teamsun.com.cn,dc=teamsun,dc=com,dc=c
    n" scope=0 filter="(|(objectClass=*)(objectClass=ldapsubentry))" attrs="sunRegisteredServiceName" authzid="dn:
    cn=dsameuser,ou=DSAME Users,dc=teamsun,dc=com,dc=cn"
    [05/Aug/2005:10:12:12 +0800] conn=8159 op=1891 msgId=2476 - RESULT err=0 tag=101 nentries=1 etime=0
    [05/Aug/2005:10:12:12 +0800] conn=8159 op=1892 msgId=2477 - SRCH base="o=teamsun.com.cn,dc=teamsun,dc=com,dc=c
    n" scope=2 filter="(&(&(uid=testmail8)(&(objectClass=inetOrgPerson)(!(inetUserStatus=deleted))))(&(uid=testmai
    l8)))" attrs="departmentNumber objectClass psIncludeInGAB title givenName mailUserStatus mailForwardingAddress
    dn inetCOS postOfficeBox mailHost telephoneNumber street uid preferredLanguage postalCode mail l sn cn mailDe
    liveryOption facsimileTelephoneNumber mailEquivalentAddress inetSubscriberAccountId description mailAlternateA
    ddress st objectClass" authzid="dn:uid=admin,ou=people,o=teamsun.com.cn,dc=teamsun,dc=com,dc=cn"
    [05/Aug/2005:10:12:12 +0800] conn=8159 op=1892 msgId=2477 - RESULT err=0 tag=101 nentries=1 etime=0

  • Simple question, updating attributes

    Hello,
    I have simple question. When I update attributes using ActiveSync. I have to submit created events in poll method (resp. processUpdates method). How does the update works, do I have to specify all the attributes or just those which are beeing updated?????
    Thank you a lot for answering or leading me where to find answer.
    Martin

    In documenation there is:
    Updating the Identity Manager Repository
    When an update is received, the adapter uses the IAPI classes, notably IAPIFactory to:
    * Collect the changed attributes
    * Map the changes to a unique Identity Manager object.
    * Update that object with the changed information
    Mapping the Changes to the Identity Manager Object
    Using the Active Sync event parameter configurator for the resource, IAPIFactory.getIAPI constructs an IAPI object, either IAPIUser or IAPIProcess from a map of changed attributes. If an exclusion rule (iapi_create, iapi_delete, or iapi_update) is configured for the resource, IAPIFactory checks if the account is excluded. If a non-null object is created and returned by the Factory, the adapter can modify the IAPI object (for example, by adding a logger), then submits it.
    When the object is submitted, the form associated with the resource is expanded with the object view before the view is checked in. For details on forms and views, see the chapters titled Identity Manager Forms and Identity Manager Views.
    In SkeletonActiveSyncResourceAdapter, this process is handled in the buildEvent and processUpdates methods.
    ... which looks like not all attributes have to be specified but is there any example how object userMap which is passes to event creator looks like?????
    Martin

  • What is difference between modify and update i am using

    hi
    what is difference between mofify and update
    my requiremen is to have three condition checkec while mofifying or updating from a internal table
    the three fields are
    cus no
    status
    date these all are primary key in the database table
    so which sould i use modify or update
    there might be entry already existing in database table or new entry to be created if already existin it should check on the primary keys and updatat if not it should add a record
    pls suggest whihc to use and how to implement the check on teh threee primary key
    like if modify ztable from table it_test
    now where condition ? can be used or not with modify? and if yes how
    if not should i use update will update create a new entry if no entry is there and please give syntex
    regards
    Arora

    Hi Nishant Arora,
    Modify: It works in performing two actions.
    They are: Insert + Update.
    For Example If a record that is exited in database, so you are modifying that record, it updates that particular record.
    Similarly, If the is not existed in the database, you are modifying it, it inserts a new record.
    Update: Update means just it updates the status, I mean it only updates the record. It doesn't inserts any new record if that particular record is not present in the database.
    These are the cases you need to write these statements.
    Syntaxes: :
    Go through this links please.,
    http://help.sap.com/saphelp_nw04/helpdata/en/e7/968aa8b2384dd9835f91e7f8470064/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb35eb358411d1829f0000e829fbfe/content.htm
    Reward points if useful
    Cheers,
    Swamy Kunche
    Edited by: Swamy Kunche on Jun 11, 2008 2:41 PM

  • How can I add an attribute to a node?

    Hi,
    How can I add an attribute to a node of a DOM Document?
    I want to add attribute Maximum="6" for all Grade node as <Grade Maximum="6">.
    Grade is a third level node in my document.
    Thanks

    Hi,
    How can I add an attribute to a node of a DOM
    Document?
    I want to add attribute Maximum="6" for all Grade node
    as <Grade Maximum="6">.
    Grade is a third level node in my document.
    ThanksGet the father of "Grade" elements as an element. Then get all elements named "Grade", and for each one set attribute "Maximum" with value "6". If you read api documentation you will know which methods to use.
    But for helping you in getting the "Grade" parent.
    1) get the root element of the Dom Doc
    2)get the father of the "Grade" father: getElementsBytagName("his name") -> it will return a Node List get the first element casting as Element if there's only one, or elese if not case
    3)the same method in 2 get the "Grade" father
    4)getElementByTagName("Grade") over the "Grade" father -> for each "grade" element on nodelist do whatever you need
    i hope u understood...

  • How to get the name and value of an attribute on a node/element that is not a child

    Hello,
    Can someone shed some wisdom on how I can compare 2 xml nodes for differences.
    My main challenge is I need to use the attributes/values of 'ProductDescription' and 'Features' as 'key' to identify the same node in
    another doc with the same layout, but different content.
    I am having trouble getting the name of the attribute on the node, 'ProductDescription' and 'Features'.  I can only seem to get the node names, but not the attributes on the node.  I need the name, because it can be different from doc to doc, so
    I can't hardcode this.
    Can someone please help with how to retrieve an attribute name/value on a node that is not a child.  Here's an example of what
    my xml looks like:
    DECLARE
    @myDoc1 xml
    ,@mydoc2 xml
    DECLARE
    @ProdID int
    SET @myDoc1 ='<ProductDescription ProductID="1" ProductName="Road Bike">
    <Features  featureID  = "1" featureName = "body">
      <Warranty>1 year parts and labor</Warranty>
      <Maintenance>3 year parts and labor extended maintenance is available</Maintenance>
    </Features>
    <features featureID = "2" featureName = "seat">
      <Warranty>1 year parts and labor</Warranty>
      <Maintenance>2 year parts and labor extended maintenance is available</Maintenance>
    </Features>
    </ProductDescription>
    SET @myDoc2 ='<ProductDescription ProductID="1" ProductName="Road Bike">
    <Features  featureID  = "1" featureName = "body">
      <Warranty>2 year parts and labor</Warranty>
      <Maintenance>3 year parts and labor extended maintenance is available</Maintenance>
    </Features>
    <features featureID = "2" featureName = "wheel">
      <Warranty>1 year parts and labor</Warranty>
      <Maintenance>2 year parts and labor extended maintenance is available</Maintenance>
    </Features>
    </ProductDescription>
    I need to compare the attributes of 'ProductDescription' and 'Features' from @mydoc1 against @mydoc2 to see if they are the same based on those 2 nodes first.  If they are, then i want to show the difference in the child elements. 
    This will eventually be an outer join to give me the differences betw the 2 docs based on those key values (node attributes).
    I used node('//*') for the path, and value('local-name(../.)', 'varchar(50)') as element
    ,value('.[not(@xsi:nil = "true")]','VARCHAR(255)') AS new_value
    ...etc...
    but that only gives me the node names, and the child elements.  It does not give me back the attribute names and values from the node itself.
    Thanks in advance for your help.
    cee

    Are you looking for something like this:
    DECLARE @myDoc1 xml
    SET @myDoc1 ='<ProductDescription ProductID="1" ProductName="Road Bike">
    <Features  featureID  = "1" featureName = "body">
      <Warranty>1 year parts and labor</Warranty>
      <Maintenance>3 year parts and labor extended maintenance is available</Maintenance>
    </Features>
    <Features featureID = "2" featureName = "seat">
      <Warranty>1 year parts and labor</Warranty>
      <Maintenance>2 year parts and labor extended maintenance is available</Maintenance>
    </Features>
    </ProductDescription>'
    SELECT T.c.value('local-name(.)', 'nvarchar(50)') AS name,
           T.c.value('.', 'nvarchar(50)')  AS value
    FROM   @myDoc1.nodes('ProductDescription/@*') AS T(c)
    Erland Sommarskog, SQL Server MVP, [email protected]

  • How to access multiple attributes of a node at the same time in XML AS3

         <chapter id="1" title="">
         <screen title="lesson">
         <swf>EXCEL/CH01/CH01_S01.swf</swf>
         <ltitle>Chapter 1</ltitle>
         <rtitle>Setting Up a Workbook</rtitle>
         <prompt>Choose a lesson</prompt>
         </screen>
         <screen title="lesson" tasks="3">
         <swf>EXCEL/CH01/CH01_S02.swf</swf>
         <ltitle>Chapter 1</ltitle>
         <rtitle>Setting Up a Workbook</rtitle>
         <prompt>Click Next to continue</prompt>
         </screen>
    I have 2 attributes of screen node which are title and tasks.
    how can I access these 2 attributes at the same time in AS3
    Is that correct:
    excel.chapter.screen.(@title == "lesson").@tasks
    Thanks alot in advance.

    var excel:XML = <data>
    <chapter id="1" title=""> 
      <screen title="lesson" tasks="">
       <swf>EXCEL/CH01/CH01_S01.swf</swf>
       <ltitle>Chapter 1</ltitle>
       <rtitle>Setting Up a Workbook</rtitle>
       <prompt>Choose a lesson</prompt>
      </screen>
      <screen title="lesson" tasks="3">
       <swf>EXCEL/CH01/CH01_S02.swf</swf>
       <ltitle>Chapter 1</ltitle>
       <rtitle>Setting Up a Workbook</rtitle>
       <prompt>Click Next to continue</prompt>
      </screen>
    </chapter>
    </data>;
    trace(excel.chapter.screen.(@title == "lesson" && @tasks == "3").toXMLString());
    Note that for this to work (and not throw an error) every screen node needs a tasks attribute.
    In your sample code, the first screen node did not have a tasks attribute, in which case an error is thrown when using @tasks == "3"

  • How can i read Attributes from a Node

    Hi,
    I want to write parser to read my configuration file.
    here is my XML file:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!-- DOCTYPE Xportal SYSTEM ".\dtd\relation_config.DTD" -->
    <root>
    <value>25</value>
    <group type="Content Relation" color="255, 255, 255" active="1">
         <relationtype> DBNode - Document </relationtype>
    </group>
    <group type="Organisation Relation" color="255, 255, 255" active="1">
         <relationtype> Catalog - Document </relationtype>
         <relationtype> Documentversion - Documentvariant</relationtype>
    </group>
    <group type="Rights Relation" color="255, 255, 255" active="1">
         <relationtype> Catalog - Usergroup</relationtype>
         <relationtype> User - Usergroup </relationtype>
         <relationtype> User - Catalog </relationtype>
         <relationtype> Usergroup - Document </relationtype>
    </group>
    <group type="Desktop Organisation Relation" color="255, 255, 255" active="1">
         <relationtype> MatrixFolder - Document </relationtype>
    </group>
    <group type="System Organisation Relation" color="255, 255, 255" active="1">
         <relationtype> User - Session </relationtype>
    </group>
    <group type="Links Relation" color="255, 255, 255" active="1">
         <relationtype> DBNode - Linkimpl. </relationtype>
         <relationtype> Document - HyperlinkImpl. </relationtype>
         <relationtype> Document - Linkendimpl. </relationtype>
         <relationtype> Variante - Linkendimpl. </relationtype>
         <relationtype> Version - LinkendImpl. </relationtype>
         <relationtype> (ParentDB) - LinkendImpl. </relationtype>
    </group>
    <group type="Matrix Relation" color="255, 255, 255" active="1">
         <relationtype> Bla </relationtype>
         <relationtype> Blalbla </relationtype>
    </group>
    </root>
    and here my program:
    public class RelConfigReader {
    // c'tor
    public RelConfigReader() {}
    public void readConfig() {
    try {
    // Erstellen von DocumentBuilder
    DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
    DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
    Document doc = docBuilder.parse(new File("relation_config.xml"));
    // normalize text representation
    doc.getDocumentElement().normalize();
    System.out.println("Root element of document is: " + doc.getDocumentElement().getNodeName());
    // Auslesen der Anzahl der Gruppen
    NodeList listOfGroups = doc.getElementsByTagName("group");
    int totalGroups = listOfGroups.getLength();
    System.out.println("Number of Groups : " + totalGroups);
    for (int s = 0; s < totalGroups; s++) {
    Node groupNode = listOfGroups.item(s);
    if (groupNode.getNodeType() == Node.ELEMENT_NODE) {
    System.out.println("Group " + s + ":");
    Element groupElement = (Element) groupNode;
    // Auslesen von Relation Typen
    NodeList relationTypList = groupElement.getElementsByTagName("relationtype");
    for (int i = 0; i < relationTypList.getLength(); i++) {
    Element relElement = (Element) relationTypList.item(i);
    NodeList textRelList = relElement.getChildNodes();
    System.out.println("Relationtype : " + ( (Node) textRelList.item(0)).getNodeValue().trim());
    catch (SAXParseException err) {
    System.out.println("** Parsing error" + ", line " + err.getLineNumber() + ", uri " + err.getSystemId());
    System.out.println(" " + err.getMessage());
    catch (SAXException e) {
    Exception x = e.getException();
    ( (x == null) ? e : x).printStackTrace();
    catch (Throwable t) {
    t.printStackTrace();
    now to my question. I have the <group> node with type, color and active as attribute of this node. Now i want to read this attributes but I don't know how I can do this. Please help me. Thx for any solution.

    I have the solution! Thx

  • Workflow fo returned sales order modified from updating the billing block t

    please tell me how to find returned sales order modified from updating the billing block to delivery block and how to create blocks here.i want to know updating means what is happening here.

    Thread locked.
    Beginner questions are very welcome, but your question makes it obvious that you didn't even bother looking at the help or searching on SDN.
    Please read the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] on how to post a good question and make a little effort yourself before expecting people to give up their time to help you.

  • When does Date Modified field update in cmc  XI3.1

    In CMC > users and groups
    there is a Date Modified field, When does it update? Is there any document describe that?
    For example
    I have test that when I edit a user's properties the Date Modified fields update.
    When a user log onto CMC, some time the logon times is update as Date Modified
    some times is not? Why does this happen?

    Hello,
      If you update the the properties of the group or the user then the last modified date will change to the current date/time.  What kind of user do you have, Enterprise, Windows NT, Windows Active Directory or LDAP.  Sometimes a user doesn't exist until they actually log on to the CMS then their Last Modified date would change.  Have you consistantly seen this happen with a specific user, if so can you reproduce this on demand.
    Jorge

  • How can i control which iView gets updated when a nav node gets clicked?

    Hello,
    Following setting: the content area of the desktop inner page inside the default frameworkpage usually consist of just one iView.
    But what happens when there are 3 iViews inside? How do i have to call the pageloader which of the 3 iViews should get updated when a nav node of the detailed navigation is clicked?
    Thanx

    Hi
    Since you will be using the Merger Id property, they will be linked to a single link in navigational area.
    Refreshing a page / clicking the link in navigation Pane will result in refreshing of all the iViews.
    Regards
    Chander Kararia
    # Please close the thread once get the correct answer. Give rewards for answers.

  • EPMA Automation - Update Attribute

    I am presently using EPMA 11.1.1.3 and wanted to elicit views on the below :
    Is there an automated way through which the dimension attributes can be updated during the run time. Or can the task of updating Attributes be performed only
    by EPMA Administrator ?
    Thanks in advance !
    navpreet

    I would say it is the task of an administrator to maintain the metadata.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Updating attribute columns

    Hi,
    we are on oracle applications 11i.
    We have a requirement to create a descriptive flexfield in the items form and suppliers form to accept ids generated in another system. update would be from database end.
    what is the impact of updating attribute columns in two tables: MTL_SYSTEM_ITEMS_B and po_vendors with a simple procedure, i.e without using existing Oracle APIs?
    Regards

    Hi,
    here is why i think i need to insert a row the value set table : fnd_flex_values .
    after i update the record of the table and alter attribute field with value XXX for value set segment GLOBAL_ID, I go to the application and query the record. It gives me error:
    Value XXX for the flexfield segment Global ID does not exist in the value set XX_GLOBAL_ID.
    this error only goes away when i insert the value XXX to the descriptive flexfield segment values list.
    I defined the value set as independent. If you have another mean where i can accomplish this, I will like to know about it.
    From ittoolbox forum i had the name of the package, which is fnd_flex_values_pkg. I need more details on the tables that i need to update or insert rows into and about the package; if possible.
    thanks

Maybe you are looking for