Problem in changing CAPTION (header) of a View in Web dynpro component

Hi All,
I want to change the Caption (header) text of a View in Web dynpro component. But when i transport it the changes are not reflecting in other systems.
Also when i activate the Web dynpro component in development system, it issues a message "The text belongs to package $TMP". But the Web dynpro component is assigned to a custom package.
Any pointers to resolve this is appreciated.
Thanks in advance.
Regards,
Navin.

Hi
Please check the 'text' property of the caption.
e.g : If you are using OTR to bind the text then it might be possible that the OTR text belongs to $TMP package.
Please explain how have you binded the caption ?
Regards,
Puneet

Similar Messages

  • Cloning of View in Web dynpro component

    How can i create the multiple copies of a view, if possible can anyone give me the code snippet ?

    I am getting the fallowing exception when i map the same view to the different cells in the View Set
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: duplicate usage of view .OneView
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:516)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:398)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:555)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:422)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:130)
         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:371)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:599)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:251)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
         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:391)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:265)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:345)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:323)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:865)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:240)
         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: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:162)

  • Font size of text view in Web Dynpro ABAP

    Hi Experts,
    How to increase the font size of a text view in Web Dynpro layout. I have tried the 'Design' property of the text view and made it 'Group Title', But i want even bigger font size.
    Pls suggest.
    Thanks,

    >
    Naresh Kumar Malik wrote:
    > Hi
    >
    >
    >
    >
    > You can use <h1> HTML tag. Here
    > concatenate   '<h1>'  item_eform_reqno '</h1>' into head.
    >   wd_context->set_attribute( exporting name = 'EFORM_HEAD' value = head ).
    >
    >
    > Here attribute EFORM_HEAD is bounded to the text view element.
    >
    > Regards
    > Naresh
    This should NOT work!  The UI elements should safe encode all input values - thereby eliminating the value of any HTML tags. If you system isn't doing this already then it is a bug and if you rely on such a thing it will stop working at some point in the future.
    You are basically restricted to different values available via the design parameter.  The overall font sizes come from the underlying themes and the client applications (browser or NetWeaver Business Client) that host the Web Dynpro Application.  Therefore no direct specification of the font size is possible in order to stay within the controls of theme.  If you don't like any of the designs available, you might consider altering the Portal Theme you are using - but that is a rather drastic approach.

  • Changes in standard e-rec web dynpro component

    Hi ,
    I need to make some changes in standard e-rec web dynpro component. Needed to know what approach needs to be followed for the same. Can I make changes in the standard itself or do I need to copy the standard component and make changes in the Z component.
    Thanks in anticpation.
    Regards
    Nidhi Jain

    Hi Nidhi,
    Its better to make changes in the Enhancement Framework itself.It will be too complex to make it to Z applications since there will be lot of dependent objects involved. I was also in the state of dilema when i was about to make changes to the standard E-travel applications using ABAP webdynpro(EHP2) and finallly i was able to meet all the customer requirements using Enhancement Framework and yesterday the UAT ended successfully..:-).
    I have also implemented the e-recruiting using BSP in my last project.So i am able to give the above suggestion to you.
    Since E-rec applications will have lot of methods, you can be able to meet all the changes in the Pre and the Post exit methods itself.
    All the Best.
    Thanks,
    Rajkumar.S

  • Problem in submit button on adobe form integrated with web dynpro

    Hello,
    I'm facing prob in triggering web dynpro event onSubmit for Interactive form.
    I've created a submit button from web dynpro activex pallete on adobe form (integrated with web dynpro) to send the form as email.
    Then in the web dynpro view where this form is embedded i have created an action against onSubmit event and called a method within this.
    However, on clicking Submit button this event is not getting triggered.
    Please let me know what is lacking in this process?
    Thanks.

    Hi,
    I am also facing the same problem. i have developed a simple scenario under which user have to input his/her details and on submit button it will be updated to database.
    I have tried the above solution but after adopting this solution all the editable fields become non-editable.
    so the above solution is not working for me could you help me out.
    I think ... try this....
    When you create the Adobe Form from WebDynpro, you need to follow one step in SFP Transaction or inSE80 transaction. Open the Adobe Form in any one the transaction and now in SAP menu bar "Utilities" in that you will find the "INSERT THE WEBDYNPRO SCRIPT" just click on that one. Then you will see a new Script Object is being created with the name "ContainerFoundation_JS" under the "Variables" in the Heirarchy of the Object Pallete of the Adobe Form.
    This step is mandatory to use the SUBMIT Button of the "WebDynpro Native", to trigger the OnSubmit event of the WebDynpro.
    Thanks
    Edited by: shailendra2sap on Mar 6, 2009 12:24 PM

  • Pop up view in Web Dynpro for ABAP

    Hi,
    I am new in web dynpro for ABAP. Now I am facing a problem of how to make a view pop up.
    Since I had already create some table in this view. I just want to make it pop up after I click a button. But I had no idea to do it, could anyone tell me how to do it?
    Thanks!
    Edmond

    Hi Ho,
    For POp up view please follow the below steps.
    1. Create one view [Ex:popup_view] and design it as per your requirement.
    2. Create one window [Ex:popup_win] and embed the popview_view into pop up window.
    3. Then write the below code when ever you need a pop up window.
    data: l_cmp_api           type ref to if_wd_component,
            l_window_manager    type ref to if_wd_window_manager.
    l_cmp_api           = wd_comp_controller->wd_get_api( ).
      l_window_manager    = l_cmp_api->get_window_manager( ).
      if wd_this->m_popup1_1 is initial.
        wd_this->m_popup1_1 = l_window_manager->create_window(
                 window_name  = 'POPUP_WINDOW'
                 button_kind  = if_wd_window=>co_buttons_ok
                 message_type = if_wd_window=>CO_MSG_TYPE_STOPP ).
      endif.
      wd_this->m_popup1_1->open( ).
    Thanks.

  • Set the Web dynpro component view to other web dynpro component

    I have created two web dynpro components DC1 and DC2
    i have imported the usage of DC2 in DC1
    i am able to create the instance of DC2 in DC1 also
    but the problem is i have a view V1 in the DC1, i want to embed the V1 of DC1 into one of the DC2 views Programmatically how can i do this ?

    Hi,
    You can include the InterfaceView of DC1 at designTime  in DC2.
    But you can specify the lifeTime property to "Manual" in DC2 so that you can create the ComponentInterface of DC1 at runtime using ".createComponent()" method.
    So when you run the application DC1 View will not displayed by default.
    Regards, Anilkumar

  • How to use data from standard view in Web dynpro for ABAP

    Hello:
    I have to create an Abap Web Dynpro, and I must use data from a standard view in the new one. Does anybody know what do I have to do?
    Thank you and have a happy new year.

    Hi Rodrigo,
    Firstly, list the Standard component under Component Usage of the Component which you are creating in your View.
    Second, In the Custom Component, view, goto context, and try to add the node from the Standard component in to your view.
    NOTE: The second step requires a Node in component controller of the Standard Component.
    Finally, Now in your view, get the data from that and map the data.
    NOTE: To do this, I think you need to call your Standard WDA first and then only your node contains data and it will be passed.
    I hope it is helpful.
    Regards,
    Shashikanth. D

  • Problem in getting Portal Mapped user and password in Web Dynpro iView

    I am developing a webdynpro iview.My app need to read mapped user and password form a system in Portal runtime.
    I used the following codes in my Web Dynpro java program:
         IWDClientUser user = WDClientUser.getCurrentUser();
         IUser iuser = user.getSAPUser();
         IUserMappingService iums = (IUserMappingService)WDPortalUtils.getServiceReference(IUserMappingService.KEY );
    //     IUserMappingService iums = (IUserMappingService)
    //     PortalRuntime.getRuntimeResources().getService(IUserMappingService.KEY);
         IUserMappingData iumd = iums.getMappingData (systemalias, iuser);
         Map map = new HashMap ();
         iumd.enrich(map);
         String userid = (String)map.get( "user" );
         String pwd = (String)map.get ("mappedpassword");
    I've add a sharing references in project properties,the value is "PORTAL:sap.com/com.sapportals.portal.prt.service.usermapping.IUserMappingService"
    But when I run the iview on my Portal, it goes wrong, the message is:
    com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to prepare application ''local/HomePage'' for startup. Reason= Clusterwide exception: Failed to start dependent library ''com.sapportals.portal.prt.service.usermapping.IUserMappingService'' of application ''local/HomePage''. Status of dependent component: STATUS_MISSING. Hint: Is the component deployed correctly on the engine?
        at com.sap.engine.services.webdynpro.WebDynproContainer.prepareStart(WebDynproContainer.java:1490)
        at com.sap.engine.services.deploy.server.application.StartTransaction.prepareCommon(StartTransaction.java:231)
        at com.sap.engine.services.deploy.server.application.StartTransaction.prepareLocal(StartTransaction.java:184)
        at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesLocal(ApplicationTransaction.java:365)
        at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:117)
    Anybody can help me?And are there anyother methods can get mapped user and password of Portal systems in Web Dynpro JAVA.

    Hi Wayne,
          Did you added com.sap.security.api.jar to your webdynpro project. if not follow this steps.
    1. Right-click the project in Eclipse or SAP NetWeaver Developer Studio.
    2. Select Properties.
    3. Choose Java build path -> Libraries -> Add Variable -> Select variable WD_RUNTIME -> Extend -> com.sap.security -> lib -> com.sap.security.api.jar.
    I hope this should solve your problem.
    Regards, Suresh KB

  • Data transfer across 2 different views in web dynpro ABAP

    hi all,
    can anyone please help me on how to transfer data across 2 different views in wd ABAP.
    i have made a view-1 and using another view-2 as a component which is displayed in the tab in view-1.
    i am required to fetch a value from the view-1's input field and use it for a further processing in the view-2.
    i want to use the value which is in the input field in the view1 as a primary key to get the whole record corresponding to that value and that complete record must be shown in my view2.
    the thing here is view1 and view2 are 2 different views.
    view1 has a tabstrip control.
    the view2 is embedded in a tab of that tabstrip as a used component because it was not possible for me to build the view in the tab as a whole.
    please help me out if anyone has done so?
    thanx in advance.

    Hi,
    If both the views are in the same comp, define the context node which holds the input field of view1 in the component controller. Then map this same context node into the context of view2. Then in the inbound plug of view 2, read the context, and fire your select statement based on the input value.
    Another way is, pass the input field from view 1 as a parameter when invoking the inbound plug of view2.
    Regards,
    Wenonah

  • Access field of view in web dynpro

    Hi all,
    I'm developing a web dynpro.
    In a view I need to fill automatically a field when I press a button. I'm new in web dynpro and I don't know good the use of standard attriutes and methods of wd (like wdThis, wdContext, etc.)
    regards
    enzo

    Hi,
    please take a look at the <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d">tutorial section</a> here at SDN. This is a good starting point to learn WebDynpro.
    Regards
    Sebastian

  • Calling a view into another Dynpro Component

    Hi,
            Could you please let me know the steps involved in calling one of the view into another abap webdynrpo applications.
    Thanks,
    Kumar

    If you want to use a view from another WD Component, then you have to have a Component Usage for that other view.  Have you ever used the ALV Component?  If so this is exactly the process that you would follow.  You can read more about the techique here:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/a7/1d8b412bb5b35fe10000000a1550b0/frameset.htm

  • How to add many lines in the Text View in Web Dynpro

    Hi friends,
    I have one Text Edit in Web Dynpro. I need to show the result of FM READ_TEXT in Text Edit View element, without lose the text format.
    Cardinality of my node is 0:n and attribute datatype is string_table. after assigning the values using bind_table method, I am getting only the first row of the read_text returns...
    By
    deva

    Hi Deva,
    Text View is not meant to be bound to string_table. Create a string instead and convert that string table into that string with
    <br>
    between each row of string table. TextView component will make <br> into new lines. Code will be similar to following.
    DATA: ROWS TYPE string_table,
          top type string,
          result type string.
          loop at rows into top.
            concatenate result top into result separated by '<br>'.
          endloop.
    Now bind this result string to the text view component. It ll work. Hope it will be helpful for you.
    Regards,
    Fareez

  • Unable to deploy composite view to Web Dynpro for VC 7.1 SP3

    I have a sandbox set up to explore VC 7.1 - currently using VC 7.0 extensively.  I am using a very simple composite view example with a bapi, input and output form.  The R/3 box is defined and the bapi test works fine. When XGL is selected as runtime, the example compiles with no errors.  When Web Dynpro is selected as runtime, the following error occurs: 
    An exception at the server while running the build process:  Extension with id com.spa.vc.runtimeproviders.null not found.  For more details please refer to this log file. 
    I have reviewed the log file and have not found any help.  I have tried several different examples and the same error occurs.

    Please ignore my issue.....I had selected incorrect option in EM console...
    thank you.

  • ESS/XSS Web Dynpro SCA import in CMS to view/modify Web Dynpro Source Code

    I am having problems importing ESS/XSS Web Dynpro related SCA's into CMS.
    Following steps were followed
    1. Download following files from SAP service marketplace.
    BPERP4ESS0_0-10003146.sca
    ESS09_0-10002965.zip ( This file shows as SCA in the download page but download as with .zip)
    PCUIGP009_0-20000568.zip ( This file shows as SCA in the download page but download as with .zip)
    Question: Is this correct, did I get all I need? Do I need to download any more files?
    2. Deployed above files using SDM.
    3. Created a product in SLD and defined software component dependencies(SAP_BUILDT, SAP_JTECHS, SAP-JEE) I could define any of the above files(BPERP4ESS0_0-10003146, ESS09_0-10002965,PCUIGP009_0-20000568) as software dependencies as I could find in the software catlog.
    Question: Should this files show up in the software catlog? If yes what should I do?
    4. Created a track in CMS.
    5. Added software components for development defined in the SLD. Above files doesn't show up under sap.com to be added as development component. I already copied BPERP4ESS0_0-10003146.sca, ESS09_0-10002965.zip,PCUIGP009_0-20000568.zip to D:\usr\sap\JTrans\CMS\inbox.
    Question: How do I add this files to development components??
    5. All other required Software Components(SAP_BUILDT, SAP_JTECHS) were automatically added when I added the development component.
    What should I do so ESS09_0-10002965.zip,PCUIGP009_0-20000568 would show up under sap.com vendor component list??
    Any help on this is greatly appericated.
    Thanks!!

    Hi,
    Did you receive a response to this question? We are having the same problems whilst following some instructions we received from SAP's OSS titled the JDI cookbook for ESS.
    When defining a track in the CMS the software components SAP_ESS and SAP_MSS are not in the list for vendor sap.com. Yet we use the standard ESS and MSS portal content delivered by SAP.
    How do we get these components in the list so that we can select them?
    Thanks in advance.

Maybe you are looking for