Distance of a Docking Container from the Top

Hello,
it is possible to distance an docking container from the top. The container is class CL_GUI_DOCKING_CONTAINER.
I want to show an textfield above the container in my dynpro.
German:
Servus,
ich habe ein Problem.
Ich erzeuge einen Docking Container der Klasse CL_GUI_DOCKING_CONTAINER und möchte nun, dass dieser zum Top einen Abstand hat, damit auf meinem Dynpro noch ein Textfeld überhalt angezeigt wird.
Ist dies möglich?

Hi Sebastian,
Check the below code......
I hav used selection screen as base screen and a docking container at top (for texteditor) and a docking container at bottom (for ALV grid).........
PARAMETER p.                           " Dummy
DATA : container1  TYPE REF TO cl_gui_docking_container,
        container2  TYPE REF TO cl_gui_docking_container,
        text_editor TYPE REF TO cl_gui_textedit,
        alv_grid    TYPE REF TO cl_gui_alv_grid,
        lt_mara     TYPE TABLE OF mara       WITH HEADER LINE,
        lt_texttab  TYPE soli_tab.
AT SELECTION-SCREEN OUTPUT.
   CHECK container1 IS NOT BOUND.
   CREATE OBJECT container1 EXPORTING repid      = sy-repid
                                      dynnr      = sy-dynnr
                                      side       = cl_gui_docking_container=>dock_at_top
                                      extension  = '100' .
   CREATE OBJECT text_editor EXPORTING parent            = container1
                                       wordwrap_mode     = '1'.
   APPEND 'First line in TextEditControl' TO lt_texttab.
   text_editor->set_text_as_r3table( EXPORTING table = lt_texttab[] ).
   CHECK container2 IS NOT BOUND.
   CREATE OBJECT container2 EXPORTING repid      = sy-repid
                                      dynnr      = sy-dynnr
                                      side       = cl_gui_docking_container=>dock_at_bottom
                                      extension  = '300' .
   CREATE OBJECT alv_grid EXPORTING i_parent = container2.
   SELECT * FROM mara INTO TABLE lt_mara UP TO 20 ROWS.
   alv_grid->set_table_for_first_display( EXPORTING i_structure_name = 'MARA'
                                          CHANGING  it_outtab        = lt_mara[] ).
Cheers,
Jose.
Edited by: Jose on Jun 6, 2008 10:58 AM

Similar Messages

  • How can i remove favourite people from the top of my iPhone !

    how can i remove favourite people from the top of my iPhone !

    Hey donyh1,
    Thanks for the question. You can hide the recent contacts in the multitasking screen by navigating to your Contacts settings:
    Contacts settings - iPhone
    http://help.apple.com/iphone/8/#/iph96b20610
    Thanks,
    Matt M.

  • Every time I scroll, there's a clicking sound coming from the top left corner of my macbook

    Similar to the clicking sound of my hard drive, every time I scroll, or whenever there is any sort of animation on my screen, there's a similar clicking sound coming from the top left corner on my , around the area where the microphone is. I know the hard drive is at the bottom right corner, so is this a graphics card issue or am I overlooking the issue?

    It is better to take the MBP to the Apple store for evaluation.
    They have the diagnostic tools to make sure that there is no problem with the computer.

  • Using the crop tool in Lightroom 5 I can only move and crop my photos from the top. Am I doing something wrong?

    I am new to Lightroom 5 and find I cannot crop my photos as easily as I did in iPhoto. I would like to be able to drag them if I choose a custom size or crop them from the bottom as well as from the top but my two sided arrow disappears when I work at the bottom of the photo. Am I doing something wrong?

    I would suggest you trash the prefs.
    Quit Lightroom
    Launch Finder and find the user Library by clicking the Go menu whilst holding down the Optn (alt) key (n.b. the library is hidden until you press the optn key) and inside the Library folder select the preferences folder. Then trash the following file:
    com.adobe.Lightroom5.plist
    Then re-launch Lightroom
    It’s then worth clearing each cache. Go to the top menu bar:
    Lightroom >> Preferences >> File Handling (tab)
    Click the Purge Cache button under Camera Raw Cache Settings; then click the Purge Cache button under Video Cache Settings. Finally click OK.

  • Extremely slow in every way. Typing, loading, moving and even just scrolling from the top of the page to the bottom. Keeps getting worse. Maddingly frustrating!!! Help!!

    Firefox has gotten extremely slow. Typing, loading, searching, even just scrolling from the top of a page to the bottom. My daughter had the same thing happen to her and had to get her computer stripped down and completely reloaded. I don't have that option. It has no viruses and has been completely freed of all things that could slow it down.
    == This happened ==
    Every time Firefox opened
    == About a month ago. It is getting worse.

    Hmm... try downloading the [http://www.firefox.com latest] version... but if that doesn't work then try [http://support.mozilla.com/en-US/kb/Safe+Mode Safe Mode]. Not sure what could be causing it...

  • I have a late 2006 iMac that has just started giving me a message to reboot after a black screen comes down slowly from the top top of the screen to the bottom.  I reloaded software and restored from Time Machine, it now happens frequently.  Any insight?

    I have a late 2006 iMac that has just started giving me a message to reboot after a black screen comes down slowly from the top top of the screen to the bottom.  I reloaded software and restored from Time Machine, but it keeps happening, now several tomes a day.  Any insight as to the issue or a proposed solution?

    Unplug any peripherals you have except your keyboard, reboot, and check activity monitor for apps.  Keep running apps to a minimum to find the App causing the issue.

  • Noise coming out from the top of iMac

    Noise keeps coming from the top of the machine.

    It may be cleared as far as you can see but I'm wondering if you have a dust problem.   You could try disconnecting the computer then vacuum along the vent. Reading your mail encouraged me to check out my vent and I picked up a great lump of fluff.   But as I have no funny noises, I'm not going to follow my suggestion.

  • The toolbar with buttons (home, refresh, etc.) has disappeared from the top of my screen. How do I get it back?

    All the buttons (home, refresh, abc, alignment, bold, etc.) have disappeared from the top of my screen. How do I get them back?

    If the menu bar is hidden then press the F10 key or hold down the Alt key, that should make the menu bar appear.
    Make sure that all the toolbars like 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 an item on a toolbar and in the toolbar palette then click the "Restore Default Set" button to restore the default toolbar set up.
    See also:
    * http://kb.mozillazine.org/Toolbar_customization

  • The location bar has disappeared from the top of any tab that I open. How can I get it back?

    The location bar has disappeared from the top of any tab I open, so there is nowhere to type in a web address. Could I have accidentally made this happen? How do I get it back?

    Just to be clear, it's not below the tab bar either? (That's the new style in Firefox 4 and 5.)
    To hide or show toolbars, you can use the old View menu.
    If you have the orange Firefox button, tap the Alt key to temporarily display the classic menu bar.
    View menu > Toolbars > ''check'' Navigation Toolbar
    If you are viewing the navigation toolbar but it's incomplete or corrupted, you can reset your toolbars.
    View menu > Toolbars > Customize
    In the large dialog with the icons, toward the bottom, click Restore Default Set.
    Does any of that help?

  • How to remove the worksets from the Top level navigation for the ESS role.

    Hi All,
    I am working on enabling and disabling certain services in the ESS worksets.
    we are using EP 7.0, ECC 6.0 (NW2004s).
    When I login as a user with ESS role, I can view the changes in the overview pages. However, the worksets are still visible in the TOP Level navigation of th poral. can anyone please explain me how to remove the workset from the Top level navigation.
    Thanks for your help
    Regards
    SM

    Hi,
    Go to the ESS role via Content Admin, then double click the workset (or page or iview) and in the drop down select navigation. Then click the <i>Yes</i> radio button of the "<i>Invisible in Navigation</i>" property.

  • On the menu bar I click on bookmarks and "bookmark this page" is the second thing from the top. How do I make it the first thing on top? That's how it was before I updated to 6.0

    I have Windows Vista. This problem started with 6.0 update. "Bookmark this page" was on top, now it is second from the top. Annoying because I am so used to clicking "bookmark this page" as the top option.

    Create a Bookmark:<br />
    *https://support.mozilla.com/en-US/kb/how-do-i-use-bookmarks?redirectlocale=en-US&redirectslug=Bookmarks#w_how-do-i-create-a-bookmark
    *Info & links about Bookmarks: https://support.mozilla.com/en-US/kb/how-do-i-use-bookmarks?redirectlocale=en-US&redirectslug=Bookmarks
    Menu Editor add-on: https://addons.mozilla.org/en-US/firefox/addon/menu-editor/
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    '''DoctorMusic''':
    Not related to your question, but...
    You need to update some plug-ins:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]

  • How to resize the stage from the top instead of the bottom?

    Hi  I am trying to resize the stage in Flash CS4 from the top instead of the bottom, as I left too much space at the top of the stage and don't need the stage to be so big.  By default Flash resizes from the bottom.
    So is there a way of resizing from the top?
    Failing this, is there a way of moving all the symbols/objects in my project so that I don't create a motion tween but just move the objects for all of the frames in the project (i have quite a few tweens in the project)?
    Thanks
    Nick

    the built in Stage class has two handy properties...
    Stage.width and Stage.height

  • How to make the spry Collapsible content to appear/expand from the top of the tab - not bottom?

    I hope this question does not sound confusing.
    When I click the Collapsible tab, I want the content to appear from the top - not the bottom. (See example link: http://www.longhollow.com - click "Time & Location" on the top right and you will see the content appear on the top). Do you know how to do this? I am not jquery expert, I would be appricate if you know how to do this.
    Thanks!
    Christie

    http://try.jquery.com/
    http://learn.jquery.com/
    https://tutsplus.com/course/30-days-to-learn-jquery/
    http://www.w3schools.com/jquery/
    Nancy O.

  • I would like to have at least 1 of my toolbars displayed at the BOTTOM of my open browser screen.How do I move a toolbar from the top to the bottom of the page?

    I would like to have at least one of my toolbars displayed at the '''BOTTOM''' of my open browser screen. How do I move '''a''' toolbar from the top to the bottom of the page? I do NOT want to do this by using an extension, and when I read about the extension, I really did not see how it would move the toolbar from the top to the bottom any open browser page.
    Thank you in advance for supply the answer and procedure to get this accomplished.

    Try this extension to create extra toolbar at the bottom and drag items from other toolbars on it.
    *TotalToolbar: http://totaltoolbar.mozdev.org/
    ''(compatibility is at 13.0a1, so you may need to override the installation to check if the extensions works)''

  • Name from the Top level Parent

    I need to write a property to retrieve value from the top level node. My current heiarchies are:
    A1
         A2
              S1
              A3
    B1
         D2
              S1!Shared
              B2
    C1
         C2
              S1! Shared
              C3
    The required property is to check for the shared node and if the top level parent is A1, then create a property value with A.S1. Similarily, if it is B1 then B.S1 and so on. I am thinking this can be achieved by creating a list, derived property using the top level parent name. ex,
    List     Value
    A1     If shared node then concat A+Name
    How to achieve this?

    The nodes A1 B1 C1 are they part of the same hierarchy and child nodes under the Hierarchy Top Node? or is the scenario something else?
    Thanks
    Denzz

Maybe you are looking for