2 layouts for one screen

Hello everybody,
I'm working with RF screens, assigning phisical screens to the standard logical screens. For one of the screens, I have to show two completely different layouts depending on the value of a couple of fields. Since it's related to RF, the size is 8x40 and any of the layouts would occupy the whole screen.
Is there any way for me to define the two whole layouts, and show one or the other depending on the value of a field?
Thank you very much in advance.
Jose.

I've found the solution. It would be just to create two subscreens with the different layouts and create the main screen as a subscreen container. Then, on the main screen PBO call one of the subscreens or the other.

Similar Messages

  • How can i set a layout for MIGO screen

    Hello all,
    How can i set a layout for MIGO screen. & make that layout default. Like i want to drag Requistioner column next to quantity in MIgo screen. temporarily I can drag but is there a way to save as layout & save it.

    Hi
    First you arrange however you want and then go to table settings which is there in the right corner of the item details and create a variant and save.
    Find a button with blue yellow and white at the top end above the vertical drag bar when put the cursor it will show you as Configuration.
    After creating the variant tick the check box use as standard setting below the variant
    Hope it helps
    Edited by: Girish  Adaviswamy on Mar 3, 2010 1:27 PM

  • Display Multiple ALV layouts on one screen

    Hi,
    I have created 4 ALV Catalogues named: ALVCAT1, ALVCAT2, ALVCAT3, ALVCAT4
    I have also created the corresponding internal tables with data for each catalogue: ALVITAB1, ALVITAB2, ALVITAB3, ALVITAB4
    I have so far used the following function to generate each of the catalogues above:
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          I_PROGRAM_NAME     = SY-CPROG
          I_INTERNAL_TABNAME = 'ALVITAB1'
          I_INCLNAME         = SY-CPROG
        CHANGING
          ct_fieldcat        = ALVCAT1[].
    And I have used the following function module to display the table as ALV:-
    *DISPLAYING REPORT AS ALV GRID
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          I_CALLBACK_PROGRAM      = SY-CPROG
          I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS'
          i_callback_user_command = 'USER_COMMAND'
          IT_FIELDCAT             = ALVCAT1[]
         i_screen_start_column = 10
         i_screen_start_line   = 15
         i_screen_end_column   = 200
         i_screen_end_line     = 20
        TABLES
          t_outtab                = ALVITAB1.
    How can I now using the above function modules or similar function modules to DISPLAY multiple ALV layouts on a single SCREEN. Each layout should be treated separately with their own ALV tool bar etc.
    In this case i need to display 4 screens but I have scenarios where i need to also display 5.
    Would be really grateful for your guidance with source code to achieve this.....
    Thnx
    Salman
    Edited by: Salman Akram on Sep 20, 2010 2:47 PM

    Hi
    Try this [Link|http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=61243570] or the below program
    BCALV_TEST_GRID_DRAG_DROP
    or else
    Try to use splitter container to display multiple ALVs on one screen
    here is the demo program RSDEMO_SPLITTER_CONTROL
    the below code will help you to call grid using splitter control
         EXPORTING
            container_name = 'CUSTOM'.
        CREATE OBJECT splitter
          EXPORTING
            parent  = container
            rows    = 1
            columns = 1
            align   = 15.
        CALL METHOD splitter->set_row_height
          EXPORTING
            id     = 1
            height = 1.
        CALL METHOD splitter->get_container
          EXPORTING
            row       = 1
            column    = 1
          RECEIVING
            container = container_1.
        CREATE OBJECT grid1
          EXPORTING
            i_parent = container_1.
        CALL METHOD grid1->set_table_for_first_display
          EXPORTING
            is_layout       = gss_layout
            is_variant      = lwa_variant
            i_save          = 'A'
          CHANGING
            it_outtab       = gt_report_list
            it_fieldcatalog = gtt_fld_cat.
    Regards
    Edited by: Anesht on Sep 20, 2010 11:49 PM

  • How can i pull alv layouts for selection screen ?

    hello ,
    i search way to give the user option to choose his layout,
    i sow here examples that look good , but 
    all of tham talk about function :
    "REUSE_ALV_VARIANT_DEFAULT_GET"
    i run it in 'se37' and no data is pull ,
    i know that there is layouts for my alv report ,
    i use it like this in my report and in 'se37' :
    CLEAR ls_variant.
      ls_variant-report = sy-repid.
      ls_variant-handle = 'LIST'.
       MOVE ls_variant TO def_variante.
       MOVE vari TO def_variante-variant.
    CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
        EXPORTING
          i_save     = 'A'
        CHANGING
          cs_variant = def_variante
        EXCEPTIONS
          not_found  = 2.
      IF sy-subrc = 0.
        p_vari = def_variante-variant.
      ENDIF.
    thanks

    Hi,
    Try this.
    INITIALIZATION.
    Get Default display variant
      PERFORM f200_display_default_variants.
    Enable variant saving
    data   w_variant TYPE disvariant.
    FORM f200_display_default_variants.
    *initialize to default layout if one exist.
      w_variant-report   = sy-repid.
      CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
           EXPORTING
                i_save        = 'A'
           CHANGING
                cs_variant    = w_variant
           EXCEPTIONS
                wrong_input   = 1
                not_found     = 2
                program_error = 3
                OTHERS        = 4.
      IF sy-subrc EQ 0.
        p_layout = w_variant-variant.
      ENDIF.
    ENDFORM.
    Try this and reward points by clicking the star on the left of reply,if it helps.

  • How do I replicate a desktop screen or have a choice of filters for one screen?

    I have built a reasonably elaborate desktop screen in Lightswhitch and I would like to use it with different filters. For instance, lets say I have an Order entity with Fields 1-100. I would like to be able to launch my elaborate screen where Field1
    equals "Yes" at one time but at another time I would like to launch the same screen (or one just like it) and bring up a data set where Field2 equals "Yes" in order to bring up a different dataset.  The only
    way I can currently do this is to manually make a replica of the screen and set different filter parameters.  I have seen instructions on how to make an html screen templates but none for desktop screens. 

    You would usually achieve this using standard LightSwitch query with a set of optionally search parameters. Bind the parameters to local scalar properties and manipulate the search parameter settings in code and/or let the users enter values on the
    screen.
    There are more generic style advanced patterns. If you really need to clone a screen there are threads already with notes on manually doing this or use or AIDE for LightSwitch screen workbench VS extension.
    Cheers
    Dave
    Dave Baker | AIDE for LightSwitch | Xpert360 blog | twitter : @xpert360 | Xpert360 website | Opinions are my own. For better forums, remember to mark posts as helpful/answer.

  • Two titles for one screen

    Hi Everyone,
    Is it possible to give two titles for one dialog screen.
    Based on a grid i perform centain things where the user has to enter the values in the dialog screen.
    To this screen i want to title based on the which grid it is. Is it possible to do.
    Can anyone help me on this.
    Thanks,
    Prabs.

    when you define the title bar (to be used with set title bar)
    enter the text with place holders like below.
    & & my &
    later in your program you can supply text for & using set title bar.
    set titlebar 'MYTITLE' with 'This' 'is' 'test' .
    This would produce title bar as
    This is my test
    set titlebar 'MYTITLE' with 'Where' 'is' 'Title' .
    This would produce title bar as
    Where is my Title.
    Hope this is clear.
    Regards
    Raja

  • Layout for one-child container

    Fairly often it comes up that I want to put just one child in a container, and for it to resize etc. with the container.
    What layout do people usually use in these circumstances?

    BorderLayout and component at Center.

  • Swing Layout for different screen resolution

    Hi All,
    I am developing an application which will always run in a FULL SCREEN mode.
    I intend to make it working on all screen sizes (resoultions) and on different OS and devices.
    Since I am new to Swing, could anyone of you suggest a good layout manager to manage the components?
    I am using NetBeans 6.8 (which uses a GroupLayout) for designing the GUI but when I change the screen resolution, the arrangement is all messed up.
    Also, I am not able to design my application's GUI using NetBeans GUI builder as there is noway I can get an idea of how things will look like in the EXTENDED_BOTH state.
    It will be very helpful if anyone could suggest..
    Thanks!

    The entire point of Swing LayoutManagers is to get a (reasonably) consistent layout across different resolutions, window sizes, platforms, etc. Of course, different window sizes and aspect ratios will affect things slightly, but any LayoutManager properly used will do the job you're describing.
    As for which LayoutManager to use, I think that's a misleading question because it's not uncommon to use multiple LayoutManagers for a single screen. But in my experience it's possible to do 95% of what you want using GridBagLayout and a properly nested hierarchy of JPanels. GridBagLayout is a pain to get used to (caution against re-using GridBagConstraints), but once you do it's amazing what you can get out of it.

  • Good low-cost widescreen monitor for one-screen editing?

    Hello, I'm on a tight budget, looking for a widescreen monitor that is a good blend of low-cost but good quality (if possible!).
    I will be doing all my work off this single monitor. I will unfortunately NOT be able to have a dual-monitor setup, nor have an external reference monitor. I will be editing HDV footage.
    Any suggestions? Thanks!

    It is a PVA screen with dual DVI and a D-sub connector.
    I use three of them and they give me a good BFTB, "Bang-for-the-Buck".
    If you consider the various panels in use, they go from low to high in quality, TN >> PVA >> IPS.

  • Remove PR Mandatory for PO and Assign new PO Layout to one User

    Hi Experts,
    I want to remove PR mandatory for PO and assign new PO Layout for one User. I am facing following problem.
    1. I have already created a function authorisation Z1 with reference to PR and assign the same in SU01, Paramenter EFB - Z1.
    Now I have removed ref to purchase requisition tick and assign new PO layout in Z1.
    But ref to PR not removed, and new po layout is not coming.
    What should I do.
    Thanks in advance.
    GR

    why dont u assign the new PO screen layout to the PO document type thru spro-mmpurchasingpo-define document type---here assign ur new field selection with the PO document type coz whatever the screen layout of PO comes while processing me21n,it comes due to the field selection present here as per my knowledge.
    regards,
    indranil

  • I want to create a new customized screen layout for responsive HTML5  output. I don't want to use the ones present in the gallery. What are the steps to do so?

    I don't wish to use the ones already present in the gallery. They do not meet my requirements. Therefore, I want to create/design my own screen layout for the responsive HTML5 output. Please let me know the steps to do so. How to create a SLZ file, what is the code that I need to write. What are the components that I need to create to have a complete screen layout to be used in a responsive HTML5 output.

    That would require inline formatting and I doubt that is an option.
    If I am following you, the header area is full width of the screen so I cannot see how it can be broader, Perhaps you mean deeper? A screenshot might help here. The change would be made in the layout.css file.
    That would be a change in the layout.css.
    I suspect that too is controlled by the layout.css.
    To make the changes you would have to go into the layout.css and modify that. As you will see, it is a very complex CSS and that is why I said creating you own layout is not easy. Hopefully when Willam is available again, he may be able to give you some more specific information.
    I think Willam will confirm that if you cannot read the existing CSS to make those changes, then creating your own skin would be beyond your capabilities. Please do not take any offence there, I am simply emphasising how complex a task it is to create a skin from scratch. It's not one I would take on.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Change Layout in Selection Screen for OO ALV-Grid

    Hello everyone,
    I got a problem regarding layouts for objectoriented ALV Grid. I want to make it possible that user can take the layout for ALV he wants to on the selection screen. So far thats no problem and it works. But there are some little problems which I do not know how to fix them. But first the facts:
    (1) I got my parameter for layout
    PARAMETER: p_vari  TYPE disvariant-variant.
    (2) I fill my global layout structure in initialization
    INITIALIZATION.
    * Variante vorbelegen
       gs_variant-username = sy-uname.
       gs_variant-report   = sy-repid.
    * Layout holen
       CALL FUNCTION 'LVC_VARIANT_DEFAULT_GET'
         EXPORTING
           i_save        = 'A'
         CHANGING
           cs_variant    = gs_variant
         EXCEPTIONS
           wrong_input   = 1
           not_found     = 2
           program_error = 3
           OTHERS        = 4.
       IF sy-subrc = 0.
         p_vari = gs_variant-variant.
       ENDIF.
    (3) I got my handling for F4-value help on variant parameter
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_vari.
       CALL FUNCTION 'LVC_VARIANT_F4'
         EXPORTING
           is_variant    = gs_variant
           i_save        = 'A'
         IMPORTING
           es_variant    = gs_variant
         EXCEPTIONS
           not_found     = 1
           program_error = 2
           OTHERS        = 3.
       IF sy-subrc <> 0.
         MESSAGE text-m01 TYPE 'S'.
       ELSE.
         p_vari = gs_variant-variant.
       ENDIF.
    (4) I give back my parameters content into the variant structure at start of selection
    START-OF-SELECTION.
       gs_variant-username = sy-uname.
       gs_variant-report   = sy-repid.
       gs_variant-variant  = p_vari.
    This works all fine but I got some problems when using default variants/layouts. For example I got a default variant only for me. When starting the selection screen it works fine that the default layout was written. It is displayed automatically in the variant parameter. But I want that if i I empty the content (blank it out) from my variant parameter, that report should start with "normal" layout how it was written in the report and NOT with default layout.
    When I clear the gs_variant it works like I want it, but then the alv layout button looks like (without functions for layout), because I do not have the reference to my report.
    So what to do? :-)
    Regards
    Michael

    Wow that was fast, works great, thanks :-)
    I did not use this parameter in set table method but now I fill it dynamically.
    Ok next problem, one step harder ;-)
    Now I have one selection screen for one ALV-Grid, but four radio buttons which control with which data the ALV gets filled (four different fieldcats, data tables and so on). Each Grid got an own HANDLE so that the layouts can be separated in four categories.
    Now I want that by changing the radio button the individual standard layout for the chosen alv grid is getting filled.
    This works fine when using it in selection screen output.
    AT SELECTION-SCREEN OUTPUT.
       CLEAR gs_variant.
    * Layout-Handles individuell für Klausel-Radiobuttons setzen
       IF     p_py IS NOT INITIAL.
         gs_variant-username = sy-uname.
         gs_variant-report   = sy-repid.
         gs_variant-handle   = 'KLPY'.
       ELSEIF p_rh IS NOT INITIAL.
         gs_variant-username = sy-uname.
         gs_variant-report   = sy-repid.
         gs_variant-handle   = 'KLRH'.
       ELSEIF p_aj IS NOT INITIAL.
         gs_variant-username = sy-uname.
         gs_variant-report   = sy-repid.
         gs_variant-handle   = 'KLAJ'.
       ELSEIF p_sr IS NOT INITIAL.
         gs_variant-username = sy-uname.
         gs_variant-report   = sy-repid.
         gs_variant-handle   = 'KLSR'.
       ENDIF.
    * Layout holen
       CALL FUNCTION 'LVC_VARIANT_DEFAULT_GET'
         EXPORTING
           i_save        = 'A'
         CHANGING
           cs_variant    = gs_variant
         EXCEPTIONS
           wrong_input   = 1
           not_found     = 2
           program_error = 3
           OTHERS        = 4.
       IF sy-subrc = 0.
         p_vari = gs_variant-variant.
       ELSE.
         CLEAR p_vari.
       ENDIF.
    But unfortunately selection screen output is getting passed by EACH changing in the selection screen. This means when I try to clear the default layout in my parameter field, it gets refilled automatically with default layout. If I do a condition around the filling (only if not initial) the default value filling does not work fine in every case, e.g. when clearing the parameters field and then change the radiobutton -> then it does not get filled automatically.

  • Block Purchaisng screen for one time vendor acount group

    Hi Experts,
    Hope everyone is doing good.
    How can we block purchasing screen for one time Vendor account group.
    User requirement:
    He wanted to maintain only Accounting data for one time vendor but not purchasing data.Though I have suppressed all the Purchasing related fields in Screen layout for Vendor account group but still at the time of creation of one time vendor "create Vendor:purchasing screen is coming"
    Is there any option to suppress/Skip  this screen "Create Vendor:Purchasing Data" ?
    Regards,
    Uzair

    - Account group is just one of the four factors influencing the field status. (If all the fields are suppressed in a screen the screen will not appear during the creation of the VMR).
    - Company Code, Transaction Used and Purchasing Organization are otehr influencing factors.
    - Since the field status depend on several influencing factors, Link rules are necessary which determine the instance of the field status if different influencing factors have different effects.
    - Hide has priority 1, Display 2, Mandatory 3, Optional entry 4
    - Say for e.g. you want a field to be suppresses due to account group but a mandatory entry due to purchasing organization. Instance hide has the highest priority. If a field was suppresses by account group what was specified by purchasing organization becomes irrelevant.
    - Display overrides Required & Optional Entry
    - Required entry overrides Optional entry

  • Screen Layout for "LECI - Check in Means of Transport and Visitors"

    HI GURUS & EXPERT,
    CAN any one tell me that How can I make some field required in LECI - Check in Means of Transport and Visitors
    Or T-cde for defining Screen layout fo it/
    Thanks in advance.
    DSC

    Closing the issue.
    Solved by me via Z-develoment.
    DSC

  • There is no option to reject an incoming call in locked screen, there must be an icon on the screen for one who don't want to use lock button several times, i did'nt face this problem in last ios 6.1.3.

    There is no option to reject an incoming call in locked screen, there must be an icon on the screen for one who don't want to use lock button several times, i did'nt face this problem in last ios 6.1.3.

    A good read. Have you done anything at all to resolve your problem. Reset? Restore?
    By the way - "your products"... nobody here produced the iPhone, we are all just users. Apple is not here.

Maybe you are looking for