Paneltab always remember user prev selection but not programmatic disclosed

Hi,
Like the similar post Programmatic disclosure of showDetailItem under panelTabbed i would like the tab to be selected / disclosed based on the button the user click.
I have a paneltabbed component in a page called site which consists of 3 showdetailframe components ..let's call it as (tab1,tab2,tab3) . I have a button (go to site) in entirely different page called plot which should navigate to site page and open tab3 by default.
This works fine, for the first time. But let's say if user explictly clicked tab2 and then gone to plot page, click GoToSite button which navigates to Site page, but remembers the last selection user has made and selecting tab2 by default.
I have the following method in site page taskflow which is called always and evaluates the value which i set in the request scope on clicking GoToSite button.
     public void setCopyPlotTabOnSiteDetails()
          FacesContext context = FacesContext.getCurrentInstance();
          Map request = context.getCurrentInstance().getExternalContext().getRequestMap();
          Boolean copyPlotFlag = (Boolean)request.get("copyPlotReq");
          if (Boolean.TRUE.equals(copyPlotFlag) && panelTab != null)
               List<UIComponent> element = panelTab.getChildren();
               for (UIComponent child : element)
                    RichShowDetailItem sdi = (RichShowDetailItem)child;
                    if ("sdi2".equals(sdi.getId()))
                         sdi.setDisclosed(true);
                         _addAttributeChange(sdi, "disclosed", true);
                    AdfFacesContext.getCurrentInstance().addPartialTarget(sdi);
                    else
                    sdi.setDisclosed(false);
                    _addAttributeChange(sdi, "disclosed", false);     
                    AdfFacesContext.getCurrentInstance().addPartialTarget(sdi);
          AdfFacesContext.getCurrentInstance().addPartialTarget(siteDetails);
               AdfFacesContext.getCurrentInstance().addPartialTarget(panelTab);
After following the post Programmatic disclosure of showDetailItem under panelTabbed i added this method call addAttributeChange
     private static void _addAttributeChange(UIComponent uic, String attribName,
                                                       Object attribValue) {
          try
               FacesContext fc = FacesContext.getCurrentInstance();
               ChangeManager cm = RequestContext.getCurrentInstance().getChangeManager();
               ComponentChange cc = new AttributeComponentChange(attribName, attribValue);
               cm.addComponentChange(fc, uic, cc);
          catch (Exception e)
               // TODO: Add catch code
               e.printStackTrace();
But is giving NullPointerException on ChangeManager.
Even otherwise, i have removed the option Enable User Customizations from my View Project (checked in web.xml) and removed the ShowDetailFrame tag in Adf-config.xml. Put the disclosed property in DontPersist attribute of all those showdetail frame components. But nothing worked, i face the same issues...Can any one please help me?
Regards
Prabhu

Hi,
why do you work so cmplicated. Wouldn't it be simpler to point the disclosed property to a managed bean that then evaluates whether true/false should be returned instead of parsing the component tree? The managed bean would need to be in viewScope. Also note that a request parameter should be read by a pahse listener (f:view afterMethod listening to RESTORE_VIEW) because the ADF Faces page is not rendered in a single round trip but deferred by default which means that subsequent requests are issued. So the first request will be intercepted and then the value added to a bean or attribute in view scope for use by the tabs.
Another cause of error we frequently see is that personalization is enabled (with or witjout MDS) in which case the tab selection is saved as personalizes setting.
Also have a look at: http://docs.oracle.com/cd/E23943_01/apirefs.1111/e12419/tagdoc/af_showDetailItem.html
See: disclosedTransient and disclosed property and how to use them
Frank

Similar Messages

  • Sharepoint Foundation - search working for some users (or computers), but not others

    Hi all,
    We have doozy of a search problem with SharePoint Foundation 2010 that I'm hoping someone can help with.
    We have an application that is listening on port 14197 and search is working just fine, but only for one or two users.
    If I do a search while logged in using the account we set the application up with then the search works fine and it returns records as expected.
    If I use a different account - one that has full control over the app, then the exact same search fails with the following message:
    We did not find any results for 06BSL.
    Suggestions:
    Ensure words are spelled correctly.
    Try using synonyms or related searches.
    Try broadening your search by searching from a different site.
    Additional resources:
    Get additional search tips by visiting Search Help
    If you cannot find a page that you know exists, contact your administrator.
    We've done everything we can think of, including several procedures to create new search accounts, replace databases, etc.
    Nothing has helped and all of the info we can find online is in relation to getting search working when it doesn't work at all.  In our case it is working, but only for some users.  We thought it might have been a permissions issue, but not matter
    what permissions we seem to give to test accounts they still don't work.  We've set up a test account, for example, that is a member of the 'application owners' group, but cannot produce any search results with it.
    The SharePoint Foundation server is running on Windows 2008 Server Foundation, with a separate SBS 2003 DC.  
    Any help most appreciated.

    Hi Alex, thanks for your response and apologies about the late reply - didn't realise someone had responded until now!
    Agreed that this looks like a permissions issue, but we're stumped as to what it could be.  The 'test' account displays this problem - if we try and search on 06BSL
    we get no results, but it does appear that this account has full control over this document (see below).
    Note that the 'Manage Permissions' page presents a comment 'This list item inherits permissions from its parent. (Customer QA & Product Management)' which is what we're
    expecting.
    The indexing schedule is set to 5 minutes. 
    Appreciate your help with this, as we've spent a huge amount of time on this problem but don't seem to be any closer to a resolution.
    Cheers,
    Damian
    Check permissions result (this result is the same for the list or for the document itself):
    Permission levels given to test (DOMAIN\test)
    Full Control
    Given through the "QA Application Owners" group.
    Design, Contribute, Read
    Given through the "QA Application Members" group. 

  • Systemd/user unit enabled but not auto-starting

    Hi,
    I enabled the systemd/user devmon unit but after login it shows
    ~> systemctl --user status
    ● marchine
    State: running
    Jobs: 0 queued
    Failed: 0 units
    Since: Fri 2014-05-16 01:10:37 CEST; 2min 53s ago
    CGroup: /user.slice/user-1000.slice/[email protected]
    ├─466 /usr/lib/systemd/systemd --user
    └─468 (sd-pam)
    ~> systemctl --user status devmon
    ● devmon.service - devmon Service
    Loaded: loaded (/home/a/.config/systemd/user/devmon.service; enabled)
    Active: inactive (dead)
    which I find strange because apparently the enabling worked but also manually starting devmon causes no problems at all:
    a@marchine ~> systemctl --user start devmon
    a@marchine ~> systemctl --user status devmon
    ● devmon.service - devmon Service
    Loaded: loaded (/home/a/.config/systemd/user/devmon.service; enabled)
    Active: active (running) since Fri 2014-05-16 01:18:20 CEST; 7s ago
    Main PID: 827 (devmon)
    CGroup: /user.slice/user-1000.slice/[email protected]/devmon.service
    ├─827 /bin/bash /usr/bin/devmon
    └─960 /usr/sbin/udevil --monitor
    I'm not saying that I surely made no mistakes in configuring systemd, I'm a newbie after all, I just can't really tell which part exactly causes the problem here.
    Thanks, y

    Strangely devmon.service does not appear in the log of the boot process at all.  However, it says something about the user session at some point, if that helps:
    May 16 22:16:43 marchine systemd[1]: Starting user-1000.slice.
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    May 16 22:16:44 marchine systemd[1]: Cannot add dependency job for unit autologin-on-boot.service, ignoring: Unit autologin-on-boot.service failed to load: No such file or directory.
    May 16 22:16:44 marchine systemd[1]: Started Permit User Sessions.
    -- Subject: Unit systemd-user-sessions.service has finished start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Unit systemd-user-sessions.service has finished starting up.
    But after starting devmon manually, the log says something about multiple instances:
    May 16 22:27:22 marchine systemd[260]: Starting devmon Service...
    -- Subject: Unit UNIT has begun with start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Unit UNIT has begun starting up.
    May 16 22:27:22 marchine systemd[260]: Started devmon Service.
    -- Subject: Unit UNIT has finished start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Unit UNIT has finished starting up.
    -- The start-up result is done.
    May 16 22:27:22 marchine devmon[1416]: WARNING: multiple instances of devmon appear to be running (my pid=1416):
    May 16 22:27:22 marchine devmon[1416]: 1416 ? Ss 0:00 /bin/bash /usr/bin/devmon
    The service file looks like this (I didn't change anything):
    [Unit]
    Description=devmon Service
    [Service]
    Type=simple
    User=%i
    # Set DISPLAY for popup dialogs
    Environment=DISPLAY=:0
    EnvironmentFile=/etc/conf.d/devmon
    ExecStart=/usr/bin/devmon $ARGS
    [Install]
    WantedBy=multi-user.target
    As I said before, I found a workaround which does it for me at the moment.  I'm happy about any new informations which may help me to deal with similar problems in the future, but it's no emergency.
    Thanks, y

  • Crystal add on works for admin user on server but not regular user

    Hi
    The crystal add on has been installed and working for months. Another colleague was working with it, not sure what happened but it stopped working. I was able to re-register and get it working on a user's workstation using fat client. It is installed on the server. Some users user remote desktop to connect to the server.
    If I login to the server as an admin user - i login to SAP as manager and can use the add on. Works fine.
    If I login to the server as a regular user, login as manager into SAP, I get an installation error with the Crystal add on. Since it is already installed and working - why when i login to the same server as a different windows login but SAME manager SAP user - why would it not work?
    I'm using crystal reports full version on the server because that is where I edit the reports.
    The workstations have the runtime installed.
    HELP!

    hi
    the error when I login as the user on the server is :
    Add-on Crystal Reports for SAP Business One: Add-on %s - uninstall failed.
    Which I don't understand at all b/c if I login on the same server as a different windows login
    with admin rights it works fine.
    What log file are you speaking of? I'm new to add on installs.
    I don't even install SAP I work with crystal reports but got stuck dealing with this add on.
    thanks!

  • HP F4180 is listed as a scanner for one user's account, but not another

    One of the Snow Leopard (10.6.8) users on my in-laws' Intel iMac has the ability to scan from their HP F4180 printer/scanner, but the other user can only print. The device doesn't show up under Preview, Image Capture or the Printer settings panel.
    The iMac has been checked for the latest software update. I'm not sure why one user can scan from this device, but not the other.

    Hi,
    Arghadip
    I have checked in SWi5 tcode and the respective user is getting the work items in the inbox but he is still not getting in UWL
    Checked with the portal consultant, but he says tht he has checked all the possibilities in portal but still i am unable to send the workitems to UWL .
    please suggest me what would be the alternatives which can be done to solve this issue.
    thanks,

  • Pls Help!! BMP EJB can select but not modify table

    Hi, please help!
    I wrote a CMP EJB for a simple table. Inside are JDBC calls to the database, using a connection object generated from the line:
    return new oracle.jdbc.driver.OracleDriver().defaultConnection();
    Or
    return DriverManager.getConnection("jdbc:oracle:kprb:");
    The EJB compiled and deployed without problem to OracleJVM, but using it with the test app, the bean can select, but no insert or update to the table!!!
    Then I found that, if I use the thin driver, as well as the username and password in the getConnection() call, I can insert and update without problem...
    I desperately need help for this problem, please enlighten me with any thought.
    Yours.
    Patrick.

    I have been suggested to use JNDI JDBC Datasource, but still no hope. Can someone on the JDev team helps?
    Very desperate.... =(
    Patrick.

  • I have a new IPAD4 which has synced pictures i selected but not music or films i selected from itunes library? I have had an account for years and never had issues syncing with iphone or ipod? when i attempt ipad the data shows and it cycles but nothing?

    show the data shows whe i selet for sync (i have ticked sync only ticked icon) and selected two playlists - the data usage shows an extra 3.2 gb off my 32g ipad and the movies show up purple on the data usage bar, i press apply / sync it takes 20mins to go through 5 stages - never once do i see a song title or number in the update display. then when it finishes the data usage bar goes back to the lower amount before i tried to add the music and movies to my ipad?? The only thing that i have managed to move if pictures??
    Im confused, ive always got on fine with moving, updating and syncing my iphone, ipod touch, have done this the same way but NO music or films
    when i go through the summary section it says i have selected 757 songs (off two playlists) and i movie (from a digital copy via itunes), they show in usage bar b4 sync but then after sync nothing! i have tried both wi fi sync and normal, i have the lastest updates and CANT FIGURE THIS OUT
    When i set up the ipad out the box the other day it asked whether i wanted a NEW INSTALL or RESTORE FROM ICLOUD BACKUP (presumbly off iphone), I choose restore, it then downloaded all the apps and web history/bookmarks etc, although it took about 8 hours to do it which i thought was odd?!
    Ive spent £500 on this and if i cant put my msuc or movies on it that makes it a very exspensive web browser, APPLE this should be easier .......! please help - im no techno noob beither grand master, just your average user so im sure people might know what to do... i freakin hope so!

    ps when syncing it jumps through steps 1 - 4 real fast, i seem to remeber iphone showing the number of tracks transferring and names, but i see nothing? then it sits on 5 saying "waiting for changes to be applied"

  • How do I hide a pulldown menu if one of it's values has been selected but not others?

    Through searching this forum, I've been able to figure out how to hide pull downs and fields that only have numeric info in them. I.e if the user selects. or if the pulldown value is zero. The item does not show or print on the form.  What I cannot find, is how do you accomplish this if the values in the  pulldowns are text? I.E. the pull down has three choices "choose an item", "ITEM 1", "ITEM 2". It defaults to "choose an item" and if left this way, I want it to be hidden or set to null, but if ITEM 1 or 2 are selected. Then it shows/prints ITEM 1 or ITEM 2 in the spot.
    thank you for your help on this issue.

    I figured it out
    and need to give kudos to George Johnson due to an answer he gave in 2008 pointed me to the solution.
    http://forums.adobe.com/message/1152008
    First I assigned a calculated value to each of the text items.
    Then here is my script.
    // Get field value
    var v1 = +getField("Description1").value;
    // If the value does not equal 0 then use the value
    if (v1 !== 0) {
        event.value = v1;
    } else {
    //If the value does equal 0 then blank the value
    event.value = "";
    Message was edited by: AXNUCorp due to a funky cut and paste

  • Remember my Skype ID but not the pass or Email. Ne...

    I've used the setting "Log me in automatically when skype boots" for the longest amount of time, and as a result I cant recall the pass I've been using nor the email I'd orignally used for the Skype acount.
    My account name was [removed for privacy] lt (display name was different, but my user was that) and I've searched the recovery options but cannot find anything under "I've forgotten my account's original Email" if I can get assistance, I would highly appreciate it (in additon the email I'd used to use may no longer be in service)

    Hi, Spartan87, and welcome to the Community,
    If a moderator/operator could PM me I will provide both the Account name and Email.
    We can not do this, as our Community Guidelines do remind us that this Community is not a branch of Skype Customer Service.  They, however, can update an account's e-mail address.  This is one of those instances where using a different Skype account to recover your first account may be advisable, so you can be connected with a customer service agent via instant message chat.  Here is a link to the instruction on how to contact Skype Customer Service via their secure portal: Contact Customer Service
    If you experience difficulty reaching Skype Customer Service or find yourself redirected back to the Community, please try again using a different web browser and choosing a different path through the various drop-down menu options presented.
    Also, look to approve a pop-up dialogue box which would connect you to start an instant message chat with a customer service agent. If you have pop-ups blocked in your browser settings, this will also block reaching an agent.
    Last and not least, when you reach the last step of the process, remember to click on the "Start Chat" link when you are provided the choice of visiting the Community or starting an instant message chat with a customer service agent.
    Regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • JPA does the right thing for select but not for update

    Hi,
    I'm struggling a bit with my first JSF application: at the moment on the persistence. I am using classes generated by Netbeans. I have a JSF page which is deployed on Sun AS.
    The select, update and new are all done from the same backing bean. Only the select works, even though they all use the same EntityManagerFactory.
    I copy the 3 methods below together with persistence.xml. May be someone can suggest why no updates;
    ......The injection code
    @Resource
    private UserTransaction utx;
    @PersistenceUnit(unitName = "PortGenPU")
    private EntityManagerFactory emf;
    private EntityManager getEntityManager() {
    return emf.createEntityManager();
    .....The selection code: This works.
    public DataModel getUserProcessess() {
    EntityManager em = getEntityManager();
    try{
    Query q = em.createQuery("select object(o) from UserProcesses as o");
    q.setMaxResults(batchSize);
    q.setFirstResult(firstItem);
    model = new ListDataModel(q.getResultList());
    return model;
    } finally {
    em.close();
    ....The update code. This gives a success message but doesn't change the db
    public String edit() {
    EntityManager em = getEntityManager();
    logger.info("In Edit name = " +userProcesses.getProcessName());
    try {
    utx.begin();
    logger.info("In Edit trasnaction = " +userProcesses.getProcessName());
    userProcesses = em.merge(userProcesses);
    logger.info("In Edit after merge id = " + userProcesses.getProcessId());
    utx.commit();
    addSuccessMessage("UserProcesses was successfully updated.");
    } catch (Exception ex) {
    try {
    addErrorMessage(ex.getLocalizedMessage());
    utx.rollback();
    } catch (Exception e) {
    addErrorMessage(e.getLocalizedMessage());
    } finally {
    em.close();
    return "userProcesses_list";
    ....The insert code: This also gives a success message but fails to change the db.
    public String create() {
    EntityManager em = getEntityManager();
    logger.info("In create name = " +userProcesses.getProcessName());
    try {
    utx.begin();
    em.persist(userProcesses);
    utx.commit();
    logger.info("In create after persist id = " + userProcesses.getProcessId());
    addSuccessMessage("UserProcesses was successfully created.");
    } catch (Exception ex) {
    try {
    addErrorMessage(ex.getLocalizedMessage());
    utx.rollback();
    } catch (Exception e) {
    addErrorMessage(e.getLocalizedMessage());
    } finally {
    em.close();
    return "userProcesses_list";
    ...Now persistence.xml ("portdev" is a sjas jdbc resource)
    <persistence-unit name="PortGenPU" transaction-type="RESOURCE_LOCAL">
    <non-jta-data-source>portdev</non-jta-data-source >
    <class>anicca.portfolio.data.UserProcesses</class>
    </persistence-unit>

    this an example of how to update a record through
    jpa:
    public void alterOrderQuantity(long orderId,
    int newQuantity){
    EntityManager em =
    jpaResourceBean.getEMF().createEntityManager();
    try{
    em.getTransaction().begin();
    Order order = em.find(Order.class, orderId);
    order.setQuantity(newQuantity);
    em.getTransaction().commit();
    }finally{
    em.close();
    Hi.
    Many thanks for the help with update. I had seen an example like yours before but forgotten about it. Do you always have to have a em.find() inside the transaction? (We are talking about a user submitting jsf page to be updated.)
    And what about em.merge(). What is the purpose of this function? It is quite unclear from the javadoc.

  • User can send but not receive emails

    Hello!
    So I've just set up a band new server from scratch and am having trouble getting the email service to work 100%.
    My dns is all correct, forward and reverse. The output of a changeip -checkhostname command is perfect. My domain name and its public ip address both point to each other fine and my A, MX and CNAME records have all been set at the domain vendor to point to my particular server.
    I've made one user in WGM and that user can send emails no problem. But when I try to send an email back (or reply to the original message), this is the error I receive in the bounce message:
    <[email protected]>: Host or domain name not found. Name service error
    for name=server.jinniferules.com type=A: Host not found
    Reporting-MTA: dns; server.example.com
    X-Postfix-Queue-ID: 75E7A223CE8
    X-Postfix-Sender: rfc822; [email protected]
    Arrival-Date: Wed, 12 Jan 2011 11:15:20 -0700 (MST)
    Final-Recipient: rfc822; [email protected]
    Original-Recipient: rfc822;[email protected]
    Action: failed
    Status: 5.4.4
    Diagnostic-Code: X-Postfix; Host or domain name not found. Name service error
    for name=server.jinniferules.com type=A: Host not found
    Any thoughts on this?
    Thanks!
    Message was edited by: jinniferb

    Solved my own problem: what was needed was to add a "server" entry to the A-records list that pointed to the IP.
    Sheesh! Haha.

  • Library in shared folder - users can see, but not change?

    We have or music library saved to the shared folder so all of the users in the family can access the music. However, only the original user can make changes (change genre, mark don't include in shuffle, etc.). Is this by design, or should everyone be able to make changes to the music?

    This still does not fix it... If you cannot R&W over the folders and the library, you cannot even open the library. I've been looking into the same issue, and have not been successful. I might try what I used for iPhoto and worked beautifully; I have not done so, because if I remember correctly, it was posted that this does not work:
    sudo fsaclctl -p / -e
    sudo chmod +a "<other user> allow delete,chown,list,search,add_file,\
    addsubdirectory,delete_child,file_inherit,directoryinherit" <path to directory>

  • ADF LOV  (Just allow to select but not validate)

    We need a LOV on a column. User wants to look up using the LOV , sometimes he selects data from the LOV and sometimes he will enter the data he wish..
    Example :
    Let say i have deptIDs: 10,11,15,20,21etc
    Sometimes user picks the exact deptID and sometimes he wants to enter something like 1%.
    When user enters something like 1% , it defaults to the first value staring with 1%, but instead we need to save in database as it is (1%)
    Please suggest

    Try <af:inputComboboxListOfValues> or <af:inputListOfValues> components.

  • Can select but not use iPhone 4 WiFi in iOS 4.3.4 & 4.3.5

    After I updated my iPhone 4 to iOS 4.3.4, I could select my WiFi-connection, but it would refuse to use it. The 3G or circle-icon showed instead of WiFi. In the settings, my home WiFi is slected, but it is not used. The 3G keeps showing instead. I tested it using YouTube and the browser and the speed is indeed 3G speed. I upgraded to 4.3.5: still the same problem.
    I went to the settings, chose to ignore my WiFi network. I then re-scanned, chose my WiFi, just to refresh everything. It still didn't work. I restarted my phone, which also didn't solve the problem. Whenever I go to the settings, it shows the selection of my WiFi with the checkmark on the left as if I am actually using it, but it doesn't.

    If you update to iOS 4.3.4 or iOS 4.3.5, you will need to power-off your WiFi-router, wait a couple of seconds and power it back on. Then, your WiFi-connection will work with the iPhone 4. If you don't do that, you will not be able to use WiFi on the iPhone 4.
    Rebooting the iPhone or re-selecting the WiFi-router (even after deleting the connection) will not get the job done. Only by powering off/on your router. Now, it works again.

  • I have web dynpor alv tables set up for multiple selections but not working

    Hi ,
    I have numerous alv tables within my application and i have following the steps needed to set them up for multiple selection.
    The context node selection property is set up as 0..n
    I also have the modify method set up with the method call
    CALL METHOD lo_value->if_salv_wd_table_settings~set_selection_mode
        EXPORTING
          value = cl_wd_table=>e_selection_mode-MULTI_NO_LEAD.
    I also have the no lead selection option set so initially there is no entry selected
    I can select one entry without a problem.
    I can also select one entry and then if i use the shift button when selecting another record it will select all the records in between.
    However i cant pick numerous individual records at the same time.
    I try by selecting a record and the n using the control button to select a second record but it wont work.
    Any ideas what i am missing or what i am doing wrong.
    Any help is greatly appreciated.
    Regards
    Brian

    I tried the code listed above but it throws nothing but error messages
    The exact code i have in my modifyview method is as follows
    data lo_cmp_usage type ref to if_wd_component_usage.
    data lr_config TYPE REF TO cl_salv_wd_config_table.
    data lr_column TYPE REF TO cl_salv_wd_column.
    data lr_link TYPE REF TO cl_salv_wd_uie_link_to_action.
    data lr_column_settings type ref to if_salv_wd_column_settings.
    data lr_column_header type ref to cl_salv_wd_column_header.
    data lr_table_settings type ref to if_salv_wd_table_settings.
    data lr_columns type ref to cl_salv_columns_table.
    lo_cmp_usage =   wd_this->wd_cpuse_my_act_alv( ).
    if lo_cmp_usage->has_active_component( ) is initial.
      lo_cmp_usage->create_component( ).
    endif.
    DATA lo_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE .
    lo_INTERFACECONTROLLER =   wd_this->wd_cpifc_my_act_alv( ).
      DATA lo_value TYPE ref to cl_salv_wd_config_table.
      lo_value = lo_interfacecontroller->get_model(
    CALL METHOD lo_value->if_salv_wd_table_settings~set_selection_mode
        EXPORTING
          value = cl_wd_table=>e_selection_mode-MULTI_NO_LEAD.
    lo_value->if_salv_wd_std_functions~set_aggregation_allowed( abap_true ).
    lo_value->if_salv_wd_std_functions~set_group_aggregation_allowed( abap_true ).
    lr_column_settings ?= lo_value.
    lr_table_settings ?= lo_value.
    lr_column = lr_column_settings->get_column( 'ACTIVITY_NO' ).
    CREATE OBJECT lr_link.
    lr_link->set_text_fieldname( 'ACTIVITY_NO' ).
    lr_column->set_cell_editor( lr_link ).
    lr_column = lr_column_settings->get_column( 'ACTIVITY_DESCR' ).
    lr_column->set_width( '160' ).
    lr_column->delete_header( ).
    lr_column_header = lr_column->create_header( ).
    lr_column_header->set_text( ls_dashboard_display-ACTIVITY_DESCR ).
    More code to set up individual columns  *********************
    lr_table_settings->set_visible_row_count( -1 ).
    lr_table_settings->set_footer_visible( 0 ).
    endmethod.
    The code listed in the note looks completely different to what i currently have , i dont read any nodes when setting up the alv table . Am i putting the code in the wrong place?
    Edited by: Brian Ramsell on Nov 10, 2009 2:21 PM

Maybe you are looking for

  • Grabbing part of another html document

    I have a page that lists the titles and teasers from other pages on the site. The title is always wrapped in the only h1 tag on the page, and the teaser is wrapped in the only h2 tag on the page, so they're easily identified. How can I pull those int

  • How to reset planned price in material master

    Hi Gurus, Can anyone tell me how to reset planned price in material master. my user has run ck40n with wrong values, but i am not able to reverse costing run by using ckr1 or ck44. what could be the reason behind this. even after executing tcode ckr1

  • Buid mSata into a MacBook Pro

    Hello, i have a MacBook Pro early 2011. Is there a possibility to build a mSata drive into it? Greets from Germany

  • SPRUNCONSO with 0% in POWN

    I have set up the rule to calculate POWN in Group and 1-POWN in Minority. This works fine where the ownership percentage is not 0%. We have however, some entities with 0% ownership in one of the ConsolViews. This results in values being computed - 0%

  • Office 2010 32bit-version on 64bit-laptop?

    I bought Office 2010 32 bit-version to download at surfspot.nl. That's legal software for cheaper price, specially for students. It was said that the this version would work at a 64bit-laptop. But when I try to install this version, my laptop keeps s