Dynamic mapping

Hi,
how to make dynamic mapping?
Is it possible to make mapping at runtime?
Thanks a lot.
Regards,
Jorge Luiz

Hello,
Please see these:
[Dynamic Context Creation, Mapping, and Data Binding|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6fdae690-0201-0010-a580-d104b459cb44]
[Web Dynpro ABAP: Dynamic Context Creation, Mapping, and Data Binding|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/201ddd3b-b4ce-2b10-8883-880ae8147f89]
Regards

Similar Messages

  • RE: Dynamically mapping data to widgets

    One quick and dirty solution would be something like this (though not
    terribly efficient):
    newPanel : Panel;
    newPanel = <panelCreatedFromWindowWorkshop>.Clone(deep = TRUE);for childWidget in newPanel.children do
    -- check if the childWidget field name matches field name to be
    set
    if childWidget.name.isEqual(source=<..FieldNameToSet..>,
    ignoreCase=TRUE) then
    dataWidget : dataField = dataField(childWidget);
    if dataWidget.textvalue = NIL then
    dataWidget.textvalue = new;
    end if;
    -- set the textvalue of the childWidget to required
    value
    dataWidget.textvalue.setvalue('WORKS !');
    end if;
    end for;
    Your problem would have been directly solved if the Forte library class
    CompoundField provided a SetDataObject( ) method corresponding to the
    GetDataObject( ) method.
    According to Forte Help - "The GetDataObject method returns the object
    that the compound field is mapped to. If the compound field is not
    mapped to an object, this method returns NIL."
    Maybe Forte could consider providing this in a future release.
    Another option would have been to use the GetFieldByName( ) method on
    the newly created panel to get at the child widgets directly.
    According to Forte help - "GetFieldByName is designed for use in dynamic
    applications. For example, you can use GetFieldByName to retrieve the
    names of dynamically created fields for immediate use in dynamic
    applications."
    This works fine for compile-time named widgets, but I couldn't get it to
    work for the newPanel child widgets using the code below, or maybe I am
    missing something here.
    newPanel : Panel;
    newPanel = <panelCreatedFromWindowWorkshop>.Clone(deep = TRUE);newPanel.name.setvalue('newPanel');
    newPanel.parent = <aGridField>;
    dataWidget : dataField = dataField(newPanel.getFieldByName('age'));
    (OR)
    dataWidget : dataField =
    dataField(<aGridField>.getFieldByName('newPanel.age'));
    (OR)
    dataWidget : dataField =
    dataField(self.window.getFieldByName('newPanel.age'));
    In all cases the return value was NIL.
    Maybe someone from Forte could shed more light on this.
    Hope this helps.
    Prashant.
    From: Richard Finegan[SMTP:[email protected]]
    Reply To: Richard Finegan
    Sent: Thursday, August 13, 1998 2:27 PM
    To: 'Forte Users Mailing List'
    Subject: Dynamically mapping data to widgets
    Here's what I'm trying to do:
    I have a panel with a bunch of data fields that I've mapped to an
    object.
    I want to replicate the panel several times to programmatically
    populate a
    TabFolder (although the TabFolder bit isn't really relevant here, I
    think).
    But I can't figure out how to get at the mapped data in the replicas
    of my
    object...
    newPanel : Panel;
    newPanel = <panelCreatedFromWindowWorkshop>.Clone(deep = TRUE);
    panelCreatedFromWindowWorkshop.anAttributeOfObjMappedToPanel =
    something;
    // tada! "something" appears in a data field of the original panel
    newPanel.? = something; // how to do the same thing with the new
    panel?
    How do I map an object to the replicated panel? I've experimented
    with
    assigning "Widget.AppData" to a new object, but I can't seem to get it
    to
    do anything...
    Thanks in advance for your help.
    Richard Finegan
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Hi Michael,
    did you find any solution?
    I've the same problem.

  • Dynamic mapping: I have no Class. I want to get database columns into a map

    I want to practice dynamic mapping.
    I don't know the class in development time. I know the attributes only on runtime. Then I create the table, and want to practice OR Mapping to get and set data in this table while all I have is aa map of fields (Strings/int for direct-to-field mappings, Lists, Objects, etc.) - against this new table.
    I have no Class. Neither source nor Class object in hand.
    In Hibernate it is possible and very well documented. It's called "Dynamic Model". I have to get a special Hib session from a session i already have, and it starts to work with Maps and not real classes and objects.
    Here is the command in Hib: sess.getSession(EntityMode.MAP);
    Thanks in advance.
    Doron

    Doron,
    We have been working with dynamic models and byte code weaving for a while now. I took some work I did a few months back now and upgraded it to work with EclipseLink JPA. I have started creating an example within EclipseLink to both illustrate how EclipseLink can be extended to deliver this dynamic mapping and also to start consolidating our existing dynamic support in our SDO and DBWS components into a more general solution that be used out of the box with JPA.
    I have started a wiki page to illustrate how this functionality can be used. Take a look and let me know if this might address your requirements.
    http://wiki.eclipse.org/Eclipselink/Examples/JPA/Dynamic
    Doug

  • FDS and Hibernate dynamic mapping

    I am using FDS with hibernate
    (flex.data.assemblers.HibernateAssembler) to transfer data between
    the flex client and my JDBC database. This works really smooth, as
    long as I specify a server-side java class (POJO) in the
    <hibernate-mapping><class name="some.class"> attribute.
    As I dont really need these server-side java classes for
    anything else, I have tried to save some work by using the
    hibernate "dynamic-map" mode (<hibernate-mapping><class
    entity-name="some.entity">). But in this case, FDS does not map
    the result to the corresponding flex ActionScript class with the
    correct RemoteClass alias. The DataService "fill" method returns an
    ArrayCollection of "ManagedObjectProxy" items containing the field
    "$type$=some.entity" instead.
    Does FDS support hibernate dynamic mapping? Is there a
    workaround for this problem?
    Best,
    Per

    Hi Per,
    The Hibernate assembler doesn't currently support the
    dynamic-map mode, so for now you'll need your POJOs.
    Best,
    Seth

  • Dynamic mapping for alv

    Hi All,
    I need to display three tables  using alv.
    i have used one alv component  in my application.
    In my context  i have three nodes ( for three tables )
    when i am trying to map  one node of my component control to  'DATA' of alv component
    its working fine. i am getting the data of one table .
    Now , my problem is for the remainig two tables . how these two nodes are mapped for the same alv 'DATA' attribute of alv component.
    Whether i need to create  two more  alv components or Is there any possible to dynamic mapping ?
    Thanks and Regards,
    sravan.

    Hi Sravan,
    Now , my problem is for the remainig two tables . how these two nodes are mapped for the same alv 'DATA' attribute of alv component
    You cann't map the multiple context nodes to the DATA node of interface controller.You have to declare 3 component usages.
    or
    you want to set the map the dynamically then use this code.
    data:l_ref_interfacecontroller type ref to iwci_salv_wd_table.
    l_ref_interfacecontroller = wd_this->wd_cpifc_alv( ).
    l_ref_interfacecontroller->set_data( lo_node ).

  • How to give dynamically mapping in interface

    Hi all,
    I have requirement for this requirement i am thinking various scenarios,
    could please tell me is there any way to we can give source,target data stores and mapping dynamically(execution time) to the interfaces ? if it is possible then i can re use job again and again ?
    please give your solutions for this post
    Thanks,
    Surya.

    Please let me know if I miss the mark here.
    If you are trying to build the 150 interfaces without spending the time to do so manually, use the ODI SDK. Check out David Allan's blog post for examples here https://blogs.oracle.com/warehousebuilder/entry/odi_11g_interface_builder. You can build your interfaces once - without need for dynamic mapping at execution time.
    I'm pretty sure there is no good way in ODI "out of the box" to dynamically map columns at execution time, but I imagine you could use the ODI SDK to write a Java program that does so. Then, use the Open Tools feature in ODI to run the Java program within your ODI processes. I'm not sure the value of this, but I do not have a full understanding of your requirement.
    I hope this helps. Enjoy!
    Michael R.

  • About how to build dynamic maps using jdeveloper 10g and mapviewer

    i follow the guidance (about how to build dynamic maps using jdeveloper 10g and oracle application server mapviewer) to write a jsp file,but error take palce ,i get information "Project: D:\jdev1012\jdev\mywork\WebMap\ViewController\ViewController.jpr
    D:\jdev1012\jdev\mywork\WebMap\ViewController\public_html\WebMap.jsp
    Error(12,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerInitTag; file oracle\lbs\mapclient\taglib\MapViewerInitTag.class not found
    Error(12,190): cannot access class oracle.lbs.mapclient.taglib.MapViewerInitTag; file oracle\lbs\mapclient\taglib\MapViewerInitTag.class not found
    Error(12,102): cannot access class oracle.lbs.mapclient.taglib.MapViewerInitTag; file oracle\lbs\mapclient\taglib\MapViewerInitTag.class not found
    Error(12,28): cannot access class oracle.lbs.mapclient.MapViewer; file oracle\lbs\mapclient\MapViewer.class not found
    Error(12,40): cannot access class oracle.lbs.mapclient.MapViewer; file oracle\lbs\mapclient\MapViewer.class not found
    Error(13,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerSetParamTag; file oracle\lbs\mapclient\taglib\MapViewerSetParamTag.class not found
    Error(13,198): cannot access class oracle.lbs.mapclient.taglib.MapViewerSetParamTag; file oracle\lbs\mapclient\taglib\MapViewerSetParamTag.class not found
    Error(13,106): cannot access class oracle.lbs.mapclient.taglib.MapViewerSetParamTag; file oracle\lbs\mapclient\taglib\MapViewerSetParamTag.class not found
    Error(14,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerRunTag; file oracle\lbs\mapclient\taglib\MapViewerRunTag.class not found
    Error(14,188): cannot access class oracle.lbs.mapclient.taglib.MapViewerRunTag; file oracle\lbs\mapclient\taglib\MapViewerRunTag.class not found
    Error(14,101): cannot access class oracle.lbs.mapclient.taglib.MapViewerRunTag; file oracle\lbs\mapclient\taglib\MapViewerRunTag.class not found
    Error(15,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerGetMapURLTag; file oracle\lbs\mapclient\taglib\MapViewerGetMapURLTag.class not found
    Error(15,200): cannot access class oracle.lbs.mapclient.taglib.MapViewerGetMapURLTag; file oracle\lbs\mapclient\taglib\MapViewerGetMapURLTag.class not found
    Error(15,107): cannot access class oracle.lbs.mapclient.taglib.MapViewerGetMapURLTag; file oracle\lbs\mapclient\taglib\MapViewerGetMapURLTag.class not found"
    can you help?
    greetings

    I found a lot of information in document 133682.1 on metalink.
    step by step example how to deploy a JSP business component application.

  • Dynamic Map

    Hi;
    I search a source code (C# or JS) to show the dynamic France MAP wiht a view which displays the name when a user selects with the mouse the  country ?
    Web part or WSP or any package.
    Regards,

    Hi,
    Per my understanding, you might want to display a dynamic map in a web part.
    A suggestion is that you can use the gmaps.js plugin which “allows you to use the potential of Google Maps in a simple way”:
    https://hpneo.github.io/gmaps/
    Thanks
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Ipsec Stateful Failover issue with Dynamic-Map

    Hi all, I have an issue with a couple of Cisco ISR 2921 in Ha Ipsec Stateful Failover configuration.
    With static crypto-map, stateful works good, Ipsec sessions are correctly trasmitted from Cisco Active router to Cisco Standby router.
    With dynamic-map and profile, stateful fails, Ipsec sessions are not correctly trasmitted from Cisco Active router to Cisco Standby router.
    I tried different IOS version:152-1.T3, 152-3.T2 and 153-1.T but I have the same behavior.
    Could you help me?
    Marco

    Yes it is supported. It is supprted on VAM, VMA2, VAM2+.

  • Dynamic-map use

    Hi,
    I've been tasked with cleaning up a 5510 running 8.2(4) that has been migrated from a PIX a long time ago. In looking over the config, I'm not sure how these dyn maps are used. How does these work and how can I tell if they are actually are being used? Thanks.
    access-list outside_cryptomap_dyn_20 extended permit ip any 10.x.9.0 255.255.255.128 access-list outside_cryptomap_dyn_80 extended permit ip any 10.x.11.0 255.255.255.252 access-list outside_cryptomap_dyn_100 extended permit ip any host 10.x.11.2 access-list outside_cryptomap_dyn_180 extended permit ip any host 10.x.11.22 access-list outside_cryptomap_dyn_200 extended permit ip any 10.x.12.0 255.255.255.0 access-list outside_cryptomap_dyn_160 extended permit ip any host 10.x.11.21 access-list outside_cryptomap_dyn_220 extended permit ip any host 10.x.11.23 access-list outside_cryptomap_dyn_240 extended permit ip any host 10.x.11.24 access-list outside_cryptomap_dyn_260 extended permit ip any host 10.x.11.25 access-list outside_cryptomap_dyn_320 extended permit ip any host 10.x.11.26 access-list outside_cryptomap_dyn_340 extended permit ip any host 10.x.11.27 access-list outside_cryptomap_dyn_360 extended permit ip any host 10.x.11.28 access-list outside_cryptomap_dyn_380 extended permit ip any host 10.x.11.29 access-list outside_cryptomap_dyn_400 extended permit ip any 10.x.9.0 255.255.255.128 access-list outside_cryptomap_dyn_420 extended permit ip any host 10.x.11.24 access-list outside_cryptomap_dyn_500 extended permit ip any host 10.x.11.34 access-list outside_cryptomap_dyn_520 extended permit ip any host 10.x.11.29 crypto dynamic-map outside_dyn_map 20 match address outside_cryptomap_dyn_20crypto dynamic-map outside_dyn_map 20 set transform-set ESP-3DES-SHAcrypto dynamic-map outside_dyn_map 20 set security-association lifetime seconds 14400crypto dynamic-map outside_dyn_map 40 set transform-set ESP-3DES-SHAcrypto dynamic-map outside_dyn_map 60 set transform-set ESP-3DES-SHAcrypto dynamic-map outside_dyn_map 80 match address outside_cryptomap_dyn_80crypto dynamic-map outside_dyn_map 80 set transform-set ESP-3DES-SHAcrypto dynamic-map outside_dyn_map 100 match address outside_cryptomap_dyn_100crypto dynamic-map outside_dyn_map 100 set transform-set ESP-3DES-SHAcrypto dynamic-map outside_dyn_map 120 set transform-set ESP-3DES-SHAcrypto dynamic-map outside_dyn_map 140 set transform-set ESP-3DES-SHAcrypto dynamic-map outside_dyn_map 160 match address outside_cryptomap_dyn_160crypto dynamic-map outside_dyn_map 160 set transform-set ESP-3DES-SHAcrypto dynamic-map outside_dyn_map 180 match address outside_cryptomap_dyn_180crypto dynamic-map outside_dyn_map 180 set transform-set ESP-3DES-SHAcrypto dynamic-map outside_dyn_map 200 match address outside_cryptomap_dyn_200crypto dynamic-map outside_dyn_map 200 set transform-set ESP-3DES-SHAcrypto dynamic-map outside_dyn_map 220 match address outside_cryptomap_dyn_220crypto dynamic-map outside_dyn_map 220 set transform-set ESP-3DES-SHAcrypto dynamic-map outside_dyn_map 240 match address outside_cryptomap_dyn_240crypto dynamic-map outside_dyn_map 240 set transform-set ESP-3DES-SHAcrypto dynamic-map outside_dyn_map 260 match address outside_cryptomap_dyn_260crypto dynamic-map outside_dyn_map 260 set transform-set ESP-3DES-SHAcrypto dynamic-map outside_dyn_map 280 set transform-set ESP-3DES-SHAcrypto dynamic-map outside_dyn_map 300 set transform-set ESP-3DES-SHAcrypto dynamic-map outside_dyn_map 320 match address outside_cryptomap_dyn_320crypto dynamic-map outside_dyn_map 320 set transform-set ESP-3DES-SHAcrypto dynamic-map outside_dyn_map 340 match address outside_cryptomap_dyn_340crypto dynamic-map outside_dyn_map 340 set transform-set ESP-3DES-SHAcrypto dynamic-map outside_dyn_map 360 match address outside_cryptomap_dyn_360crypto dynamic-map outside_dyn_map 360 set transform-set ESP-3DES-SHAcrypto dynamic-map outside_dyn_map 380 match address outside_cryptomap_dyn_380crypto dynamic-map outside_dyn_map 380 set transform-set ESP-3DES-SHAcrypto dynamic-map outside_dyn_map 400 match address outside_cryptomap_dyn_400crypto dynamic-map outside_dyn_map 400 set transform-set ESP-3DES-SHAcrypto dynamic-map outside_dyn_map 420 match address outside_cryptomap_dyn_420crypto dynamic-map outside_dyn_map 420 set transform-set ESP-3DES-SHAcrypto dynamic-map outside_dyn_map 440 set transform-set ESP-3DES-SHAcrypto dynamic-map outside_dyn_map 460 set transform-set ESP-3DES-SHAcrypto dynamic-map outside_dyn_map 480 set transform-set ESP-3DES-SHAcrypto dynamic-map outside_dyn_map 500 match address outside_cryptomap_dyn_500crypto dynamic-map outside_dyn_map 500 set transform-set ESP-3DES-SHAcrypto dynamic-map outside_dyn_map 520 match address outside_cryptomap_dyn_520crypto dynamic-map outside_dyn_map 520 set transform-set ESP-3DES-SHAcrypto dynamic-map outside_dyn_map 540 set transform-set ESP-3DES-SHAcrypto map outside_map 65535 ipsec-isakmp dynamic outside_dyn_map

    Hi Icaruso,
    Dynamic Maps are used for remote access vpn connections from outside to your protected network. If you don't have any remote access user then you can unhesistatingly delete all the dynamic maps and corresponding crypto acl. The crypto acl in case of dynamic map don't make much sense as the default is "whole network access to remote vpn client" unless split-acl or vpn filter is defined. In any case I doubt if so many dynamic maps are being used in your network because in normal case it is only one.  Here is a link which you can refer for remote access client configuration
    http://www.cisco.com/en/US/partner/products/ps6120/products_configuration_example09186a00807f9a89.shtml#newra
    Regards,
    Rohan

  • Loading of Dynamic Maps

    Hi,
    I'm developing an occasionally connected application for handheld devices using NetWeaver Mobile 7.1.
    Here I need to load dynamic maps like Google Maps or Microsoft Live Maps within my application itself. Suggest me the solution to resolve the above issue.
    Thanks in advance.
    Regards,
    DVR.

    Hi Vinodh,
    There is no webbrowser kind of control provided with SAP NWMobile Client.
    To acheive this scenario what I suggest is developing a custom control which could be used to browse and open external web links.
    Client framework provides support for hosting customer custom controls inside the application. You can develop a eSWT based control and host it inside the application.
    Also you can use any third party applications/browser to achieve this and call it from the application using core java functionality on How to call external applications in normal java code.
    On writing a custom control please see to some of these blogs:
         /people/mike.brosseau/blog/2008/10/09/mobile-71-intro-to-custom-eswt-controls
         https://www.sdn.sap.com/irj/scn/wiki?path=/display/community/using%2bsignature%2bcapture%2beswt%2bcontrol%2bin%2bmobile%2bwebdynpro
    Regards,
    Nipun

  • How to create a dynamic mapping of columnar at the Runtime using ADF or JSF

    How to create a dynamic GUI at the Runtime using ADF or JSF in JDeveloper 11g.
    What I am trying to build is to allow the user to map one column to another at the run time.
    Say the column A has rows 1 to 10, and column B has rows 1 to 15.
    1. Allow the user to map rows of the two tables
    2. An dhte rows of the two columns are dynamically generated at the run time.
    Any help wil be appreciated.....
    Thnaks

    Oracle supports feedback form metalink was; "What you exactly want to approach is not possible in Htmldb"
    I can guess that it is not
    exactly possible since I looked at the forums and documantation etc. but
    couldnt find anything similar than this link; "http://www.oracle.com/technology/products/database/htmldb/howtos/tabular_form.h
    t". But this is a very common need and I thought that there must be at least a workaround?
    How can I talk or write to Html Db development team about this since any ideas, this is very important item in a critial project?
    I will be able to satisfy the need in a functional way if I could make the
    select lists in the tabular form dynamic with the noz_id;
    SELECT vozellik "Özellik",
    htmldb_item.select_list_from_query(2, t2.nozellik_deger, 'select vdeger
    a,vdeger b from tozellik_deger where noz_id = 10') "Select List",
    htmldb_item.text(3, NULL, t2.vcihaz_oz_deger) "Free Text"
    FROM vcihaz_grup_ozellik t1, tcihaz_oz t2
    WHERE t1.noz_id = t2.noz_id
    AND t2.ncihaz_id = 191
    AND t1.ngrup_id = 5
    But what I exactly need i something like this dynamic query;
    SELECT
    vozellik "Özellik",
    CASE
    WHEN (t2.nozellik_deger IS NULL AND t2.vcihaz_oz_deger IS NOT NULL) THEN
    'HTMLDB_ITEM.freetext(' || rownum || ', NULL) ' || vozellik
    WHEN (t2.nozellik_deger IS NOT NULL AND t2.vcihaz_oz_deger IS NULL) THEN
    'HTMLDB_ITEM.select_list_from_query(' || rownum ||
    ', NULL, ''select vdeger a,vdeger b from tozellik_deger where noz_id = ' ||
    t1.noz_id || ''' ) ' || vozellik
    END AS "Değer"
    FROM vcihaz_grup_ozellik t1, tcihaz_oz t2
    WHERE t1.noz_id = t2.noz_id
    AND t2.ncihaz_id = 191
    AND t1.ngrup_id = 5
    Thank you very much,
    Best regards.
    H.Tonguc

  • Dynamic mapping in XI

    Hi, I have the folowing situation:  I have to transforme a material code from a non-sap system into a material code of a sap system. The relation betwean the codes are dynamic.
    How can I do this en XI ? The translation tool in XI, let me do transformation only in a static way.

    Cesar,
    After converting / translating material are you trying to post the data in SAP R/3 system using BAPI's or Idoc?
    In that case RFC lookup is not good idea..this will have performance issue. I'll suggest  check out for UserExit. If you can find exit before posting data you can write your code to  map non sap material number for sap material number...If it is posting of Material Master you wll find number of user exits for this.
    Let me know if you need more details.
    Nilesh

  • Selection dynamic Mapping Runtime Constant with a qualifier

    Hello all,
    i want to access a Mapping Runtime Constant out of a message mapping specified with a qualifier.
    In the Integration Directory i specified in the identifier tab the following Value Pairs:
    Agency               Scheme          Name
    http://Sap.com/xi/XI    XIParty         ABC
    R3D_310                 Partner         111
    R3T_310                 Partner         222
    R3P_310                 Partner         333
    In the message mapping i want to have the Name for the agency "R3T_310".
    I know i can access the Name with:
    constant = (String) map.get(StreamTransformationConstants.SENDER_PARTY);
    But i getting everytime the name "ABC", which i don't want.
    At this point i need your help, to find out how i can dynamically get the correct one??
    many thanks for your help
    ilka

    Ilka,
    You can also access other Mapping Runtime constants. For example, SENDER_PARTY_AGENCY.
    If needed, you can also access SENDER_PARTY_SCHEME and SENDER_SERVICE.
    The SAP Help link for all the Mapping Runtime constants accessible with StreamTransformationConstants is:
    http://help.sap.com/saphelp_nw04/helpdata/en/78/b4ea10263c404599ec6edabf59aa6c/frameset.htm
    Hope this helps,
    Bhanu

  • Dynamic node creation from RTTI structure and dynamic mapping

    Hi,
    I'd like to create a dynamic node in my component controller then map this node to a node in my view and bind it to a dynamic table.
    I create the dynamic node in my component controller using the add_new_child_node method :
    CALL METHOD root_node_info->add_new_child_node
        EXPORTING
          name                    = 'MY_TABLE'
          static_element_rtti     = struct_type
          is_static               = ABAP_true
        RECEIVING
          child_node_info              = node_info
    Then I use the add_new_mapped_child_node method to map the node in the view :
    * Map the context node dynamically
      wa_path = 'COMPONENTCONTROLLER.MY_TABLE'.
      insert wa_path into table tab_mapping_path.
      stru_mapping_info-controller = 'COMPONENTCONTROLLER'.
      stru_mapping_info-path = tab_mapping_path.
      lo_node_info = wd_context->get_node_info( ).
      CALL METHOD lo_node_info->add_new_mapped_child_node
        EXPORTING
          child_name      = 'MY_TABLE'
          mapping_info    = stru_mapping_info
        receiving
          child_node_info = lo_dyn_node_info
    The child node is created in my view context but it doesn't have any attribute or static element RTTI.
    Do I have to add each attribute with the add_attribute method and then the add_new_mapped_child_node method will copy them over?
    Regards,
    Pierre

    Problem solved, the path was not good :
    * Map the context node dynamically
    *  wa_path = 'COMPONENTCONTROLLER.MY_TABLE'.
    *  insert wa_path into table tab_mapping_path.
      stru_mapping_info-controller = 'COMPONENTCONTROLLER'.
    *  stru_mapping_info-path = tab_mapping_path.
      append 'COMPONENTCONTROLLER' to stru_mapping_info-path.
      append 'MY_TABLE' to stru_mapping_info-path.
      lo_node_info = wd_context->get_node_info( ).
      CALL METHOD lo_node_info->add_new_mapped_child_node
        EXPORTING
          child_name      = 'MY_TABLE'
          mapping_info    = stru_mapping_info
        receiving
          child_node_info = lo_dyn_node_info
    Regards,
    Pierre

Maybe you are looking for