Layout triggers in report

how many layout triggers are there in a report ?

Hi;
Please see:
http://www.geekinterview.com/question_details/24813
http://oracleapps4u.blogspot.com/2011/03/types-of-triggers.html
Regard
Helios

Similar Messages

  • Dynamically changing the layout of thre report-urgent please

    Can we change the layout of the report dynamically during runtime for example:the user should have flexibility to change the width, size , position of columns before the report is displayed & also he choose some fields not to display as per his discretion.
    Mahesh

    There are several ways of doing this, it really depends on your requirements as to which is suitable. (There are probably other ways of doing this as well).
    - Try Reports XML Customizations
    This is available in 6i and allows you to create a report dynamically on the fly. The template used will also allow you to change the paper size as well. The main limitation is that you are relying only on Reports defaulting to create the layout for you. The advantage is that you can store all your information to create the report in meta-data which can be driven by another tool.
    - Use lexical parameters for queries and format triggers
    Here, you have a fixed layout but dynamically change the query columns to the correct order. You would normally standardise on a "character" column type in order to do this. Even though the layout is fixed, you can use variable sized fields to push objects around. This can be difficult to setup.
    - Use several layouts
    You're reducing the options for the user, but you can have several layouts in the same report and turn them on/off. Effectively creating differing views of the same data.

  • Error while creating a new layout in a report.

    I am getting this error message:
    Failed to save data.
    Error occurred when creating xml data.
    when I try to save after I create a new layout in my report.
    Is there some common problem with templates that could cause this to happen?
    I'll continue to look around for an answer but if anyone would like to see the template and a sample set of XML data so they can help me figure out what the problem is, that would be swell.
    -Nevermind. The problem seems to have dissapeared. Apparently the appropriate order of operations is
    1: Create new layout.
    2: Upload RTF Template
    Please feel free to delete this post -.-

    i am also getting the same error here and i have followed what you laid out, i am still getting the same error.
    Thanks

  • My Menu - Add a Query Print Layout to the Report Folder

    This is a newb question.  I can easily add a Query or form or most anything else to the Folders under My Menus ... But how can I add a specific Print Query Layout to the Reports folder un My Menu?
    I know it is simple but I can not find the steps in the documentation
    Thanks in advance!!! 
    Dana

    Kapil
    I tried that, but it adds the Query not the QPLD to the menu.
    I had figured that I could go the the QPLD memu and add the Report, but that adds the Query Print Layout Menu with all the reports.
    I feel like I am missing something very obvious here!!!
    Thanks for your quick response!!
    Dana

  • Creating layouts in ALV report

    Hi all,
    I have created a report when a user creates a layout in the report it should save the variant(layout) and display in the selection-screen with alv_variant and search help.Its working properly.
    But I have to create different layouts like the following:
    Layout with sort and subtotals,
    layout with sort and filter conditions like that.
    Can anybody help me regarding this matter.
    with regards
    chandu

    Sai,
    Here is a little sample program which shows you how to recall saved ALV Layouts. It requires the user to run the report, create their own variants, and this program allwos them to recall it from the selection screen.
    You can create gobal layouts (for your sorts, and totals) which canbe accessed by any user.
    Hope this helps.
    Cheers,
    Pat.
    *& Report  ZPATS_ALV                                                   *
    REPORT  zpats_alv                     .
    TABLES: kna1.
    TYPE-POOLS: kkblo.
    * structures *
    DATA: st_fieldcat TYPE slis_fieldcat_alv.
    DATA: st_variant1 LIKE disvariant.
    DATA: st_variant2 LIKE disvariant.
    * internal tables *
    DATA: BEGIN OF tbl_kna1 OCCURS 0,
      kunnr LIKE kna1-kunnr,
      name1 LIKE kna1-name1,
      stras LIKE kna1-stras,
      telf1 LIKE kna1-telf1,
      ort01 LIKE kna1-ort01,
      pstlz LIKE kna1-pstlz,
      sortl LIKE kna1-sortl,
      ernam LIKE kna1-ernam,
      spras LIKE kna1-spras,
    END OF tbl_kna1.
    DATA: tbl_fieldcat TYPE slis_t_fieldcat_alv.
    * global variables *
    DATA: fieldname(30) TYPE c.
    DATA: variant_exit(1) TYPE c,
          variant_save(1) TYPE c,
          variant_def(1)  TYPE c.
    * Seelction Screen
    PARAMETERS:      p_vari     LIKE disvariant-variant.
    * Initialization Event
    INITIALIZATION.
      PERFORM variant_init USING st_variant1.
      st_variant2 = st_variant1.
      CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
           EXPORTING
                i_save     = 'A'
           CHANGING
                cs_variant = st_variant2
           EXCEPTIONS
                not_found  = 2.
      IF sy-subrc = 0.
        p_vari = st_variant2-variant.
      ENDIF.
    * At Selection Screen On Value Request
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_vari.
      PERFORM f4_for_variant.
    * Start of Selection Event
    START-OF-SELECTION.
      SELECT kunnr name1 stras telf1 ort01 pstlz sortl ernam spras
             INTO CORRESPONDING FIELDS OF TABLE tbl_kna1
             FROM kna1.
    * End of Selection Event
    END-OF-SELECTION.
      PERFORM get_fieldcat.
      PERFORM create_report.
    *&      Form  get_fieldcat
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM get_fieldcat.
      PERFORM write_fieldcat USING 'KUNNR' 'X' 1.
      PERFORM write_fieldcat USING 'NAME1' 'X' 2.
      PERFORM write_fieldcat USING 'STRAS' ' ' 3.
      PERFORM write_fieldcat USING 'TELF1' ' ' 4.
      PERFORM write_fieldcat USING 'ORT01' ' ' 5.
      PERFORM write_fieldcat USING 'PSTLZ' ' ' 6.
      PERFORM write_fieldcat USING 'SORTL' ' ' 7.
      PERFORM write_fieldcat USING 'ERNAM' ' ' 8.
      PERFORM write_fieldcat USING 'SPRAS' ' ' 9.
    ENDFORM.                    " get_fieldcat
    *&      Form  write_fieldcat
    *       text
    *      -->P_0060   text
    *      -->P_0061   text
    *      -->P_0062   text
    *      -->P_0063   text
    *      -->P_1      text
    FORM write_fieldcat USING    name
                                 key
                                 pos.
      st_fieldcat-fieldname   = name.
      st_fieldcat-tabname     = 'TBL_KNA1'.
      st_fieldcat-ref_tabname = 'KNA1'.
      st_fieldcat-key         = key.
      st_fieldcat-col_pos     = pos.
      IF name = 'PSTLZ'.
        st_fieldcat-row_pos = '2'.
      ENDIF.
      APPEND st_fieldcat TO tbl_fieldcat.
      CLEAR st_fieldcat.
    ENDFORM.                    " write_fieldcat
    *&      Form  create_report
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM create_report.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
           EXPORTING
                i_interface_check       = ' '
                i_callback_program      = 'ZPATS_ALV'
                i_callback_user_command = 'USER_COMMANDS'
                it_fieldcat             = tbl_fieldcat
                i_default               = 'X'
                i_save                  = 'A'
                is_variant               = st_variant2
           TABLES
                t_outtab                = tbl_kna1
           EXCEPTIONS
                program_error           = 1
                OTHERS                  = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " create_report
    *&      Form  USER_COMMANDS
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM user_commands USING syst-ucomm LIKE syst-ucomm
                             selfield TYPE slis_selfield.
      CASE syst-ucomm.
        WHEN '&IC1'.
          READ TABLE tbl_kna1 INDEX selfield-tabindex.
          SET PARAMETER ID 'KUN' FIELD tbl_kna1-kunnr.
          CALL TRANSACTION 'XD03' AND SKIP FIRST SCREEN.
        WHEN OTHERS.
      ENDCASE.
    ENDFORM.                    " USER_COMMANDS
    *&      Form  VARIANT_INIT
    FORM variant_init USING g_variant LIKE disvariant.
    * Initialise the Variant Structure
      CLEAR g_variant.
      g_variant-report = sy-repid.
    ENDFORM.                               " VARIANT_INIT
    *&      Form  f4_for_variant
    FORM f4_for_variant.
      CLEAR st_variant1.
      st_variant1-report = sy-repid.
      CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
           EXPORTING
                is_variant = st_variant1
                i_save     = 'A'
           IMPORTING
                e_exit     = variant_exit
                es_variant = st_variant2.
      IF variant_exit = space.
        p_vari = st_variant2-variant.
      ENDIF.
    ENDFORM.                    " f4_for_variant

  • Print Layout Designer \Custom Reports

    Hello All,
    Is there a way to set a custom report as default in the Print Layout Designer for A/R Invoice in SAP B1 ?
    Thank you and Best wishes and Happiness in the New Year 2009.
    Ben

    Hello All,
    Thank you for your answer but I would like to be more exact in my question  because I already know how to set a  Print Layout as default in a screen of SAP B1 like A/R Invoice by the way that Parlati has mentioned :
    1. Open a blank AR Invoice (e.g. service or item type)
    2. Click on Menu >> Tools >> Print Layout Designer... or pen icon on toolbar
    3. With The Document Type selected - choose template and click on Set as Default
    But I usually use the Query Manager Tool of SAP B1 to create new queries and reports and I use the Print Layout Designer to setup the layout of these reports. These reports are printed normally via the print preview Icon of the toolbar. But now I would like to know how can I set one of these Reports as default in A/R Invoice screen of SAP. Because it's a one of my customized Invoices.
    Is there a way to do this?
    Thank you.
    Ben.

  • Functionality for Select and Save layout in a report output

    Hi,
    I had developed a report program containing several fields in the output and requires the Functionality for Select layout and Save layout in a report output.
    Please suggest.
    Thanks,
    Shariq.

    While calling the FM for List Display ( "REUSE_ALV_LIST_DISPLAY" or "REUSE_ALV_GRID_DISPLAY" ) set the Parameter I_SAVE for Setting the Layout and Selecting a different Layouts.
    The possible values for I_SAVE are "A", "U", "X" or others. Depending on the requiement you can set different values for the Parameter I_SAVE.
    ' ' = display variants cannot be saved
    Defined display variants (e.g. delivered display variants) can be selected for presentation independently of this flag.
    Changes can not be saved.
    'X' = standard save
    Display variants can be saved as standard display variants.
    User-specific saving is not possible.
    'U' = only user-specific saving
    The user can only save display variants user-specifically
    'A' = standard and user-specific saving
    The user can save a display variant user-specifically and
    as standard display variant. The user chooses in the display variant
    save popup.
    Reward points if helpful.

  • Layout to a Report run in the background

    For a standard SAP Report which is run in background everyday with a variant . How can I attach a layout ( i created for sort column )to the report ? I want the output of the report to be as per the Layout ...How can i assign the layout to the report ?

    Hi,
    By attaching a layout, if you mean that you want the output spool to be changed as per the new layout, then i dont think that it is possible directly.
    You have to copy the standard program and do the changes. Later on schedule this program in background with the variant.
    Best regards,
    Prashant
    PS : How have u created a layout with sort column. Have you copied the standard program ?

  • Web layout of jsp report

    Hi All:
    Please let me know how can i run web layout of jsp report and publish it as portlet?
    I have successfully deployed my jsp report(web layout),namely my_rpt.jsp, as a J2EE application and when i write URL direlctly in address bar of browser it runs successfully.
    I have also published (as portlet) successfully my_rpt.jsp, with "execute" type "servlet", and it runs paper layout of report.
    But i m unable to run the web layout of this report,with "execute" type "JSP"
    i have provided "Oracle Reports Web Gateway URL for JSP reports " = http://webserver.domain_name:port/
    Please help me out whats the problem and how can i run my jsp report with web layout?.One thing more its not the problem with only my_rpt.jsp
    but other reports also shows the same behaviour.
    Any suggestion/solution would be highly appreciated.
    Regards
    Sam

    Hi Sam,
    When you register a report with Portal, you can either register it to be run via servlet or as JSP. If you would like to run the same report via servlet as well as a JSP, you will have to register it twice with Portal.
    If you want to run the report as JSP, keep these steps in mind:
    1. While registering the report, select "Execute as JSP" in step 2 of the registration process.
    2. When you write the "Oracle Reports File Name", provide the virtual path to the JSP. As an example, suppose you have written the following as "Oracle Reports Web Gateway URL for JSP reports "
    http://webserver.domain_name:port/
    And suppose when you run the JSP report successfully outside of Portal, you use the following URL:
    http://webserver.domain_name:port/mycontext_root/my_rpt.jsp
    In this case, you will have to provide the following as the value for "Oracle Reports File Name"
    mycontext_root/my_rpt.jsp
    Notice that the file name is actually not just the file name, but it is qualified by the virtual path to the JSP report (where you have deployed the report).
    If you keep the above 2 steps in mind, you should be able to run the report as JSP from Portal.
    Navneet.

  • Web Layout different in Reports Builder to running in URL

    When I go to Run Web Layout for a report in the Oracle Reports Builder, the columns are formatted differently to when I run the report from a browser (ie. font is smaller and the columns seem to wrap when they seem to fit nicely when running Web Layout in the Reports Builder). In fact, it looks identical to what is shown in the 'paper layout' in the report editor.
    I have used 'desformat=htmlcss', so why does it look different? Can I make the browser version look like what is shown when running Web Layout in the Reports Builder? If so, how?
    Thanks
    Alison

    I am too facing the same problem for quite a long time and left it unresolved. So what i am doing for now is changing the font size and adjusting the paper layout manually.

  • Maintaining formats(layouts) on Crystal report with different database

    I was just needing some help maintaining the layout of a report but using a different database. The databases are very similar for example, a field for the database in use is line1xxxx what I wish to do is keep all the formating & point it line2xxxx database. Where line1 is the original Database & Line2 is the new database I wish to use. Both of these databases reside in the same folder its just that I need identical reports for both Line 1 & Line 2 & am trying to get away from duplicating all the work I did on the Line 1 report.
    Hopefully not too trivial for this forum.
    Thanks in advance.

    If you have same tables in both the databases then open the report and go to menu option in the report database-->set data source location and create new connection in the bottom window and select both existing connection from top window and new from bottom and click on update. Now the report points to the new database, so now use save as option to save the report with some other name so that you can have the old report with old connection and the new one with new connection.
    regards,
    Raghavendra.G

  • Default Page Layout in Standard Report Wizard - CRXI

    I have Crystal Reports XI.  When creating a new report I always want the page layout set to Legal Landscape.  Using the Standard Report Wizard always defaults to Letter Portrait.  I know how to change the layout once the report is generated, but I can find no way to make my settings the default.  I would like the Wizard to default to Legal Landscape.  Is there a way to change the default layout?

    Hi William,
    This needs to be set in printer settings :
    Go in Control PanelPrintersright click on default printergo in propertieshere you need to change the default values to Legal Landscape and click on apply and ok.
    Now when you create a new report it will take the above format as default.
    Thanks,
    Sastry

  • Copying user specific layout of standard report to some user ids.

    Hi ,
    I am using user specific layout of standard report in my customizing report for retrieving data from standard report.
    i want to copy this user specific layout of standard report to some end user user ids.
    if any body successfully solved this isseue previously, please help me to sort out this .
    Thanks & regards,
    Hari priya

    hi sadaram,
    Thanks for ur quick reply,
    I am using this user specific layout in my zreport for retrieving data from std report. i don't want this layout to be global for all users. i already created same layout in production also , but i want to copy this user specific layout to some of end users
    ( not all end users) with different user names.
    please suggest any solution to solve this issue..
    regards,
    Hari priya

  • Transport user specific layout of standard report from developer server to

    Hi ,
    I am using user specific layout of standard report in my customizing report for retrieving data from standard report.
    i want to transport this user specific layout of standard report from developer server (say client 400 ) to production server ( say client 100 ).
    Also i want to copy this layout for all end users ( different user names ) in production server.
    I tried to import user specific layout , it is possible only with in   the same server ( say developer server , but different clients , say 400 to 450).
    please help me to sort out this .
    Thanks & regards,
    Hari priya

    hi sadaram,
    Thanks for ur quick reply,
    I am using this user specific layout in my zreport for retrieving data from std report. i don't want this layout to be global for all users. i already created same layout in production also , but i want to copy this user specific layout to some of end users
    ( not all end users) with different user names.
    please suggest any solution to solve this issue..
    regards,
    Hari priya

  • Layout of MCTA Report

    Hi Gurus,
    How do we change the layout of MCTA Report, Currently when we run MCTA it is displaying in ABAP layout i think, Can we change that to SAP List Viewer, Can someone please throw some light on this on how to achieve this because some customers names are not being displayed completely.
    Thanks in Advance Gurus,
    Naga.

    Dear Friend,
    Increase the length of the Customer Name in LIS reports follow this:
    T-Code - MCTA - Click on the Button User Settings. The system would prompt your user name, select & proceed.
    Now click on the Parameters Button. Here you have options like:
    Key - for displaying only Customer code
    Description - for Displaying only Customer Name
    Key & Description - for Displaying both Customer Code & Name.
    Select the required option.
    Also there is a selection for Column widh:
    Character Column & Key figures column. Here you can increase the width as per your reuirement for display full Customer name.
    Hope this helps...
    Give points if useful...
    Thanks,
    Jignesh Mehta
    98700 10230

Maybe you are looking for

  • Error message when posting invoice : Day-end closing not defined

    Hi, In our training environment we migrated from FAGLFLEXT to FMGLFLEXT and activated fund management. Now when posting an invoice the system provides an error message: "FQ252 Day end closing not defined". There is no configuration related to F845 bu

  • Right aligning one item in a VerticalLayout container?

    Hi All, I've got a container with a VerticalLayout.  I want all of the items to be left-aligned, except for the first one, which I want to be right-aligned. Is there a way to make that first item right-aligned?  If this were HTML I might put float:ri

  • Windows 2003 R2 enterprise advances system property configuration values.

    Hello Experts, Please suggest the optimal configs for Windows system (Windows 2003 R2 enterprise) properties on the advanced tab: Virtual Memory Data Execution Protection (DEP) Processor Scheduling Memory Usage Thanks in Advance. Regards, Sonu

  • Search wildcard in Oracle forms

    Hi , I want to search in Oracle forms to values containing the % charachter. when using F11 and the % character Oracle returns all values, while I only want the query to returns the values containing the % character How can I do this. In SQL you can

  • ECC 6.0 Installation Pob

    hi to all, any body solve this prob and i will asign the points WARNING 2012-03-27 07:54:16 Execution of the command "D:\j2sdk1.4.2_17\bin\java.exe -classpath migmon.jar -showversion com.sap.inst.migmon.imp.ImportMonitor -dbType ORA -importDirs C:\sa