Personalised View in Web Dynpros

Hi Gurus,
I was asked to create an application with the following requirements
1) Login Information ( For Checking Authorization )
2) User Specific View & Manager Specific View
So how can i create a personalised view....
I mean 2 say that the view should be seperate for User & Manager
( How can i pose this restriction ).
Please help me in this regard....
Points will be awarded to the Useful answers....

Guyzzzzzzz,
     Please help me na....Its damn urgent....
Points will be awarded..

Similar Messages

  • 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.

  • 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

  • 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

  • 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.

  • 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

  • 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.

  • In the view of Web Dynpro- "Page cannot be displayed screen"

    Dear All,
    In se80,During ABAP Webdynpro development,in the View "Page cannot be displayed screen" is appearing.....In SICF i have activated almost all services.....can anyone please  help me out,so that i can develop webdynpros plsssss...........
    Regards
    Sajid
    Edited by: shaik sajid on Feb 10, 2009 7:32 AM

    Check Your internet Explorer connection settings Internet Option->Connection->LAN settings.
    Try playing around with it. We had the same problem in the past.
    Greetings
    Prashant
    P.S- Points welcome

  • Error when i open view in web dynpro

    Hi Experts
    When I try open  layout of view
    i get the message
    "cannot find 'file://'. Make sure the path or Internet Address is correct.
    and i can't see the layout
    any suggestion how can i solve the problem???
    regrads
    Yossi

    Hi,
    Try doing this:
    1. Close your NWDS
    2. navigate to <installation drive>:\Documents and Settings\<username>\SAP\workspace\.metadata
    Delete the .registry file.
    3. Open NWDS
    Regards,
    Murtuza

  • 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

  • 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)

  • HTML view in Web Dynpro

    Hello everybody,
       I'm developing an application and i need to display a html page inside a view.
       I'm developing in SAP NetWeaver Developer Studio, Version: 7.1.0 and UI element like iFrame, or IView does not exists.
       Do you have a suggestion, idea or advice?
    Thank you,
    Constantin

    Hi Constantin,
    For writing Html in iFrame u can use com.lowagie.text package and u can use these inbuild classes.
    com.lowagie.text.BadElementException;
    com.lowagie.text.Cell;
    com.lowagie.text.Chunk;
    com.lowagie.text.Document;
    com.lowagie.text.DocumentException;
    com.lowagie.text.Element;
    com.lowagie.text.Image;
    com.lowagie.text.Paragraph;
    com.lowagie.text.Table;
    com.lowagie.text.html.HtmlWriter;
    com.lowagie.text.rtf.style.RtfFont;
    first u have to create a method
    like this
    private void <method name>() {
              try {
                   String filename = this.<name/id> + ".html";
                   IPrivateView.IContextElement elem =
                        wdContext.createContextElement();
                   elem.setRTFOutPut(getBytesFromFile(new File(filename)));
                   final IWDCachedWebResource resource =
                        WDWebResource.getWebResource(
                             elem.getRTFOutPut(),
                             WDWebResourceType.HTML);
                   //resource.setResourceName("HTML_inline.html"); original
                   resource.setResourceName("HTML_inline"this.<name/id>".html"); 
                   resource.setAttachement(false);
                   resource.setReadOnce(false);
                   wdContext.currentContextElement().setUrl(resource.getAbsoluteURL());
              } catch (WDURLException e) {
                   logger.errorT(e.getMessage());
                   wdThis.wdGetPortfolioMessagesInterface().reportError(
                        "<custom message",
                        <Parameters>,
                        true);
                   //wdComponentAPI.getMessageManager().reportException(new WDNonFatalException(e), false);
                   //e.printStackTrace();
    than for writing in iframe create a method like this.
    private void generateIframe() {
              String newLine = "";
              Document doc = new Document();
              String filename = this.<name/id> + ".html";
              HtmlWriter html = null;
              try {
                   RtfFont rtffontN = new RtfFont(FONT, FONT_SIZE, RtfFont.NORMAL);
                   RtfFont rtffont = new RtfFont(FONT, FONT_SIZE, RtfFont.BOLD);
                   RtfFont headfont = new RtfFont(FONT, 12, RtfFont.BOLD);
                   DataOutputStream ds =
                        new DataOutputStream(new ByteArrayOutputStream());
                   ds = new DataOutputStream(new FileOutputStream(filename));
                   html = HtmlWriter.getInstance(doc, ds);
                   //html = HtmlWriter.getInstance(doc,new FileOutputStream(filename));
                   doc.open();
    //now here u can use the classes like Cell ,table,Document for writing the html code in the iFRAME .for more information on this u can refer this site all the api documentation is given here.
    http://itext.ugent.be/library/api/
    after writing the html code using com.lowagie.text package.
    at the end call the method which u declared earlier to this method.and create a context element URL map it to the source of Iframe in properties view.
    Please Reward points for an helpfull answer.
    Regards,
    Siddharth jain.

  • How to change the background color of a view in Web Dynpro?

    Has somebody an idea how to do that? Also is it possible to change the bg of a TransparenContainer?

    i think you cannot do that with transparent container.
    try with group. color option is also very limited.

Maybe you are looking for

  • Finding SQL trace and Log trace in SAP ME

    Dear Experts, I am new to SAP ME SDK 2.0  development. After depolying the ME with changes.If an error occurs as "An internal error occurred; contact technical support". Where should I check for the traces like SQL trace or og trace. Thanks in advanc

  • Aja LHi analog audio i/o clipped

    Is anybody run into this LHi audio problem? The audio in & output was clipped by Aja LHi card? It turn balanced to unbalanced audio. I'm sure it's not my setup cos' it dosen't change anything before & after. Is it the card failed? I've heard some of

  • TS3899 Have just uploaded iOS7 and now cannot get mail as device won't connect with server. Apple ID is ok  - any suggestions?

    Have just loaded iOS7 and now I cannot send or receive mail . Device message is : cannot open mail cannot connect with server. Any ideas?

  • File renumbering question

    How can I make the following script renumber files say up to 5,000?  Currently it stops at 99. Thanks. global theFolder on run     tell application "Finder"         activate         set theFolder to ¬             (choose folder with prompt "Where are

  • 2680 Slide - Is there a shortcut button to activat...

    Hi, my dad has recently received this phone for his birthday and i am giving him a hand getting used to using it. To make things simple i am showing him the shortcuts on the phone, but i cannot find a shortcut to put the phone on silent mode (profile