Display settings

Hi Experts,
Is there any other classes available for display settings in ALV other than the below mentioned.The following classes doesn't works in SAP 5.0.
Is this belongs to NetWeaver family?
cl_salv_table
cl_salv_functions
cl_salv_display_settings
Can any one pls help it out to do the same in abap objects?
Regards,
User

Hello Raj
If you are indeed working on an ECC 5.0 system then I do not see where the problem is. The following sample report <b>ZUS_SDN_CL_SALV_TABLE_DISPLAY</b> demonstrates how to adjust the layout of the ALV list. In addition, you see the coding for <i>event handling</i> and <i>column adjustment</i>.
*& Report  ZUS_SDN_CL_SALV_TABLE_DISPLAY
REPORT  zus_sdn_cl_salv_table_display.
TYPE-POOLS: abap.
DATA:
  gt_knb1        TYPE STANDARD TABLE OF knb1.
DATA:
  go_table       TYPE REF TO cl_salv_table,
  go_events      TYPE REF TO cl_salv_events_table,
  go_columns     TYPE REF TO cl_salv_columns_table,
  go_column      TYPE REF TO cl_salv_column,
  go_display     TYPE REF TO cl_salv_display_settings.
PARAMETERS:
  p_outlen       TYPE lvc_outlen  DEFAULT '20',
  p_title        TYPE lvc_title   DEFAULT 'New Grid Title'.
*       CLASS lcl_eventhandler DEFINITION
CLASS lcl_eventhandler DEFINITION.
  PUBLIC SECTION.
    CLASS-METHODS:
      handle_double_click FOR EVENT
          if_salv_events_actions_table~double_click
          OF cl_salv_events_table
          IMPORTING
            row
            column.
ENDCLASS.                    "lcl_eventhandler DEFINITION
*       CLASS lcl_eventhandler IMPLEMENTATION
CLASS lcl_eventhandler IMPLEMENTATION.
  METHOD handle_double_click.
*   define local data
    DATA:
      ls_knb1    TYPE knb1.
    READ TABLE gt_knb1 INTO ls_knb1 INDEX row.
    IF ( syst-subrc = 0 ).
      SET PARAMETER ID 'BUK' FIELD ls_knb1-bukrs.
      SET PARAMETER ID 'KUN' FIELD ls_knb1-kunnr.
      CALL TRANSACTION 'XD03' AND SKIP FIRST SCREEN.
    ENDIF.
  ENDMETHOD.                    "handle_double_click
ENDCLASS.                    "lcl_eventhandler IMPLEMENTATION
START-OF-SELECTION.
  SELECT        * FROM  knb1 INTO TABLE gt_knb1
         WHERE  bukrs  = '1000'.
* Create ALV grid instance
  TRY.
      CALL METHOD cl_salv_table=>factory
*    EXPORTING
*      LIST_DISPLAY   = IF_SALV_C_BOOL_SAP=>FALSE
*      R_CONTAINER    =
*      CONTAINER_NAME =
        IMPORTING
          r_salv_table   = go_table
        CHANGING
          t_table        = gt_knb1.
    CATCH cx_salv_msg .
  ENDTRY.
* Create event instance
  go_events = go_table->get_event( ).
* Set event handler
  SET HANDLER:
    lcl_eventhandler=>handle_double_click FOR go_events.
  PERFORM adjust_column.
  PERFORM adjust_display.
  go_table->display( ).
END-OF-SELECTION.
*&      Form  ADJUST_COLUMN
*       text
*  -->  p1        text
*  <--  p2        text
FORM adjust_column .
  CHECK ( p_outlen > 0 ).  " In this case use default output length
* Get columns instance
  go_columns = go_table->get_columns( ).
* Get single column instance
  TRY.
      go_column  = go_columns->get_column( 'LOEVM' ). " delete flag
      go_column->set_output_length( p_outlen ).
    CATCH cx_root.
  ENDTRY.
ENDFORM.                    " ADJUST_COLUMN
*&      Form  ADJUST_DISPLAY
*       text
*  -->  p1        text
*  <--  p2        text
FORM adjust_display .
  go_display = go_table->get_display_settings( ).
  go_display->set_striped_pattern( abap_true ).
  go_display->set_list_header( p_title ).
ENDFORM.                    " ADJUST_DISPLAY
Regards
  Uwe

Similar Messages

  • I have a late 2008 white macbook.  I have a mini dvi to hdmi adapter, and a hdmi cord.  My cannot get my MB to detect an external monitor.  Nothing happens when plugged in.  Also, my display settings does not have an option for mirroring or arrangment tab

    I have a late 2008 white macbook.  I have a mini dvi to hdmi adapter, and a hdmi cord.  My cannot get my MB to detect an external monitor.  Nothing happens when plugged in.  Also, my display settings does not have an option for mirroring or arrangment tab

    Yeah, I'm having the same exact problem - It seems that the thunderbolt minidisplay port is only able to output the analog VGA signal, not the digital signal to support DVI and HDMI. This is a bug that came up after installing 10.7.1. I bought my macbook air with 10.7 on it, upgraded it to 10.7.1 as soon as I got it, so I have never been able to use hdmi or dvi with my macbook air. This is an extremely frustrating problem for me, I used HDMI on a daily basis with my PC. I have spent many hours at the genius bar running diagnostic tests so Apple can get as much information as possible to create a fix for this problem. I have been emailing tech support for 3 or so weeks now, they keep saying that they are working on a fix and it should be out soon, but 10.7.2 has come and gone and I still have no HDMI functionality with my MacBook Air!

  • Display settings in System Preferences acting up

    I'm having trouble with my Display settings under System Preferences. I am not using an external monitor. My display seems to be working fine, but when I open Display settings to change resolution and colour, weird stuff happens. Basically, I cannot use this preference pane at all.
    My display is 1920x1200, but when I open the Display settings, I get two windows, one telling me that "I am about to change [something something], some applications cannot display information correctly if the screen has less than 800x600 pixels", and the other one, the usual main window, telling me that my resolution is now 640x480 (it isn't).
    If I hit OK in the extra window that pops up, my resolution changes to 640x480 or something similar, and I am unable to change back unless I reboot. Also, in the main Display settings window, it says <<< DO NOT LOCALIZE >>> under the list of available resolutions, as well as << do not localize >> in the box where I can change refresh rate. None of the buttons seem to be working.
    Does anyone have any idea what is going on here? This was working just fine when I received my new MacBook Pro a few days ago, but now it's not. I've been repairing disk permissions and rebooting, etc.
    I have been installing the trial version of Adobe CS5, but had massive problems with this installation (as a lot of people are reporting with CS5 and Snow Leopard...) and uninstalled them again, cleaning out Adobe preference files. Could I have deleted some other important files by accident in this process?

    Quit System Preferences, then delete these files or folders.
    Users/yourname/Library/Preferences /com.apple.systempreferences.plist
    Users/yourname/Library/Preferences/By Host/com.apple.systempreferences.xxxxx.plist and com.apple.PrefPane.Network.xxxxx.plist (the X's will be numbers)
    Also, Users/Home/Library/Caches
    Now relaunch System Preferences. Let us know.
    -mj

  • Im having trouble connecting my macbookpro to the tv. im using a mini display port to hdmi adapter, when i switch tv/video to hdmi on the tv nothing pops up, and i dont have the arrangement tap on the display settings, please help!

    im having trouble connecting my macbookpro to the tv. im using a mini display port to hdmi adapter, when i switch tv/video to hdmi on the tv nothing pops up, and i dont have the arrangement tap on the display settings, please help!

    I've found that the order of operations, so-to-speak, can be important when hooking up mini display port to HDMI.  I have the most success with the following operations in this order:
    1)  Plug HDMI cable into mini displayport adapter (the cable should not be plugged into either the TV or the computer at this point)
    2)  Plug the mini displayport end of your new super-cable to the computer.
    3)  Plug the HDMI end into your TV.
    4)  Switch inputs on your TV to the proper input.
    5)  If still nothing on the TV, try a different HDMI port on your TV.
    Hopefully this helps!  Good luck.

  • VGA CRT will not "wake up".. help please. Reset display settings shortcut?

    Hello everybody,
    I have a mirror drive doors G4 Tower, Dual 1.25 GHz.
    I have an ADC and a DVI out from the computer. Just had damage to my old studio display so I am attempting to use just one CRT running from the DVI... w/ a DVI to VGA adapter.
    The first time I tried this w/ a CRT it worked fine... I played around w/ monitor settings... still worked fine. Shut down... unhooked CRT and moved that CRT away.
    Tried using it with another CRT and the new CRT never started up... remained on stand-by/sleep.
    I tried with another moniter... this time a LCD/Flatscreen... again VGA and it did the same thing, EXCEPT... this time when I connected the LCD to the adapter and then plugged the adapter into the DVI on my tower the LCD screen would turn on for about 1 second and display my login page. The picture was not perfect though... it was distorted someway.
    Went back to the first CRT... now this one didn't work.
    I think that maybe I have to reset my display settings with some sort of shortcut or something... maybe it's on the wrong frequency?
    I don't know... any help much appreciated. I hate having to use this PC.
    Thanks,
    James

    Turned out to be a faulty DVI to VGA adapter.

  • VGA CRT will not "wake up"... help please.  Reset display settings?

    Hello everybody,
    I have a mirror drive doors G4 Tower, Dual 1.25 GHz.
    I have an ADC and a DVI out from the computer. Just had damage to my old studio display so I am attempting to use just one CRT running from the DVI... w/ a DVI to VGA adapter.
    The first time I tried this w/ a CRT it worked fine... I played around w/ monitor settings... still worked fine. Shut down... unhooked CRT and moved that CRT away.
    Tried using it with another CRT and the new CRT never started up... remained on stand-by/sleep.
    I tried with another moniter... this time a LCD/Flatscreen... again VGA and it did the same thing, EXCEPT... this time when I connected the LCD to the adapter and then plugged the adapter into the DVI on my tower the LCD screen would turn on for about 1 second and display my login page. The picture was not perfect though... it was distorted someway.
    Went back to the first CRT... now this one didn't work.
    I think that maybe I have to reset my display settings with some sort of shortcut or something... maybe it's on the wrong frequency?
    I don't know... any help much appreciated. I hate having to use this PC.
    Thanks,
    James
    G4 Dual 1.25 Mirrored Drive Doors Mac OS X (10.4.5) Some NvDia card
    G4 Dual 1.25 Mirrored Drive Doors   Mac OS X (10.4.5)   Some Nvidia Graphics card w/ DVI to VGA adapter

    Can you start up in "safe mode"? If so, you can reset your display settings and reboot. If not, you have a problem either with your video card or your DVI/VGA adaptor

  • Monitor says VIDEO MODE NOT SUPPORTED after changing display settings

    HELP! I am about to have a nervous breakdown with my mac mini! I hooked up the mac to my Philips LCD via DVI. No problem at all. But because the screen is only 15" I wanted to play around with the display settings a bit. So I changed the resolution from it's original 1204x768 to the one higher (not sure of numbers) and to my HORROR, I now can't get any picture at all - it says "VIDEO MODE NOT SUPPORTED". I have tried everything I can think of. I have rest the P-RAM, I have unplugged all cables, plugged the back in again, I bought the mac into work and hooked it up to my monitor and changed the resolution back to 1024x768 which is what it was on originally and that STILL didn't work. I can see the Apple logo and then it goes black and comes up with the error message. HELP! What am I doing wrong - I can't believe one click of a mouse button has rendered my display useless!!!

    Welcome to Apple Discussions!
    Try booting the mini without the display connected, and then, once the system is running, connect the display. This will often force the system to default to a low resolution, and then correctly detect the display when it is connected.
    If that doesn't help, with the display connected, boot into safe mode (hold the shift key down when starting up) and once the system is running, change the resolution to 1024x768, and ensure the correct refresh rate is selected. Rebooting normally ought then to give you a good display.
    If all else fails, boot into safe mode with the display connected, and then in the Finder's file menu, use the 'find' option to search for 'windowserver' (no quotes). You should get 2 or 3 results, including one with a string of alphanumeric characters. Move all of them to the trash and restart normally.

  • HT5219 how do i get my macbook pro 13" retina to keep its display settings the same when I unplug it from my thunderbolt 27" display?

    I have just bought a macbook pro 13" with retina display and a 27" thunderbolt display to go with it.
    I plug in the display, set it all up to the look and format that I want to use (same for both displays, I am using the mirroring feature), and then when I unplug the macbook from the 27" display it's settings revert and I can't see half my windows as they fall off the edge of the smaller macbook screen.
    Is there a way to make the macbook keep the same display settings, even when I unplug it from the 27" display?

    Not that I know of... but if someone comes along with a method, I would certainly be interested...
    Clinton

  • How to reset display settings? 120 hz over HDMI on 2014 MBPr makes screen go black

    Hi, I have a 15" 2014 MBPr with the 750m. Recently, I bought a TV, a vizio M422i-B1. One of my main reasons for buying the TV was to use it as a third display for my mac. I have two displays already connected, a 27 inch 1440 display over thunderbolt, and another 23" display that is 1080 and connected over the other thunderbolt.
    I got the TV mounted above my desk, and ran an HDMI down from the TV to where I put my laptop, and plugged the TV in to the computer in the HDMI port on my mac.
    It worked, but the refresh rate was set at 60 for the TV on my computer, but since my TV is 120Hz, I set the refresh rate in display settings to 120. It worked fine, and the mouse movement on the TV was more normal looking, so I was happy.
    I put the computer to sleep a little later, and came back, and it wouldn't wake up, even after disconnecting all the displays and other peripherals, it would not wake. I restarted the computer, and with nothing connected it rebooted and worked normally.
    I connected everything one by one, USB stuff first, fine. 1440 display over thunderbolt, and everything was fine. same with the 1080 display.
    I went to plug in the TV again, and everything went black. I had to restart the computer without the TV plugged in to do anything. Restarting with the TV plugged in to the mac doesn't fix anything.
    I know my issue is the refresh rate for the TV being set at 120Hz, and I have to change it back to 60 Hz, my problem is that as far as I know I have to have the TV plugged in to change the refresh rate, but if I plug the TV in it kills the computer. Is there a way to reset the display settings so that it doesn't "remember" that I want the TV to be 120Hz?

    Did you ever figure this out?

  • My screen will no longer turn on, how do i reset my display settings on mac pro

    Hi, i'm using a mac pro and cinema HD display, the display was usually set to using the power button on the side as an actual power button, i decided to change it to turn computer sleep mode on and off and it still worked fine whilst it was on, i then turned the set off for the night, the next day the screen did not come on with the computer and i cant turn the screen on becuse the button is set to sleep the computer. Any way to reset my display settings or turn my screen back on?. thnks

    nevermind solved

  • Read Only Display Settings Help

    Hello,
    I am trying to control what some users can see in a page. Right now I have an item field (Roles) display as checkbox. Roles is a field in my table that I created with RolesA, RolesB, RolesC. Note: these are not htmldb roles.
    In my Edit Page Item --> Read Only Display Settings --> Read Only Condition Type --> PL/SQL Function Body Returning a Boolean. Under Expression 1, I coded:
    return not htmldb_util.current_user_in_group(p_group_name => 'APP Admin')
    I want this item to read-only unless the user happens to be a member of group 'APP Admin'.
    The expression is not working. It seems that no matter what user is logged in they can modify this item. Is there another way I can do this for controlling what my RolesA, RolesB, and RolesC can modify? BTW, this item is a checkbox.

    Dung,
    That API seems to have a bug, it returns true/false/null, so you could use 'return not nvl(htmldb_util.current_user_in_group(p_group_name => 'APP Admin'),false)' to get a false value.
    Unfortunately there's another problem: using the read-only attributes for checkbox or radiogroup item makes them hidden. My suggestion would be to create another item that has disabled="disabled" in the HTML Form Element attribute in the item definition and display that item or the non-disabled item alternately, using conditions based on the current_user_in_group logic.
    Scott

  • 2560 x 1600 is gone from my display settings (2nd monitor)

    I've been running my 15" retina macbook pro for more than a year now with 27" DELL monitor and it has alway been using 2560x1600 resolution display.
    In the past year i've had no issues with mirroring my screen to big screen TV using Apple TV, however today something weird happened.
    As usual i mirrored my screen using Apple TV to watch some videos and i had to change some of the display settings to get the best view on my TV.
    Afterwards i switched off the mirroring feature and now my 2nd monitor (DELL 27") is displaying 1920x1080 only. I looked at all my options on my display settings (using ATL+click ) and 2560x1600 is gone missing from the list. Im frustrated and couldn't find an answer to this problem, please advice.
    Couple things i tried;
    - restart & shutdown
    - reset NVRAM & PRAM settings
    - changed mini display cable with another
    - reset monitor settings
    Weird find:
    I tried to mirrored  my macbook pro to apple TV again to see the display settings. Guess what, the option for 2560x1600 is now back on the list and working (visually) just fine. as soon as i turned off the airplay display my 2nd monitor turns back to 1920x1080.
    Note: the display on my retina macbook pro is working just fine, no problem at all. this is only showing on my 27" DELL U2713HM.

    Hello! Just want to ask about mirroring: when you MIRROR the Retina MBP 15" to your Dell Monitor (2560x1600) : do both the MBP and Dell Monitor look sharp and crisp?
    I'm asking because I'm also considering a monitor that's at 2560x1600.
    Thanks so much!

  • Help with display settings needed urgently

    Graphics and icons that are supposed to be round appear oval. For instance the Safari and App icons on the dock appear very oval. Logos on websites I've visited before and I know are round appear oval.
    I've tried all display settings and nothing helps. I'm a designer and this is causing a major hinderance. Everything appears condenced / squashed sideways. I'd be very grateful if someone could help with this.
    I've just purchased the laptop. I have been using Mac for a few years and I've always selected the "stretched" option from the Display settings which sorted out the problem completely. A circle looked a proper circle. But in this version the option is not available.
    Badly hoping someone can help with this.
    Thanks.
    Version Details - OS X Lion 10.7.4

    It sounds like you have selected an incorrect resolution.  For starters, are you talking about your Air's display or an external display?  You haven't said which Air you have.  If you have an 11" model, make sure your display resolution is set to 1366x768.  If you have a 13" model, it should be set to 1440x900.  These are the proper resolutions for the built in displays.  Chosing anything other than the referenced "native" display resolutions will result in distortions or clarity problems. 

  • How to reset display settings?

    My Sharp TV only support 1080i, so I use a DVI-DVI cable to connect a monitor, then use Mini DisplayPort to HDMI adapter connect Sharp TV.
    Then boot Mac mini, I got Open Screen on Monitor, and I set HDMI adapter to 1080i, then I power off and unplug DVI cable and boot again.
    Well, I got what I want on Sharp TV, it is 1080i, but I found a 720p, I selected it, now the TV becomes to black screen with "Invalid video signal"!
    I reconnect monitor, so Sharp TV is ok, but if I unconnect monitor, the sharp TV will be black screen.
    I thought it might be some display settings are saved, because it was good when I first use TV after set to 1080i, but I selected 720p that is PAL TV, not for mine NTSC TV, after that selected, THe sharp TV can't be used alone, how can I reset display settings? what can I do for this case?
    Please help me, GOD!

    In the folder of your main user account, which is generally a folder with your name on it, find and open the Library folder. Then in the Library folder open the Preferences folder. In the Preferences folder open the folder named ByHost. Inside that folder is a file called com.apple.windowserver.xxxxxxxxxxxx.plist where xxxx is a string of numbers and letters. Drag that file out onto the desktop and restart the mini.
    When OS X restarts, if it finds the above mentioned file missing from the expected location, if should build a fresh copy of the file in the original location. The fresh copy will have default values in it so the Mac will forget that bad setting that happened. Hopefully that will cause the display to work again.

  • Mac Mini display settings change after shutdown

    After a shutdown, my Mac Mini's display settings will change on startup. This happens about 80% to 90% of the time.
    Sometimes it may be due to playing a video game (Diablo 3) where the resolution in the game is slightly lower. The Mac Mini is set to 1080p, but in-game it is 1600x900. After playing a game, maybe half the time, when I go back to my desktop, the display looks different. However, even other times even when I wasn't playing a game, after a shutdown, the display settings will change.
    The strange thing is that it isn't a change in resolution. The resolution stays the same. It is always 1080p after every shutdown. But something in the display changes. Curved shaped look more pixelized, like some kind of smoothing or antialiasing has been turned off. And bright things are too bright, dark things too dark, so images lose some detail. It is also a bit painful on the eyes. Everything looks less vivid and very dull.
    Someone in an older post suggested changing refresh rates. Unfortunately, my Mac Mini doesn't show that option. It was also suggested to connect to a different monitor to possibly make the options appear. But I don't have another monitor.
    My current solution is to reset NVRAM (command+option+P+R) on startup. It seems to reset the display settings and fixes the display problem 100% of the time. But the thing is, I have to now keep doing this almost everytime I start up my Mac, which is annoying.
    Is there a way to ensure that the Mac Mini keeps my display settings and prevent it from losing them on startup? Or perhaps, a way to reset display settings from within the OS without having to shutdown again and reset NVRAM?

    hey p26grinz,
    without the external monitor and after setting the display, will the setting remain ?
    have you tried uninstalling the graphic driver from your unit and then testing it with generic driver ?
    WW Social Media
    Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    Follow @LenovoForums on Twitter!
    Have you checked out the Community Knowledgebase yet?!
    How to send a private message? --> Check out this article.

Maybe you are looking for

  • Remote App (and other network apps) Stop Connecting

    My network consists of the latest generation Time Capsule and Airport Express (for Air Tunes) with several pieces of hardware connected: -MacBook Pro -Mac Mini -Apple TV -iPhone, iPad, and iPod Touch My problem lies with making connections to my MacB

  • Product costing valuated sales order stock

    Hi all, We are in complex mfg & currently re-vamping all the ERP SAP instances ( totalling 13 company codes into one single) All 13 units( who use NON Valuated scenarios for cost object controlling) wil use valuated sales orders & projects. The old 1

  • Using DECODE, CASE

    Hi All, The Transformation Guide of OWB mentions that DECODE, CASE can be used. But I am unable to find either of these functions in the Expression Builder. Can you please tell me wher should I search for these functions, or if you could tell me if t

  • How to Delete the Content of a Table?

    Hi, Please, i need to modify the content of a table, but before i want to delete this content. See follow the code that is used actually: DELETE (pr_name_table). MODIFY (pr_name_table) FROM TABLE prt_table. MESSAGE s000(zbrx) WITH text-i02 pr_name_ta

  • Upgrade from CCM 4.2 to CUCM 7.1

    Is it doable to upgrade Cisco Call Manager 4.2 to Cisco Unified Communication Manager 7.1 ?