Change width of splitter container and single container

Hi,
im using a splitter container (abap oo style without dnpro elements) with 2 single containers.
create object go_splitter
    exporting
      parent            = go_docking
      rows              = 1
      columns         = 2
Column 1 leftside = Tree (width = 100)
Column 2 rightside = ALV (width = 100)
Ratio = 50:50
Is it possible to change width to ratio 30:70
Example:
Column 1 leftside = Tree (width = 30)
Column 2 rightside = ALV (width = 170)
Ratio: 30:70
Thanks,
Gordon
Edited by: Gordon Breuer on Feb 19, 2009 10:56 AM
Edited by: Gordon Breuer on Feb 19, 2009 11:04 AM

Use Method SET_COLUMN_WIDTH & SET_ROW_HEIGHT of Class CL_GUI_SPLITTER_CONTAINER to adjust Width & Height
CALL METHOD W_L_SPLITTER->SET_ROW_MODE
      EXPORTING
        MODE = W_L_SPLITTER->MODE_ABSOLUTE.
    CALL METHOD W_L_SPLITTER->SET_ROW_HEIGHT
      EXPORTING
        ID     = 1
        HEIGHT = 80.

Similar Messages

  • Web container and EJB container

    Web Container - EJB Container
    What protocol used for communication and how do they communicate with each other?

    Check out the J2EE blueprints:
    http://java.sun.com/j2ee/blueprints/apmTOC.html

  • Custom Rule - Problem in passin values From Rule Container to WF Container?

    Hi Guys,
    I am having hard time passing values back from my custom rule. I have created a custom rule to determine the agents in PFAC which takes in the Person number as import element of container. It determines the Manager as agent and I am passing Managers Person Number back to workflow. If he dont approve the Request then it will be passed to his boss. In this case I will pass this imported Mangers Person number back to rule so that his boss will be determined as agent. I  have created ZRULE function module. I am passing value back from Rule container to Workflow Container using following code.
    swc_set_element ac_container 'SUPERPERNR'  lf_super_pernr.
    I have created a element SUPERPERNR on rule container and workflow container as well .The problem is in the Rule container I am not able to create SUPERPERNR as export parameter. The tick mark is grayed out and there is no option for setting it as export.
    My question is do I have create a Export element on Rule container or Not? If i just write the code
    ( swc_set_element ac_container 'SUPERPERNR'  lf_super_pernr ) will it set the value in WF container? In my case it is not setting. I have to bind the values from rule container to WF container and if My rule container element is not allowing me to click the tick mark as export how can i pass value of of rule container back to WF Container?
    Please help me guys.
    Thanks,
    Manish.

    Hi Manish,
         Same scenario I have developed in my system. This all steps I did in my system.
    1) Created a Z function module which takes import parameter (Parameter name = 'EMP') in the
        format 'US100123'.
    2) This in turn fetches back the supevisor or boss as an export parameter (Parameter name = 'BOSS') in
         the format 'US100245'.
    3) This function module is attached to a BUS object(SWO1).
    4) While attaching this function module to BUS object you need not do any manual coding it is done
        automatically.
    5) Implement, release and generate this BUS object.
    6) Create a new variable in your workflow (Parameter name = 'ZSUPERVISOR') for storing the value
        which is returned by the Z method.
    7) Create a new task.
    8) Put in your BUS object name, then your Z method name, select background processing checkbox.
    9) Press save, it will ask for transfer of missing elements, select yes.
    10) Then you will see a green button below your Z method name click on it.
    11) Top portion contains your Z method variables, below to it you have the import parameter window in
          this window you should have &EMP& -> &EMP&., below to import parameter window you have
          export parameter window in this window you should have &BOSS& <- &BOSS&. (This is method
          binding).
    12) Now click on enter button then click on back button it will generate the task binding automatically
         just press yes.
    13) Now click on binding exist button.
    14) Here you have the Workflow container variables as well as the system container variables.
    15) In the import parameter window left portion is for your workflow variables and right portion is for your 
          method variables. In my case i had sent workflow initiator and fetched his supervisor. The Import
          parameter binding was &WF_INTIATOR& -> &EMP&. and the export parameter binding part was
          &ZSUPERVISOR& <- &BOSS&.
    16) Save the task and run the workflow.
    Regards.
    Vaibhav Patil.

  • I recently changed my internet service provider and my e mail address. I updated my iTunes account with the new e mail. Now I cannot get updates on my devices, because the login box on each still contains my old e mail. How can I change this please?

    I recently changed my internet service provider and my e mail address. I updated my iTunes account with the new e mail. Now I cannot get updates on my devices, because the login box on each device still contains my old e mail, and I do not know how to change this How can I change this please?

    Try tapping on the id in Settings > iTunes & App Stores on your devices (Settings > Store if they aren't on iOS 6+) and then log back in and see if that 'refreshes' the account on them.

  • Diff bw Easy Splitter container and Splitter container..

    hi experts,
       Can anyone plz tell me the diff bw Easy Splitter container and Splitter container in ABAP objetcs..

    Hello Ramesh
    As its description implies it is a reduced (simplified) version of the splitter container.
    You always have only two cells in your easy splitter which can be aligned either top-down or left-right.
    In contrast, using CL_GUI_SPLITTER_CONTAINER you can have as many cells as you want.
    Perhaps there are more differences between these two splitter containers yet this is probably the most important one.
    Regards
      Uwe

  • Custom Single Container not showing up in the Admin console

    I developed a custom single container and deployed the java files and xml's successfully.
    But the container doesnt show up in the admin console as a container channel.
    I am not able to add and delete new channels into this container .Can anyone throw light on this issue..
    raj

    I'm seeing the same thing as Simon, I changed the iOS device name in both places on an iOS device and the name in the Intune console is still "iPhone" which is really unhelpful as I'm sure you can imagine.  Is there some other place
    that we should be going to rename devices so they are more easily identifiable in the Intune console?
    Thanks!

  • Docking container and SAP standard transaction

    Hello,
    in one screen I have a tree control container and a docking container. With the tree control container everything is perfect. If the user does a click on a node on the tree in the docking container there should be shown a SAP standard transaction (QA03) with the corresponding data.
    I have not found a possibility to show QA03 or QM03 in a docking container. I also tried it in a splitter container, but I do not know how.
    Can anybody help me?
    Greetings
    Corinna

    Hello Corinna
    There is a simple answer to your question: it is not possible.
    Container can only hold other containers or controls.
    Do not be fooled by the ABAP workbench where we apparently can switch between different transactions (e.g. display a class [SE24], show method coding [SE80], double-click on a DDIC structure [SE11]). The ABAP workbench simply changes the control to be displayed but NOT the transaction (remains always the same).
    Regards
      Uwe

  • Changing Width and Centering the Portal

    Hello
    I need to gain access to the container above the framework so that I can adjust the width of the portal and center it.  How might I go about doing that?
    Let me explain this request with an example.  The following code is generated by the Light Framework.:
    <body>
    <!-- Javascripts snipped -->
    <table class="prtlHeaderCon" cellspacing="0" cellpadding="0" style="width: 100%;">
    <tbody>
    <tr>
    <td>
    <!-- Masthead area -->
    </td>
    </tr> <!-- etc...for each portion of the framework. -->
    </table>
    There are two issues with this.  First, the width is hardcoded into the table which is not ideal.  We could override this using !important in a style sheet, but it doesn't solve all of the problems.
    The second problem is that I can't stuff this table inside a div.  If I could wrap it inside a div I could adjust the width to 960px and center the table using methods outlined here:  http://theodorakis.net/tablecentertest.html
    So, how might I end up doing this?  My requirement is that the portal is centered in the page and fits a 1024px width browser
    Thanks for your thoughts
    --MIke

    Hi Mike!
    SAP Help shows the way once it's working again:
    http://help.sap.com/saphelp_nw04/helpdata/en/42/efbac120711a71e10000000a422035/frameset.htm
    Here's what you do to get new Layouts:
    1. Deploy your com.mycompany.myproject.MyLayouts.par to your portal
    2. Goto PCD and create a new Layout from your PAR (much like a new IView)
    3. Important: On your newly created Layout set the property "is a Template" to true. Otherwise you cannot use it on pages
    4. Create a new Page in PCD and assign your Layout to it.
    5. Set the Page type to framework page
    6. Assign your IViews to the framework page
    7. Create or copy a new Portal Desktop and assign both your framework page and your portal theme
    8. Change Master rules to assign Portal desktop to user groups.
    Voilá.
    For every step I took you should be able to find information about in the SDN/SAP Help. If you have any more questions, let me know.
    Cheers,
      Jürgen

  • Do I need to cleanup runtime binding container and iterators?

    If I create a runtime binding container and iterator in a JSF session bean as follows:
    FacesContext facesContext = FacesContext.getCurrentInstance();
    ValueBinding valueBinding = facesContext.getApplication().createValueBinding("#{data}");
    BindingContext bindingContext = (BindingContext)valueBinding.getValue(facesContext);
    // To create JUIteratorBinding, we need the following objects
    DCDataControl dataControl = bindingContext.findDataControl("MyDataControlName");
    ApplicationModule appModule = (ApplicationModule)dataControl.getDataProvider();
    DCBindingContainer bindingContainer = new DCBindingContainer();
    // Create dynamic iterator.  Need to set bindingContainer otherwise executeQuery throws exception
    JUIteratorBinding iterator = new JUIteratorBinding(bindingContext, dataControlName, "MyViewObjectName", "MyIteratorName", -1);
    iterator.setBindingContainer(bindingContainer);....do I have to later clean down the iterator and binding container from the data control to release the memory (and what calls do I need to make), or once the objects fall out of scope in my code are they marked for GC?
    CM.
    PS. JDev 10.1.3.1, ADF BC and JSF

    Hi Steve, thanks for the follow up.
    I'm coding a dynamic menu <af:page> control that maps to the MenuTreeModelAdapter (session bean) as detailed in the JDev 4GL/Forms guide.
    I've made a change that instead of loading the menu items from the hardcoded faces-config.xml file, they're actually sourced from the database via the code above, which is placed in the MenuTreeModelAdapter constructor. As the <af:page> tag exists on a number of pages, and thus the MenuTreeModelAdapter may be instantiated for the first time from a number of different locations, I can't hard-code the binding container or iterator into any single pageDef file. Thus I dynamically construct it in the constructor when the session bean is created for each user. I require a session bean as the menu items are different for each user.
    However I'm concerned once I've created the binding container and iterator, that even though the session bean may become invalidated, the 2 binding layer constructs may remain, consuming resources.
    Thanks for your assistance.
    CM.

  • Single container update ability?

    I have a bunch of containers created, and if I
    programmatically make a slight change to one span in the text flow,
    I do not want to go through the process of updating all of the
    containers to see that change.
    I figured
    flowComposer.updateContainter(modifiedContainerIndex) would work,
    however, after I call this method, the containers that come after
    the supplied index do not display properly.
    After reviewing the docs, I found that this is not unexpected
    behaviour....
    "Does just enough composition and update to ensure that the
    display for the specified container is current. If you have a chain
    of twenty containers and specify the tenth container,
    updateContainer() ensures that containers 1 - 10 are properly
    composed and displayed. Composition stops at that point and you
    cannot assume that the following containers are correctly
    displayed."
    I tried to just call flowComposer.compose() hoping this might
    do the job, but it does not. :(
    So, I ask... Is there a way to update a single container
    without messing up the rest of my containers that follow it?
    Thanks,
    Tim

    Richard,
    Thanks for the quick reply.
    updateContainer seems like it is working as documented.
    When I call it, it updates all the containers up to and
    including the one I specify. The unfortunate side effect is that it
    causes containers after the one I specify to become corrupted;
    however, the documentation indicates that this may occur.
    Are you saying that updateContainer is supposed to work
    differently, or it will work differently in the future?
    I CAN see the need for updateContainer to work as is
    documented (and currently implemented)... update containers up to a
    specific one...
    However, If updateContainer is not going to change, I would
    love to see a different API called:
    updateSpecificContainers(containerArr:Array)
    updateSpecificContainer(container:DisplayObjectContainer)
    that when called updates only the specified container(s) and
    doesnt negatively affect any other containers.
    Thanks,
    Tim

  • How to copy item value that contain a single quote(')?

    Hi,
    I have one "Copy" button in a APEX form. When user clicks it, it simply copy the item's values from the form to a new form by using APEX provided function behind the button- "Set these item values with these values". It is simple and works fine in normal cases. However, see, we have a text field called "Product Details", user types in for example "Oracle's new vision". When I click COPY button, APEX try to copy the text in "Product Details" field from this form to a new form but it returns error because of that single quote. Is there any way I can do something to replace that single quote with two single quote like we usually do in PL/SQL in the place "Set these item values with these values" of APEX button? I tried REPLACE(#P66_PRODUCT_DETAILS#., '''', '''''') but not work. I saw someone in the forum meantioned that to use something like "/#P66_PRODUCT_DETAILS#/" to get around. Any one with success?

    Thanks. I think it should work this way. However, our form has about 20 ~30 text fields, I have to create 20~30 hiddle fields to handle the problem because I never know which field could contain a single quote. Ideally, a new version of APEX should have the functionality to deal with the problem when using "set values with those values" method. At least, it should provide some kind of interaction for user to get away from single quote or comma or column etc.
    What I did is to get out of APEX native function and to create a new records in background by PL/SQL using record id that passed in from APEX form. It works perfectly. Although, user can only edit the record after it is created, not as user friendly as "Copy first-look at it-edit it-then create it" I originally planed.
    Thanks for your help,

  • How to insert a string containing a single quote to the msql database? help

    how can i insert a string which contains a single quote in to database... anyone help
    Message was edited by:
    sijo_james

    Absolutely, Positively use a PreparedStatement. Do not use sqlEscape() function unless you have some overriding need (and I don't know what that could possibly be).
    There are 1000's of posts on the positive aspects of using a PreparedStatement rather than using a Statement. The two primary positive attributes of using a PreparedStatement are automatic escaping of Strings and a stronger security model for your application.

  • How to change the page size of a replicated container?

    Hi, I would like to change the page size of dbxml 2.3.10.10 containers in a replicated environment.
    This is what I tried so far:
    1) dbxml_dump/dbxml_load (bot utils not usable in a replicated environment)
    2) db_dump/db_load. db_dump works fine. db_load seems to work fine, since it succesfully creates a database/container from a dump file. But it does not correctly initialise the internal dbxml structures since the database/container can not be opened, although getContainers works...
    Besides writing my own dump/load clients, is there any other option to change the page size of an existing container?
    Regards,
    Jacobus Geluk

    Hi George,
    dbxml_dump seems to work fine, but ends with this message:
    DATA=END
    dbxml_dump: Non-replication DB_ENV handle attempting to modify a replicated environment
    dbxml_dump: dump <container name>.dbxml: Error: Unexpected error opening Configuration DB
    dbxml_load more or less has the same error...
    I am currently writing a little Java program that simply dumps all XML documents of all containers in a directory structure...
    That would work as long as the file system can handle it...
    I suppose dbxml_dump/load could be made to work quite easily by just copying their sources and specifiying the replication settings...
    All utilities that cause log activity, that currently do not support replicated environments, should support replicated environments that simply use the default replication transport mechanism. With some additional command line options like --sites it would work...
    Regards,
    Jacobus

  • Main Wrapper, Container and background-image repeat problem-and Footer :-)

    Hi everyone,
    First off, i tried almost every idea i could get to solve this on my own but now im...aaa...
    Well, the problem is i have a main wrapper with a background image repeat. A header,menu, body container - which has a left column and right column. I want that main wrapper,body container and both of the columns to grow auto according to content. I tried the height:100%. When i float the columns the text from left column spills over on to the footer. The left column also does not autogrow towards the footer?! I was able to set the footer at the bottom which i want it to remain at the bottom of the main wrapper, but the main wrapper and the columns do not grow automatically...I guess it has something to do with float and the clear properties but what???
    body{
    margin: 0;
    padding: 0;
    font-weight: normal;
    font-style: normal;
    font-size: 11px;
    font-family: verdana;
    text-align: center;
    background:url(back_index3.png) repeat-x scroll 0 0 #E4E4E4;
    #main_wrapper {
    width: 959px;
    margin:0 auto;
    margin-top:80px;
    background:url(backslice.png) repeat-y;
    height:auto;
    min-height:800px;
    #header {
    width: 959px;
    margin-left: auto;
    margin-right: auto;
    height:119px;
    background:red;
    padding-top: 0px;
    padding-bottom: 0px;
    #topmenu {
    background-color:#blue;
    height:30px;
    margin:0px;
    width: 959px;
    margin-left: auto;
    margin-right: auto;
    #body_container {
    height:100%;
    width: 949px;
    margin: 0 auto;
    #content {
    float:left;
    width: 645px;
    background:yellow;
    border-right:1px solid #ffffff;
    padding:10px;
    height:100%;
    text-align:left;
    #sidebar {
    float:left;
    width: 283px;
    background:#234234;
    height:100%;
    #footer {
    clear:both;
    height:200px;
    background-color: #686768;
    margin:0 auto;
    border-top: 1px solid #F6F6F6;
    text-align:center;
    width: 100%;
    <html xmlns="">
    <head>
    <title>title</title>
    <link rel="stylesheet" type="text/css" href="3css.css" />
    <meta http-equiv="content-type" content="text/html" />
    </head>
    <body>
    <div id="main_wrapper">
         <div id="header">
          <span id="header_logo">title</span>
         </div>
         <div id="topmenu">
         menu
         </div>
         <div id="body_container">
          <div id="content">
    content to be added
          </div>
          <div id="sidebar">
          hallow2
          </div>
         </div>
    </div>
    <div id="footer">
    asd
    </div>
    </body>
    </html>
    Thanks in advance if somebody can help me out here.
    you can see an image of the problem in the attachement down thr... thnx

    <html xmlns="">
    <head>
    <title>title</title>
    <link rel="stylesheet" type="text/css" href="3css.css" />
    <meta http-equiv="content-type" content="text/html" />
    </head>
    <body>
    <div id="main_wrapper">
         <div id="header">
          <span id="header_logo">title</span>
         </div>
         <div id="topmenu">
         menu
         </div>
         <div id="body_container">
          <div id="content">
    content to be added
          </div>
          <div id="sidebar">
          hallow2
          </div>
         </div>
    </div>
    <br clear="all" />
    <div id="footer">
    asd
    </div>
    </body>
    </html>
    Hope this will work well

  • Server does not support setting more than 5 shared access policy identifiers on a single container

    Hi,
    I upload a video file to a new Asset. I then attempt to create a streaming URL by creating an Access Policy and then a Locator, which I use to generate the URL used for streaming.This works great. Until the 6th time you execute
    that code against the same Asset. Then you receive this error:
    "Server does not support setting more than 5 shared access policy identifiers on a single container."
    So, that's fine. I don't need to create a new AccessPolicy everytime, I can reuse the one I've created previously, build a Locator using that same policy. However, even then, I get the error about 5 shared access policies on a single container.
    Is this the Lmitation of media service? or am I missing something?
    Following is the code I used for this:
    if (AssetId != "")
                    inputAsset = (from a in _context.Assets
                                  where a.Id == AssetId
                                  select a).FirstOrDefault();
                    policy= (from a in _context.AccessPolicies where a.Name==inputAsset.Name select a).FirstOrDefault();
                    var assetFile = inputAsset.AssetFiles.Create(Path.GetFileName(singleFilePath));
                    var locator = _context.Locators.CreateLocator(LocatorType.Sas, inputAsset, policy);
                    assetFile.Upload(singleFilePath);
                    locator.Delete();
                    MediaElement media = new MediaElement();
                    media.AssetId = inputAsset.Id;
                    media.Title = Path.GetFileName(singleFilePath);
                    var result = Save(media, singleFilePath);
                    return inputAsset;
                else
                    inputAsset = _context.Assets.Create(User.Identity.Name, AssetCreationOptions.None);
                     policy = _context.AccessPolicies.Create(
                                        inputAsset.Name,
                                        TimeSpan.FromDays(30),
                                        AccessPermissions.Write | AccessPermissions.List
    | AccessPermissions.Read | AccessPermissions.Delete);
                     var assetFile = inputAsset.AssetFiles.Create(Path.GetFileName(singleFilePath));
                     var locator = _context.Locators.CreateLocator(LocatorType.Sas, inputAsset, policy);
                     assetFile.Upload(singleFilePath);
                     locator.Delete();
                     policy.Delete();
                     MediaElement media = new MediaElement();
                     media.AssetId = inputAsset.Id;
                     media.Title = Path.GetFileName(singleFilePath);
                     var result = Save(media, singleFilePath);
                     return inputAsset;

    Hi,
    I found some information related to
    Stored Access Policy , Shared Access Signatures   please check if it helps.
    Regards,
    Shirisha Paderu.

Maybe you are looking for