Add a view on custom view container

Hello to everybody,
first of all i'm not an expert on java wd.
I'm triing to modify a stardard view of ESS package whit JDI.
I need add a custom view .
First of all i created my web dynpro component whit her view.
Later i add a view container in standard view and a button. I want open this custon view after press button.
i cannot understand the procedure for do it. I tried to read standard code but is not possible understand where is the connection beetween view container and view.
someone can help me?
thanks
Alex

First of all i created my web dynpro component whit her view
If this separate DC, create a public part to expose so that it can be accessed from outside.
1. choose 'Add to public part' from  'Component' context menu, give a name and click Finish.
or if you want to access ESS view in your component, go to DC Metadata -> Used DCs -> Add Used DC -> locate ESS component, add its public part, choose dependencies: built and runtime.
plz refer [Componentization|/docs/DOC-8661#section5 [original link is broken]]

Similar Messages

  • Creating Customized Views in bpm/workspace

    Hi All,
    I'm going to create a customized view in http://<host>:<port>/bpm/workspace ..
    I was able to create one view for the first user and that Human task user are defined in the 'Organization' Lane Users.
    Then next user comes based on the output of the first user.
    Human task is created and and opened the <secondUser>.task file in bpm jdeveloper project and went to the 'Assignment' section and Edit the user as below,
    Type - Single
    Build a list of participants using - Names and Expressions
    Add the user variable using Expression ..
    Once I assigned to a task for a user(2nd Level) , I can see instance in his Inbox.
    But not in his view. (Customized view.. )
    Once I remove above configurations and assign the Lane Users it populates.
    What will be the Problem ???
    Where to assign the user and how can I populate tha customized view with this scenario??
    Thanks,
    nir
    Any suggestions PLEASE ....
    Edited by: Nir on May 14, 2013 9:38 PM

    Hi 814056
    Thanks for your reply..
    Yes. The problem is all these users are belongs to same group but they should not see each others tasks.
    i.e. Managing Directors of different subsidiaries in one organization.
    They should not see each others tasks, but they are having same interface. Having separate groups for each SBU is impossible since we are having more than 50 subsidiaries.
    Thanks,
    Nir

  • Table or Custom View

    Hello Gurus,
    I have requirement to extract data from a single ecc table which has got about 70 fields.
    Then i was told as a best practice i need to use a custom view based on that single table
    Question:
    What is difference for generic extractor is based on 1 table and Custom view on 1 table?
    Which is best way 1 table or View on 1 table?

    Hello Superuser007,
    We create generic extractors the same way on table(s) and view(s)/custom view(s). The concept of view will give us more future expandability to add more tables to the same view.
    - Venkat

  • Restriction authorization MM02 on the customer view "Costing 2"

    Hi experts,
    On the transaction MM02 : I want my user access only to the view "Costing2" (customer view) on modification; the user can't modify others view of material.
    How can i restrict to this view for modification only.
    Thanks for your help.

    Hi,
    It's ok for this authorization object but i don't have a maintained status for this view : It's a customer view .
    Can i add a maintenance status for my customer view as the standard SAP :
    User department => Maintenance status
    Work scheduling => A
    Accounting => B
    Classification=>  C
    MRP => D
    Purchasing=>  E
    Production resources/tools=>  F
    Costing => G
    Basic data => K
    Storage => L
    Forecasting=>  P
    Quality management => Q
    Warehouse management=>  S
    Sales => V
    Plant stocks=>  X
    Storage location stocks => Z
    Thanks for your help.

  • Custom view and active camera

    i am having a block with this...
    How can you make what you have set up in 3D to happen in the comp using your custom view actually happen in the active camera view??

    > The camera in the same position
    I do not know. You just start experimenting. But check the online help system first, look for everything you can find on the ortho views and custom views. The immediate issue with trying to position the camera manually is mimicking the lens and zoom parameters. The custom views do not have any lens characteristics.
    Looking at the fist custom view, it look like a simple 45 degrees out and 45 degrees up. Those are going to be geometric calculations, easily performed based on pixels. You could us e a null object in the center of your comp and use it as the Point of Interest for you camera.
    bogiesan

  • How to add Custom View to GP Runtime Views

    Hi All,
    I would like to add custom view to my GP process.
    In GP runtime mode the numbers you see on left hand side like "run103" "run002" are confusing to users. I would like to have appropriate name/description instead.
    I understand that I can add Custom view to Runtime Views, but when I am editing a process "Add Custom View" button is always disabled.
    Why that button is always disabled?
    How do I define Custom View for a process?
    Thanks,
    Abhay

    Hi Abhay,
    this is a bug in SP7 which is fixed in the last patch. You can download it from the Market Place.
    Best regards,
    David

  • Problem to add ADCP-DEPARTMENT into maintenance view

    Hi All,
    I need help urgently on creating a maintenance view of a customized table.
    The Customized Table name is ZTSUBCON, it contains fields below:-
    MANDT     - Client
    BNAME     - User Name in User Master Record
    ... (and other fields)
    I would like to create a maintenance view called ZVSUBCON and this view must be able to show the department of the User Name automatically when user maintain the data.
    Customized View Name : ZVSUBCON, contains fields below:-
    BNAME          - SAP Account that will be input by user thru transaction SM30
    DEPARTMENT     - This should be the information from ADCP table (field : DEPARTMENT), which must automatically display after user key in the SAP account
    ... (and other fields)
    I tried to create a foreign key BNAME with check table USR21, and try to add the table ADCP in "Table/Join Conditions" in SE11, but, it failed.
    Please help me if you know the solution.
    Thanks & Regards,
    Heng Lye

    Hello Heng
    Define your maintenance view with the following tables:
    ZTSUBCON (primary table)
    USR21
    ADRC
    ADRP
    These tables will give the following JOIN conditions:
    USR21     MANDT     =     ZTSUBCON     MANDT
    USR21     BNAME     =     ZTSUBCON     BNAME
    ADRC     ADDRNUMBER     =     USR21     ADDRNUMBER
    ADRP     PERSNUMBER     =     USR21     PERSNUMBER
    To receive the department from table ADCP use the key fields from ADRC and ADRP and fill the maintenance view field using <a href="http://help.sap.com/saphelp_nw04/helpdata/en/91/ca9f4aa9d111d1a5690000e82deaaa/content.htm">Event 21 fill hidden fields</a>
    Regards
      Uwe

  • How to implement custom view of certain elements in a JTextPane?

    Hi. I'm writing an application with a JTextPane in which I want to allow a style or attribute to be added to an (arbitrary) span of text, which will then result in a rectangle being drawn around that span of text. But I'm not sure how to do this.
    I figure it will be necessary to extend one of the subclasses of View, but I'm not sure how to work that into my Document. Will I have to create a custom ViewFactory, or a custom EditorKit? Not sure I'd know how to do that.
    Any pointers would be much appreciated.
    Cheers,
    Gregory

    Here's the version I came up with. For some reason the width and height parameter of the two methods have a slightly different meaning which through me off for a while. Seems silly to me. Anyway it appears to work now:
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.text.*;
    public class RectangleHighlighter extends DefaultHighlighter.DefaultHighlightPainter
        public RectangleHighlighter(Color color)
            super( color );
        public Shape paintLayer(Graphics g, int offs0, int offs1,
            Shape bounds, JTextComponent c, View view)
            Color color = getColor();
            if (color == null)
                g.setColor(c.getSelectionColor());
            else
                g.setColor(color);
            if (offs0 == view.getStartOffset() && offs1 == view.getEndOffset())
                // Contained in view, can just use bounds.
                Rectangle alloc;
                if (bounds instanceof Rectangle)
                    alloc = (Rectangle)bounds;
                else
                    alloc = bounds.getBounds();
    //            g.fillRect(alloc.x, alloc.y, alloc.width, alloc.height);
                g.drawRect(alloc.x, alloc.y, alloc.width - 1, alloc.height - 1);
                return alloc;
            else
                // Should only render part of View.
                try
                    // --- determine locations ---
                    Shape shape = view.modelToView(
                        offs0, Position.Bias.Forward, offs1,Position.Bias.Backward, bounds);
                    Rectangle r = (shape instanceof Rectangle)
                        ? (Rectangle)shape : shape.getBounds();
    //                g.fillRect(r.x, r.y, r.width, r.height);
                    g.drawRect(r.x, r.y, r.width - 1, r.height - 1);
                    return r;
                catch (BadLocationException e)
                    // can't render
            // Only if exception
            return null;
        public static void main(String[] args)
            JTextPane textPane = new JTextPane();
            textPane.setText( "one\ntwo\nthree\nfour\nfive\nsix\nseven\neight\n" );
            JScrollPane scrollPane = new JScrollPane( textPane );
            //  Highlight some text
            RectangleHighlighter cyan = new RectangleHighlighter( Color.CYAN );
            RectangleHighlighter red = new RectangleHighlighter( Color.RED );
            try
                textPane.getHighlighter().addHighlight( 8, 14, cyan );
                textPane.getHighlighter().addHighlight( 19, 24, red );
            catch(BadLocationException ble) {}
            JFrame frame = new JFrame();
            frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
            frame.getContentPane().add( scrollPane );
            frame.setSize(300, 200);
            frame.setVisible(true);
    }

  • How to Add Hyperlink to Static Text View

    It's possible to add Hyper link or local link(when click that link. then it shows some text in message box) to some part of the Static text view.
    for example, my Static Text view Contains following text,
    Laptop , Desktop, Mobile
    now i want to add that link to Desktop or any other text. like
    Mobile
    kindly help me.

    Hi J Sathish Kumar,
    From your description, it seems that you have a RichEdit Box control and you want to add a hyperlink feature to your RichEditBox control. Could you tell us what type project do you want to use, windows form, WPF or native MFC?
    For using windows form and WPF, you should be easy to find some ways to achieve your goal on the web. For example,
    http://stackoverflow.com/questions/435607/c-sharp-how-can-i-make-a-hyperlink-work-in-a-richtextbox
    For using native MFC, you may need to get the text range, add the underline,change the text color and use wm_notify to notify the parent windows about a click on a hyperlink.
    I make a quick research on the web, and I find this should helpful for this issue.
    http://www.flounder.com/richedithyperlinks.htm
    Best regards,
    Shu Hu
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Refreshing the Data from a embed view in a view container

    Hi everybody
    I would like to know how can I do to refresh all data from a View with a view container the problem is:
    that I have a window that has a view at the same time this has a view container.  The Main view brings the data of editable elements when I select one element of the main view the view container brings a list for that element (dependencies) but only the first time a choose an element loads the correct data, when I choose another one it brings the same old data and doesn't make the call for the wdDoInit() method.
    The question is:
    How do I force the view to refresh all the data or call again the wdDoInit() method?
    Thank you for your help

    Aida,
    Lets say you have two components C1 and C2 and you want method from C1 to be available in C2 then follow these steps:-
    1) Goto the Interface Controller of C1 and create a method there lets say doSomething
    2) Then goto C2. There you can see Used Web Dynpro Components --> Right click Add Used Component --> Give some name say C1Comp --> Click browse and select C1 --> Click Finish.
    3) Next goto Component Controller of C2 --> Properties --> Click Add and check if C1 is added. If not then select the checkbox and select OK.
    4) Now goto Implementation tab of C2 and lets say wdDoInit you can write following code:-
    wdThis.wdGetC1CompInterface().doSomething();
    Chintan

  • Is there any way to create custom views, like in Thunderbird & Evolution?

    Hi Folks,
    I have recently switched to Mac. Before this I was using Linux. For mail I used Thunderbird (TB) for many years, and then eventually switched to Evolution Mail (EM) for its smoother integration into Linux.
    On both TB and EM I revolved my work flow around custom folder views. As new email came in I would label it (on EM, or tag it on TB). I have numerous inboxes (email accounts) so I would generally be starting out in a smart folder that displays all mail in each inbox. I would most of the time view that smart folder with a Custom View filter in place. The filter would simply display ONLY mail with NO tags/labels.
    Once my filter inbox showed NO messages it meant I had labeled everything. I would them use other smart folders to display mail with certain labels AND NO "Completed" label. That way I could go to my "Reply ASAP" folder and see what needed my immediate attention. Each email I replied to I would then add the label COMPLETED and it would vanish from my view.
    I explain the above in case someone has specific suggestions on how to achieve a similar workflow on Mail.
    In short, what I am wondering is this:
    - Is there a built in way to filter a folder on the spot (with a drop down list of predefined and custom Views) --- I have looked and so far did not find this feature
    - Is there a way to do this with a script or add-on? I have looked at many and not found a suitable one yet.
    I am appealing to the knowledge of those with more experience in Mail. It is new to me.
    I am currently using TB on my Mac because it gives me the above feature. BUT it does not have the same degree of integration with the OS and other Mac specific apps that Mail has. Thus I am keen to stick with Mail.
    With thanks,
    Jonathan

    In addition to above:
    I have installed a trial of Mailtags. It certainly improves the tagging capability of Mail.
    I have also looked at the Smart Mailboxes and Smart Mailbox Folders.
    As far as I can tell, however, there is no option to set up a smart mailbox that ONLY shows message with NO LABEL or NO MAILTAG (as the case may be). I can display messages with particular TAGS but not NO tags.
    Is there any way to add more options to the Smart Mailbox filter system?
    Cheers,
    Jonathan

  • A custom view in the Edit drop-down

    Hi,
    How could I create a custom view and add it to the Edit List Item drop-down in SharePoint 2013? This screenshot shows what I mean in SharePoint 2010:
    I'd like to have a menu item Custom View below Edit Properties in the drop-down list. When the user clicks the item I'd like to redirect to my layout page.
    Thanks,
    Leszek
    Wiki: wbswiki.com

    Hi ata6502:
    Adding a user custom action for list items
    using System;
    using Microsoft.SharePoint.Client;
    namespace Microsoft.SDK.SharePointServices.Samples
    class CreateUserCustomActionList
    static void Main()
    string urlWebsite = "http://MyServer/sites/MySiteCollection";
    ClientContext clientContext = new ClientContext(urlWebsite);
    Web oWebsite = clientContext.Web;
    List oList = oWebsite.Lists.GetByTitle("My List");
    UserCustomActionCollection collUserCustomAction = oList.UserCustomActions;
    UserCustomAction oUserCustomAction = collUserCustomAction.Add();
    oUserCustomAction.Location = "EditControlBlock";
    oUserCustomAction.Sequence = 100;
    oUserCustomAction.Title = "My First User Custom Action";
    oUserCustomAction.Url = urlWebsite + @"/_layouts/MyPage.aspx";
    oUserCustomAction.Update();
    clientContext.Load(oList,
    list => list.UserCustomActions);
    clientContext.ExecuteQuery();
    Modifying a user custom action
    using System;
    using Microsoft.SharePoint.Client;
    namespace Microsoft.SDK.SharePointServices.Samples
    class ModifyUserCustomAction
    static void Main()
    string urlWebsite = "http://MyServer/sites/SiteCollection";
    ClientContext clientContext = new ClientContext(urlWebsite);
    Web oWebsite = clientContext.Web;
    List oList = oWebsite.Lists.GetByTitle("My List");
    UserCustomActionCollection collUserCustomAction = oList.UserCustomActions;
    clientContext.Load(collUserCustomAction,
    userCustomActions => userCustomActions.Include(
    userCustomAction => userCustomAction.Title));
    clientContext.ExecuteQuery();
    foreach (UserCustomAction oUserCustomAction in collUserCustomAction)
    if (oUserCustomAction.Title == "My First User Custom Action")
    oUserCustomAction.ImageUrl = "http://MyServer/_layouts/images/MyIcon.png";
    oUserCustomAction.Update();
    clientContext.ExecuteQuery();

  • Error while adding a attribute to the the Custom view through a wizard

    Hi ,
    I have created a new custom view with value node through wizard  succesfully.
    Now I want to add a new attribute to that node.I am trying to do that by a wizard.
    But i am getting the follwing error " Error during analysis of Source Code" although i have
    commented or removed my all custom code from that view.
    I tried adding the new aattributes in the metthods "IF_BSP_MODEL~INIT " and
    "GET_TABLE_LINE_SAMPLE " manually but that also does not worked.
    Plz help me with this asap.
    Regards,
    Sharad

    Hi Sharad,
                          I hope all your classes are active. In case you want to add a new attribute there are two steps.
    1.Right click on context node and create attribute, it opens a wizard and continue. This will add the field in the context node and generate the getter-setter methods.
    2. In the above two method whcih you mentioned add the new field in the structure of value node. And then create your own getter-setter methods. and activate it. After this you will be able to see the attribute added in the context node.
    By using any of the two approaches you will be able to see teh new field in the configuration.
    Hope this helps.
    Regards,
    Ruby.

  • How to Embed a custom view

    Hi Experts,
    1) I have a requirement to Embed a custom view in the component CRMCMP_BPIDENT. In the place of IBASE component, my custom view needs to be loaded.
    2) Also the result view will be a custom view. which should display list of customers.
    3) Once I select the line in the result list, it should take me to the BP_DETAIL Window.
    Kindly let me know where the links need to be created and component usage details.

    Hi,
    if the whole purpose is hiding the checkbox, then you should use JSLink property of the view, instead of creating a new layout page...
    The following javascript will hide the checkbox column.
    (function () {
    var overrideCtx = {};
    overrideCtx.Templates = {};
    overrideCtx.OnPostRender = postRenderHandler;
    SPClientTemplates.TemplateManager.RegisterTemplateOverrides(overrideCtx);
    function postRenderHandler(ctx) {
    $('td.ms-cellStyleNonEditable, th.ms-headerCellStyleIcon').hide();
    Just add the script in js file, deploy in layout folder. Then edit the view page, and refer the js file in JSLink. 
    More details on how to configure JSLink can be found in the following links:
    http://www.rbradbrook.co.uk/blog/2013/04/14/introduction-to-client-side-rendering-in-sharepoint-2013/
    http://www.codeproject.com/Articles/620110/SharePoint-Client-Side-Rendering-List-Views
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

  • Problem in calling standard view in nested view container

    Hi Experts,
    We have a standard SAP component in which there is view containing a TABStrip. In one of the tabs there is a View container. This view container calls another view containing a view container, which in turn calls another standard view of standard component SALV_WD_TABLE. The whole structure is as below:
    MAIN(View)->VC_container1(view container)->View1(called view)->VC_Container2(View container in called view)->Table(standard view of SALV_WD_TABLE).
    Now we are trying to add one more tab in the same tabstrip and trying to call the the same TABLE view of component SALV_WD_TABLE in the same manner described above. It is allowing us to add the view but when we are activating the enhancement the standard view TABLE of component SALV_WD_TABLE gets disappeared. Can anybody suggest what to do.
    Thanks and Regards,
    Vaibhav Tiwari.

    Hi Vaibhav,
    My Ques is that are your using the same component usage of salv_wd_table for the Second tab you have added.
    Because you are using the component usage of salv_wd_table already in the first tab. So when you are goinig to use the same component usage for the second tab then this problem might will happn i.e. the table is disappeared in the second tab.
    Regards
    Manoj Kumar

Maybe you are looking for

  • Use of bpelx built-in methods like getVariableData in custom java classes

    Hi, how can I use bpelx built-in methods like getVariableData ... inside custom java classes embedded with BPEL project? I have large java code to embed with BPEL process and it will be very useful .... It is possible to access these methods like sta

  • Video levels how to

    i am frustrated here because i opened the audio panel and it appears for can make instant on-the-fly adjustments of your audio.  so now i'm trying to just tweak the whole video portion of my clip.  i keep trying to drag the video effect to the clip o

  • Adobe plugin removed. Defaults set to Adobe Standard. I get Firefox demand to install plugin. How can I force Adobe to use Standard?

    Adobe Reader won't open certain (large) Adobe files. > I set all Firefox defaults to Adobe Standard. Firefox still uses Adobe Reader. > Uninstalled Adobe Reader. Uninstalled Firefox Adobe plugin. > When I try to open an Adobe File, Firefox now says t

  • POSDM Locking problem

    Hi,   We have a situation where we wish to process 3 files from the same store into POSDM at the same time to increase throughput. So from XI we have three calls to /posdw/bapi_postr_create happening at the same time. We get errors returning to XI te

  • Urgent help on AF Query

    Hi, I wanted to get the Query from View Criteria, please let me know where can i get this query from bean or am. Thanks