WebDynpro for Abap Test failed (System Admin/Support/WD)

Hello,
I'm using EP 7.0 and I'm trying to test travel&expenses (Ehp3) WD for Abap from System Admin/Support Desk: Integration of SAP Applications/WebDynpro and we get the following error: Exception in SAP Application Integrator occured: Unable to parse template...the problem occured at position 275. Cannot process expression <IView.PCDUnit.ShortID> because Unable to get PCD Unit com.sap.portal.appintegrator.sap.WebDynpro.
System contector test is ok. Please, could you help me?
Thank you

Hello Michael,
Ok, I forget system connector and support tests. Web AS parameter are supposed to be ok:
Web AS Host Name: host.domain:port (from smicm tx)
Web AS Host Name: /sap/bc/webdynpro/sap/
Web AS Protocol:     http
but the SAP Web AS Connection test fails. When trying to execute the iView it works. Does it mean that is it correct? Why WAS connection test fails?
In the other hand, when iView is displayed, it asks for user and password because the R/3 user is locked. Why R/3 user is locking everytime?
Thank you&Regards

Similar Messages

  • WebDynpro Abap test failed (System admin/suport)

    Hello,
    I'm using EP 7.0 and I'm trying to test travel&expenses (Ehp3) WD for Abap from System Admin/Support Desk: Integration of SAP Applications/WebDynpro and we get the following error: Exception in SAP Application Integrator occured: Unable to parse template...the problem occured at position 275. Cannot process expression <IView.PCDUnit.ShortID> because Unable to get PCD Unit com.sap.portal.appintegrator.sap.WebDynpro.
    System contector test is ok. Please, could you help me?
    Thank you

    Hello,
    Ok, I forget system connector and support tests. Web AS parameter are supposed to be ok:
    Web AS Host Name: host.domain:port (from smicm tx)
    Web AS Host Name: /sap/bc/webdynpro/sap/
    Web AS Protocol: http
    but the SAP Web AS Connection test fails. When trying to execute the iView it works. Does it mean that is it correct? Why WAS connection test fails?
    In the other hand, when iView is displayed, it asks for user and password because the R/3 user is locked. Why R/3 user is locking everytime?
    Thank you&Regards

  • Is DD/MM/YYYY supported in webdynpro for abap application

    Hi All,
    We are using 2 different time statements one developed in webdynpro for java and other in webdynpro for abap.date format in java is DD/MM/YYYY but in webdynpro for abap is DD.MM.YYYY.
    is DD/MM/YYYY supported in webdynpro for ABAP application or even if user enters DD.MM.YYYY can we convert that to DD/MM/YYYY so that we will maintain uniformity in both the applications
    Thanks
    Bala Duvvuri

    Hi Bala,
    We can convert the date before saving ,even if the user enters the date as dd.mm.yyyy  as mentioned below.
    DATA: lv_indicator type XUDATFM .
    CALL FUNCTION 'ISH_GET_USER_DATE'
      EXPORTING
        USER_NAME         = SY-UNAME
      IMPORTING
        DATE_FORMAT       = lv_indicator .
    CASE lv_indicator.
        WHEN '1'.                                        " DD.MM.YYYY
          CONCATENATE p_date6(2) '.' p_date4(2) '.'
                      p_date(4)
             INTO p_result.
        WHEN '2'.                                        " MM/DD/YYYY.
          CONCATENATE p_date4(2) '/' p_date6(2) '/'
                      p_date(4)
             INTO p_result.
        WHEN '3'.                                        " MM-DD-YYYY.
          CONCATENATE p_date4(2) '-' p_date6(2) '-'
                      p_date(4)
             INTO p_result.
        WHEN '4'.                                        " YYYY.MM.DD
          CONCATENATE p_date(4) '.'  p_date+4(2) '.'
                      p_date+6(2)
             INTO p_result.
        WHEN '5'.                                        "YYYY/MM/DD
          CONCATENATE p_date(4) '/'   p_date+4(2) '/'
                      p_date+6(2)
             INTO p_result.
        WHEN '6'.                                        "YYYY-MM-DD
          CONCATENATE p_date(4) '-'  p_date+4(2) '-'
                      p_date+6(2)
             INTO p_result.
      ENDCASE.
    Regards,
    Lakshmi.

  • How to read some images from file system with webdynpro for abap?

    Hi,experts,
    I want to finish webdynpro for abap program to read some photos from file system. I may make MIMES in the webdynpro component and create photos in the MIMES, but my boss doesn't agree with me using this way. He wish me read these photos from file system.
    How to read some images from file system with webdynpro for abap?
    Thanks a lot!

    Hello Tao,
    The parameter
       icm/HTTP/file_access_<xx>
    may help you to access the pictures without any db-access.
    The following two links may help you to understand the other possibilities as well.
    The threads are covering BSP, but it should be useful for WebDynpro as well.
    /people/mark.finnern/blog/2003/09/23/bsp-programming-handling-of-non-html-documents
    http://help.sap.com/saphelp_sm40/helpdata/de/c4/87153a1a5b4c2de10000000a114084/content.htm
    Best regards
    Christian

  • Support for webdynpro for abap in caf guided procedures

    Hello,
    when will webdynpro for abap supported in caf guided procedures?
    Best regards
    Oliver Prodinger

    Hi,
    You can create ABAP Web Dynpro callable object in GP. Please refer the following document for the same :
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9cbabed1-0c01-0010-dba5-bdddbadfe586">Creating a Callable Object in Group - Web Dynpro ABAP Application</a>
    Thanks,
    Dipankar

  • Webdynpro for ABAP - Popup apearing for userid and pwd

    Hi Experts,
    We have implemented ESS and gone live. Now we have created one custom application in webdynpro for ABAP and attached with portal.
    Initially there was a problem, the application was not getting executed because of system configuration, then I have configured the host name, port number correctly. Then the iView is getting loaded in the portal.
    The problem is, when I am trying to access the iView, the popup apearing for the user id and password. This is happening only the webdynpro abap application, this is not happening for all sap standard iViews.
    Could anyone help me with this issue?
    Thanks
    Jay

    Hi Jayanthi,
    as you had mentioned this is not happening for sap standard iViews(do you mean simple transaction iViews for which you have used a system alias, which was the same you had used for ABAP web dynpro iview)?
    Of courese ESS iViews works with their own JCOs which is no way helpful or connected with wd ABAP.
    So I believe if your SAP id and Portal id are different(or if they are same but SAP Logon ticket is not configured properly) then only it woudl ask for the authentication again- for Wd ABAP to work fine, only the connector property  and WAS to tbe configured in the system object(aka system alias) used for ABAP iview. Now once you enter the login credentials, it is working fine right, then could you please test the user mapping under the user you are logged in, select the alias that you had used while creating the abap wd iView and provide userid/password here, then run the wd ABAP application, it definitely would work.
    N.B: if you had provided the credentials once, then it woud be stored in the browser cache, so if you perform the user mapping in user admin, log off from portal, close all your browser windows, then clear cache,(cookies etc). then login to portal, run the wdABAP application, I am sure this would work(it worked for me!!!).
    Thanks,
    Jakes.

  • Webdynpro for ABAP not closing browser window after click Exit

    Hi Experts,
    We come across a minor problem when executing a Webdynpro for ABAP on our Production Portal.
    We have a "Exit" button which suppose to close the browser window with the webdynpro codes called but it failed to do so.
    The execution steps of the Webdynpro app:
         Click  "Exit"
         Click  "No"
         Results message in the browser:
    The code we use to exit and close the Web Dynpro application
    * Code to close the application when the WebDynpro is executed
    * as an independent application
    * Also requires an Outbound Plug (GO_EXIT) in the main Window
      data : lr_ref      type ref to ig_main_window.
      lr_ref = wd_this->get_main_window_ctr( ).
      lr_ref->fire_go_exit_plg( close_window = abap_true ).
    What would be the issue causing this, the Webdynpro codes or Portal config?
    Our systems are SAP NW 7.31 with:
    ECC6 (Basis 731 SP10)
    Portal (Basis 1000.7.31.7.0.20130227234100)
    Thank you for your help & advise.
    Derek Phung

    Hi Tashi,
    Thank you for your quick response & help.
    According to your more info link, the check will return ABAP_TRUE as the webdynpro app is ran on Portal.
    Sorry i should have mention that I got it working on our Dev & Test portal but now forgotten how i have done it, we now need it config for our production portal. I have vague memory collection that i config it somewhere on the portal, maybe one of the Application Modules in NWA?
    Any advise, help, hints would be very much appreciated.
    Thank You & regards,
    Derek

  • WebDynpro for ABAP iview

    Hi All,
    In my client portal there is no iview template of type "SAP WebDynpro iview" .
    I created one from the list of PAR templates of type com.sap.portal.appintegrator.sap.WebDynpro
    and embedded it in a webdynpro proxy page
    i have given the following parameters.
    Application
    Application Namespace
    configuration name
    platform 'webdynpro for ABAP'
    WebDynpro client 'plain HTML'
    system
    But at runtime when i login with the end user it gives a blank page.
    Please advise.
    Thanks,
    VV

    What happens when you try to test the same application you put in the iView from SE80.  Sounds like the developer of the application might have forgotten to embed their default view in the window.  A very common mistake on older support packge levels before the workbench started embedding the default view automatically.

  • What is used for WebDynpro for ABAP?

    hi all friends,,
    what is used for WebDynpro for ABAP?
    Thanks,
    S.Suresh.
    Title was edited by:
            Alvaro Tejada Galindo

    Hi
    Web Dynpro for ABAP - Getting Started
    Web Dynpro for ABAP is SAP’s new standard UI technology for developing user interfaces in the ABAP environment. In the long term Web Dynpro for ABAP will be the successor of the traditional screen (“Dynpro”) based user interface technology which is based on the SAP GUI. Available with NetWeaver 7.0 (2004s) Web Dynpro for ABAP provides the same declarative UI development paradigm as Web Dynpro for Java directly out of the NetWeaver ABAP Application Server. Web Dynpro for ABAP allows the development of user interfaces directly within the ABAP Workbench (SE80) and the Web Dynpro runtime environment is a central part of the ABAP server and can be used in any SAP solution based on NetWeaver 7.0 (2004s) without the need of an additional server installation.
    Web Dynpro for ABAP allows the development of user interfaces in a declarative way by providing a mighty framework which abstracts the rendering technology from the core UI definition tasks. The Web Dynpro developer declares the layout and behavior of the UI without caring about HTML, JavaScript, browser specifics or the HTTP protocol. Instead the focus lies on designing graphically Web Dynpro components based on the Model View Controller model, which enforces a clear separation between the UI layer and the underlying business logic.
    This declarative Web Dynpro programming model enforces the developer to focus on the tasks of
    Designing the layout of the visible views (where should the table be placed, do I need tabs, how should the button look?)
    Declaring the flow and behavior of the application (flow between views, which event is triggered by which button click, etc)
    Defining the data binding (which internal table is displayed in a specific table, etc)
    Implementing the event handlers and controller methods.
    Without making any assumption about the used rendering technology, like which browser should be supported or if the Web Dynpro application will be later displayed in a web browser via HTML at all or in another kind of client with completely different rendering capabilities.
    The Web Dynpro Frameworks provides all important UI features directly out of the box:
    All elements (tables, buttons, trees, dropdown list boxes, etc) necessary for state of the art user interfaces are provided by the Web Dynpro Framework in the form of predefined UI element libraries.
    Complex features and behavior of UI elements.
    Internationalization of the UI. All visible strings in a Web Dynpro ABAP UI are handled by the translation system and are translated in the same translation environment like other ABAP language dependent resources. All texts are displayed automatically at runtime, dependent of the user’s credentials.
    Accessibility features are directly built into the framework and UI elements.
    A unified rendering engine generates at runtime the data which is sent to the specific client application, which is not limited to browsers but includes the NetWeaver Business Client.
    All this is available in the established environment of the ABAP application server and well known capabilities like the transportation and change management system, security environment, test and performance analysis tools or remote debugging can be used like in common ABAP development.
    Learn about the Web Dynpro for ABAP technology with the resources below, and post your related questions and answers to the Web Dynpro forum.
    Web Dynpro for ABAP: Sneak Preview  
    Download, License Key Documentation, and Installation Guide available here.
    Web Dynpro for ABAP: Tutorials for Beginners  
    SAP NetWeaver Product Management provides this set of tutorials for getting started with Web Dynpro for ABAP technology.
    SAP Help Portal: Web Dynpro for ABAP  
    This online SAP documentation goes into detail about Web Dynpro architecture and programming, Web Dynpro for ABAP administration and security, and more.
    Web Dynpro - Not Just for Java Developers Anymore   (PDF 3.8 MB)
    In this SAP Insider article, SAP Product Manager Karl Kessler describes the tools of Web Dynpro for ABAP and uses a simple flight report example to highlight new and updated tools in the familiar ABAP environment.
    Community Contribution: WDA Tutorial I - Getting Started with Web Dynpro for ABAP   (PDF 2.5 MB)
    Software Engineer Rich Heilman provides this step-by-step guide for developing a Web Dynpro for ABAP application.
    Going into Details
    Basic Concepts - Selection vs. LeadSelection  
    In this blog, Thomas Szuecs of the Web Dynpro for ABAP development team shows how selection and LeadSelection works in Web Dynpro for ABAP.
    Web Dynpro for ABAP: Recreate the SE16 Data Browser   (PDF 386 KB)
    In this tutorial, Thomas Jung of SAP NetWeaver Product Management shows how to create a data browser simulator using Web Dynpro for ABAP.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/80aef577-543f-2a10-d19c-d83a565efe37 [original link is broken]
    <b><REMOVED BY MODERATOR></b>
    Message was edited by:
            Alvaro Tejada Galindo

  • Webdynpro for ABAP - interactive Adobe form - drop down lists not working

    Hi all,
    I'm trying to create an interactive form for a client using webdynpro for ABAP and I've viewed the demo "Create SAP Interactive Forms by Adobe with Web Dynpro for ABAP" by Thomas Jung, but when I implement it the form following similar steps the form is not interactive.
    In the properties of the "InterativeForm", I've tried clicking the "enabled" flag both on and off.  I've also tried setting the "displayType" property to both "ActiveX" and "Native".  But none of this worked.
    I though my problem might be with Adobe reader so I switched from 8.0 back to 7.0 but this didn't make any difference either.
    The system we are using is NW04s WAS 700.  Any hints would be greatly appreciated!
    Thanks,
    -tom

    Thanks for the suggestion Dezso.  I've downloaded a newer version of ACF as indicated by the OSS note and installed it.  I'm still having the same issue.
    My basic question is what options should I be using in the form and on the InteractiveForm component?  It looks like because of the evolution of the product there are multiple options available.  I recall reading somewhere that as of a certain SP level we should have ZCI (zero client install) available.  The would be our preference.  It will be a support nightmare if each user needed a manual download of ACF.exe installed.
    Should I click the "enabled" flag on the InteractiveForm object?  When I create the form should I use the "Native" drop down list or the one from the "Active X" tab?  I would like to use the "List Box" control on the form as well but it is only available in the "Standard" tab.  So does that mean I can't get the selections from a "List Box"?
    Thanks,-tom

  • Any difference between webdynpro for java and webdynpro for abap ?

    Hi all:
       I would like to build one small system in EP.
       I can choose to use webdynpro for java and webdynpro for abap.
       I would like to ask any major difference between webdynpro for abap and webdynpro for java ?
       Is fpm supported in webdynpro for abap ?

    Hi,
    see this thread,
    ABAP Vs JAVA WebDynpro
    Regads,
    J.Joe

  • Eventing in Portal page between Team Viewer and Custom Webdynpro for ABAP

    We are trying to implement a new Portal page that contains a Team Viewer Iview and a custom Webdynpro for ABAP iview.
    The idea is that the when a manager select one of his direct report in the Team Viewer, the custom Webdynpro for ABAP would pick up the selection_changed event and retrieve the data for the selected employee.
    We followed the instruction provided by SAP in note 1112733 and it worked in our development environment. When we moved the iviews to our testing environment it stopped working.
    I also used the Diagnostic Iviews provided by SAP and I get the same result: Works in Dev, does not work in QA or in Prod.
    We also followed the troubleshooting steps of note 945516 and it still did not help us. We can not find a difference in our system set up.
    We are therefore looking for pointers as to what could be our problem.
    Thanks!
    Edited by: Benoit Fortin on Feb 20, 2009 2:28 PM

    Problem was solved internally:
    The reasons the eventing worked in Dev and not in QA or Prod, was that we had a different level of patch for ESS/MSS between instances, which I was not aware of.
    Dev was on ESS/MSS version 600 SP14 and QA and Prod was on a different level. Once we implemented ESS/MSS SP 14 accross the board, everything was good.
    Edited by: Benoit Fortin on Nov 13, 2009 11:57 AM

  • Webdynpro for ABAP call non-SAP webservice

    Hi,
    We have a WAS 7.0 ABAP only, Can we use webdynpro for ABAP to call a Notes's webservice or Weblogic's webservice.
    Where can I get the document link?
    Edited by: Jeff Lien on Jan 8, 2008 10:47 AM
    Edited by: Jeff Lien on Jan 8, 2008 10:49 AM

    Hi this will help u.
    Web Dynpro ABAP  
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/db22242d-0701-0010-28a2-aeaa1fefd706
    Hope that the following also helps you.
    Web Dynpro for ABAP (WD4A, WDA) is the SAP standard UI technology for developing Web
    applications in the ABAP environment. It consists of a runtime environment and a graphical
    development environment with special Web Dynpro tools that are integrated in the ABAP
    Workbench (SE80).
    Web Dynpro offers the following advantages for application developers:
    The use of declarative and graphical tools significantly reduces the implementation
    effort
    Web Dynpro supports a structured design process
    Strict separation between layout and business data
    Reuse and better maintainability by using components
    The layout and navigation is easily changed using the Web Dynpro tools
    Stateful applications are supported – that is, if the page is changed and the required
    data remains intact so that you can access it at any time throughout the entire
    application context.
    Note that stateless applications are not possible.
    Automatic data transport using data binding
    Automatic input check
    Automatic operation of the Web Dynpro application using the keyboard
    User interface accessibility is supported
    Full integration in the reliable ABAP development environment
    Web Dynpro Architecture
    Definition
    Web Dynpro is the SAP NetWeaver programming model for user interfaces (UIs).
    The Web Dynpro model is based on the Model View Controller paradigm, and has the
    following features that build on the classic dynpro model:
    Clear separation of business logic and display logic
    Uniform metamodel for all types of user interfaces
    Execution on a number of client platforms.
    Extensive platform independence of interfaces
    Structure
    Metamodel Concept
    Web Dynpro provides support for developing Web representation of a business application.
    You use specific tools to describe the properties of a Web Dynpro application in the form of
    Web Dynpro metadata. The necessary source code is then generated automatically and
    executed at runtime. In addition to the events offered by the framework, you can also define
    your own events for a Web Dynpro application. However, the event handling must always be
    programmed in separate source code areas which are executed automatically when the event
    is triggered at runtime.
    In Web Dynpro, each user interface is always made up of the same basic elements. These
    elements of the metamodel can be statically declared using Web Dynpro tools.
    It is also possible to implement elements of the metamodel at runtime and to change them or
    reintegrate them at runtime. Using these implementations, you can make any changes or
    enhancements to a user interface that has been created by declarative methods by
    generating new interface structures at runtime.
    This means that you can combine declarative processes and the implementation of source
    code.
    Graphical Development Tools
    To support this declarative concept, both the SAP NetWeaver Developer Studio and the
    ABAP Workbench contain a range of Web Dynpro tools. You can therefore generate a large
    proportion of a Web Dynpro application using the tools provided, without having to create your
    own source code. This applies to the following parts of the application:
    Data flow between the front end and back end
    Layout of the user interface
    Properties of user interface elements
    The Web Dynpro tools enable you to create source text areas manually within generated
    source texts. These areas are not changed if the source code is regenerated.
    Separation of Business and Application Logic
    Using Web Dynpro enables a clear separation of business logic and display logic. A Web
    Dynpro application runs on the front end and has local or remote access to the back end
    system via a service. This means that the display logic is contained in the Web Dynpro
    application, while the business logic and the persistence of the business objects run in the
    back end system. The following options are currently available for connecting Web Dynpro
    applications and the back-end system:
    An interface generated using adaptive RFC, through which BAPIs of an SAP system
    can be called
    An interface for calling Web services
    A self-generated interface
    The source code required for connecting the Web Dynpro application can be generated
    from a UML definition of the Web Dynpro interface. A UML definition can be imported
    into the Web Dynpro tools as an XML file.
    Conversion of the Model-View-Controller
    Conversion of the Model-View-Controller Programming Model
    Every Web Dynpro application is structured according to the Model View Controller
    programming model:
    The model forms the interface to the back end system and thus enables the
    Web Dynpro application access to data.
    The view is responsible for the representation of the data in the browser.
    The controller lies between the view and the model. The controller formats
    the model data to be displayed in the view, processes the user entries made by the
    user, and returns them to the model.
    /people/thomas.jung/blog/2006/06/20/web-dynpro-abap-demonstration-videos
    http://help.sap.com/saphelp_nw04s/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm
    with regards,
    Hema.
    pls give points if helpful.

  • Comparison between WebDynpro for ABAP vs. WebDynpro for Java ??

    Hi,
       Can someone tell me when should we go for WebDynpro for ABAP and when WebDynpro for Java. Is there any link where SAP recommends the one for the other.
    Thanks in advance
    Regards
    Mukesh

    Hi Mukesh,
    Both are having its own strengths!! )
    I think it all depends on your project requirement and the availabel resources.
    If the developer is good in OOPs ABAP then he must go for Web Dynpro ABAP. But if anyone is good in JAVA then that person should go for Web Dynpro JAVA.
    *In Short almost all Features supported in webdynpro ABAP are also Possible in webdynpro Java.
    1] Webdynpro Java
    Supports,
    webservice
    RFC Models
    Accessing Portal information in Java
    Easy sending E-mail
    Strictly follows MVC architecture which seperate Business logic and Process flow.
    Webdynpro Java is webbased programming model to develop SAP Applications.
    Easy to learn
    Easy to integrate in Enter prise portals.
    Dynanamic Programming
    *Easy access to R/3 Via RFC technology (Models)
    2] Web Dynpro ABAP
    As the name suggests Web Dynpro for ABAP uses exactly the same meta model as its cousin Web Dynpro for Java. A Web Dynpro component, a Web Dynpro view, a Web Dynpro model, a Web Dynpro controller have the same semantics both for ABAP and Java. The main difference is the designtime environment, the development infrastructure and the runtime environment.
    The designtime environment is properly embedded in the ABAP Workbench where Web Dynpro artifacts are simply a new category like BSP applications or classical dynpro based applications before. Also no surprises regarding the development infrastructure. The correction and transport system keeps track on all changes that are done, versions them and helps to propagate the Web Dynpro application from development to production like you would do with ordinary BSP or dynpro-based applications.
    Last not least the execution platform is the ABAP server that produces application content ready to be integrated in the NetWeaver Portal seamlessly. Features like portal eventing can be used between applications written in ABAP or applications developed with Java.
    Hope this helps and solve your Problem
    Cheers,
    Darshna.

  • How to create a node with attributes at runtime in webdynpro for ABAP?

    Hi Experts,
             How to create a node with attributes at runtime in webdynpro for ABAP? What classes or interfaces I should use? Please provide some sample code.
    I have checked IF_WD_CONTEXT_NODE_INFO and there is ADD_NEW_CHILD_NODE method. But this is not creating any node. I this this creates only a "node info" object.
    I even check IF_WD_CONTEXT_NODE but i could not find any method that creates a node with attribute.
    Please help!
    Thanks
    Gopal

    Hi
       I am getting the following error while creating a dynamic context node with 2 attributes. Please help me resolve this problem.
    Note
    The following error text was processed in the system PET : Line types of an internal table and a work area not compatible.
    The error occurred on the application server FMSAP995_PET_02 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: IF_WD_CONTEXT_NODE~GET_STATIC_ATTRIBUTES_TABLE of program CL_WDR_CONTEXT_NODE_VAL=======CP
    Method: GET_REF_TO_TABLE of program CL_SALV_WD_DATA_TABLE=========CP
    Method: EXECUTE of program CL_SALV_WD_SERVICE_MANAGER====CP
    Method: APPLY_SERVICES of program CL_SALV_BS_RESULT_DATA_TABLE==CP
    Method: REFRESH of program CL_SALV_BS_RESULT_DATA_TABLE==CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE_DATA of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~UPDATE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_VIEW~MODIFY of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMPONENT~VIEW_MODIFY of program CL_SALV_WD_A_COMPONENT========CP
    My code is like the following:
    TYPES: BEGIN OF t_type,
                CARRID TYPE sflight-carrid,
                CONNID TYPE sflight-connid,
             END OF t_type.
      Data:  i_struc type table of t_type,
      dyn_node   type ref to if_wd_context_node,
      rootnode_info   type ref to if_wd_context_node_info,
      i_node_att type wdr_context_attr_info_map,
      wa_node_att type line of wdr_context_attr_info_map.
          wa_node_att-name = 'CARRID'.
          wa_node_att-TYPE_NAME = 'SFLIGHT-CARRID'.
          insert wa_node_att into table i_node_att.
          wa_node_att-name = 'CONNID'.
          wa_node_att-TYPE_NAME = 'SFLIGHT-CONNID'.
          insert wa_node_att into table i_node_att.
    clear i_struc. refresh i_struc.
      select carrid connid into corresponding fields of table i_struc from sflight where carrid = 'AA'.
    rootnode_info = wd_context->get_node_info( ).
    rootnode_info->add_new_child_node( name = 'DYNFLIGHT'
                                       attributes = i_node_att
                                       is_multiple = abap_true ).
    dyn_node = wd_context->get_child_node( 'DYNFLIGHT' ).
    dyn_node->bind_table( i_struc ).
    l_ref_interfacecontroller->set_data( dyn_node ).
    I am trying to create a new node. That is
    CONTEXT
    - DYNFLIGHT
    CARRID
    CONNID
    As you see above I am trying to create 'DYNFLIGHT' along with the 2 attributes which are inside this node. The structure of the node that is, no.of attributes may vary based on some condition. Thats why I am trying to create a node dynamically.
    Also I cannot define the structure in the ABAP dictionary because it changes based on condition
    Message was edited by: gopalkrishna baliga

Maybe you are looking for

  • Print of Purchase returns invoice

    Hi Gurus, How to take a Print of Purchase Returns Exc invoice, while trying in J1IV I am getting error Document is already completed. If i see the with that invoice number in J1IS it is displaying. Regards, Vijay

  • Calling of MR11 by a report program

    Hello All, I have a requirement where in I have a selection screen on which I would enter an account number and based on that I need to clear the GRIR difference for all PO's based on certain conditions and post the difference into the account on the

  • Pass-through printing

    At my work some people are getting mac's and we are trying to get support for our legacy systems. One of the features of our legacy systems is to be able to do pass-through printing from a ssh session. I got our key mapping working in Terminal.app an

  • Photoshop fast in morning and then slows down

    Hey everyone.  I hope someone can help me with this because I haven't found anything on Google.  At least, nothing that works.  When I first get to work in the mornings, the big banner files I have open very quickly.  However, after about an hour goe

  • Stuffit .sitx file problem

    Hi I've done a upload of a compressed file, called test.sitx to my webhosting server.My friend and I download the file to check if all is ok. He use a Windows PC and I use a Mac with Mac OSX 10.4.8. We both use the same DSL internet in the same house