Problem with CrossComponent Context Mapping with PopupWindow (web dynpro ab

The situation:
I have four views (View V1, V2, V2_popup, V3) in three Components C1, C2,C3.
View V1 is embeded in Component C1. View V2 is embeded in C2 with view V2_popup as Popup-Window.
View V3 is embeded in Component-C3. And at last the View of Component C2 and C3 are embeded in View V1.
The Problem is the CrossOver Context Mapping between the view V2 and V3.
My first way is the "direct context mapping":
I define a node in the ComponenteControllen from Component-C2 as interface and use it over the ComponentenController
from Component-C3 in view-V3. Now I bind an attribute of the mapped node to an ui-element (e.g: inputfield),
but the output of the Field is empty.
The second way is, that I define an external Mapping for this situtation.
I define a node in the componente-controllen from Component-C2 (an Component-C3)as interface with the attribute "Input Element (Ext)".
Than I map the two nodes with a node from Component-C1. That's works fine.
BUT, if I execute an action (e.g. action_save)in the popup for view-v2 (V2_popup) the changings from the inputfields don't write (show)in the context of the
popup-view. I check this with the debugger. And if I close the popup and open it again, the changings are visible.
Short: If I define a node with attribute "Input Element (Ext)", I don't can read changings from
the screen in a popup-window.
How I can solve this problem???
Message was edited by:
        Maik Sturm

Hi Maik,
try this:
at first you have to instantiate all! used components in the wddoinit method of the componentcontroller in your main (c1) component.
e.g. instance of c2 Component
  lr_usage_c2_comp =   wd_this->wd_cpuse_c2_comp( ).
  IF lr_usage_c2_comp->has_active_component( ) IS INITIAL.
    lr_usage_c2_comp->create_component( ).
  ENDIF.
and at the end set the reference:
  l_ref_interfacecontroller =  wd_this->wd_cpifc_c3_comp( ).
  l_ref_interfacecontroller->set_usage(
    ir_usage_c2_comp = lr_usage_c2_comp ).
set_usage is a method in the c3 component controller,
METHOD set_usage .
  DATA: lr_usage TYPE REF TO if_wd_component_usage.
  lr_usage = wd_this->wd_cpuse_c2_comp( ).
  lr_usage->enter_referencing_mode( ir_usage_c2_comp ).
After doing this the components are using the same instance and you can simply use direct mapping between the components.
Hope it helps.
regards
Christian

Similar Messages

  • Problems with external context mapping

    Hi ,
    I am having the following problems with external context mapping from one WD component to another.
    Problem description:
    In the <i>Component Interfaces</i> I have defined a WD interface "InfA".
    In the <i>interface controller</i> of this compoenent,I have ContextA and attributeA(cardinality 1..1).The contextA is marked as an "Input Element".
    Now my webdynpro componentB adds InfA as used component.In componentB I decalre a contextB with attributeB and map it to contextA to set up the external context mapping.
    Now I expect that if any webdynpro component implements this WD interface InfA ,he has access to contextA with the data getting filled from contextB.
    After i have created the component for the used component I try to fill values in the source node contextB thru this code:
    wdContext.currentContextB.setB(value);
    But in the runtime I keep getting error nullPointerException for nodeContextB,suggesting that the mapping has not been completed.
    Can anyone suggest due to what the error can come ,and, if its a webdynpro bug ,is there a workaround??
    Thanks in advance for your help.
    Best regards
    Sourav

    HI,
    Valery : I personally checked  by doing the example, if the names of value attribute are different in the child's interface and parents component controller then it throws the exception.
    Sourav: NullPointer Exception is thrown when something is not properly initialised, if in the main component the cardinality of mapped origin is 1.1 then you need to access it element directly like:
    wdContext.currentParentNodeElement().setFname("Abhijeet");
        wdContext.currentParentNodeElement().setLname("M");
    i will suggest just check out if you are declaring some element of value node and without initialising taking its use or what?
    if this doesnt solve your problem, please post the expanded exception.
    hope it helps
    let me know if you face nay problem
    regards

  • External context mapping with recursive treenode

    Hi,
    did anybody succeed with external context mapping of a recursive tree node?
    I get the following runtime error. Everything works fine if I use a "regular" value node. I´ve also experimented with manual and automatic component creation.
    Any help is appreciated
    Helmut
    com.sap.tc.webdynpro.progmodel.context.ContextException: NodeInfo(InnerCompInterface.OuterCompTree): cannot create nodes, no mapping defined yet
         at com.sap.tc.webdynpro.progmodel.context.MappingInfo.getDataNode(MappingInfo.java:102)
         at com.sap.tc.webdynpro.progmodel.context.RecursiveNodeInfo.init(RecursiveNodeInfo.java:127)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:682)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:682)
         at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:38)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getCustomControllerInternal(Component.java:409)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:347)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:376)
         at com.sap.tc.webdynpro.progmodel.context.MappingInfo.init(MappingInfo.java:137)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:667)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:682)
         at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:38)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:346)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:854)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:157)
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponentInternal(ComponentUsage.java:137)
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponent(ComponentUsage.java:104)
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createInstanceIfDemanded(ComponentUsage.java:659)
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.getInterfaceControllerInternal(ComponentUsage.java:300)
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.getControllerInternal(ComponentUsage.java:341)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:381)
         at com.sap.tc.webdynpro.progmodel.context.MappingInfo.getContext(MappingInfo.java:54)
         at com.sap.tc.webdynpro.progmodel.context.MappingInfo.isComplete(MappingInfo.java:92)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.getStructureType(NodeInfo.java:247)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.getStructureType(NodeInfo.java:247)
         at com.sap.tc.webdynpro.progmodel.context.AttributeInfo.initNodeMapping(AttributeInfo.java:546)
         at com.sap.tc.webdynpro.progmodel.context.AttributeInfo.init(AttributeInfo.java:432)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.initAttributes(NodeInfo.java:692)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.initAfterCompletedMapping(NodeInfo.java:698)
         at com.sap.tc.webdynpro.progmodel.context.MappingInfo.initAfterCompletedMapping(MappingInfo.java:159)
         at com.sap.tc.webdynpro.progmodel.context.MappingInfo.initMapping(MappingInfo.java:152)
         at com.sap.tc.webdynpro.progmodel.context.MappingInfo.init(MappingInfo.java:142)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:667)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:682)
         at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:38)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:539)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:421)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:129)
         at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:41)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.displayToplevelComponent(ClientComponent.java:134)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:364)
         at com.sap.tc.webdynpro.clientserver.task.Task.createApplication(Task.java:217)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:548)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:57)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:139)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:101)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:38)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:383)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:333)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:311)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:811)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:235)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:144)
    /code

    Hi Helmut,
    I face exactly the same problem with NW 2.0.7.
    It is a bug in WebDynpro runtime.
    Good news is that it is fixed with SP9, so this functionality will work in final release (I believe WD team uses regression tests
    Regards,
    VS

  • External context mapping with CID

    I have a component interface definition CID_A and a Main-Component M.
    At runtime one child component of CID_A should get an input in its view and put this value in the context of M. so I need external (reverse) context mapping.
    the component of CID_A determines the attribut in the (global) context of M.
    but how can I declare this attribut as externally mappable? the option "isInput-element" is not available in the interface controller of cid_a and in the components which implement cid_a it is deactivated and grayed out.
    what can I do to realise external mapping from the implementing component of cid_a to the mothercomponent M?

    >So you have one interface component IF_C which has the external input node and >several components which implement IF_C which should be filled thru external mapping >thru component M, rite?
    my scenario:
    IF_A has two cid-implementating components a1 and a2 which are chosen at runtime.
    a1 or a2 should fill the context of the main-component M via external context mapping. M should hold the global context and share the attribute (from the external mapping of IF_A) to other CID´s (let´s call them IF_B - IF_C). Another IF_L handels the layout from all components.
    I think I did it that way from the following seven steps from your link but I will look tomorrow at work:
    "1. Define the interface component with context node (Input Element Externl)
    2. Create a component which defines a usage to the interface component
    3. Go to the component usages folder and open it.
    4. Right click on the usage you just created and choose Create controller
    usage.
    5. Double click the interfacecontroller_usage you just created.
    6. Here you can add a controller usage using the button at the top.
    7. Now you should be able to define the external mapping by dragging the node of
    the component controller to the interfacecontroller_usage node."
    it´s a litte bit difficult in my scenario because the at runtime chosen components from IF A-C are shown in a window in M (handelt from if_L) and the attribut which I want to use for external mapping is bound to a input field in the view from the components a1 and a2. the input to that field should modify the output in the views from the components from IF_B and IF_C. could this be the fault? that I bound the attribut for external mapping in designtime to an ui-element? I realised this so far only at a1 and when I chose a2 (without that bound ui-element) testing my component works without faults.
    thanks and until tomorrow...

  • Problem with "Building interactive maps with Flex" example

    I have been looking at the tutorial by Matt Sheehan Building interactive maps with Flex found at
    http://www.adobe.com/devnet/flex/articles/interactive_maps.edu.html
    I have downloaded  Flash Builder 4.6 trial version and followed the example. I have also copied the source code from the example and pasted that into the file mymodestmap.mxml.
    In both cases the application opens a new page in Google Chrome but does not display any map data.
    No errors or warnings are displayed when I run the code from Flash Builder.
    Although I have got plenty of experience of writing software, I am a total beginner when it comes to developing web applications!
    Any ideas as to what I am doing wrong, I have attached the source below.
    Cheers
    Steve
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx1="library://ns.adobe.com/flex/halo"
                                     minWidth="1024" minHeight="768" creationComplete="init()" viewSourceURL="srcview/index.html" xmlns:mx="library://ns.adobe.com/flex/mx">
              <fx:Script>
                        <![CDATA[
                                  import mx.core.UIComponent;
                                  import com.modestmaps.TweenMap;   
                                  import com.modestmaps.mapproviders.OpenStreetMapProvider;
                                  import com.modestmaps.geo.Location;
                                  import com.modestmaps.extras.ZoomSlider;
                                  import com.modestmaps.extras.HandCursor; 
                                  [Bindable]private var _map:TweenMap;       
                                  private var _mapUI:UIComponent;
                                  [Bindable]private var _initialLat:Number = 40.668903;
                                  [Bindable]private var _initialLong:Number = -111.680145;
                                  [Bindable]private var _initialZoom:Number = 6;
                                  private var _mouseWheelZoomCenter:Location;
                                  private var _mouseWheelZoom:int;     
                                  private function init():void
                                            _map = new TweenMap(mappanel.width, mappanel.height, true, new OpenStreetMapProvider());   
                                            _map.setCenterZoom(new Location(_initialLat, _initialLong), _initialZoom);
                                            mapCore();
                                  private function mapCore():void
                                            _map.addEventListener(MouseEvent.MOUSE_WHEEL, mouseWheelHandler);   
                                            _mapUI = new UIComponent();
                                            _mapUI.addChild(_map);    
                                            var zoomslider:ZoomSlider = new ZoomSlider(_map);
                                            zoomslider.x = mappanel.width - zoomslider.width*2;
                                            zoomslider.y = 30;
                                            _mapUI.addChild(zoomslider);   
                                            var handcursor:HandCursor = new HandCursor(_map);
                                            _mapUI.addChild(handcursor);
                                            mappanel.addElement(_mapUI);   
                                  private function mouseWheelHandler(e:MouseEvent):void {
                                            if (e.delta < 0) {
                                                      _map.zoomOut();
                                            else if (e.delta > 0) {
                                                      _map.zoomIn();
                                            _mouseWheelZoomCenter = _map.getCenter();
                                            _mouseWheelZoom = _map.getZoom();
                        ]]>
              </fx:Script>
              <s:BorderContainer id="mappanel" width="100%" height="97%"/>
    </s:Application>

    Technically, it's Javascript, not Java :) TOTALLY different beasts. I wish they'd never named it Javascript, it's ambiguous. So anyway, on to the point of the whole thing...
    If you want quotes in your values, you'll need to write a function to replace " with \", and pass the values through it. So instead of javascript:passBack('#ENAME#','#JOB#','#SAL#'); you would have javascript:passBack(addslashes('#ENAME#'),addslashes('#JOB#'),addslashes('#SAL#'));. That would mean that ABC"DEF"GH would be passed to the function as ABC\"DEF\"GH and your quotes would stay intact. Search around on the internet for more specifics as to how to pass double quotes in javascript by using backslashes.
    ~Jer

  • Unable to display text with image in a cell of web dynpro table.

    Hello,
    I am unable to display an image with the text inside a cell of web dynpro table. The image doesn't come at all. I am trying to display the image of an object and the object description alongside within the same cell.
    Thanks and Regards,
    Abhijnan

    Hi
    Pls check the below link
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/9b/46bb0d339b42cc8d30636ca0c9f5b6/frameset.htm
    The only problem is only the below UI elements are supported
    ■Button
    ■ToggleButton
    ■LinkToUrl
    ■LinkToAction
    ■FileDownload

  • Problem in completing the TASK when using Web Dynpro Java and BPM

    Hi,
    I am using Web Dynpro Java and BPM.
    i see my Web Dynpro View when i run the process.
    Just that the task is not completing.
    when i click on the Web Dynpro button to signal the completion of the event, nothing happens.
    i have appropriately created events in both Component controller and Interface Controller and used the same in creating the Task.
    a method in Component controller fires the event and a button click in the view calls this method.
    i have successfully completed Donka Dimitrova's "SAP Netweaver Business Process Management-End-to-End Process Implementation Sample " but when i tried my own with slight modifications, it is not working !!!
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d07f3e88-554f-2b10-3cbf-ab8afea51b9f
    regards,
    -Amol Gupta

    Hi Amol,
    The way you described the things, I dont see any problems. Just to make sure that you are triggering the right event that you mapped as completion event for the task, try to cross check once again and see if the correct event is getting triggered. Also try to put some messages for debugging to see till where the control goes.
    Regards,
    Arafat

  • Navigation problem while using Adobe interactive form in web dynpro

    Hi frds,
    I have a 2 views..
    1st view contains an ADobe from and a button to navigate to the  2nd view..
    No problem with the first view.. displays everything...
    The Problem is when i click the button to nsvigate to the 2nd view, its not loading...
    Wait symbol is coming...
    Please Help me friends...

    hi ,
    pls use  the ZCi layout for the adobe interactive form .
    Need to Insert the web dynpro script to the form.
    Note: Make sure to upgrade the Adobe Interactive for ZCI type using SFP_ZCI_UPDATE transaction
    Subsequently, check whether the update of the ZCI was successfully completed. To do this, open your form in the Adobe LiveCycleDesigner and check the version information of the ZCI script. The ZCI script is available on the "Hierarchy" tab page under the "ContainerFoundation_JS" name. The version must be800.20080513120641.469612.469346.
    You can also have a look at this e-learning.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20029530-54ef-2910-1b93-c41608ae0c90
    Refernce thread : adobe online interactive form
    regards ,
    amit

  • Google maps url in Web dynpro for java

    Hi all,
    Can someone tell how I can create a Google Url and show this Url in a Iframe in a Web dynpro. I can create an url but I see the google webpage with the map. I just want only see the map in my Iframe!
    Kind Regards,
    Richard

    Hi Richard,
    One solution that comes to mind is to have a URL parameter embedded. So the path that you have set to the iframe can be extended say for example http://<your path to HTML file in Mimes>?undefined=<address specific to the user>
    Next thing to do is extract the URL parameter undefined by JavaScripting. So you can pass the address value to this param.
    Once you have this you can trigger this by passing different addresses to URL parameter each time.
    Replace the wdDoInit() by following code:
    public void wdDoInit()
        //@@begin wdDoInit()
         try {
              String resourcePath = WDURLGenerator.getWebResourceURL(wdComponentAPI.getDeployableObjectPart(), "GoogleMapAPI.html");
              wdThis.wdGetContext().currentContextElement().setPath(resourcePath + "?undefined=Mumbai");
         } catch (WDURLException e) {
         wdThis.wdGetAPI().getComponent().getMessageManager().reportException(e.getMessage(),true);
         } catch (WDRuntimeException e) {
              wdThis.wdGetAPI().getComponent().getMessageManager().reportException(e.getMessage(),true);
        //@@end
    Though I have hardcoded the location in above URL, i guess you got what i am indicating at!!
    Even after all this, be carefull in preparing the URL which might result invalid URL due to special chars.
    For Example: New York will result in invalid URL as <space> is not allowed. Ideally, it would have been New%20York. But then google API will no understand %20. Hence, I recommend you to replace %20 by <space> before calling Google API [You will have to write it in initialize() method of HTML file].
    Also, replace the function initialise() in GoogleMapAPI.html
    function initialize() {
          if (GBrowserIsCompatible()) {       
            // This function is anonymous, is executed immediately and
          var query_string = {};
            var query = window.location.search.substring(1);
            var vars = query.split("&");
            for (var i=0;i<vars.length;i++) {
              var pair = vars<i>.split("=");
              // If first entry with this name
              if (typeof query_string[pair[0]] === "undefined") {
                query_string[pair[0]] = pair[1];
                //this.address.value = pair[1];
                 map = new GMap2(document.getElementById("map_canvas"));
                 geocoder = new GClientGeocoder();
                 showAddress(pair[1]);
    I hope your address issue is addressed by me now!!
    kunal kotak

  • User mapping option for Web Dynpro application deployment

    Have WAS 6.40 server - portal not loaded!
    In web dynpro content administrator, "Maintian Jco connections, click create, on "security tab", the user mapping option is presented in sp13.
    In sp14 & 15, with option is not available.
    HELP?
    thank you.

    As per the procedure given in 3rd point I have changed the j2eadm password but it gives me the below error when I try to redeploy and run
    Result
    => deployment aborted : file:/C:/WINDOWS/TEMP/temp26493Welcome.ear
    Aborted: development component 'Welcome'/'local'/'LOKAL'/'0.2007.09.25.22.11.45':
    Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running.
    com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [Natasha] with user name: [admin]                     Check your login information.                     Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: Authentication did not succeed.]
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMEXC)
    Deployment exception : The deployment of at least one item aborted

  • Google Map route in web dynpro question

    Hi all,
         I have a route from add_A to add_B in my database, i want to get this route data from database and show up in google map page. The show up function can be implement by call google map javascript. My problem is how can send route data from web dynpro to my google map page. The google map page can be a JSP or html page, assume that  we use the iFrame element to show this page.
        I search forum, there is a way send the data by url parameter, but my case, the route data should be very large, may not be send by the url parameter. If any one have good idea or other solution  for my case.

    hi all,
      I am encountering to new problem. After deploy my app and run in portal, the redirect does not work. the error message is:
       com.sap.tc.webdynpro.services.exceptions.WDRuntimeException:
      Suspend-Plug must no be triggered when running in portal. Use portal navigation instead to navigate to another application!
        at com.sap.tc.webdynpro.progmodel.view.View.navigate(View.java:529)
        at com.sap.tc.webdynpro.progmodel.view.View.navigate(View.java:462)
        at com.esapro.jcats.routemap.wins.wdp.InternalRouteMapInterfaceView.wdFirePlugSuspend(InternalRouteMapInterfaceView.java:154)
        at com.esapro.jcats.routemap.view.RouteMapView.onActionShow(RouteMapView.java:192)
        at com.esapro.jcats.routemap.view.wdp.InternalRouteMapView.wdInvokeEventHandler(InternalRouteMapView.java:276)
        ... 29 more
      So my question is may i use portal navigation to resolve my problem and how to do it. I need to delivery parameter by post method between them page.  If anyone give me some mainly steps.
    I've try the method,it doesn't work. It only replace a new blank page in portal conten area.
         WDPortalNavigation.navigateAbsolute(
          "ROLES://portal_content/other_vendors/line_manager/com.aa.pct.jcats/com.aa.pct.jcats.iviews/com.aa.pct.jcats.Map",
                    WDPortalNavigationMode.SHOW_INPLACE,
                    "width=300,height=200",
                    null,
                    WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,
                    null,
                    null,
    best regard
    reefish
    Edited by: Ree Fish on Aug 6, 2009 5:53 PM

  • Disabling the Sub Road map steps in web dynpro abap

    Hello Experts,
    I am using Floor Plan Manager for Road map(FPM_GAF_COMPONENT).
    I have 5 main road map steps of which the second one has 3 ( 2.1, 2.2 , 2.3 ) sub road map steps.
    I have a requirement of enabling only the sub road map step in which we are presently in.
    The other sub road map steps should be disabled.
    Like if i am in 2.2  then 2.1 and 2.3 should be disabled.
    I have solved this issue for main road map steps but unable to find a way for doing the same with Sub Road map steps.
    Please help me out in this.
    Thanks in Advance,
    Shravan Varma

    Substeps are not shown automatically, they are to be enabled at runtime .
    See in page 35/36 adding/activating substep
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0d500f5-5205-2e10-43a6-dd023a5d0818?QuickLink=index&overridelayout=true

  • Problem with table in Adobe Form in Web Dynpro JAVA??

    Hello all,
    I have an issue with the table displaying all the node values in the Adove Form. Right now it displays only the first element of the Node even if there are multiple entries.
    Not sure what is going wrong here.
    How is the table created in a interactive form? Any help is appreciated.
    Thank you, John

    Siva,
    I referred to the website, but still having issues with generating tables in Adobe Form. I can get all the table rows in the adove form, but the pdf doee not add new pages to display all the table rows. It just createa one page with the table inside it, display few of the rows and truncates rest of the table data.
    Here is the heirarchy of the page with the properties set
    Master Pages ---
            ||--> Page 1
                     ||--> content area
                     ||--> subfrom (properties:: Content - Flowed / Flow direction - top to bottom...pagination tab is greayed out completly)
                                ||--> Table
                                          ||--> HeaderRows (Object: Row - Type: Header Row)
                                          ||--> Row1 (Object Tab/Binding: Repeat Row for each data item - checked)
    Can't make it wor, not sure what's wrong here
    I am using NDS 7.0 SP18 and Adobe LiveCycle 8.0. Does that could be a problem.
    Appreciate your help
    John

  • Problem Experts OWB 10gR2 - Mapping with OMB - Give a name to the flat file

    I'm trying to create a mapping in OWB by using the Experts (OMB),
    where the data source is a database table and the target is a flat file (to transform a table to a flat file).
    The tasks of my Experts :
    This task create a mapping, and add a existing table on it.
         OMBCC '$thepath'
         catch {OMBDROP MAPPING 'M1'}
         OMBCREATE MAPPING 'M1'
         OMBALTER MAPPING 'M1' \
         ADD $INITIAL_LAUNCH_CONTEXT_TYPE OPERATOR '$thetable' \
         BOUND TO $INITIAL_LAUNCH_CONTEXT_TYPE \ '$INITIAL_LAUNCH_CONTEXT' \
    This task change the context and create a flat file
         OMBCC '/PRJ_LABO_PHARMA/SRC_FILE'
         catch {OMBDROP FLAT_FILE 'NEW_FILE'}
         OMBCREATE FLAT_FILE 'NEW_FILE' \
         SET PROPERTIES (DATA_FILE_NAME) VALUES('fichier_genere.txt')
    This task add the flat file to the mapping, and create a connection between the source (table) and the target (flat file)
         OMBCC '/PRJ_LABO_PHARMA/MOD_SRC_LABO'
         OMBALTER MAPPING 'M1' \
         ADD FLAT_FILE OPERATOR 'NEW_FILE'\
         BOUND TO FLAT_FILE '/PRJ_LABO_PHARMA/SRC_FILE/NEW_FILE' \
         OMBALTER MAPPING 'M1' \
         ADD CONNECTION FROM GROUP 'INOUTGRP1' OF OPERATOR '$thetable' \
         TO GROUP 'NEW_FILE' OF OPERATOR 'NEW_FILE' COPY ALL
    This task update the flat file structure
         OMBRECONCILE MAPPING 'M1' OPERATOR 'NEW_FILE' \
         TO FLAT_FILE '/PRJ_LABO_PHARMA/SRC_FILE/NEW_FILE' \
         USE (RECONCILE_STRATEGY 'REPLACE', MATCHING_STRATEGY 'MATCH_BY_OBJECT_ID')
    Then I have a task which execute this mapping.
    Everything is good, but during the execution I have a error VLD-2357 : The target file's name is not indicated for the file NEW_FILE.
    I don't know how to give a name to the flat file in OMB.
    Help me please.
    Best regards
    Samy

    Just like if you built this in the UI where you would have to configure the flat file operator and define a target data file name and possibly the location these properties should be set in scripting.
    Set the property TARGET_DATA_FILE_NAME to the name of the data file.
    Something like....
    OMBALTER MAPPING 'M1' \
    MODIFY FLAT_FILE OPERATOR 'NEW_FILE' SET PROPERTIES (TARGET_DATA_FILE_NAME) VALUES ('my_datafile.csv')
    Cheers
    David

  • Problem when using XSLT Mapping with Java Methods.

    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:javamap="java:at.pi.mapping.besoldung.BesoldungMapping">
         <xsl:template match="Messages">
              <Messages>
                   <Message1>
                        <xsl:apply-templates></xsl:apply-templates>
                   </Message1>
              </Messages>
         </xsl:template>
         <xsl:template match="Message1">
              <test></test>
              <xsl:param name="inputparam"></xsl:param>
              <xsl:for-each select="MT_BesoldungConversions">
                   <test1></test1>
                   <!-- Prüfen ob die subtractDates Methode verfügbar ist -->
                   <xsl:if test="function-available('javamap:createWhitespace')">
                        <xsl:if test="function-available('javamap:extendTextWithWhitespaces')">
                             <MT_BesoldungOut>
                                  <EDI_DC40>
                                       <xsl:param name="tablename">
                                            <xsl:value-of select="tablename"></xsl:value-of>
                                       </xsl:param>
                                       <xsl:variable name="constTen">10</xsl:variable>
                                       <xsl:value-of select="javamap:extendTextWithWhitespaces($tablename,$tablename, $inputparam)"></xsl:value-of>
                                  </EDI_DC40>
                             </MT_BesoldungOut>
                        </xsl:if>
                   </xsl:if>
              </xsl:for-each>
         </xsl:template>
    </xsl:stylesheet>

    incomplete post

Maybe you are looking for

  • Using Web font in Spry Menu?

    I can get the web fonts I want to use to  "work" anywhere on a page except for in a spry menu. I'd like to  utilize one for a menu. How do I accomplish this seemingly herculean task? Thank you.

  • Need to creat box to fill

    i everybody, i need to creat boxes to fill with quantity. can you help me please. thanxs a lot

  • Prevent Site Members to view Site Contents Page in SharePoint 2013

    I created SharePoint 2013 Site and it has 5 variation sub sites as well. Each site has several pages. I have end users added to Site Members group who should access all the Custom pages. Customer has raised a security issue, end users are able to acc

  • Exporting podcast, no ID3 tags.

    I have tried this about 7 times on different episodes and it has happened to be every time. I am exporting it as a file and I have filled in all the title, artists, description fields etc. 1st time I export it and then open the file in iTunes no ID3

  • [svn] 4842: Backport of DCRAD changes from gumbo to Flex3.x branch.

    Revision: 4842 Author: [email protected] Date: 2009-02-04 14:48:13 -0800 (Wed, 04 Feb 2009) Log Message: Backport of DCRAD changes from gumbo to Flex3.x branch. This includes the CallResponder, HTTPMultiService, and changes to RPC components to suppor