SAP Program RGUGLS12 - Actual Line Items for Table GLT1

Description
The program RGUGLS12 is a sample program for outputting actual lineitems for summary table GLT1. The program reads the data from the lineitem table GLS1 and prints a list of the most important fields.
The following interactive functions are supported in the list:
Sort, Find, Save in PC file, Document display, Print.
You can call up the program directly or connect it to a Report Writerreport via the report/report interface. In a report on summary data,you can, for example, display line items belonging to a certain row.
If you install your own FI-SL summary table with line items, a line itemreport is automatically generated by copying and adjustingRGUGLS12. You can also subsequently do this by executing programRGRGENSI.
Execute program RGRGENSI

List variants
You have the possibility of creating list variants for the line itemreports. A list variant determines which key figures andcharacteristics are to be displayed in the report columns. In addition,it also determines which fields are to be printed in the report header;subtotals are created from these fields.
You can indicate a list variant as the standard variant for each lineline item table. If you call up the report directly, this list variantis displayed as the default value. If the report is called up fromanother report (drill-down), this standard variant is used. You canalso call up other list variants in the report output without restartingthe report (menu "Lists").
If a line item report is created during table installation in the FI-SLsystem, a list variant 'STANDARD' is also automatically created.
You can call up list variant maintenance directly in the report output(menu "Extras") or via the transaction GRLV.
Maintain list variants

User exits
You have the possibility of enhancing the functionality of your lineitem report. The following exits are available for this purpose:

  • U01_SET_GUI

  • With this exit you can call up self-defined GUI statuses. In this case,copy the status LINEITEM from the program SAPLGRWG to a new status inthe new line item program and carry out the enhancements or changesyou want to make.
    • U02_SET_LINE_COLOR

    • Here you choose the color of the rows; for example, in order to displaycertain characteristics.
      • U03_WRITE_SPECIAL_FIELD

      • In the line item report, you can print additional fields that arederived from the current line item record.
        • U04_SPECIAL_FUNCTION

        • If you have defined your own GUI status, you can enter the processingof newly inserted functions here (compareU01_SET_GUI).
          • U05_SET_SPECIAL_FIELD_USAGE

          • Here you define the technical attributes of additional fields (compareU03_WRITE_SPECIAL_FIELD).
            • U06_ADDITIONAL_LEGEND

            • Here you can output additional information for the key.
              All exits are called up as subprograms in the line item program. Theprogram already contains examples for these exits.
              Please do not change the subprograms in the includes RGUGLSEV andRGUGLSNN. Theses includes are used by all line item programs in theFI-SL system.