Get all the function button in SET_TABLE_FOR_FIRST_DISPLAY

Hi Guys,
I've used the the method SET_TABLE_FOR_FIRST_DISPLAY to display my ALV. Unfortunately, icons like TOTAL, FILTER..... that are availble in SET_TABLE_FOR_FIRST_DISPLAY is not working. Kindly please provide me answer why the icons are not working. Below is my code. Did I miss something? Helpful advise will be rewarded. Thanks!!
CREATE OBJECT CC_OBJ
    EXPORTING
*      PARENT                      =
      CONTAINER_NAME              = 'CC_OBJ'
*      STYLE                       =
*      LIFETIME                    = lifetime_default
*      REPID                       =
*      DYNNR                       =
*      NO_AUTODEF_PROGID_DYNNR     =
    EXCEPTIONS
      CNTL_ERROR                  = 1
      CNTL_SYSTEM_ERROR           = 2
      CREATE_ERROR                = 3
      LIFETIME_ERROR              = 4
      LIFETIME_DYNPRO_DYNPRO_LINK = 5
      OTHERS                      = 6
  IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
  CREATE OBJECT OBJ_ALV_GRID
    EXPORTING
*      I_SHELLSTYLE      = 0
*      I_LIFETIME        =
      I_PARENT          = CC_OBJ
*      I_APPL_EVENTS     = space
*      I_PARENTDBG       =
*      I_APPLOGPARENT    =
*      I_GRAPHICSPARENT  =
*      I_NAME            =
*      I_FCAT_COMPLETE   = SPACE
    EXCEPTIONS
      ERROR_CNTL_CREATE = 1
      ERROR_CNTL_INIT   = 2
      ERROR_CNTL_LINK   = 3
      ERROR_DP_CREATE   = 4
      OTHERS            = 5
  IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
* CALLING THE CREATED INSTANCE TO METHOD
  CALL METHOD OBJ_ALV_GRID->SET_TABLE_FOR_FIRST_DISPLAY
   EXPORTING
*    I_BUFFER_ACTIVE               =
*    I_BYPASSING_BUFFER            =
*    I_CONSISTENCY_CHECK           =
      I_STRUCTURE_NAME              = 'SFLIGHT'
*    IS_VARIANT                    =
*    I_SAVE                        =
*    I_DEFAULT                     = 'X'
*    IS_LAYOUT                     =
*    IS_PRINT                      =
*    IT_SPECIAL_GROUPS             =
*    IT_TOOLBAR_EXCLUDING          =
*    IT_HYPERLINK                  =
*    IT_ALV_GRAPHICS               =
*    IT_EXCEPT_QINFO               =
*    IR_SALV_ADAPTER               =
    CHANGING
      IT_OUTTAB                     = IT_SFLIGHT
*    IT_FIELDCATALOG               =
*    IT_SORT                       =
*    IT_FILTER                     =
  EXCEPTIONS
    INVALID_PARAMETER_COMBINATION = 1
    PROGRAM_ERROR                 = 2
    TOO_MANY_LINES                = 3
    OTHERS                        = 4
  IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
* FREE MEMORY FOR ALV GRID AND CLASS CL_GUI_CFW.
  CALL METHOD OBJ_ALV_GRID->FREE.
  CALL METHOD CL_GUI_CFW=>FLUSH.
  CALL SCREEN '0100'.
Regards,
Mark

Thanks for your reply but I got it by myself. Actually, It is automatic that the controls of the ALV is active. The only problem is my logic. Below should be done.
*CALL SCREEN '0100'.
CALL METHOD OBJ_ALV_GRID->FREE.
CALL METHOD CL_GUI_CFW=>FLUSH.*

Similar Messages

  • How do I get all the control buttons in one place in 3.6.16, like they used to be in previous versions? Having the refresh and stop buttons between address and search windows, and the home button to the far right is awful.

    In 3.6.16, the buttons are all over the place. In previous versions, the forward, back, refresh, stop and home buttons were all together. In this version, the refresh and stop buttons are between the address and search windows, and the home button to the far right.
    I would love to have them all together as they used to be - much more user friendly that way. I have tried installing alternate themes, but the coding of this version over-rides the themes.

    Firefox 4.0 has a combined Reload and Stop and Go button that appears at the right end of the location bar.
    To restore the Firefox 3 appearance you can use these steps:
    * Open the "View > Toolbars > Customize" window to move the Stop and Reload button out of the location bar.
    * Move the Reload and Stop buttons to their previous position at the left side of the location bar.
    * Set the order to "Reload - Stop" to get a combined "Reload/Stop" button.
    * Set the order to "Stop - Reload" or separate them otherwise to get two distinct buttons.

  • I have an unlocked iphone 3gs running ios 6.0 currently with straight talk. I was able to get all the functions working except mms.Do you think this issue will be resolved ? I really would like that option on my phone. I have tried everything.

    Can't get mms. to work have, tried everything I have found online.ST tells me it's Apples' problem Apple tells me it's STs' problem.Does anyone think this issue will be resolved ? My phone is an Apple unlocked 3gs running ios 6.0 on Straight Talk using atts' towers.

    I am having the same problem but cannot get anything but the actual phone to work.  I have a unlocked 3GS running 6.0 (what was I thinking?).  No data whatsoever, no texting, no visual voicemail.  I simply cannot access the APN settings.  I have tried sim swap, I have tried APN changers.  I have been on the phone with ST tech support for hours and hours.  I have tried to get the answers from a "genius".  I am stuck and looking at Android devices, but would really like to keep using the iphone with Straight Talk.

  • I'm trying to buy more storage on my iPad but when I get to the "buy" button, it has my old Apple ID and I can't go any farther. I've changed my Apple ID on all my devices, logged out, logged back in, rebooted, etc., but that one area still has old one.

    I'm trying to buy more storage on my iPad but when I get to the "buy" button, it has my old Apple ID and I can't go any farther. I've changed my Apple ID on all my devices, logged out, logged back in, rebooted, etc., but that one area still has old one.

    You can't buy more storage on an iPad. You are referring to space on iCloud and that probably won't accomplish what you are trying to do.

  • I am moving to Alice Springs, Australia, this summer from the U.S. I would like to get the new iPad. How can I found out if I will be able to access all the functionality in Alice? Will I need to purchase a local plan of some sort?

    I am moving to Alice Springs, Australia, this summer from the U.S. I would like to get the new iPad to use while traveling back and forth from the U.S. to Australia, and within Australia. How can I found out if I will be able to access all the functionality of the iPad in Alice? Will I need to purchase a local plan of some sort? I have never owned an Apple product before -- I'm a newby!

    Aside form the limitation of LTE to the 700MHz and 2.1GHz bands (which rules out LTE in Europe I gather, at least as it stands now) the new iPad should let you use a GSM 3g/2g/edge network anywhere.  The CDMA Verizon model will only be able to use it's native CDMA radio band in the USA (that radio will be locked to Verizon), but it's international GSM radio is the same as the AT&T model.
    Keep in mind though that by far the cheapest option when abroad is to take advantage of free wifi as much as possible (well, that is always the cheapest option, since it is free).  I know several people who have taken their wifi-only iPads and iPad2s to Europe and said they did not find the lack of 3G really inconvenient at all as most towns had plenty of free or cheap wifi access all over the place.
    And in 3 years, your iPad will be at least 2-3 generations behind, LTE will have already been replaced by 5G or whatever the next new generation of cellular ends up being named (and the "young" kids will be wondering what the heck 3G even means or meant - dang that stuff was from the olden days!), and you can pitch that ancient piece of technology and start things all over again 

  • Delaying a function so ADF will get all the selected rows and run only 1 time ?

    Hello,
    I'm using JDeveloper 12.1.2.0.0.
    I have a group of functions that are executed after i click on one or more rows, which is called:
    public void onDimProjectSelect(SelectionEvent selectionEvent)
    Whenever i shift-click some rows (lets say, for the purpose of this example, that i shift-click the 1st row to the 5th row, so i shift select and i get selected the rows: 1,2,3,4 and 5).
    I did notice that what happens is that the function onDimProjectSelect will execute with the 1st row, and after it runs all the functions, it will run again the function onDimProjectSelect with the 1, 2, 3, 4 and 5 rows as it should in the first place.
    Why is this happening? I've tried to add a delay but i did not work.
    This is really a pain because its spending time executing a function without all of the rows that is suppose to have, so it will run again.
    I think the problem here is how ADF does the selections for the function but i don't know how to change it.
    Any ideia of why is this happening? What can i do to correct this?
    Regards,
    Frederico.

    Hey Frank,
    I mean that my function onDimProjectSelect has other functions inside that need to be executed so when i say that is runs all the functions i mean the functions that are suppose to execute when onDimProjectSelect is executed.
    Maybe the problem is my implementation approach but it was required to use the selection. But the funny part is that i select with the shift-click and he knows that, since it will run the function with all the rows that are selected but firstly he will execute the function with just the first selected row.

  • I play Hotties for Sale but the function buttons Home, Refresh, Go back, have disappeared. How do I get them back? are missing

    I was trying to find out how the page info link works and I lost the function buttons Home, Refresh, Go back on Hotties for Sale. I do not know how to get them back. I have contacted Hotties For Sale help but they have not replied. Can you help please?

    * If the menu bar is hidden then press F10 or hold down the Alt key, that should make the "Menu Bar" appear
    * Make sure that the "Navigation Toolbar" and the "Bookmarks Toolbar" are visible: "View > Toolbars"
    * If items are missing then open the Customize window via "View > Toolbars > Customize" or via "Firefox > Options > Toolbar Layout"
    * If a missing item is in the toolbar palette then drag it back from the Customize window on the toolbar
    * If you do not see that item then click the "Restore Default Set" button to restore the default toolbar set up
    See also:
    * http://kb.mozillazine.org/Toolbar_customization
    * [[Back and forward or other toolbar buttons are missing]]
    * [[Navigation Toolbar items]]

  • Function to get all the months name of a year from dual

    HI GURUS
    Is there any function to get all the months name of a year from dual
    thanks in advance

    What about this --
    satyaki>
    satyaki>select months_name
      2  from (
      3         select to_char(add_months(trunc(sysdate,'YEAR'),rownum-1),'MONTH') months_name
      4         from dual
      5         connect by rownum<=12
      6       );
    MONTHS_NAME
    JANUARY
    FEBRUARY
    MARCH
    APRIL
    MAY
    JUNE
    JULY
    AUGUST
    SEPTEMBER
    OCTOBER
    NOVEMBER
    MONTHS_NAME
    DECEMBER
    12 rows selected.
    satyaki>Regards.
    Satyaki De.

  • I have a macbook pro with OSX Mavericks 10.9.5 and some keys that are not working. Specifically, the enter/return button, the "p", "0", ";", and all the function keys.  What's really weird is that happens randomly.  I've never spilled anything on it

    I have a macbook pro with OSX Mavericks 10.9.5 and some keys randomly are not working. Specifically, the enter/return button, the "p", "0", ";", and all the function keys.  What's really weird is that happens randomly.  I've never spilled anything on it, and I can't for the life of me figure out how to fix this.  Can anyone help?  of course this happened after my warranty expired.

    **update**
    I don't know if this will help someone but I am posting this for that purpose.  In the past when I first had this problem, I'd read a post somewhere (sorry, long ago, don't have the link) where an individual was having the same problem and they stated that when the MBP got heated, that's when the keys would stop working, and they went into the MBP and jiggle some stuff around (a specific wire, I'm not electronically inclined so I know NOT of what they spake!).  Well I didn't want to do that but it always stuck in the back of my mind.  I had given up, really, and was planning to take my MBP to the apple store.  But by chance one night I left my MBP on the floor where it's cool, and when I turned it on, the problem went - poof! It seems there was some validity to the post that spoke about heat, because my problems started when I would stream foreign dramas on my MBP for hours at night, and I would hear the fan going off all the time, and in the mornings, my "p", "enter", "0", ";", and all the function keys would stop working. 
    So, maybe try keeping the MBP in a cool place when it's off.  Since I've started doing this overnight every night (keeping it on the cool floor, out of reach of any big feet), I have not had a single problem with my keyboard.
    Hopefully this might help someone.

  • Function module or BAPI for getting all the Idoc numbers of a sales order

    Hi Folks,
    Is there any function module or BAPI exists for getting all the Idoc numbers which are generated for a Sales order.
    Thanks in advance.
    Regards,
    Sarath.....

    Hi Sarath,
    try this function module...
    BAPI_IDOCAPPL_DISPLAY
    Regards,
    Prabhudas

  • Function module to get the name of all the function module used

    I want to populate a internal table with the name of all function module used in the submitted program?? Is there any function module which return the name of all the function module used?

    Hi Priya
    Try this one RPY_FUNCTIONMODULE_READ.
    Ranga

  • Scene Graph traversal. Getting all the children of a node recursively

    Hi,
    Requirement: To resize all the controls of a scene (including controls that contain text like label, button) as per the scene size
    Approach: To implement the above requirement (see code snippet below), I added Listeners for width and height properties of a Scene and whenever the scene size changes, I get all the children of the root node of the scene and invoked the setScaleX() and setScaleY() for the children.
    Problem: In my design, labels and buttons are wrapped inside VBox, HBox etc. Method getChildrenUnmodifiable() returns only the first level of children and hence my HBox and VBox are getting scaled as per the scene size but not the children of VBox and HBox. Is there a built-in function to get all the children of a node recursively ? Or what is the best way to resize text as the scene size changes ?
    Scene mainScene = new Scene(borderPane, PERMANENT_WIDTH,
                    PERMANENT_HEIGHT, Color.HONEYDEW);
    rootNode = mainScene.getRoot();
            mainScene.widthProperty().addListener(new ChangeListener() {
                @Override
                public void changed(ObservableValue observable, Object oldValue,
                        Object newValue) {
                    Double widthScalingFactor = ((Double) newValue) / PERMANENT_WIDTH;
                     ObservableList<Node> children = rootNode.getChildrenUnmodifiable();
                    for (Node child : children) {
                        child.setScaleX(widthScalingFactor);
            mainScene.heightProperty().addListener(new ChangeListener() {
                @Override
                public void changed(ObservableValue observable, Object oldValue,
                        Object newValue) {
                    Double heightScalingFactor = ((Double) newValue) / PERMANENT_HEIGHT;
                    ObservableList<Node> children = rootNode.getChildrenUnmodifiable();
                    for (Node child : children) {
                        child.setScaleY(heightScalingFactor);
            });Thanks.

    Added the following code to get all the children recursively. now the scaling is applied to all nodes of a scene.
        private static void getChildren(Parent parentNode) {
            if (parentNode.getChildrenUnmodifiable().size() != 0) {
                ObservableList<Node> tempChildren = parentNode
                        .getChildrenUnmodifiable();
                allChildren.addAll(tempChildren);
                for (Node n : tempChildren)
                    getChildren((Parent) n);
            } else
                allChildren.add(parentNode);
        }

  • All the external buttons have ceased to work on my iphone 3G.Any solution please?

    Can anyone help please? All the external buttons on my iphone 3G have just stopped working. This means I cannot switch it off, turn off the ringer or adjust the volume using the rocker switch. I can't even try a reset using top button and home button! All the on screen functions seem to be fine.

    Bluetooth is turned-on on all the devices.
    Trying to connect to bluetooth headset.
    Used to work fine.
    iPad and iPod both work fine.
    Initially, I thought there might be a setting being carried over between restores; so when I got the iPhone 4S, I didn't restore it from an existing backup; but it still won't find anything on Bluetooth. Just gets stuck in search.
    Even though Bluetooth is turned on, the Bluetooth icon won't display.
    I've tried restarts; I've tried various combinations with Bluetooth turned on/off before restarting.
    None of my iPhones will see any other devices.

  • Not getting all the notifications to the Mobile Device

    Hi All,
    We are not able to get all the notifications that are assigned to the mobile device. Only part of the notifications are downloading to mobile device. I can see using MAM30_011_GETLIST there are 195 notifications assigned to that device. Out of 195, I can able to see only 97 notifications on the device.
    I debugged and found that whenever I am creating a notifications using some functional locations either from the backend or using mobile device that never get downloaded to mobile device.
    Please through some light on this issue I would be grateful to you.We are using Server Driven Functionality.
    MAM version is MAM30 SR05.
    Regards,
    Scott.

    Hi,
    The reason is very simple here. Some of the notifications are referring to technical objects(equipment/functional location) which are actaully not present on the middleware. So when a user request for data from the client to the  middleware, because there is a reference from notification to technical objects, middleware will only send those notifications whose all references are actually present on the middleware.
    So the way to check if all the technical objects are present in the middleware or not, you can do the following:
    1. First check the no. of entries for both equipment and functional location in the middleware.
    2. Then later go to the backend, as yours is server driven, then i would say go to variant of technical objects, execute the variant and make a note of the no. of entries it gives.
    3. Verify if both middleware and backend gives same no. of entries.
    If no, then try to correct the replication and then do a sync from the client.
    If yes,  then what I see is, even though you have all technical objects selected as a part of variant, there are still some notifications with technical objects which are not a part of technical objects selection in the above variant.
    So, try to change the variant for technical objects to get more no. of technical objects which covers all the technical objects that might be a part of your notifications.
    Hope this solves your problem.
    Thanks & Best Regards,
    Siva.

  • How to get all the values of a variable with F4 with checkboxes to select

    Dear Experts,
    After Executing a query by giving let 3 values(Out of 10 Values) to a variable.
    To give 2 more input values to the same variable(i.e.,total I wanted to give 5 inputs this time ),after refreshing the query,for that variable if I click F4, I am seeing the historical values(i.e.,3) and remaining 7 values also But with out any Check Boxes besides them to select the 2 inputs.
    In the same F4 Screen, If I click all values(an Icon at The bottom),then also Im seeing but no check Box.
    I hve tried by deleting the Delete Personalization also,but no use.
    Please tell me How to get all the values with F4 with check boxes to select ,whatever I want??
    Thanks in advance

    Take a look at the InfoObject and go to the Business Explorer tab. If the 'Query Def. Filter Value Selection' is set to 'Only Values in InfoProvider', you're only going to get the values in F4 that exist in the InfoProvider, not everything in the Master Data. This would need to be changed to the value of 'Values in Master Data Table' if you want it to show everything possible when F4 is chosen.
    Likewise, you're going to need to look at the query and go to the Advanced tab for the InfoObject. Make sure that the radio button for 'Values in Master Data Table' is selected. If not, then you should change that selection.

Maybe you are looking for