Set Default Layout in Reports in a Single Screen

Hi,
We have a report, with one screen. But is is divided into 2 parts. The upper report is showing different data compared to the data shown in the lower report.
We have used OO to display the output. However, when choosing the default layout for each of the section, since it is contained in a single screen, it will only retrieve one default layout for both report. Is it possible to set a default layout, each for the two sections of the report?
Thanks,
Louisse

Hi
If you're using ALV OO, you can manage several variants in the same report, that means a specific variant for every grid.
It needs to set a different value (for every grid) in the field IS_VARIANT-HANDLE (IS_VARIANT is a parameter of method SET_TABLE_FOR_FIRST_DISPLAY, structurated like DISVARIANT).
  data: lt_varuant1 type disvariant.
  data: lt_varuant2 type disvariant.
  lt_varuant1-report   = sy-repid.
  lt_varuant1-username = sy-uname.
  lt_varuant1-handle   = 'ALV1'.
  CALL METHOD grid_1->set_table_for_first_display
    EXPORTING
      IS_VARIANT = lt_variant1
  lt_varuant2-report   = sy-repid.
  lt_varuant2-username = sy-uname.
  lt_varuant2-handle   = 'ALV2'.
  CALL METHOD grid_2->set_table_for_first_display
    EXPORTING
      IS_VARIANT = lt_variant2
Max

Similar Messages

  • Set Default Layout in Selection Screen of  FBL3N

    Dear All,
    Here in FBL3N presently i we have a default layout is /balaji.
    But now i want to change this as a standard layout 1sap.
    I can try this in path SETTING->ADMINISTRATOR->SET DEFAULT LAYOUT.
    But after done this and save this procedure when i run this Transaction again
    no change effected.
    Means my change is not effect in selection screen of FBL3N.
    So can anybody tell me how can i change my default layout in selection screen of FBL3N .
    Please kindly help me ....
    Thanks
    Keyur

    Hi,
    Try with below navigation
    Run the report and go to the menu settings->Layout->Choose
    and also go through this link
    http://wiki.sdn.sap.com/wiki/display/ERPFI/Howtochange-setdefaultlayoutintransactionFBL1N%2CFBL3NandFBL5N
    regards
    kk

  • How to set default date value to a field on screen

    How to set default date value to a field on screen and allow users to modify it ....

    Hello,
    In the PAI module, you need to save the changes to the database using the command MODIFY.
    Follow an example:
    Create or change a message in database table T100. If there is no message with the number 100 in the MYMSGCLASS message class in English, it will be created. Otherwise only the text is changed.
    DATA message_wa TYPE t100.
    message_wa-sprsl = 'EN'.
    message_wa-arbgb = 'MYMSGCLASS'.
    message_wa-msgnr =  '100'.
    message_wa-text =  'Some new message ...'.
    MODIFY t100 FROM message_wa.
    Regards.

  • Resolved:how to set default LAYOUT for ALV list display

    hey guys,
      In my alv report there are 20 cloumns.
    after display i usualy choose 12 of them from CHOOSE LAYOUT option and then give it to print...
    how to set this LAYOUT as default
    sorry guys i figured it out..
    but can we give it programiticlay?
    Edited by: kumar gaurav on May 27, 2008 8:15 AM

    hi,
    you can do it.
    after declaring the catlog table you will give as
    wa_catlog-seltext_l = 'material'.
    wa_catlog-datatype = 'char'.
    wa_catlog-outputlen = 18.
    wa_catlog-fieldname = 'matnr'.
    append wa_catlog to i_catlog.
    clear wa_catlog.
    wa_catlog-seltext_l = 'plantl'.
    wa_catlog-datatype = 'char'.
    wa_catlog-outputlen = 4.
    wa_catlog-fieldname = 'werks'.
    append wa_catlog to i_catlog.
    clear wa_catlog.
    similarly what sequence you give here i.e. material  ,  plant  etc. you get the output in the same oder you can even give only the fields you want in the output.
    rewards points if useful.
    siri

  • How to set default layout for ALV grid ?

    Dear all,
    When execute ALV reports, the user customize the layout for their own purpose. But each time they run that report, they must choose again their layout. Is there any way to set the layout as default ?
    Thank you very much,
    Sylvecat.

    Hi,'
    After you have created a layout just follow the steps listed below for making it as default layout:
    1. Click (Save Layout).
    2. Enter a name in the Save Layout field. The name must begin with a letter.
    3. Type in a description for the layout in the Name field.
    4. Select the Default Setting check box if you want this layout to be the default layout every time you run
    the report.
    5. Click (Continue).
    Note: A warning message will appear if you are trying to save over an existing layout. Close the box by
    selecting the X in the upper right hand corner or choose Yes to overwrite the layout.
    Reward Points if found helpfull..
    Cheers,
    Chandra Sekhar.

  • Clarifications about Query Builder and Additional Default Layout in Reports 6i

    1) Is Query Builder re-entrant in Reports 6i? If yes, what is the method. As when I tried to re-eter, it gave me message '..... Syntax Error'.
    2) IN 'ADDITIONAL Default Layout', Reports 6i does not allow group field to be
    included in 'the fields to be printed' list. It allows but in next tab it omits that group field.
    As a result no repeating frame for the Group is generated in the 'ADDITIONAL Default Layout'.
    What is wrong?
    Pl. guide.
    Tariq

    2) IN 'ADDITIONAL Default Layout', Reports 6i does not allow group
    field to be included in 'the fields to be printed' list. It allows
    but in next tab it omits that group field.
    As a result no repeating frame for the Group is generated in >the 'ADDITIONAL Default Layout'. Not sure I fully understand the question but you seem to be saying that if you select a field in the ADL tool, it doesn't show up in the layout. This can only happen if you select a field in the "Fields" tab from a group you haven't selected in the "Groups" tab.
    Ideally Reports shouldn't show these fields since you haven't selected the groups. Unfortunately it does and you need to ensure all the appropriate groups have been selected in the "Groups" tab.
    At least it will tell you if you have selected a group but haven't selected any fields for the group or if you haven't selected enough groups for the type of layout you're trying to create.

  • Unable to set default layout variant in POWL

    Hi Experts
    We have performed below activity in POWL_QUERY to assign default layout variant.
      1.  Choose Layout variant.
      2.  A browser window for the POWL_MASTER_QUERY appears.
      3.  Change the sap-config-mode from "X" to "config" within the URL.
      4.  Now you can define your layout variant and save your changes.
      5.  Log on to the Customizing client and start transaction POWL_QUERY.
      6.  Assign your created layout variant in the Layout selection field.
    But Still I am not able to see selected layout.
    I am using NWBC 4.0 and  NW - 7.02.
    Please advice.
    Regards,
    Yogesh

    Hi!
              We have same problem!
             The layout can be selected in application, but it is not taken as default.
         We appreciate your feedback
    Best Regards.
    Angelica

  • Setting up multiple event videos on a single screen

    I love the concept of multiple short video presentations being selected an playing off a single screen, but I've run into a seemingly simple issue that I can't figure out. My procedure has been as follows:
    create a basic three second slide
    add multiple F4Vs to the screen and hide them. (none of the available skins have a "close" or "exit" button on them)
    set up each video to display for the rest of the slide and check the "pause slide until end of video" box
    create buttons for each video using the "Show" action.
    At this point, the videos all operate perfectly and the playbar attached (currently haloSkin3) are tabbing very nicely - but when a selected video ends, I can't close it - there's no button on the playbar to re-hide it/close it and stay on the same slide.
    I know I can develop seperate mini-projects containing individual sychronized videos and pile them all in my SCO, but I'm hoping for a more elegant solution than having multiple pop-up windows.
    Probably not seeing the forest for the trees, but that's why I am reaching out here!

    Hi There,
    Welcome to Adobe Forums.
    Please try this:
    1) Add a button or a smart shape (use it as a button) on the video.
    2) Click on the video and press CTRL key from keypad and click on the button or the smart shape (which was added on the video).
    3) Right click on them and create a Group. (This will create a group of video and the button which was added on it)
    4) Click on the button which you are using to show the video and change the action to show the group.
    5) Click on the button which was added on the video and select the action to hide the group.
    This may help you in showing the video with the exit button and you can exit the video also. You can change the name of the button accordingly.
    Please let me know if this helps.
    Thanks
    Vikas

  • Setting page layout in Reports 6i doesn't work, gap gets to big.

    We are forced to use good old' Oracle Reports 6i because another application uses this to create its forms and reports. The problem is, that we want to print those reports on continuous paper with specific measures. In millimetres it would be 210 mm x 305 mm. We already set the measures of the main part report to those specifications, but it appears that this wasn't enough.
    If the report is printed straight from Reports 6i, the first page is all ok, but the second one has an offset of about 10 mm. This offset gets higher on every page, so approximately on page 4, the page is already partly on the next page of the continuous paper. This problem really drives me crazy.
    I have studied this forum for a whole afternoon, but I couldn't find an answer. I have read many posts regarding the margin "bug" of Reports 6i, which seems to influence this particular report. As I am completely new to reports and Reports 6i in particular, I would love to get a helping hand here at the forums. Maybe someone can support me here.
    Many thanks in advance!

    Where you set the measurement ?
    Did you follow this ?
    @ Report Object Navigator
    1. Select Layout Model >> Main Section then properties
    set Width, Height and Orientation under Section
    Adjust your layout and
    Try...
    Hope this works..

  • Setting Default Variant for Report Trans

    Hi All,
    Is there a way to set a default Variant to a reporting transaction? for example for ME2N how do I set a default Variant to be imported to the selection screen automatically once the report transaction is called?
    This is useful if the user uses the same variant all the time.
    Thanks in advance!

    Pls try the below example
    I give you one example,
    Enter t-code ME2N, Then click on Dynamic field selection button.
    Then double click on created by field enter enter any user id in it.
    Then click on save button.After click on this screen your can see one other screen for variant.
    Here you have to assign variant name and meaning. You can also change field status for report with help of this screen.
    Before click on save button, tick on protect check box button and then click on save.
    Then exit from transaction and enter ME2N.
    Click on Get variant button. Here you can see list of variant, select your variant and get report as per your requirement.
    by
    Rajj

  • Seting up a default layout ?

    how to setup a default layout in reports ?? i dont see an option or a button for that.
    i guess it was available in forms 2.0
    but now it isnt there.
    there is only a report wizard.
    but otherwise is there anyway to do it?

    In the layout painter there is an "report block" which, I think, was previously called "additional default layout" that provides the same functionality as with 2.0 etc. Of course you can also manually create your required frames, fields, boilerplate, etc.
    If you only have a single query then it looks the same as the "Report Wizard". If you have multiple queries then it looks closer to the dialog available in 2.0.

  • Two report outputs in a single screen

    Hi,
    I am looking at giving outputs of two reports in a single screen.
    I mean one below the other.
    We are using web reports and I want to have two reporst made out of differect cubes appear one below the other.
    Kindly let me know if this is possible.
    Suggestions will definitely be rewarded by giving points.
    Regards,
    Naveen

    Hi Naveen,
           In WAD, you can use Generic Navigation Block web item for displaying the Characteristics/Free Characteristics available in the Query.
    In the specific properties tab(Web Item Properties->Specific->List of Characteristics) of this web item, you can specify the Characteristics/Free Characteristics which you want to be displayed in the web report.
    Since you want the table web item(which shows the report having the free characteristics) to be affected by the drill down in Navigational block, then specify the data provider of table web item in the <b>Affected Data Provider</b> of the Navigation Block web item.
    Naveen, it's not mandatory to check the affected data providers if the data providers for both Navigational Block web item and the Table web item are same.
    Hope this helps.
    Regards
    Hari
    Message was edited by: Hari Krishnan K

  • Defaulting del.date in single screen sc

    Hi Experts,
    I am trying to default the delivery date in the Single Screen Shopping Cart in SRM 7.0. The BADI BBP_CHANGE_DEFAULT does not seem to support the Single Screen SC. Is there any other class where I can enhance the functionality for Single Screen Shopping Cart?

    Hi,
    You mention the BBP_BD_CHANGE_DEFAULT BAdi does not work for professional shopping cart, is that tested as true or are you assuming this does only work with SC Wizard?
    Regards,
    Jason

  • Display 2 different structured internal tables in single screen using ALV

    Hi,
    I have two internal tables. Both has different structures. My requirement is to display both the internal tables in single screen using ALV Grid but NOT using OO ALV Grid display.
    Is there any way of spliting the Final ALV display screen into two with two different headers and details as shown below.
    Header1 for internal table 1
    Data of internal table 1
    Header1 for internal table 2
    Data of internal table 2
    Can anyone suggest a better way to display this.
    Regards,
    Senthil

    hi
    first think i can say ALV GRID means only for OO ALV it is not possible to display two I.T. data in singr report screen.
    better to use of the fm: REUSE_ALV_BLOCK_LIST_DISPLAY
    so that u can display both I.T. data in separate report list under single screen
    Check the example programs:
    BALVBT01 Testprogram ALV: Block list
    BCALV_TEST_BLOCK_LIST Program BCALV_TEST_BLOCK_LIST
    Regards,
    deepak

  • Report Wizard 10g default layout

    I have a lot of data columns in my report and want the wizard to generate a default layout 132 columns wide. However the wizard always defaults to only 80 columns and wraps fields and headings to multiple rows. Is there a way to make it default a wide layout so that all fields are on a single row?

    In the object navigator, I expanded layout section main and set properties for body section with a wider width of 1200 points(desfault was 512 points) and orientation landscape and then used report wizard to create a default layout and it still defaulted to 80 columns portrait. I also tried character mode with a col size of 132 and it still doesn't work. Has anyone seen report wizard default layout spanning 132 cols or more? I usually get a 80 col default and extend it manuallly to the right.

Maybe you are looking for