Splitter container: fixed size

Hello,
I have a dynpro with a docking container on the top level. Embedded in this are some nested splitter containers (easy splitter containers at the moment). Generally I like the fact that the splitters are resizing automatically when I change the screen size but now I want one of the two containers of a (easy) splitter container to stay fixed in size. Reason is that I embedded a cl_gui_toolbar which is actually fixed in size and looks quite odd when there's a lot of unused space around...
Looking forward to any suggestions !
Best regards,
Patrick Baer

Hello Patrick,
I'm not sure I understand you correctly.
|                         |     
|       docking container          |
|---------------------------------------|
|          |               |
|  toolbar     |               |
|---------------|               |
|         ^     |               |  <----- screen     
|         |     |               |
|           |   |               |
|         |-->|               |
|         |     |               |
------------|----------------------------
         |
        Easy Splitters
If the above is a correct visualization of the situation, then you will not be able to restrict just the TOOLBAR area from resizing. If the rest of the screen resizes and just one area doesn't, it would certainly look bad. Though in your case it may seem desirable.
You should probably think about subscreens and resizing attributes...
Regards,
Anand Mandalika.

Similar Messages

  • Splitter Conatiner Fix Container Height

    Hi
    I am using Splitter Container . I have splitted in two rows and 1 column. In 1st row there are two buttons and in 2nd row there is ALV tree.
    Now if the user move the alv tree container it will come over or overlap toolbar container .
    So Is there any way i can fix the top container ?
    I have fixed upper container by below code  but as below container is movable it will overlaps the above container when the user move it up.
      CALL METHOD wcl_splitter_9200->set_row_sash
        EXPORTING
          id    = 1
          type  = wcl_splitter_9200->type_movable
          value = wcl_splitter_9200->false.
      CALL METHOD wcl_splitter_9200->set_row_height
        EXPORTING
          id     = 1
          height = 4.
    Please suggest
    Thanks
    Ankesh

    try this
    data : w_container         TYPE REF TO cl_gui_custom_container.
    CREATE OBJECT w_container
        EXPORTING
          container_name              = 'CONTAINER'
        EXCEPTIONS
          cntl_error                  = 1
          cntl_system_error           = 2
          create_error                = 3
          lifetime_error              = 4
          lifetime_dynpro_dynpro_link = 5
          others                      = 6.
    data : w_split             TYPE REF TO cl_gui_easy_splitter_container.
    CREATE OBJECT w_split
         EXPORTING
           parent            = w_container
           orientation       = 0
           sash_position     = 0
           with_border       = 0
         EXCEPTIONS
           cntl_error        = 1
           cntl_system_error = 2
           others            = 3.
      IF sy-subrc NE 0.
      ENDIF.
    data : w_contnr_top        TYPE REF TO cl_gui_container,
           w_contnr_bot        TYPE REF TO cl_gui_container.
          w_contnr_top = w_split->top_left_container.
          w_contnr_bot = w_split->bottom_right_container.
    CREATE OBJECT w_split
         EXPORTING
           parent            = w_container_top
           orientation       = 0
           sash_position     = 0
           with_border       = 0
         EXCEPTIONS
           cntl_error        = 1
           cntl_system_error = 2
           others            = 3.
      IF sy-subrc NE 0.
      ENDIF.
          w_contnr_top1 = w_split->top_left_container.
          w_contnr_top2 = w_split->bottom_right_container.

  • Docking and splitter container

    Hi,
    I need to create 2 containers as per the attached document, that are resizeable in both x and y axis.
    I have been able to do this, similar to in transaction DWDM, where I have 2 cl_gui_container's inside a customer container.
    But this solution does not allow resizing in the vertical axis, as they are tied inside the "fixed" customer container.
    Is there a way to create the docking and splitters that allow both axis resizing?
    Thanks
    Tony

    Hi Tony,
    of course you can create both types of containers (docking and Splitter).
    Here is an example to create a splitter container :
    Data declarations:
    DATA: lo_gui_container_head     TYPE REF TO cl_gui_container,
             lo_gui_container_costs    TYPE REF TO cl_gui_container,
             lo_gui_splitter_container TYPE REF TO cl_gui_splitter_container,
             lo_event_receiver         TYPE REF TO lcl_event_receiver,
             lo_event_receiver_head    TYPE REF TO lcl_event_receiver_head,
             lo_custom_container_head  TYPE REF TO cl_gui_custom_container.
    part from the source code :
    CREATE OBJECT lo_custom_container_head
           EXPORTING
             container_name = 'ALV_GRID'.
    *Create SPLITTER and SPLITTER panes
    * here we can define if splitters are horizontal or vertical:
         IF rb_hori IS INITIAL.
           lv_rows = 2.
           lv_columns = 1.
         ELSE.
           lv_rows = 1.
           lv_columns = 2.
         ENDIF.
    * create splitter:
         CREATE OBJECT lo_gui_splitter_container
           EXPORTING
             parent  = lo_custom_container_head
             rows    = lv_rows
             columns = lv_columns.
    * Splitter for Header
         CALL METHOD lo_gui_splitter_container->get_container
           EXPORTING
             row       = 1
             column    = 1
           RECEIVING
             container = lo_gui_container_head.
         CALL METHOD lo_gui_splitter_container->set_row_height
           EXPORTING
             id     = 1
             height = 20.
         IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
         ENDIF.
    * 2nd Spiltter for details:
         CALL METHOD lo_gui_splitter_container->get_container
           EXPORTING
             row       = lv_rows
             column    = lv_columns
           RECEIVING
             container = lo_gui_container_costs.
    * splitter for header
         CREATE OBJECT alv_head
           EXPORTING
             i_parent = lo_gui_container_head.
    * Objekt ALV grid mit splitter anlegen:
         CREATE OBJECT alv_grid
           EXPORTING
             i_parent = lo_gui_container_costs.
    * create handlers for both spitters :
    CREATE OBJECT lo_event_receiver_head.
         CREATE OBJECT lo_event_receiver.
         SET HANDLER lo_event_receiver->handle_hotspot_click            FOR alv_grid.
         SET HANDLER lo_event_receiver_head->handle_double_click        FOR alv_head.
         SET HANDLER lo_event_receiver_head->handle_toolbar             FOR alv_head.
         SET HANDLER lo_event_receiver_head->handle_before_user_command FOR alv_head.
         SET HANDLER lo_event_receiver_head->handle_hotspot_click_head  FOR alv_head.
    * display both tables in the spitters:
    CALL METHOD alv_head->set_table_for_first_display
           EXPORTING
             is_layout            = ls_layout
             it_toolbar_excluding = lt_toolbar_excluding[]
             i_default            = lv_default
             i_save               = lv_save
             is_variant           = ls_disvarhead
           CHANGING
             it_outtab            = gt_head[]
             it_fieldcatalog      = gt_cathead.
         CALL METHOD alv_grid->set_table_for_first_display
           EXPORTING
             is_layout            = ls_layout
             is_variant           = ls_disvariant
             i_default            = lv_default
             i_save               = lv_save
             it_toolbar_excluding = lt_toolbar_excluding[]
           CHANGING
             it_outtab            = gt_details[]
             it_fieldcatalog      = gt_fieldcatalog[]
             it_filter            = gt_filter[].
    Hope this helps
    Regards
    Fred

  • Opening a new fixed-size window from a link

    I'm primarily an illustrator, but am working on my own new
    web site and do a few for other folks as well.
    I'm by no means a guru so excuse my clueless questions... (I
    use Dreamweaver 8)
    I see many web pages that can do
    any or all of the following and I'm hoping without complex
    coding or js stuff...
    + Open a fixed-size window from a link on a page - as in a
    smaller window like 250x400 that would contain a photo or drawing
    + Opens a new page from a link with a fade-in (ie, from blank
    or dark background to an image) like what happens when you click
    the "view larger" link at this page =
    http://www.imagekind.com/showartwork.aspx?imid=e08f2a00-8925-4353-8c72-e0d1f4eb1879

    > I was going to post a screen capture but looks like that
    isn't
    > possible in this forum.
    There's a reason. Screen captures only demonstrate "what",
    without
    providing any useful "why" information. Show us your code,
    please - best
    way would be to post a link to the page. I suspect the reason
    you are
    seeing what you are seeing is that the container for the
    lightbox effect is
    not large enough, or the image being used as a background for
    that container
    is not large enough. We'll only know that by seeing the live
    page.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Nate Owens" <[email protected]> wrote in
    message
    news:gqg0ch$2i4$[email protected]..
    > This is working well (Lightbox) but it does something
    that I haven't
    > figured
    > out how to fix.
    > It opens my image against the dark background as it
    should with the parent
    > page ghosted in back, but there is a margin at right
    side and bottom where
    > the
    > dark area abruptly ends and the parent page is visible
    in those areas
    > without
    > the dark image background extending to fill the window.
    > I've examined the html but see nothing I recognize that
    denotes the
    > extents of
    > the dark area. I was going to post a screen capture but
    looks like that
    > isn't
    > possible in this forum.
    > Any ideas would help.
    > Thanks,
    > Nate
    >

  • Fixed size panel

    How can I put a fixed size JPanel to the center of an container (f.ex. JFrame) so that if the container is resized the size of the panel doesn't change but its location will be in the center of resized container. And if the container gets smaller than panel there will become scrollbars.

    Have GridBagLayout for the frame.Use setPreferredSize on the Panel.So even if the frame resizes it will still be in the center and size won't change too since GridBagLayout respects component's preferredsizes.For scrolling you need to add the JPanel to a JScrollPane and add the JScrollPane to the Frame.
    Ranga.

  • How to resize a jpg/gif file to a fix size using jimi ?

    I have search from the web and didn't find any example on doing this.
    Can any one give example on how to resize a jpg image. let say 120x240
    to a fixed size 40x40 ?
    thank you

    Hi.
    When you got that image in form of a file, just load it and invoke the image's getScaledInstance(...)-method.
    Here's how it could work:
    import java.awt.*;
    public class Test {
    public static void main(String[] argv) {
      // define where the image comes from:
      URL toImage = new URL("file:/C:/test.jpg");  // or the like
      // get the image:
      Image image = Toolkit.getDefaultToolkit().createImage(toImage);
      // scale the image to target size (40x40 here):
      Image smallImage = image.getScaledInstance(40, 40, Image.SCALE_DEFAULT);
      // you might want to do other things like displaying it afterwards
    }HTH & cheers,
    kelysar

  • How to display 3 alv with top-of-page using splitter container

    Hi,
    I want to display 3 different alv in a single container corresponding to the 3 check boxes on selection screen.
    i.e.
    If user selects 1 check box only one alv should be displayed, if 2 checkboxes selected by user 2 alv should be displayed and same for 3.
    I cannot use 3 different containers bcoz if second checkbox is not selected then that place remains blank. So I am using single container and using splitter container dividing it into the no of rows corresponding to the no. of checkboxs selected by user.
    Now I also want to display top-of-page for each alv. Please guide me how to achieve this.
    Thanks & regards,
    Harshada

    create with some IF_ELSE conditions as i have done below. in my case the same things are required. if error table is there only then it will be displayed, else only output will be displayed.
    * First Main Container
      CREATE OBJECT obj_main1
        EXPORTING
          container_name = 'CC_CONTAINER'
          style          = cl_gui_custom_container=>ws_maximizebox.
    * create top-document
      CREATE OBJECT obj_dyndoc_id
        EXPORTING
          style = 'ALV_GRID'.
      IF pr_view EQ c_x OR pr_stat EQ c_x.
    * First Splitter Container
        CREATE OBJECT obj_splitter1
          EXPORTING
            parent  = obj_main1
            rows    = 2
            columns = 1.
    * Place obj_parent_html in First row First column
    * for Top_of_page
        CALL METHOD obj_splitter1->get_container
          EXPORTING
            row       = 1
            column    = 1
          RECEIVING
            container = obj_parent_html.
    * Place obj_container1 in Second row First column
        CALL METHOD obj_splitter1->get_container
          EXPORTING
            row       = 2
            column    = 1
          RECEIVING
            container = obj_container1.
    * Set the height of Top of page
        CALL METHOD obj_splitter1->set_row_height
          EXPORTING
            id     = 1
            height = 24.
      ELSEIF pr_email EQ c_x.
    * First Splitter Container
        CREATE OBJECT obj_splitter1
          EXPORTING
            parent  = obj_main1
            rows    = 3
            columns = 1.
    * Place obj_parent_html in First row First column
    * for Top_of_page
        CALL METHOD obj_splitter1->get_container
          EXPORTING
            row       = 1
            column    = 1
          RECEIVING
            container = obj_parent_html.
    * Place obj_container1 in First row First column
        CALL METHOD obj_splitter1->get_container
          EXPORTING
            row       = 2
            column    = 1
          RECEIVING
            container = obj_container1.
    * Place obj_container2 in Second row First column
        CALL METHOD obj_splitter1->get_container
          EXPORTING
            row       = 3
            column    = 1
          RECEIVING
            container = obj_container2.
    * Set the height of Top of page
        CALL METHOD obj_splitter1->set_row_height
          EXPORTING
            id     = 1
            height = 24.
      ENDIF.
    Please note there is no need to create a hEADER in the container, but create it for the 1st table only which is always displayed
    ags.
    Edited by: ags on Nov 4, 2009 4:49 PM
    Edited by: ags on Nov 4, 2009 4:50 PM

  • Fixed size regions in Apex 4.0

    It is possible to create a fixed size regiion - that is only using half of the screen height to have a report (and having a bar to on the right to move up/down) ?
    I'm going to use it for a 2+ master-detail report.
    regards
    Mette

    Hi Mette,
    what region template and which theme are you exactly using? For most region templates you can pass in additional style attributes with the "Region Attributes" property in the "Attributes" section of a region definition.
    So for example you could use
    style=\"height:500px;overflow-y:scroll\"(remove the \ out of the code example)
    Regards
    Patrick

  • Hyper-V 2012 R2 - Fixed Size VHDX Have VMs Paused Due to Disk Space Shortage

    I am running Hyper-V Server 2012 R2 (Server Core).  I have an SSD boot drive and a 10 Tb Storage Space HDD (Double Pairty - RAID6) where all VMs are stored.
    I have one VM setup with an expanding VHDX file.  It is setup with thin provisioning for 2 Tb and about 1.5 Tb is currently used.  The VM paused due to physical disk space (SS drive) being low.  I turned off this VM and tried to start a different
    VM that has two fixed size VHDX files (also on the SS drive).  This second VM would not start either.  I got the same error message, as occurred on the first VM, about the physical disk space being low.  There was about 10-20 Mb of physical
    space left of my SS HDD when these errors occurred.
    Given the first VM is setup with an expanding VHDX that makes sense to me that at some point there may not be enough physical disk space for the VM to expand and continue to run.
    But given my second VM is using a fixed VHDX it doesn't make sense to me that I cannot get this VM to start.  Even if the Storage Space disk were completely full I would expect this VM to be able to start?
    Thanks for any assistance you can provide.
    Theokrat

    Hi Theokrat,
    "The HDD was setup with approximately 5 Tb storage pool as double parity."
    "My first VM has a 4 Tb fixed VHDX. Thus there was only about
    1 Tb free space left for the second VM."
    "And for the VMs I'm asking about I set up those options to point to my HDD which is the D drive."
    So, there are two VMs (the first VM has 4TB disk , the
    second VM has 1TB disk )and all of the VMs'  files
    are stored on the 5TB HDD (the 1TB VHDx is dynamical) .
    You turned off the second VM when it was paused due to lacking of disk space (before this the first VM is off ).
    When you start the first VM , it still can not start and the error arose again ,right ?
    If there is no any other factor led to disk usage increasing , I think the issue might be the startup memory of first VM is larger than or equal to the second VM's .
    Please try to check that , if it is true , you can try to set lower memory for the first VM then start it again .
    Best Regards
    Elton JI
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • ALV with splitter container in background

    Hi all,
    I have an ALV grid in which I am using a splitter container to display top of page and the alv grid.
    I am unaware how to use a docking container in conjunction with a splitter container, so that the ALV list is displayed in the background.
    Request assistance from you all...
    Regards,
    Vidya.

    Hi,
    In background , you can't dispaly the ALV with splitter container , dispaly ALV in foreground with splitter and in background use top-of-page to display header text with docking container.
    Code :
    DATA: o_grid             TYPE REF TO cl_gui_alv_grid,
          o_container TYPE REF TO cl_gui_custom_container,
          o_dockingcontainer TYPE REF TO cl_gui_docking_container .
      IF NOT sy-batch = 'X'.
        CREATE OBJECT o_container
                EXPORTING
                      container_name = 'CONTAINER'.
        CREATE OBJECT o_grid
                EXPORTING
                      i_parent = o_container.
      ELSE.
        CREATE OBJECT o_grid
          EXPORTING
         i_parent = o_dockingcontainer.
        IF sy-subrc NE 0.
        ENDIF.
      ENDIF
    METHOD handle_print_top_of_page.
        prev_linno = sy-linno.
        sy-linno = 64.
        SKIP.
        WRITE:/40 'Page:', sy-pagno .
        SKIP.
        sy-linno = prev_linno.
      ENDMETHOD.                    "handle_print_top_of_page
      METHOD handle_top_of_page.
        WRITE:/40 'Page:', sy-pagno .
      ENDMETHOD.                    "handle_top_of_page
    Regards
    Appana

  • How to set fixed size for inputfile text field

    Hi all,
    I am using inputfile component to test file uploading so I created a simple upload page. When I finished upload the file, the input text field will "shrink" its size and change the size to adjust the file name. Is there any way to set a fix size for input text field?
    Here is some part of the code:
    <af:form id="f1" usesUpload="true">
    <af:panelHeader text="File Uploader" id="ph1">
    <af:inputFile label="File to upload" id="if1" autoSubmit="true" valueChangeListener="#{fileBean.fileUpdate}"
    value="#{fileBean.file}" partialTriggers="if1"
    columns="50"/>
    </af:panelHeader>
    <af:commandButton text="Save" id="cb1"/>
    FileBean:
    public void fileUpdate(ValueChangeEvent valueChangeEvent) {
    RichInputFile inputFileComponent = (RichInputFile)valueChangeEvent.getComponent();
    UploadedFile newFile = (UploadedFile)valueChangeEvent.getNewValue();
    UploadedFile oldFile = (UploadedFile)valueChangeEvent.getOldValue();
    Thanks,
    Jerry

    you can set columns attribute in af:inputfile. Please see highlighted area i have inserted to you code
    <af:form id="f1" usesUpload="true">
    <af:panelHeader text="File Uploader" id="ph1" columns = "34" >
    <af:inputFile label="File to upload" id="if1" autoSubmit="true" valueChangeListener="#{fileBean.fileUpdate}"
    value="#{fileBean.file}" partialTriggers="if1"
    columns="50"/>
    </af:panelHeader>
    <af:commandButton text="Save" id="cb1"/>

  • How to set a fixed size window, so that moving 2D pictures wouldnt go off?

    Hi
    I dont if this question has been asked or no & also not sure if its right to be posted here as my problem is a java 2D graphics problem in swing environment.
    I want to know is how can i set the window to a fixed size with boundaries such that my graphics 2D picture in the swing window will not go off the edges of window when i do some transformations with the 2D picture.
    For e.g:
    so far ive got a frame window of size 350 by 350 with my 2D picture inside it made up of shapes etc...
    when i apply some transformation to it (moving it) for a distance it goes disappeared off window beyond 350 and will come back if i move it back.
    So how do i restrict the window so that when picture reaches the edge, it will not be able to move any further?
    Do i set some specific bounds to the JFrame?
    i hope i've explained it properly
    Thanks

    In a 2D coordinate system the horizontal values are represented by some letter, usually x. In the same coordinate system the vertical values are classically represented by y.
    Note: In your code, if you wish, you can replace x and y with anything you desire--p and q or perhaps jeff and alice or any variable name you wish, but for simplicity, and usually ease of understanding because almost everyone has had 100's of math problems drilled into their head with (x, y), x and y are used as convention.
    In Java the screen coordinates run from 0 to the width-1 for x and 0 to height-1 for y of the component you are using to display.
    So logically when you have a value of x or y that goes beyond the addressable bounds of your display, then you have to make some type of adjustment--when your value dips below 0, you reset it to 0, when your value goes above what ever width-1 or height-1 then you have to set that value to width-1 or height-1.
    This all assumes that when you hit the wall, floor, or ceiling you stick there until you change directions--if you wish to wrap then you set your value to the opposite bound--so if you go below 0, you would then pop out back in on the right side--your appropriate x would be set to width-1 instead of 0 and in the case of y going below 0 your y would be set to height-1. This is also to say that when you descend below your minimum, then you would pop back out on the opposite side you went out on--so x greater then width-1 would get set to 0 and y greater than height-1 would get set to 0.
    That is not even a start on if you want to include elastic collisions, angle of impact, any type of deceleration force, or anything else.
    In any case... I would recommend that you add more math to your studies, I've never met an engineer or computer science grad that said: "Wow, I really regret taking all that math in college (or HS), I never use it."

  • Fixed Size Thread Pool which infinitely serve task submitted to it

    Hi,
    I want to create a fixed size thread pool say of size 100 and i will submit around 200 task to it.
    Now i want it to serve them infinitely i.e once all tasks are completed re-do them again and again.
    public void start(Vector<String> addresses)
          //Create a Runnable object of each address in "addresses"
           Vector<FindAgentRunnable> runnables = new Vector<FindAgentRunnable>(1,1);
            for (String address : addresses)
                runnables.addElement(new FindAgentRunnable(address));
           //Create a thread pool of size 100
            ExecutorService pool = Executors.newFixedThreadPool(100);
            //Here i added all the runnables to the thread pool
             for(FindAgentRunnable runnable : runnables)
                    pool.submit(runnable);
                pool.shutdown();
    }Now i wants that this thread pool execute the task infinitely i.e once all the tasks are done then restart all the tasks again.
    I have also tried to add then again and again but it throws a java.util.concurrent.RejectedExecutionException
    public void start(Vector<String> addresses)
          //Create a Runnable object of each address in "addresses"
           Vector<FindAgentRunnable> runnables = new Vector<FindAgentRunnable>(1,1);
            for (String address : addresses)
                runnables.addElement(new FindAgentRunnable(address));
           //Create a thread pool of size 100
            ExecutorService pool = Executors.newFixedThreadPool(100);
            for(;;)
                for(FindAgentRunnable runnable : runnables)
                    pool.submit(runnable);
                pool.shutdown();
                try
                    pool.awaitTermination(Long.MAX_VALUE, TimeUnit.SECONDS);
                catch (InterruptedException ex)
                    Logger.getLogger(AgentFinder.class.getName()).log(Level.SEVERE, null, ex);
    }Can anybody help me to solve this problem?
    Thnx in advance.

    Ravi_Gupta wrote:
    *@ kajbj*
    so what should i do?
    can you suggest me a solution?Consider this thread "closed". Continue to post in your other thread. I, and all others don't want to give answers that already have been given.

  • How splitter container is useful to show multiple lines of heading in ALV

    Hi,
    I have a requirement to develop an ALV grid with below layout:
    Past
    Future
    | F1     | F2   | F3    | F4    | F5  | F6    | F7     | F8      | F9       | F10     | F11     | F12        |  
    I read forum blogs and found that splitter container can be used to develop such layout. Can anybody pleae let me know how to do so? As per my understanding first container will have headings ( Past & Future) and second container will hold headings (F1, F2...) as well as data. Since each container has a grid and for each grid we have to pass a fieldcatlog and an internal table how can we display only headings in First conatiner.
    Rgds
    Sid

    Hi sudhanshu,
    solution may exist in theory (only).
    I do not know a working solution yet. When ALV was first introduced some 12 or more years ago, the column width was specified as a number of characters ignoring that a proportional font will not match this.
    With introduction of the grid, the scaling is free and can be done in the GUI on a (display) pixel base. I tried a lot with dynamic scaling of containers and had to learn that there is still a big optimizing potential for the SAP infrastructure.
    Right now it seems as the architects try to get everything working as well on (old-style) SAP GUI, also WEB GUI, also java-based web services. The downside is that looking at it from the distance it is nice, going into the details, most (or much) is missing, undocumented or not working properly.
    For the time being you may replace detailed functionality by an impressive background picture
    Regards,
    Clemens

  • Picture in splitter container

    Is it possible to create a picture in a splitter container?

    What I have is this in PBO:
    DATA splitter3 TYPE REF TO cl_gui_splitter_container.
          CREATE OBJECT container
            EXPORTING
              container_name = 'CONTAINER'.
        CREATE OBJECT splitter1
          EXPORTING
            parent  = container
            rows    = 1
            columns = 2.
        CALL METHOD splitter1->get_container
          EXPORTING
            row       = 1
            column    = 1
          RECEIVING
            container = container_1.
        CREATE OBJECT splitter3
          EXPORTING
            parent  = container_1
            rows    = 3
            columns = 1.
        CALL METHOD splitter3->get_container
          EXPORTING
            row       = 1
            column    = 1
          RECEIVING
            container = container_1_1.
        CALL METHOD splitter3->get_container
          EXPORTING
            row       = 2
            column    = 1
          RECEIVING
            container = container_1_2.
        CALL METHOD splitter3->get_container
          EXPORTING
            row       = 3
            column    = 1
          RECEIVING
            container = container_1_3.
        DATA: o_dd_document TYPE REF TO cl_dd_document.
        CREATE OBJECT o_dd_document.
        CALL METHOD o_dd_document->add_picture
          EXPORTING
            picture_id       = 'ENJOY_SAP'
            width            = '350'.
        CALL METHOD o_dd_document->display_document
              EXPORTING
                reuse_control      = 'X'
                container          = container_1_3.
    *        parent             =
    *      EXCEPTIONS
    *        html_display_error = 1
    *        others             = 2
    The result is that I get a message with that container "container_1_3" is not of same type like the method display_document.

Maybe you are looking for

  • WHT calculation for IRRF for Brazil

    hello, We are implementing SAP in CHEP Brazil and needed help with WHT configuration for IRRF WHT for natural person. The standard SAP configuration doesnu2019t have space to enter deductable tax amount. I am referring to 'Imposto de Renda Retido na

  • Acrobat 11.0.10 Addin in Visio 2013

    The Acrobat Addin is not visible in Visio 2013. The goal is to use the Addin to generate high quality PDFs. I already tried the following: Reinstalling Visio 2013 Reinstalling Acrobat 11 with the full-installation option Checking the registry for the

  • Audio and video not in sync when exporting to Quicktime file

    I use a digital camera to shoot video, which is in .avi format. I then import the clips into IMovie HD (selecting all the clips and dragging all at the same time into IMovie). If I play the video from beginning to end in IMovie, the audio and video l

  • 11.1.1.4 - MDS-00068 Error for the Application using user customization

    Hi All, I would like to check on this forum before I submit a SR. We have upgraded our ADF APP from 11.1.1.3 to 11.1.1.4. Many bugs are fixed, however while deploying the application we get following warning on integrated WLS Logs and application dep

  • What happen to the info at the bottom of the windows?

    What happen to the info, size and number of items, at the bottom of the window?