| # Report Layouts (ttadv3531m000) Use this session to display the layouts of a report. Via the Specific menu, you can: Edit a selected layout. Refer to Edit Layout... for details. Edit all layouts simultaneously. Refer to Edit All Layouts... for details. Copy layouts from another report. Refer to Copy from Other Layout... for details. You can start the report editor to display a specific layout by marking it. Language The language code of the report. When a user runs a session with a report, the report in his own language will be run. Package A set of related modules that implements a complete part of the functionality, for example, Enterprise Planning, Financials, or Warehouse Management. Packages are designed to function as independent as possible, to enable a customer to implement only particular packages. A package code consists of two characters. For example, tt is the code of the Tools package. Each package has a unique version structure, the VRC structure. VRC An upgrade of a package, for example, B61. Each change in the functionality of a package results in a new version. A version can contain several releases. VRC An update in a version. For example, 'B61 a', where 'B61' represents the version code, and the 'a' represents the release code. Each update results in a new release with a new release code. VRC A code that identifies a customized software package. For example, B61O_a_cus1, where 'B61O' represents the version, 'a' represents the release, and 'cus1' represents the customer extension of the customized software. Report The module to which the report belongs. Report The identification code of the report. A report is uniquely identified by the combination of package code, module code, report code and language. Layout The Layout type. Field Name The field name is only applicable for Before.field and After.field layouts. You can only specify fields, which are defined as a sorted input field in the Report Input Fields (ttadv3532m000) session. Before.field and After.field layouts will be printed when the value of the specified field changes. No. It is possible to define more than one layout per Layout/Fieldname combination. The layouts of the same Layout/Fieldname will be printed in the order of the sequence number of the layouts. There are two reasons to define more than 1 layout per Layout/Fieldname combination: The maximum size of a layout is 22 lines. If your layout should have more lines, you can make a second layout of the same type with a higher sequence number. If a particular layout must be printed under certain conditions and another layout under other conditions, you have to define more than one layout with different output conditions. Output Expression The output expression is an expression which is evaluated at runtime. The result is always true or false. The expression syntax is equal to the 3 GL syntax. At the moment a layout has to be printed, the system will evaluate the output condition of the layout. Only if the result at that moment is true, the layout is printed. Examples 1 Layout will always be printed 0 Layout will never be printed print.detail = 1 or print.detail = 2 Layout will be printed if variable print.detail is 1 or 2 strip$(tdsls041.cprj) <> "" Layout will be printed if field tdsls041.cprj is not empty Note If variables are used in the output expression, then those variables must be defined as input field for the report, specified in the Report Input Fields (ttadv3532m000) session. Edit Layout... Starts the Form/Report Editor (ttadvformedit) where you can view or edit the selected layout. You can only edit report layouts if the report belongs to your current package VRC. If the report belongs to another VRC, the report editor is started in display mode. Copy from Other Layout... Use this option to copy a layout from another report to a new layout in the current report. The Display Report Layout Data (ttadv3535s000) session is started, where you can find and select a layout of a different report. When you click OK in this session, the Report Layouts (ttadv3131s000) details session is started. Here you must specify the name of the new layout in the current report. Edit All Layouts... Starts the Form/Report Editor (ttadvformedit) where you can view or edit all layouts of the current report. This option is especially useful if you want to have an overview of the entire report structure, or if you want to move components from one layout to another. For example if you want to move a label from the header to a before.field. You can only edit layouts if the report belongs to your current package VRC. If the report belongs to another VRC, the report editor is started in display mode. |