Refreshing ALV from POV

Hi Experts,
   I have a module pool screen, in which I have an input field and under that I have OOPS alv grid control.
I want to select a value from search help for that input field. The moment I select the value in that input field,
according to the input field value, the content of ALV should be changed and it should be refreshed.
How to get it, when PBO is not called, as we call POV.
Thanks and regards,
Venkat.

Hi,
Well actually SAPGUI_SET_FUNCTIONCODE is ok as soon as you are correctly refreshing your ALV in PBO...
MODULE pbo.
  IF gr_alv IS NOT BOUND.
     "Create ALV object
  ELSE.
    gr_alv->refresh( ).
  ENDIF.
ENDMODULE.
MODULE pov.
  CALL FUNCTION 'SAPGUI_SET_FUNCTIONCODE'
ENDMODULE.
works perfectly on my side...
This is also working with the use of CL_GUI_CFW=>SET_NEW_OK_CODE indeed...
Cheers,
m.
Edited by: Manu D'Haeyer on Oct 14, 2011 1:45 PM

Similar Messages

  • Refresh ALV ( Internal Table Will Be Change)

    Hi friends
    I am using 2 internal table. And they have their own field catalog. I can refresh alv grid.
    If my refresh data have stuation 1 I am using Inta another stuation I am using Intb.
    How can I refresh my ALV grid with different catalog and internal table?

    Hi,
    yes you can do that,
    Check this sample code, in your case you have to use two performs for display. with the help of SELFIELD-EXIT = 'X'. you can get what you want.
    REPORT  ZTEST_ALV.
    type-pools:slis.
    DATA: GT_SFLIGHT TYPE TABLE OF SFLIGHT.
    DATA: GT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
          FIELDCAT type SLIS_FIELDCAT_ALV.
    data: l_layout type SLIS_LAYOUT_ALV.
    SELECT * FROM SFLIGHT INTO TABLE GT_SFLIGHT.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
      EXPORTING
        I_PROGRAM_NAME         = sy-repid
        I_STRUCTURE_NAME       = 'SFLIGHT'
        I_INCLNAME             = sy-repid
      CHANGING
        CT_FIELDCAT            = gt_fieldcat
      EXCEPTIONS
        INCONSISTENT_INTERFACE = 1
        PROGRAM_ERROR          = 2
        OTHERS                 = 3.
    IF SY-SUBRC <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    perform alv_display.
    *&      Form  status
    *       text
    form status USING P_EXTAB TYPE SLIS_T_EXTAB  .
      set pf-status 'AAA' excluding p_extab.
    endform.                    "status
    *&      Form  USER_COMMAND
    *       text
    *      -->P_UCOMM    text
    *      -->P_SELFIELD text
    FORM USER_COMMAND USING    P_UCOMM    LIKE SY-UCOMM
          P_SELFIELD TYPE SLIS_SELFIELD.
      case p_ucomm.
        when 'TEST'.
            fieldcat-no_out = 'X'.
            modify gt_fieldcat from fieldcat
                   transporting no_out where fieldname = 'PRICE'.
    p_selfield-exit = 'X'.
    perform alv_display.
    endcase.
    ENDFORM.                    "USER_COMMAND
    *&      Form  alv_display
    *       text
    FORM alv_display .
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        IS_LAYOUT                = l_layout
        I_CALLBACK_PROGRAM       = sy-repid
        I_STRUCTURE_NAME         = 'SFLIGHT'
        I_CALLBACK_PF_STATUS_SET = 'STATUS'
        I_CALLBACK_USER_COMMAND  = 'USER_COMMAND'
        IT_FIELDCAT              = GT_FIELDCAT[]
      TABLES
        T_OUTTAB                 = GT_SFLIGHT.
    ENDFORM.                    " alv_display
    Regards
    vijay

  • Error from EAS - "refreshing security from Shared Services failed"

    Hi,
    I was using Native only security in HSS for Essbase 11.1.1.3 and EAS allowed me to Refresh security from Shared Services. (Essbase security was already externalized to HSS.)
    However, after I added "MS Active Directory", and provisioned a MSAD user to a native Planning group, EAS errors out with "refreshing security from Shared Services failed" .
    I checked Essbase security and that MSAD user is not added to Essbase.
    From Essbase Log I see:
    Essbase failed to get roles list for [ESB:Analytic Servers:servername:1] from Shared Services Server with Error [32:1062:Failed to connect to the user directory [ HSS'sMSADname].
    I then tried to remove MSAD from our H Shared Services and see if this problem goes away. However, MSAD still shows on the left panel menu in H Shared Services. How can I get rid of MSAD?
    Any suggestions?
    Edited by: user643332 on May 12, 2010 12:05 AM

    Hi,
    Are you sure you have removed it from shared services, you may have just disabled it.
    You must restart the shared services application server to apply any changes made.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • EAS Console - Not getting the option "Refresh security from Shared Services"

    Hi,
    In EAS Console 11.1.2.2, I am not getting the option "Refresh security from Shared Services" when I right click on Security (under Essbase Servers).
    However, I can see this option via EAS Console 11.1.1.3 (current existing version).
    Could you please let me know how can I get this option in EAS Console 11.1.2.2? Is this by any chance related to the option "Externalize Users"?
    Thanks in advance.

    Thanks a lot join for this information and your kind support .
    One more question:
    The owner of the Planning application is user 'hypadmin'.
    I can see the SIDs of user 5001 a little different in both the versions. Is this ok?
    Hyperion Planning 11.1.1.3 (Existing Environment)
    USER_ID     SID ROLE SYNC_PSWD OFFLINE_ENABLED HUB_ROLES
    50001          native://DN=cn=0fa19f8241602600:3b78a0e0:130926693d2:-78ba,ou=People,dc=css,dc=hyperion,dc=com?USER 3 2 0 5019
    Hyperion Planning 11.1.2.2 (New Environment)
    USER_ID     SID ROLE SYNC_PSWD OFFLINE_ENABLED HUB_ROLES
    50001           native://nvid=54aec0428a3ba591:-44b7ca9b:13f03c114d2:-5d99?USER 3 2  4507
    I have not yet performed "Externalize Users" yet in the new environment (11.1.2.2) throgh EAS Console. Is it required in the newer version 11.1.2.2?

  • Essbase EAS - Refresh Security from Shared Services

    Hi All,
    Just went live with Essbase. We are using MSAD Groups in Shared Services for our users. I noticed that if we add a new user to a provisioned group, they don't automatically get access to Essbase. I believe I have to select 'Refresh Security From Shared Services' in EAS. I am nervous about doing this with users in the system as I don't want to accidentally boot them out. Is there any risk? Reports stopped? Users forced to logout? Smartview implications?
    I feel like I did it before and disrupted some users during development but I am not sure.
    Much Appreciated,
    Mike

    Thx. I just did it and it didn't seem to disrupt anything. I tested with a user with a smartview open, a report running and a WA dashboard on screen. It did mention that after refreshing the essbase server would be disconnected and i would have to reconnect but it didn't actually boot me out or disrupt any process.
    I guess it's okay to do on a live production system. ?
    Thx,
    Mike

  • Refresh Security from shared services.

    Hi
    When ever there are any changes in the security at shared services(LDAP) , I am doing a refresh security from shared services(@EAS)
    -in order to get these changes from shared services.
    Which is taking 30 minutes refresh ever time in our systems.
    Is there any other way to make quickone?
    Version - 11.1.1.3
    Thanks

    strange? We are still on 931 (Essbase on 9.3.1.6) and refreshing security is not necessary at all any more. It is even deprecated functionality. I always though that 11 did not have it too.^^^The end (or most of the end) of Essbase.sec came in a late patch of 9.3.1. It isn't there yet in 11.1.1.3, I think. It is in 11.1.2. There was not a lot of fanfare about the change although it's there in the patch notes.
    Regards,
    Cameron Lackpour

  • REFRESH ALV

    HI
    I WANT TO REFREAH ALV AFTER I PRES ON BUTTON.
    WHEN I USE REUSE_ALV_GRID_DISPLAY
    IN USER-COMMAND I USE
    FORM USER_COMMAND USING P_UCOMM TYPE SYUCOMM
                            P_SELFIELD TYPE SLIS_SELFIELD.
    P_SELFIELD-REFRESH = 'X'
    how can i refresh when i use class
    CL_SALV_TABLE?
    thanks
    have nice day

    hi yossi,
    check these links..
    Refresh in ALV.
    Alv Grid and Refresh Button
    ALV grid Refresh.
    http://www.sap-img.com/abap/how-to-refresh-alv-list-grid-once-it-is-displayed.htm
    http://sap.ittoolbox.com/groups/career/SAP-CAREER/refresh-alv-report-421919
    Re: Refresh ALV with a new value
    Re: Update/refresh ALV grid

  • How to detach refresh button from address bar in the new UI of FF29?

    IN FF28 it was possible to detach the refresh button from the address bar, but now the whole address bar is just one element. I am really used to have the button on the left side and not on the right side of the screen. I would love to have the opportunity back again to separate them!
    Best,
    Robin

    Firefox is just caught up in the industry wide disease of simplifying their user interface to satisfy the needs of mobile device users. It's probably true that they make up the vast majority of users. It is troubling that this trend ruins the experience for the few of us that still use powerful computers with huge and multiple display screens.
    As a developer of web pages, I often go through a cycle of looking at a web page I am developing, tweaking it, and refreshing the browser. No matter how many times I just proofread the content, I still find mistakes that need correction. So the view, correct, refresh cycle is so frequent that I need it to be efficient with well placed controls to accomplish the cycle.
    I don't mind making the GUI extremely simple for the majority of users, but I am upset with how often these "improvements" make it difficult for the experienced user/developer to use the tool in the way that suits them.

  • Pb with optoma EP752 projector since sw refresh moving from Mac OS 10.5.4 to 10.5.8

    I did a sw refresh moving from Mac OS 10.5.4 to 10.5.8 and since then my Optoma EP752 projector does not work properly. The default 1024x768 resolution is no more a choice from the monitor section. Instead I am proposed a 1024x516 one which does not suit my needs at all.
    When I go back to genuine Mac OS 10.4 the pb is solved. I tested my projector on a Mac OS 10.6.8 and here comes the problem again.
    I am trying to locate the root cause of this keeping in mind that one of the objectives of Mac OS 10.5.8 was "Resolves an issue in which certain resolutions might not appear in the Display pane in System Preferences." I am still wondering whether it is my projector or my OS... This device has always been connected the same way which is : mini DVI to DVI using a genuine apple adaptor

    You should update all the way to 10.5.8 using the combo updater, which you can download from here:
    http://support.apple.com/downloads/MacOS_X_10_5_8_ComboUpdate
    Do I have to buy iLife 09 outright?
    Yes.
    Can I buy just iMovie 09?
    Nope!
    Lastly, you have plenty of RAM. The only way to increase this would be to sell your two ram sticks on eBay and buy two new 2GB sticks.

  • Refreshing ALV when action is triggered using button

    Hello Friends,
    I have a drop down list having 3 values "Last 30 Days", "Last 60 Days" and "Last 90 Days". If I select Last 30 Days and click on button "Search" it gives me record for the last 30 days. But, if I click again on "Last 60 Days" it duplicates the record that was already in. So it does not refresh the previous result. I have added the code as below to refresh ALV but, it refresh the table but not the ALV. My View name is "MY PO INVOICES" and the context node name is 'MY_PO_INV' .
    DATA ln_node type REF TO if_wd_context_node.
    ln_node = wd_context->get_child_node( 'MY_PO_INV' ).
    ln_node->invalidate( ).
    Please let me know how do I refresth the result in the ALV display when I trigger the event.
    Thks & Rgds,
    Hemal

    Hello All,
    Thanks very much for your responses. I tried to bind the alv table. But, I think I am doing some thing wrong here. Below is my code. Please let me know where I am doing wrong. Appreciate your help.
    lv_thirtydays = 'LAST 30 DAYS'.
    lv_sixtydays = 'LAST 60 DAYS'.
    lv_ninetydays = 'LAST 90 DAYS'.
    if ZDAYS = lv_thirtydays.
          lv_zpostingdate = sy-datum - 30.
          ENDIF.
    lv_zpostingdate_to = sy-datum.
        if ZDAYS = lv_sixtydays.
           lv_zpostingdate = sy-datum - 60.
       ENDIF.
        if ZDAYS = lv_ninetydays.
           lv_zpostingdate = sy-datum - 90.
       ENDIF.
    ln_node = wd_context->get_child_node( 'MY_PO_INV' ).
    ln_node->invalidate( ).
    LOOP AT lt_context_value_set INTO cocd_context_value_set.
       lv_zcompany = cocd_context_value_set-text.
       lv_zusername = username.
       lv_zdays = ZDAYS.
       CALL FUNCTION 'ZEBP_MY_PO_INV_SEARCH'
       EXPORTING
        bldat =                          lv_zpostingdate
        bldat_to =                      lv_zpostingdate_to
        bukrs =                         lv_zcompany
        usnam =                       lv_zusername
        ZDAYS =                      lv_zdays
       tables
        invsrch        = zsearch.
    ln_node->bind_table( zsearch ) .
    SORT zsearch BY zcompany.
    DATA lo_nd_get_po_inv TYPE REF TO if_wd_context_node.
    lo_nd_get_po_inv = wd_context->get_child_node( name = wd_this->wdctx_my_po_inv ).
    CALL METHOD lo_nd_get_po_inv->bind_table
      EXPORTING
        new_items            = zsearch.
    ENDLOOP.
    Thks & Rgds,
    Hemal

  • Deleting queries from POV Manager in SmartView Word

    Hi,
    I am unable to delete the unused queries from POV Manager in SmartView Word. The delete option is grayed out. I am using SmartView 11.1.2.1.00.
    How can I delete the queries/connections? Please let me know.
    Any help would be appreciated.
    Thanks,
    AK

    Hi
    I am not sure whether this feature is availble on the latest release 102. But you can see many powerpoint related smart view issues are fixed on this version. If you can reproduce the same in "Oracle® Hyperion Smart View for Office, Fusion Edition- Release 11.1.2.0.000 Patch Set 1 (PS1): 11.1.2.1.102", open a service ticket to oracle support for further assistance.
    thank you
    Regards,
    Mahe

  • WCS Refresh Config from Controller Fails

    Have been able to refresh config from controller successfully in the past, but now it only works on 1 of 4 controllers. Receive error "Failed (see logs)". Any idea why this would fail, and/or where I can find these logs? All controllers are reachable.

    For what it's worth, it is generally recommended that the WCS be at a MORE recent or same revision level (in terms of date, not version numbering, per se) as the controllers.
    Have you upgraded the controllers prior to the WCS? It is my understanding that upgrading in the wrong order (i.e.: Upgrading the WLC/WiSM before the WCS is upgraded) might cause problems.
    Just a thought.
    - John

  • Refresh QAS from PRD

    Hi,
    Can we refresh QAS from PRD backup ? and if so, suggest the steps to do that .
    REgards,

    Hi,
    this is normal business. One of the easiest ways is to use redirected restore  with the following steps:
    1) backup prd database offline or include logs
    2) create redirected restore script with "brdbbrt -bm retrieve" on prd
    3) copy outputfile to qas and chnage some entries like sid
    4) start the restore with command db2 -tvf <outputfile>
    5) do post restore activities you want to do
    Please make sure you have read the "backup and restore guide" and lot of other information in oss or sdn.
    Regards Olaf

  • Essbase Refresh security from SS failed

    Hi,
    we are getting the error while refresh security from shared services from Essbasse....
    "Refreshing security from Shared Services failed"
    In essbase error log can see below.....
    Error(1051522)...Analytical Services failed to get group's member tree with Error [Failed to create an initial directory context for MSAD]
    Please help.
    Thanks.

    Thx. I just did it and it didn't seem to disrupt anything. I tested with a user with a smartview open, a report running and a WA dashboard on screen. It did mention that after refreshing the essbase server would be disconnected and i would have to reconnect but it didn't actually boot me out or disrupt any process.
    I guess it's okay to do on a live production system. ?
    Thx,
    Mike

  • Unable to refresh filters from planning desktop(9.2.x)

    Hi
    i am unable to refresh filters from planning desktop.ie when a refresh is performed i get a popup with alist of users for which the filters didnt get updated and also the application goes into locked state.
    I feel this is mainly due to the existence of stale users on planning desktop.Is there any workaround,query or patch to remove the stale users(users not existing in msad) from planning desktop such that the refresh takes palce properly.
    Waiting for a quick reply
    Thanks and regards
    krishnatilak

    Hi. I had this same issue with 9.2. I found that there was a user which was no longer in the AD that was still in planning.
    First thing to check is can you see the users in SS - I suspect not but worth a look. If you can, deprovision them. If you cant (most likely) you will need to use an LDAP browser to clean them out, which is a very messy process.
    Best of luck.
    Sean

Maybe you are looking for