WDA:  Tree structure in web dynpro for ABAP

Hi,
I am trying to build a tree structure with information something like the following:
Country
State
City
I used the UI Element "Tree" and I was successful in building it. The only problem is that it supports only one column in each row like name.
I need multiple columns in each row like Name and population.
1) Is there any solution for this using UI element "Tree" only?
2)I checked that there is Table tree UI element, but I could not figure out how I could use it for hierarchial structure like that of my requirement? Can I use it? Is there any example application with hierarchial structure?
3)For tree UI element, any node that is not directly below context node has to be non-singleton. It will lead to adverse performance. Is there any solution for this?
Thanks in advance.
Regards,
Srini.

Hi Srinivasa,
In the context, please create a node DATA with the following fields:
KEY type string
PARENT type string
LOCATION type string
POPULATION type string (or "I" if you happen to have numbers only without a unit like "k" for "thousand").
Then please create a table with a TreeByKeyTableColumn namde LOCATION and an additional TableColumn called POPULATION. Now please add a TextView cell editor to both and bind the text value of each of them to the attributes LOCATION and POPULATION of the context node DATA. Last step is to bind the attribtues rowKey and parentRowKey(?) to the KEY and the PARENT attributes. This concludes the design time part.
Next step is to fill the node DATA with actual data. Just use a supply function and do it like this:
First entry:
KEY = 'WORLD'.
PARENT = ''.
LOCATION = 'World'.
POPULATION = '4 billion'.
Second entry:
KEY = 'DE'.
PARENT = 'WORLD'.
LOCATION = 'Germany'.
POPULATION = '80 million'.
You should now see a table with a tree at the left column that looks like:
<pre>
  World        4 billion
   ->Germany   80 million
</pre>
Kind regards,
Thomas
Message was edited by: Thomas Szuecs

Similar Messages

  • Framesets in Web Dynpro for Abap

    Hi all,
    I have a question concerning framesets in Web Dynpro for Abap. Today we have a BSP application with 3 framesets: a header-view, a navigation-view and a main view. We'd like to create the same application in Web Dynpro for Abap. I know this is possible in Web Dynpro for Java; is it also possible in WD for Abap or does someone know an alternative?
    Many thanks in advance!
    Siegfried

    The idea of creating viewsets withing WDA was removed.  Instead just create a view to control your layout.  Create viewcontaineruielements to withing this layout view to control the arrangement and positioning of the inner views.

  • Events on ALV in Web Dynpro for ABAP

    Hi
    On an ALV GRID in ABAP one can use the event handle_data_changed that is activated immediately at the time data is changed.
    Is there a similar event in ALV in Web Dynpro for ABAP?
    How would I know if any data was changed in an ALV grid in WDA?
    Regards

    Hi,
    To trigger the DATA_CHECK event on pressing enter, you need to use the set_data_check method. Use the following code:
    l_alv_model->if_salv_wd_table_settings~set_data_check( IF_SALV_WD_C_TABLE_SETTINGS=>DATA_CHECK_ON_CELL_EVENT ).
    Now you can define the data check event handler and it will get triggered when you change something and press enter, or even if you click on another cell. The DATA_CHECK attribute will by default be set to be trigger only on clicking the 'check' button. This will change it.
    Regards
    Nithya

  • Web Dynpro for ABAP Naming Convension & Guide line

    Hi, everyone.
    I have a plan to implement Web Application as WDA(Web Dynpro for ABAP). but I don't know how can I give a name to Windows or Views or Custom controllers.
    If you have a naming convension or guid line document,
    Could you share the document with me? ^^

    As Rich said, there are no official naming conventions. Nonetheless, a few things have become quite popular, such as:
    - adding wnd_ in front of window names as they share the same namespace with views
    - adding m_ in front of member variables of controllers
    - adding s_ in front of supply methods and using the name of the node afterwards
    - adding lbl_ in front of labels and using the name of the labelled ui element afterwards like "lbl_customer" and "customer"
    Some developers also add certain prefixes to view elements to distinguish between them.
    Regarding the names of components, there is one thing that you should not do: Start them with WD_ or WDR_ as both are somehow preserved. The same is true for entities within a component, although there checks in place that prevent you from doing that.
    Best regards,
    Thomas

  • Web DynPro for ABAP Basics

    Hello Seniors,
    I am new to Web DynPro for ABAP. Could you please give me some information or send some basic documents for Web DynPro for ABAP. Please send some basic scenarios also.
    Thank you,
    Chaitanya.C.N

    Hi Chaitanya,
    Here is some information about Webdynpro for ABAP.
    1) This is basic Info of WD 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.
    2 ) I can give you links that can help you a lot.
    First of all start doing SAP SDN tutorials .
    Create some compenents with BAPI , Component usage and ALV .
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/02e1fa45-0801-0010-10a0-f1cf47e8c943
    /people/marilyn.pratt/blog/2005/12/20/web-dynpro-for-abap
    Try to Download demo tutorials from SDN library & Try to search WebDynpro ABAP WebLogs .
    Also, SAP has provided you with ample demo example of WD ABAP already bundled with SAP . Just Try out Components starting with WDR . I can tell you few like WDR_TEST_EVENTS ( It shows how every UI elments to use )
    See packages like SWDP_DEMO , SALV_WD_DEMO
    there are many more .
    We can call BAPI through a service call in web dynpro application. Thus automatically backgroud code for BAPI execution will be generated.
    To start with Web dynpro ABAP you can try following tutorial:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a282c952-0801-0010-1eb5-87953e036712
    You can start with tutorials and all. There are around six tutorials in SDN library.
    Web Dynpro for ABAP
    http://help.sap.com/saphelp_erp2005/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/frameset.htm
    best tutorials in wbdynpro for ABAP to start with :
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/webcontent/uuid/fed073e5-0901-0010-4eb4-c9882aac7b11 [original link is broken] [original link is broken]
    Have a look at the following SDN WDA Wiki . There you can find all relevant information.
    https://wiki.sdn.sap.com/wiki/display/WDABAP/Main
    Also you can search weblogs on web dynpro ABAP.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/45/19bf8c16f25d7ae10000000a11466f/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/02e1fa45-0801-0010-10a0-f1cf47e8c943
    /people/marilyn.pratt/blog/2005/12/20/web-dynpro-for-abap
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/02e1fa45-0801-0010-10a0-f1cf47e8c943
    http://help.sap.com/saphelp_nw04s/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdabap/main&
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a282c952-0801-0010-1eb5-87953e036712
    You can start with tutorials and all. There are around six tutorials in SDN library.
    Web Dynpro for ABAP
    http://help.sap.com/saphelp_erp2005/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/frameset.htm
    best tutorials in wbdynpro for ABAP to start with :
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/webcontent/uuid/fed073e5-0901-0010-4eb4-c9882aac7b11 [original link is broken] [original link is broken]
    http://www.****************/Tutorials/WebDynproABAP/TextRadioButton/page1.htm
    reward points for helpful answers.
    Thanks,
    Raghava Vakada.

  • Web Dynpro for ABAP @ SDN Wiki

    Dear users and developers of Web Dynpro for ABAP!
    I'd like to invite you to Web Dynpro page in SDN Wiki launched recently.
    <a href="https://wiki.sdn.sap.com/wiki/display/WDABAP">Wiki page for Web Dynpro ABAP</a>
    It's really great place for all WD Forum FAQ, HowTo and other frequently referenced materials, useful links, tips, hints etc.
    Never again bother with answering the same question twice - put it the Wiki!
    I'd like to thank SAP Network team who finally came up with this great tool for knowledge transfer!
    Regards,
    Serguei

    premkumarwow wrote:
    Hello,
    >
    > I am new to webdynpro and am sorry if i am re-posting the same question or if asking a basic question. I did go through the  link Web Dynpro for ABAP @ SDN Wiki and am atleast confident of how to start a development .
    >
    > I have couple of queries. We are implementing webdynpro first time for our client. The client want to know if :
    > 1. The user must log in to SAP each time to view the output
    > 2. Or can they view the output via browser without having to login to SAP at all,
    >
    > After going through few posts, am aware that output can be viewed via browser but the client says none of their users will type in user id and password while logging in ( Meaning it will be an automatic login).
    >
    > Can they view the output in a browser without opening SAP and can it be set so that they do not type in User id and password( I am not aware how but currently for logggin into SAP, they do not have to type in their id information).
    >
    > Your replies will be of great help to start with.
    >
    > Regards,
    > Prem
    Adding to what sanasrinivas wrote above...user will have to login the again  if your application opens in a GUI interface and from that GUI screen you are opening some report in Browser.
    Remember that T-codes made for wda can execute both in GUI and Browser, If you execute them in Browser you wont have to login again and again but yes, if you execute 1 application in GUI and open some other t-code in browser , you will have to enter the login details again...so if you want to have hassle free execution you will have to open the reports in browser always.
    regards,
    Sahai.S

  • Floor Plan Manager Technique in Web Dynpro for ABAP

    Hi Experts,
    Road map technique and Floor Plan Manager Technique, both are same or different.
    I need to develop a web dynpro application based on Floor Plan Manager Technique. can I develop this application in WebDynpro for ABAP. If so please help me how to use Floor Plan Manager Technique in Web Dynpro for ABAP.
    I don't have knowledge in java, so i cann't develop this application in web dypro for java.
    Please help me.
    Thanks & Regards
    Sridhar

    >Road map technique and Floor Plan Manager Technique, both are same or different.
    They are different. The FloorPlan Manager is a tool for constructing WD applications with a similar layout and user interface.  There are two different floor plans currently - the OIF - Object Instance Floorplan and the GAF - Guided Activity Floorplan.  The OIF is for the editing of a single business object. It allows for things like the nesting of header and item details.  The GAF, on the other hand, uses a road map to walk you through an activity - much like a Guided Procedure.  The FloorPlan Manager is very powerful because it can be configured using component and application configuration - allowing you to plug in different UI Building Blocks (UIBB) as Web Dynpro Components or Views.  You can change the roadmap, for instance, adding a new step by just chaning this configuration and not having to touch the code.  Consistency between applications is also a major stregth of the FloorPlan Manager. 
    The Road Map is just a UI element in WD.  It can be used to create your own custom applications.
    >can I develop this application in WebDynpro for ABAP
    Sure.  The Floorplan manager has been available for WDA since SPS13.  Have a look at the packages APB_FPM_DEMO and ABP_FPM_TEST for examples of how to build components designed for the FloorPlan Manager.
    Admittedly there aren't a whole lot of documents available on the subject yet. Some eLearning is being worked on now.  There are going to be some workshops at TechEd on the subject:
    https://wiki.sdn.sap.com/wiki/display/Community/BringitallTogetherwithFPM%28FloorplanManager%29forWebDynpro+ABAP
    The best thing to do right now is to study the demo applications SAP provides.

  • Direct link to Web Dynpro for ABAP

    Hey everyone,
    I created a web dynpro    for ABAP    application that will list out all the work items for the purchase requisition approval through workflow. I want to be able to have our higher ups be able to access this through our portal. I created an iView    that works and calls the application just fine.  What I want to do now is provide a link in an email to these people so they will be able to log into the portal and go directly to the application (just the application not portal wrapper around it at all) and only the application.  I can't provide a directly link to the WDA app since, I think, it would be to the ECC server and not the portal one.
    I have tried Quick Links but that isn't what I want.
    I did try to put a pcd location link
    http://<server>:<port>/irj/servlet/prt/portal/prtroot/<pcd location>
    but I get an internal error because it's trying to do an anonymous login and I want the login screen to show up first.
    HELP!!!!!
    Thanks,
    Archie

    The PCD path of the portal object is the Navigation target.
    http:/myServer:50000/irj/portal?NavigationTarget=ROLES://portal_content/myFolder/myRole
    This can be hashed and shortened to form the Short URL as shown below
    http:/myServer:50000/irj/portal?NavigationTarget=navurl://b3d6d9ebac16a46574d62757803b05d4
    Short URL can be enabled and disabled depending upon the requirements.
    Check the links below for detail description to enable short URL:
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/43/014421d21d6fade10000000a11466f/frameset.htm
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/49/330b66fd695aa8e10000000a42189d/frameset.htm
    NavigationTarget generally shows all the portal roles with the specific object highlighted.
    In the sense it takes you to that Object with the portal header and TLN.
    If your requirement is not to show header and TLN,then try adding &NavMode=3 to the NavigationTarget url you are using as below
    http://<server>.<port>/irj/portal?NavigationTarget=ROLES://<PCD path of object>&NavMode=3
    I( made some testes here, and works fine for worksets and roles.
    Hope it Helps.
    Fabio Sarmento

  • N4S: Web Dynpro for ABAP layout editor not working

    Have problem in Layout editor in Web Dynpro for ABAP
    I have installed NW04S Testdrive on 64bit Linux and able to login.
    SE80 is working alright.
    Next I create a Web Dynpro Comp. / Intf. and create a component.
    I double click on the View name "V_Default" . The Layout editor opens on the right side. Change into Edit Mode.
    The "View Elements" panel on the left side of layout editor is missing. This is where we select the various elements like "Textview" etc.
    Even the right click on the "ROOTUIELEMENTCONTAINER" to insert elements using context menu does not work.
    In summary I am not able to add any element in WD4A Layout screen.
    Is there any special plugin required to be installed?
    How to solve this problem?

    you cannot develope Webdynpro for ABAP using ECC5
    This is available with netweaver 2004s (WAS7.0) for which ramp up is going on right now and the general availability is expected sometime around 1st quarter for 2006.
    Regards
    Raja

  • Import Data from Office Control (Web Dynpro for ABAP) into internal-Table

    Hello,
    I have a question concerning the Office Control UI-Eelement in Web Dynpro for ABAP:
    How can I import spreadsheet data from the Office Control into  a internal-table?
    I have an Excel-sheet (without any data) which is shown initially in the Office Control. First the empty Excel-Sheet will be loaded and in the second step data from an alvxml-transformation will be loaded into the Excel-sheet with the method 'activatexmlsource'. This works so far. When I change the loaded data in the Office Control and save it it will be stored as XLS-File. The problem is that I'm not able to use existing Upload-FM because every function module I tried uses GUI-functions and WebDynpro has no GUI-functionality. I always get the error that data from clipboard cannot be imported.
    So now the question is:
    How can I import changed data from the Office control into a internal-table staying in Web Dynpro application?
    Please give some advice, if you have some useful code or ideas.
    Thanks
    ram
    Edited by: Ramakullay Challa on Sep 24, 2009 9:05 AM
    Edited by: Ramakullay Challa on Sep 24, 2009 9:07 AM

    Hi,
    Once you save to desktop again you have made some changes to that file, this file you want to upload it right.
    Then in that case you need to use the FILEUPLOAD UI element right.
    Regards,
    Lekha.

  • Web Dynpro for ABAP:How to insert and delete a row in a table

    I have a table.
    My requirement is to insert a row into the table and i want to delete a particular row also.
    How can i do it.
    Plz reply me..

    Try the Web Dynpro for ABAP forum:
    Web Dynpro ABAP
    Kind Regards
    Stefanie

  • Web dynpro for abap how to create a customize search help in alv column

       hi:
          Web dynpro for abap how to create a customize search help in alv column and put search help value into alv column?
          Are there specific examples ?
          thanks!!

    HI:
       I want to created a freely programed help which include date&time,and put help value to alv column.
      I have created a freely programed help in web dynpro for abpa application,I refer:
      **************** - WebDynpro for ABAP
      but have a problem!
       If you focus on the the input field in the first row, you get the value help
    However if  I go to the second row and focus on the same input field in this column, I don't get the value help:
    What is a good way to solve similar problems?
    thanks

  • How to call "compensation profile" iView in ECM from Web Dynpro for ABAP

    Hi Experts,
    I developed a compensation planning iView using web dynpro for ABAP using floor plan manager in ECM. I need to call the iView "compensation profile" but I don't know how to pass parameter to it, how to trigger it from my application. Is there anyone used to do this before?
    Thanks!
    - Anthony -

    I have to develop my own iView to replicate Java iView.

  • Web Dynpro for ABAP iView can't work

    Hi guys,
    I've developed an application in web dynpro for abap, it can be accessed from this url:
    http://pekax110.aaa.com:8001/sap/bc/webdynpro/sap/zsfa_test
    But when I created an Web Dynpro iview, set the parameters as follows:
    System: SAP_CRM
    namespace: sap
    application: ZSFA_TEST
    The WAS setting of the System is:
    Web AS Host Name: pekax110.aaa.com:8001
    Web AS Protocol: http
    I add to iview to an portal role, and assign this role to one user. When I open the iview with the user, the iview reports error:
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/cn.com.dimension.lenovo.xmyang/roles/cn.com.dimension.lenovo.test2cgd/cn.com.dimension.lenovo.zsfa_test
    Component Name : com.sap.portal.appintegrator.sap.WebDynpro
    Exception in SAP Application Integrator occured: Unable to parse template '<System.Access.WAS.protocol>://<System.Access.WAS.hostname>/sap/bc/webdynpro/<WebDynproNamespace>/<WebDynproApplication>/;sap-ext-sid=<ESID[url_ENCODE]>?sap-wd-configId=<WebDynproConfiguration>&sap-ep-iviewid=<IView.ShortID>&sap-ep-pcdunit=<IView.PCDUnit.ShortID>&sap-client=<System.client>&sap-language=<Request.Language>&sap-accessibility=<User.Accessibility[SAP_BOOL]>&sap-rtl=<LAF.RightToLeft[SAP_BOOL]>&sap-ep-version=<Portal.Version[url_ENCODE]>&<ProducerInfo>&sap-explanation=<User.Explanation[SAP_BOOL]>&<StylesheetIntegration[IF_true PROCESS_RECURSIVE]>&<Authentication>&<DynamicParameter[PROCESS_RECURSIVE]>&<ForwardParameters[QUERYSTRING]>&<ApplicationParameter[PROCESS_RECURSIVE]>'; the problem occured at position 240. Cannot process expression <IView.PCDUnit.ShortID> because Unable to get PCD Unit pcd:portal_content/cn.com.dimension.lenovo.xmyang/roles/cn.com.dimension.lenovo.test2cgd/cn.com.dimension.lenovo.zsfa_test.
    Exception id: 09:51_22/10/06_0011_19338950
    See the details for the exception ID in the log file
    The default trace files shows:
    #1.5#001125C948FE006A000000590009002E0004205C95299DFF#1161481918454#com.sap.portal.sapapplication#sap.com/irj#com.sap.portal.sapapplication#yangxm#3905##PEKAX119_PGD_19338950#yangxm#a0de4330616a11db83a9001125c948fe#SAPEngine_Application_Thread[impl:3]_8##0#0#Error#1#/System/Server#Java###Content pass of Application Integrator failed.
    Component Name:       'com.sap.portal.appintegrator.sap.WebDynpro',
    Context Name (iView): 'pcd:portal_content/cn.com.dimension.lenovo.xmyang/roles/cn.com.dimension.lenovo.test2cgd/cn.com.dimension.lenovo.zsfa_test',
    Top Layer:            'WebDynpro/TopLayer',
    Producer ID (FPN):    'null',
    System Alias:         'SAP_CRM',
    [EXCEPTION]
    #1#com.sapportals.portal.appintegrator.ApplicationIntegratorException: Unable to parse template '<System.Access.WAS.protocol>://<System.Access.WAS.hostname>/sap/bc/webdynpro/<WebDynproNamespace>/<WebDynproApplication>/;sap-ext-sid=<ESID[url_ENCODE]>?sap-wd-configId=<WebDynproConfiguration>&sap-ep-iviewid=<IView.ShortID>&sap-ep-pcdunit=<IView.PCDUnit.ShortID>&sap-client=<System.client>&sap-language=<Request.Language>&sap-accessibility=<User.Accessibility[SAP_BOOL]>&sap-rtl=<LAF.RightToLeft[SAP_BOOL]>&sap-ep-version=<Portal.Version[url_ENCODE]>&<ProducerInfo>&sap-explanation=<User.Explanation[SAP_BOOL]>&<StylesheetIntegration[IF_true PROCESS_RECURSIVE]>&<Authentication>&<DynamicParameter[PROCESS_RECURSIVE]>&<ForwardParameters[QUERYSTRING]>&<ApplicationParameter[PROCESS_RECURSIVE]>'; the problem occured at position 240. Cannot process expression <IView.PCDUnit.ShortID> because Unable to get PCD Unit pcd:portal_content/cn.com.dimension.lenovo.xmyang/roles/cn.com.dimension.lenovo.test2cgd/cn.com.dimension.lenovo.zsfa_test
         at com.sapportals.portal.appintegrator.layer.AbstractIntegrationLayer.processTemplate(AbstractIntegrationLayer.java:453)
         at com.sapportals.portal.appintegrator.layer.URLTemplateProcessLayer.processLayer(URLTemplateProcessLayer.java:33)
         at com.sapportals.portal.appintegrator.LayerProcessor.processActionPass(LayerProcessor.java:159)
         at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doActionPass(AbstractIntegratorComponent.java:67)
         at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doOnPOMReady(AbstractIntegratorComponent.java:53)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java(Compiled Code))
         at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java(Compiled Code))
         at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java(Compiled Code))
         at com.sapportals.portal.prt.pom.PortalNode.processEventQueue(PortalNode.java(Compiled Code))
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:652)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
    Caused by: com.sapportals.portal.appintegrator.template_processor.TemplateParserException: Unable to parse template '<System.Access.WAS.protocol>://<System.Access.WAS.hostname>/sap/bc/webdynpro/<WebDynproNamespace>/<WebDynproApplication>/;sap-ext-sid=<ESID[url_ENCODE]>?sap-wd-configId=<WebDynproConfiguration>&sap-ep-iviewid=<IView.ShortID>&sap-ep-pcdunit=<IView.PCDUnit.ShortID>&sap-client=<System.client>&sap-language=<Request.Language>&sap-accessibility=<User.Accessibility[SAP_BOOL]>&sap-rtl=<LAF.RightToLeft[SAP_BOOL]>&sap-ep-version=<Portal.Version[url_ENCODE]>&<ProducerInfo>&sap-explanation=<User.Explanation[SAP_BOOL]>&<StylesheetIntegration[IF_true PROCESS_RECURSIVE]>&<Authentication>&<DynamicParameter[PROCESS_RECURSIVE]>&<ForwardParameters[QUERYSTRING]>&<ApplicationParameter[PROCESS_RECURSIVE]>'; the problem occured at position 240. Cannot process expression <IView.PCDUnit.ShortID> because Unable to get PCD Unit pcd:portal_content/cn.com.dimension.lenovo.xmyang/roles/cn.com.dimension.lenovo.test2cgd/cn.com.dimension.lenovo.zsfa_test
         at com.sapportals.portal.appintegrator.template_processor.TemplateProcessor.processWholeTagExpression(TemplateProcessor.java:156)
         at com.sapportals.portal.appintegrator.template_processor.compiler.TemplateCompiler.processWholeTagExpression(TemplateCompiler.java:54)
         at com.sapportals.portal.appintegrator.template_processor.TemplateParser.parseSimpleExpression(TemplateParser.java:234)
         at com.sapportals.portal.appintegrator.template_processor.TemplateParser.parseComponenedExpression(TemplateParser.java:188)
         at com.sapportals.portal.appintegrator.template_processor.TemplateParser.parseComponenedExpressionEx(TemplateParser.java:210)
         at com.sapportals.portal.appintegrator.template_processor.TemplateParser.parseComponenedExpression(TemplateParser.java:193)
         at com.sapportals.portal.appintegrator.template_processor.TemplateParser.parseComponenedExpressionEx(TemplateParser.java:210)
         at com.sapportals.portal.appintegrator.template_processor.TemplateParser.parseComponenedExpression(TemplateParser.java:193)
         at com.sapportals.portal.appintegrator.template_processor.TemplateParser.parseTagExpression(TemplateParser.java:170)
         at com.sapportals.portal.appintegrator.template_processor.TemplateParser.parseTemplateExpressionPart(TemplateParser.java:97)
         at com.sapportals.portal.appintegrator.template_processor.TemplateParser.parse(TemplateParser.java:89)
         at com.sapportals.portal.appintegrator.template_processor.TemplateParser.parse(TemplateParser.java:83)
         at com.sapportals.portal.appintegrator.template_processor.TemplateProcessor.processImpl(TemplateProcessor.java:406)
         at com.sapportals.portal.appintegrator.template_processor.TemplateProcessor.process(TemplateProcessor.java:373)
         at com.sapportals.portal.appintegrator.template_processor.TemplateProcessor.process(TemplateProcessor.java:385)
         at com.sapportals.portal.appintegrator.template_processor.TemplateProcessorService.processTemplate(TemplateProcessorService.java:53)
         at com.sapportals.portal.appintegrator.template_processor.TemplateProcessorService.processTemplate(TemplateProcessorService.java:104)
         at com.sapportals.portal.appintegrator.layer.AbstractIntegrationLayer.processTemplate(AbstractIntegrationLayer.java:439)
         ... 32 more
    Caused by: com.sapportals.portal.appintegrator.template_processor.context.ContextException: Unable to get PCD Unit pcd:portal_content/cn.com.dimension.lenovo.xmyang/roles/cn.com.dimension.lenovo.test2cgd/cn.com.dimension.lenovo.zsfa_test
         at com.sapportals.portal.appintegrator.template_processor.context.IViewWrapper.getPCDUnit(IViewWrapper.java:156)
         at com.sapportals.portal.appintegrator.template_processor.context.IViewWrapper.access$000(IViewWrapper.java:28)
         at com.sapportals.portal.appintegrator.template_processor.context.IViewWrapper$1.getTerminal(IViewWrapper.java:79)
         at com.sapportals.portal.appintegrator.template_processor.TemplateProcessor.processWholeTagExpression(TemplateProcessor.java:152)
         ... 49 more
    Caused by: com.sapportals.portal.pcd.gl.PermissionControlException: Access denied (Object(s): portal_content/cn.com.dimension.lenovo.xmyang/roles/cn.com.dimension.lenovo.test2cgd/cn.com.dimension.lenovo.zsfa_test)
         at com.sapportals.portal.pcd.gl.PcdFilterContext.filterLookup(PcdFilterContext.java(Compiled Code))
         at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java(Compiled Code))
         at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java(Compiled Code))
         at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java(Compiled Code))
         at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java(Compiled Code))
         at com.sapportals.portal.pcd.gl.PcdProxyContext.basicContextLookup(PcdProxyContext.java(Compiled Code))
         at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookupLink(PcdProxyContext.java(Compiled Code))
         at com.sapportals.portal.pcd.gl.PcdProxyContext.proxyLookup(PcdProxyContext.java(Compiled Code))
         at com.sapportals.portal.pcd.gl.PcdProxyContext.lookup(PcdProxyContext.java(Compiled Code))
         at com.sapportals.portal.pcd.gl.PcdGlContext.lookup(PcdGlContext.java(Compiled Code))
         at com.sapportals.portal.pcd.gl.PcdURLContext.lookup(PcdURLContext.java(Compiled Code))
         at javax.naming.InitialContext.lookup(InitialContext.java(Compiled Code))
         at javax.naming.InitialContext.lookup(InitialContext.java(Compiled Code))
         at com.sapportals.portal.appintegrator.template_processor.context.IViewWrapper.getPCDUnit(IViewWrapper.java:148)
         ... 52 more
    #1.5#001125C948FE006A0000005B0009002E0004205C9529A580#1161481918456#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#yangxm#3905##PEKAX119_PGD_19338950#yangxm#a0de4330616a11db83a9001125c948fe#SAPEngine_Application_Thread[impl:3]_8##0#0#Error#1#/System/Server#Java###Exception ID:09:51_22/10/06_0011_19338950
    [EXCEPTION]
    #1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    Component : pcd:portal_content/cn.com.dimension.lenovo.xmyang/roles/cn.com.dimension.lenovo.test2cgd/cn.com.dimension.lenovo.zsfa_test
    Component class : com.sapportals.portal.sapapplication.SAPApplicationIntegratorComponent
    User : yangxm
         at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:969)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
    Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Unable to parse template &\#39;&lt;System.Access.WAS.protocol&gt;://&lt;System.Access.WAS.hostname&gt;/sap/bc/webdynpro/&lt;WebDynproNamespace&gt;/&lt;WebDynproApplication&gt;/;sap-ext-sid=&lt;ESID[url_ENCODE]&gt;?sap-wd-configId=&lt;WebDynproConfiguration&gt;&amp;sap-ep-iviewid=&lt;IView.ShortID&gt;&amp;sap-ep-pcdunit=&lt;IView.PCDUnit.ShortID&gt;&amp;sap-client=&lt;System.client&gt;&amp;sap-language=&lt;Request.Language&gt;&amp;sap-accessibility=&lt;User.Accessibility[SAP_BOOL]&gt;&amp;sap-rtl=&lt;LAF.RightToLeft[SAP_BOOL]&gt;&amp;sap-ep-version=&lt;Portal.Version[url_ENCODE]&gt;&amp;&lt;ProducerInfo&gt;&amp;sap-explanation=&lt;User.Explanation[SAP_BOOL]&gt;&amp;&lt;StylesheetIntegration[IF_true PROCESS_RECURSIVE]&gt;&amp;&lt;Authentication&gt;&amp;&lt;DynamicParameter[PROCESS_RECURSIVE]&gt;&amp;&lt;ForwardParameters[QUERYSTRING]&gt;&amp;&lt;ApplicationParameter[PROCESS_RECURSIVE]&gt;&\#39;; the problem occured at position 240. Cannot process expression &lt;IView.PCDUnit.ShortID&gt; because Unable to get PCD Unit pcd:portal_content/cn.com.dimension.lenovo.xmyang/roles/cn.com.dimension.lenovo.test2cgd/cn.com.dimension.lenovo.zsfa_test
         at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContentPass(AbstractIntegratorComponent.java:121)
         at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContent(AbstractIntegratorComponent.java:96)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         ... 31 more
    Can anybody help me out, thank you very much!
    Best Regards,
    Xiaoming Yang

    hi Xiaoming Yang  ,
    i am facing the same error . can you please tell me how you have solved this ??
    regards
    Sujay Kulkarni

  • How to confirm program version in Web Dynpro for ABAP

    Hello expert
    I would like to know how to confirm the program version for Web Dynpro for ABAP.
    For ABAP we can confirm version using SE38.
    Best regards,
    Ichimura

    everything has a version
    View has a version.
    controllers have versions
    WD component also has version
    so double click on what you need and the follow the path

Maybe you are looking for