Child node attributes do not appear in ABAP WD

Hi,
  I have the following context hierarchy (in ABAP WD):
-Context
---Child_Node_A
Sub_Child_NodeB
AttributeE_of_Sub_Child_NodeB
AttributeF_of_Sub_Child_NodeB
AttributeG_of_Sub_Child_NodeB
Sub_Child_NodeC
AttributeH_of_Sub_Child_NodeC
AttributeI_of_Sub_Child_NodeC
AttributeJ_of_Sub_Child_NodeC
AttributeA_of_Child_Node_A
AttributeB_of_Child_Node_A
AttributeC_of_Child_Node_A
The attributes A, B, C of Child_Node_A are displayed in an ALV grid and the idea is that when the user selects a row in the ALV grid and clicks on a button, a popup is to be shown with additional details of the selected row in the ALV.  In this popup, I have some fields which are mapped to the attributes E, F, G of Sub_Child_NodeB and attributes H, I, J of Sub_Child_NodeC.  But when I show the popup the fields are empty.
I use a supply function in the Component Controller to fill Child_Node_A and its children, so typically when the popup appears I should see the attributes of the Sub_Child_Node B and C which are linked to the lead selection of the ALV grid (i.e.: Child_Node_A), right?
By the way, I have linked Child_Node_A from the Component Controller Context to the Context of my Main View and Popup View.  Also, I checked in the INIT method of my Main view to see if after the supply function has been called the Sub_Child_Nodes attributes were still there for a given lead selection in the ALV grid and they were.  But in my action handler to show the popup window from my Main view, I checked again to see if the Sub_Child_Nodes attributes were still there and they were not.
I hope I was clear enough in my explanation.
Thanks in advance for your help,
Christian

Hi Christian,
We discussed this problem offline, but I would like to give some feedback on what we found out.
(a) Since Child_Node_A had a supply function that also supplied Sub_Child_NodeB and since Sub_Child_NodeB was a singleton, it was not resupplied. The initial element originated from having Sub_Child_NodeB as 1..1 cardinality. In this case the runtime recreates an initial node element upon invalidation of the node.
(b) The second problem might be related to the ALV. As the ALV does not support child nodes being present for the data displayed, the assumption is that Sub_Child_NodeB might have been invalidated once the data was copied back from the ALV to Child_Node_A.
The solution is to have a supply function for Sub_Child_NodeB as well, which will counter any invalidation at any point in time and will restore the original data.
I am curious if (b) is really the cause of the problem described.
Best regards,
Thomas

Similar Messages

  • XML E4X Select nodes based on child node attribute.

    Hey,
    I am trying to make a selection on following XML.
    I want to retrieve a list of the variable node when its child nodes metadata attribute "name" is not equal to "transient". I have read through the documentation but have not been able to solve this and it should be rather simple. So far I have tried with something like.
    var variables:XMLList = classInfo.variable.(metadata.(@name != "transient"));
    var variables:XMLList = classInfo.variable.(metadata.@name != "transient");
    But it returns all variable nodes.
    <type name="com.sca.dataModel::PresentationDataEntity" base="com.sca.dataModel::BaseEntity" isDynamic="false" isFinal="false" isStatic="false">
      <extendsClass type="com.sca.dataModel::BaseEntity"/>
      <extendsClass type="Object"/>
      <variable name="subtitle" type="String">
        <metadata name="__go_to_definition_help">
          <arg key="file" value="/Users/jonas/projects/SCA-CMS/src/com/sca/dataModel/PresentationDataEntity.as"/>
          <arg key="pos" value="128"/>
        </metadata>
      </variable>
      <variable name="id" type="Number">
        <metadata name="__go_to_definition_help">
          <arg key="file" value="/Users/jonas/projects/SCA-CMS/src/com/sca/dataModel/BaseEntity.as"/>
          <arg key="pos" value="153"/>
        </metadata>
      </variable>
      <variable name="tableName" type="String">
        <metadata name="transient"/>
        <metadata name="__go_to_definition_help">
          <arg key="file" value="/Users/jonas/projects/SCA-CMS/src/com/sca/dataModel/BaseEntity.as"/>
          <arg key="pos" value="118"/>
        </metadata>
      </variable>
      <variable name="db_SortAsc" type="Boolean">
        <metadata name="transient"/>
        <metadata name="__go_to_definition_help">
          <arg key="file" value="/Users/jonas/projects/SCA-CMS/src/com/sca/dataModel/BaseEntity.as"/>
          <arg key="pos" value="281"/>
        </metadata>
      </variable>
      <variable name="title" type="String">
        <metadata name="__go_to_definition_help">
          <arg key="file" value="/Users/jonas/projects/SCA-CMS/src/com/sca/dataModel/PresentationDataEntity.as"/>
          <arg key="pos" value="100"/>
        </metadata>
      </variable>
      <method name="setData" declaredBy="com.sca.dataModel::BaseEntity" returnType="*">
        <parameter index="1" type="Object" optional="false"/>
        <metadata name="__go_to_definition_help">
          <arg key="file" value="/Users/jonas/projects/SCA-CMS/src/com/sca/dataModel/BaseEntity.as"/>
          <arg key="pos" value="330"/>
        </metadata>
      </method>
      <metadata name="__go_to_ctor_definition_help">
        <arg key="file" value="/Users/jonas/projects/SCA-CMS/src/com/sca/dataModel/PresentationDataEntity.as"/>
        <arg key="pos" value="167"/>
      </metadata>
      <metadata name="__go_to_definition_help">
        <arg key="file" value="/Users/jonas/projects/SCA-CMS/src/com/sca/dataModel/PresentationDataEntity.as"/>
        <arg key="pos" value="42"/>
      </metadata>
    </type>

    Perfect, that worked!
    Thanks.
    Jonas

  • Merged child project's TOC not appearing in parent project's TOC

    System Information
    Windows XP Professional, SP2
    Windows Explorer 6.0
    RoboHelp X5.0.2
    Generating RoboHelp HTML Help (.chm)
    Issue
    I had the following Help projects:
    1. CombinedProductHelp.chm (parent
    project)
    2. ProductHelp.chm (child 1 project)
    3. ProductBestPracticesHelp.chm (child 2 project)
    The parent project is a very small Help project that is used
    as a place in which to merge the two child projects. I was able to
    add the two child projects to the parent project’s TOC in the
    RoboHelp HTML TOC editor, seemingly without any problem. The
    problem arose when I generated the .chm output for the merged
    projects; upon opening the parent project’s .chm file, I
    discovered that the Child 1 project’s TOC wasn’t
    appearing in the TOC. The Child 2 project’s TOC appeared just
    fine. I was able to retrieve topics from the Child 1 project using
    the Search function and index – I just couldn’t use the
    TOC.
    After a bit of trial and error, I discovered that the problem
    was the result of the file names I had chosen for the Parent
    project (CombinedProductHelp.chm) and the Child 1 project
    (ProductHelp.chm). For some unknown reason, if the ENTIRE file name
    that’s used for a child project is identical to a PART of
    file name that’s used for a parent project, the child
    project’s TOC will not appear in the merged TOC. I've used
    underscores to "right-justify" the problematic file name to more
    clearly illustrate this:
    CombinedProductHelp.chm
    ________ProductHelp.chm
    Resolution
    You can resolve the issue by renaming either file. Any ONE of
    the following examples will resolve the issue:
    * Insert a letter (other than
    “d”) in front of “ProductHelp.chm” (e.g.,
    SProductHelp.chm)
    * Insert a letter between “p” and “.”
    of “ProductHelp.chm” (e.g., ProductHelpS.chm)
    * Insert a letter in the “ProductHelp” portion of
    “CombinedProductHelp.chm” (e.g.,
    CombinedProducXtHelp.chm)
    In the example above, renaming the
    “CombinedProductHelp.chm” to
    “CombinedHelp.chm” resolved the issue; both child
    project TOCs now appear in the parent .chm TOC.

    Tracey,
    Safari might need some of the patches that make WebHelp
    behave better (to some extent, anyway) in Netscape, Firefox and
    Opera for Windows.
    Let's try to pinpoint the problem.
    WebHelp generally loads in this order:
    --Frame outline
    --Main toolbar plain background, then buttons, then the image
    background, if any.
    --The welcome topic
    --The minibar at left-- empty frame, then background and
    icons, if any (browse, synch TOC and hide X)
    --Table of contents background
    --TOC list.
    How far does the Mac browser get when you first launch
    WebHelp?
    If the main topic loads, and it has links to other topics. do
    they work?
    Can you get the Index and search to work?
    Can you hide the left pane and click Contents to show it?
    Still empty?
    Harvey

  • Travel Schema is Not Appearing in ABAP WebDynp Travel Expense Form

    Hi Experts,
    We are using FIN_TRAVEL_1 business function for travel management in EHP2.
    We are implementing ESS/MSS services for Travel management and corresponding workflows are working perfect.
    Problem is:
    Travel Req. and its Approval are working perfect but when we create Travel Expenses for the corresponding Approved
    Req. - Travel Schema is Not Appearing in the ABAP webdynpro screen in ESS.
    We have already activated integration of Travel Requets with Expenses in the customizing and changed the corresponding
    settings in the schema also.
    ABAP WebDyn in ESS is working perfect if we direct create a Stand alone Travel Expense Report. We are using only Travel Req.
    and Expenses with Miles/KM cumulation. We are Not going for Travel Planning.
    Pls. let me know - If any Settings are missings in "Expert View" of Travel Control or any Customizing setting is missing.
    Do we have to apply some note or any BADI is there ??
    Very Thanks in Advance...
    Kind Regards,
    Edwin

    Hi there
    You need to make sure that you have a trip schema that does not allow overlapping when creating expense report from approved travel request, also check the bindings for your trip schema.
    I think I may have addressed this in  an OSS to you earlier but also check you are using correct resource for WDABAP as delivered with 1076144 
    I think is why it previously worked in your java landscape if you had the trip schemas with bindings defined in the homepage framework

  • Attribute does not appear in WEBUI document properties windows

    I've created a classObject using the xml parser of Ifs' WEBUI:
    <?xml version="1.0" standalone="yes"?>
    <ClassObject>
    <Name>ArquivoXsl</Name>
    <Superclass RefType="Name">Document</Superclass>
    <Description>Classe de Teste do arquivo de layout de Faturas</Description>
    <Abstract>false</Abstract>
    <Final>true</Final>
    <Attributes>
         <Attribute>
    <Name>usuarioCadastro</Name>
    <Datatype>String</Datatype>
    <Required>true</Required>
    </Attribute>
         <Attribute>
    <Name>operadora</Name>
    <Datatype>String</Datatype>
    <Required>true</Required>
    </Attribute>
         <Attribute>
    <Name>modeloFatura</Name>
    <Datatype>String</Datatype>
    <Required>true</Required>
    </Attribute>
         <Attribute>
    <Name>dataInicioValidade</Name>
    <Datatype>Long</Datatype>
    <Required>true</Required>
    </Attribute>
         <Attribute>
    <Name>dataFimValidade</Name>
    <Datatype>Long</Datatype>
    <Required>false</Required>
    </Attribute>
    </Attributes>
    </ClassObject>
    After that we've had to update the class with two new attibutes (String, not required) using the iFS Manager. But now, when i select a document (ArquivoXsl) the properties window in WEBUI does not show that attribute.
    is there a bug in the iFS 9.0.1 version.
    If i create a new class with all these attributes, the WEBUI show them all, even they've being null valued.
    Thanks anyone!

    Hi
    Even after making the attributes as nav attribute in Master data they ought to be marked as navigation attribute on the infoprovider on which you are creating the report.
    If the report is based on the cube that uses company code then you need to check it as navigational att in the cube and incase you have a multiprovider at the top of the cube then you again need to check this attribute as navigational in the multiprovider too.
    Thus by making comp_code_zregion as nav att in the master data you will not see it in the report you need to make it as nav in the report as well as multiprovider incase the report is based on multiprovider
    Thanks
    Puneet

  • HELP: Extended Attributes Not Appearing In Instances of Custom Content Type

    From Java code I create a custom content type derived from Document and define some extended attributes with default values for that type. All done using the same methodology shown in the Developer's Guide and Oracle example code.
    I start ifsmgr and I can indeed see the content type and the extended attributes.
    If I however create an instance of this (custom) type, either from the Viewer (file Upload) or from Java code (using code simuilar to createDocument from the Oracle ContentModule example), the extended attributes do not appear!
    BUT, if I delete one of the extended attributes using ifsmgr (highlight one of my extened attributes, click on "Remove", and then "Apply"), from that point on the previously missing extended attributes appear (except for the one I deleted of course) when I create files of the custom type from either Java code or the Viewer. Furthermore, once I get ifs to "see" one of these extended attributes in this manner, I can delete the extended attribute and re-create it from Java at will and it will appear in created instances of my custom content type just fine.
    If however I add another new extended attribute to the custom content type, I have to do the "Remove/Apply" drill in ifsmgr to get this new attribute to appear in created files of my custom type.
    I've tried deleting all instances of the custom type and closing both ifsmgr and the Viewer, but unless I delete one of the extended attributes from ifsmgr I cannot get new extended attributes to appear.
    What do I need to do in my 9ifs Java code to get new custom content extended attributes to appear in instances of that custom type?
    Thank you,
    Jeff "Did Kafka Write ifs?" Rininger

    Dear @user10993347,
    As mentioned by @vinod2303, you need to maintain content relationships along with subscriptions.
    Regards,
    Saurabh

  • Multi value attributes not appearing in the Web UI

    Hello,
    I've created a multi value attribute in the SAP GUI in CRM 2007 which appears correctly against the product. When I transfer this multi value attribute to the web UI, it doesn't appear at all unless you add values against it in the SAP GUI, in which case it appears, but the set type attributes are not editable.
    Any suggestions as to why the attribute is not appearing and what can be done to resolve this?
    Thanks,
    Alison

    Hi,
    I fear I did not completely get your point.
    One thing I noticed some time ago while playing with the marketing attributes is this:
    When you define an attribute that has multiple values, but no fixed values assigned, you are only able to maintain one value for this attribute. Maybe it is this what you are describing?
    The WebClient only adds new lines in the table for the attribute, when a server roundtrip is triggered by selecting a value from the DDLB.
    I do not know if SAP provided a fix for it in the meantime.
    cheers Carsten

  • WSDL Import - Elements not appearing

    Hi,
    Got WSDL from third party and imported into IR as external definition and used as target structure in mapping.
    I can see most of the fields except couple of nodes in which sub elements & attributes are not appearing.
    We are on PI 7.0 SPS 13.
    Apparantly, this WSDL is working fine with PI 7.1(tried on friend's machine).
    Please help.
    MK.

    Hi Mallik,
    As Prateek mentioned, there may be some tags in your wsdl which are not supported by 7.0 but are supported by PI 7.1.
    Check out the below document for the tags suppoprted by PI 7.0 and PI 7.1 respectively.
    For PI 7.0 : https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0abcc5a-1569-2a10-e6b7-8e5d108a995a
    For PI 7.1 : https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40c3a137-1769-2a10-bda9-ad62d508af9c
    Thanks,
    Pooja Pandey

  • Abap mapping: remove a parent or child node.

    Hi all,
    I will trying to remove a parent node (and all childs related to it) or a specific child (field) om my XML input message to obtain a new output message.
    Reading the meaning of the methods remove_node and remove child (if_ixml_node) I can not find a solution in writing the right Abap code.
    My ouput document is so defined:
    data: outcode type ref to if_ixml_node.
    I receive the following error message when I try to find all possibilities.
    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED_NO
    If someone can give me a simple code for solving my issue, I will appreciate this.
    Thanks,
    Regards,
       Giovanni

    Hi,
    this link explain the signature that is how to use all the methods  including the method u want
    [http://help.sap.com/saphelp_nw04/helpdata/en/bb/57669ddca511d4990b00508b6b8b11/frameset.htm]
    and this for complete library for ABAP mapping[http://help.sap.com/saphelp_nw04/helpdata/en/bb/57669ddca511d4990b00508b6b8b11/frameset.htm]
    Thanks and regards,
    Kubra Fatima.

  • Parent node showing in schema when child nodes not present

    I had several folks answer my questions on mapping from a flat file to an EDI 835 schema and I am down to just a couple of issues before I finish up. I have a conditional mapping issue that I have to solve before I can map the rest of the document. I am
    mapping three fields in a single non-repeating line in the flat file to a repeating segment in the 835. Basically I need to create a separate AMT_ClaimSupplementalInformation segment for each field in the flat file line. As you can see in the picture
    below I want to create a AMT_ClaimSupplementalInformation segment for CDISCOUNT, CINELIGIBLE and CALLOWED.
    You can see I have quite a bit of conditional logic attached to the three fields, but I have all three connected via a loop to the AMT_ClaimSupplementalInformation parent. I cannot attach the loop to the parent of the three fields because it only appears
    once in the file. And if I leave the loop out the AMT segments get stacked funny, like this:
    <AMT_ClaimSupplementalInformation>
    AMT1
    AMT1
    AMT2
    AMT2
    </AMT_ClaimSupplementalInformation>
    You can see how they should be stacked in the next pic.
    In some cases however, one of those fields may be blank so I will not need to create a AMT_ClaimSupplementalInformation segment for it. I was able to use some conditional mapping ideas you guys gave me using the Not-Equal and Value Mapping functoids, and
    that works great to keep blank child nodes from being created. However, Since I have a loop attached to the AMT_ClaimSupplementalInformation parent node it still creates an empty parent node even when the child nodes are not created. See the empty parent
    node in the pic below.
    Since looping functoids can only be attached to links I don't know how to make the parent node conditional.
    Any suggestions?
    Thanks.

    Boatseller, thanks for the tip. I did end up going the XSLT direction. It's a bit of a hack, but I'm using the following XSLT to eliminate empty nodes :
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
        <xsl:template match="@*|node()">
            <xsl:if test=". != ''">
                <xsl:copy>
                    <xsl:apply-templates select="@*|node()"/>
                </xsl:copy>
            </xsl:if>
        </xsl:template>
    </xsl:stylesheet>
    I created a new map with the 835 schema on each side. I then created an XSLT file and pointed to it in the Custom XSLT Path property. It seems to work well. I call this map right after my FlatFile_To_835 map.
    I was hoping to use the scripting functoid with inline XSLT in the map so that I didn't have to worry about deploying the XSLT file(just another thing to keep up with in the future), but when I compile it I get the following error:
    The "Scripting" functoid has 1 input parameter(s), but 2 parameter(s) are expected.
    I'm wondering if I'm connecting the schemas incorrectly in the map:
    In any case, I'm past the empty nodes issue for now, which was a big roadblock. Now I have to deal with the CAS segments which are, as you said, a real pain. 
    Thanks for all of your input.

  • How To Display  attributes of Child Node and Parent Node in same view

    Suppose I have two view Carview and CarDetail View...IN Component context I have Parent Node Called Cars and It have its attribute as Price,Warranty,Year and also One Child Node Called as Brand Name Whose attribute are PrimaryBrand and SecondaryBrand..Now If I do Mapping of My First View i.e CarView with Child node of BrandName..and then I Have To Show Whole Detail of Car in CarDetailView.......How Can I Achieve it..

    Hi Vinay,
    You can map the child node and even the paren tnode to the same view if u want to display in the same window..
    If not if ur requirment is to dispaly in the sme view but should not map the child and parent to the Same view then you can take another new view.. and insert 2 view containers and then add the Child view and parent view in that view containers and then Diaplay the newly created view.
    Regards,
    Raju Bonagiri

  • Xpath: get attributes from first child node

    Hi,
    I have some problems by getting the attributes from the first child node, if i try to get child elements everything works fine, but whenever i need the elementvalue from a node with attributes i doesn't return anything.
    The xpath expression works fine if i want to get the element value from all childs, but not when i just want from one of them.
    This one works,
    XPathFactory factory1 = XPathFactory.newInstance();
        XPath xpath = factory1.newXPath();
        xpath.setNamespaceContext(new PersonalNamespaceContext());
        XPathExpression expr
         = xpath.compile("//default:DeviceExchange[1]/default:Status/text()");
       // gets the value of the node picked out
        Object result = expr.evaluate(doc, XPathConstants.NODESET);
        NodeList nodes = (NodeList) result;
        for (int i = 0; i < nodes.getLength(); i++) {
          names[i] = nodes.item(i).getNodeValue();
          String a = names;
    // checks if status is exchanged, if it is sets status to 1
    if (a.length() == 9){
    names[i] = "1"; }
    else{  names[i] = "0";}
    System.out.println(names[i]);This doesn'tXPathFactory factory2 = XPathFactory.newInstance();
    XPath xpath2 = factory2.newXPath();
    xpath2.setNamespaceContext(new PersonalNamespaceContext());
    XPathExpression expr2 = xpath2.compile("//default:DeviceExchange[1]/default:Field[@names='MLPKTID']/text()");
    Object result2 = expr2.evaluate(doc, XPathConstants.NODESET);
    NodeList nodes2 = (NodeList) result2;
    for (int i = 0; i < nodes2.getLength(); i++) {
    names2[i] = nodes2.item(i).getNodeValue();
    System.out.println(names2[i]);}Does anyone have any ideas? I will apreciate all help!
    Edited by: fusen on Oct 25, 2007 1:12 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Sorry, solved myself. Just � typo that that i couldn't detect.

  • Parent Child Node not working

    Hi,
    I have done a application with Tree by NST table .
    The initial screen will contains around 6 fields , the first field (ObjKey) will be displayed. I have stored in one internal table and i i want  to display the child node for correponding objkey,for that child node again im storing in to the same internal table . now when i to expand the child node from the output there was no details coming , i got one empty line thats it .
    I have seen many links available in the forum. but not helpful , please explain

    hi andre .
    i am also facing same problem .......
    my context is like ......
    folder
    | folder_content (recurcive node)
    | file
    | | file attribute
    | folder attribute.
    can u plz tell me about recurcive node .... if have any doc. then plz give the link ....
    thanks .

  • Binding Dropdownbykey to child node's attribute dynamically

    Hi..
    i am creating a child node "CHILD" and attribute attached to it "ATTR" dynamically. Also i create a dynamic dropdownbykey element and trying to attach the ATTR. then i get the following error. zdyn_date is data element with some fixed values. Please let me know as quick as possible.
    <b>"Adapter error in DROPDOWN_BY_KEY "KEY1" of view "ZDYN_DDKEY.MAIN": Context binding for property SELECTED_KEY cannot be resolved: The MAIN.1.CHILD node does not contain any elements"</b>
    METHOD WDDOMODIFYVIEW .
      DATA: LR_ROOT_INFO TYPE REF TO IF_WD_CONTEXT_NODE_INFO,
            LR_CHILD_INFO TYPE REF TO IF_WD_CONTEXT_NODE_INFO,
            cl_des type REF TO CL_ABAP_ELEMDESCR,
    ATTR_INFO TYPE WDR_CONTEXT_ATTRIBUTE_INFO.
      LR_ROOT_INFO = WD_CONTEXT->GET_NODE_INFO( ).
    CALL METHOD lr_root_info->ADD_NEW_CHILD_NODE
          EXPORTING
            NAME                         = 'CHILD'
          RECEIVING
            CHILD_NODE_INFO              = lr_child_info.
      ATTR_INFO-NAME = 'ATTR'.
      ATTR_INFO-TYPE_NAME = 'ZDYN_DATE'.
      CALL METHOD lr_child_info->ADD_ATTRIBUTE
        EXPORTING
          ATTRIBUTE_INFO = ATTR_INFO.
      DATA: LR_ROOT_CONTAINER TYPE REF TO CL_WD_TRANSPARENT_CONTAINER,
            LE_DD_KEY1 TYPE REF TO CL_WD_DROPDOWN_BY_KEY.
      LR_ROOT_CONTAINER ?= VIEW->GET_ELEMENT( 'ROOTUIELEMENTCONTAINER' ).
      CALL METHOD CL_WD_DROPDOWN_BY_KEY=>NEW_DROPDOWN_BY_KEY
        EXPORTING
          BIND_SELECTED_KEY      = 'CHILD.ATTR'
          ID                     = 'KEY1'
        RECEIVING
          CONTROL                = LE_DD_KEY1. .
      CALL METHOD CL_WD_MATRIX_LAYOUT=>NEW_MATRIX_LAYOUT
        EXPORTING
          CONTAINER = LR_ROOT_CONTAINER.
      CALL METHOD CL_WD_MATRIX_HEAD_DATA=>NEW_MATRIX_HEAD_DATA
        EXPORTING
          ELEMENT = LE_DD_KEY1.
      CALL METHOD LR_ROOT_CONTAINER->ADD_CHILD
        EXPORTING
        INDEX     =
          THE_CHILD = LE_DD_KEY1.
    ENDMETHOD.

    Hi ,
    can u try to create the node and its attribute in some other method..like in some action or in WDDOINIT instead of wddomodifyview .bcoz its recommended not to modify the data of node in wddomodifyview ..
    hope it will solve ur problem .
    Regards
    Yash

  • Hierarchy Child Node Insert using ABAP Program

    Hi,
    Requirement is to add  one more child node to an existing child Node for available Custom Cost Center Hierarchy (in BI environment). To meet this requirement,  ABAP Code  is best solution- CMOD-Exit EXIT_SAPLRSAP_004 (ZXRSAU04).
    Is there any Function modules available for inserting Hierarchy Node. I have gone to "How to Download A Hierarchy to a Flat File.pdf" document.
    Any Sample Codes or any documents (on the above mentioned topic) or suggestions to achieve the result is highly appreciated.
    Regards,
    Sanni

    Any chance you could share what you did here?
    I am looking to read values from a hierarchy using ABAP, and am not sure where to start. Is there a standard table where hierarchy information is stored, or are custom tables created per hierarchy created?
    Cheers,
    Andrew

Maybe you are looking for

  • Does no one know how to help me with this? (was not user friendly)

    Not user friendly Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email to a Friend Report Inappropriate Content I have had my Blackberry Curve since last spring and still do not find it user friendly.  The online guide s

  • Call rfc sender adapter from non-sap systems

    Hi, is ist possible to connect to an rfc sender adapter from non-sap systems? I want to use the the RFC-Connector from http://rfcconnector.com, but in the client connect options there is no way to specify the program id. Best regards, Daniel

  • Why does my App store just have question marks where pictures should be?

    Why does my App Store just have question Marks where the picture of the app should be

  • Cumulative per year

    Hello all, How can I ensure that my key figure is cumulated only per fiscal year? Thus, now I have: January 2006            - 8.850.678 February 2006          - 17.449.955 March 2006              - 25.914.014 April 2006                 - 32.849.374 M

  • How can I print from Firefox using my Epson Workforce 610 printer?

    I call technical support at Epson regarding my Workforce 610 printer because I'd tried to print out an e-mail using my Mozilla FireFox web browser. During the conversation with Epson technical support I learned that my printer does in fact work and w