Ansicht
Dokumentation

Report Writer: Variation of the Selection With Improved Functionality ( RELNFI_GLX_RW_VARSEL )

Report Writer: Variation of the Selection With Improved Functionality ( RELNFI_GLX_RW_VARSEL )

General Material Data   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Short text

Report Writer: Variation of the Selection With Improved Functionality

Description

Function

With the variation of the selection, you can create a list for a report for every element in the hierarchy of a selection set. This function is activated by entering a variation area for the selection set when defining the report.

Example: If a report has a cost center set (cost center hierarchy) as a selection set, the report can be varied via all cost center groups and all individual cost centers of the set.

In the present release, a series of functions have been added to enable online navigation in the hierarchy. You have the possibility to set, among other things, an element by selecting it from a graphic display of the set hierarchy. The default settings within the report group are now also (locally) possible specific to the report.

Explanation

The summarization of the read data in the varied selection dimension is shifted to the output phase. Thus, there is the possibility to dismantle the selection conditions on sub-hierarchies of the selection set all the way down to single value level during the output phase.

You can display a list for every element from the hierarchy of the selection set online, providing it is within a predefined variation area.

When defining a report you specify the variation area via the To level, the From level and the single value indicator. You can also influence it via detail suppression in the set. If the single value indicator is set, the selection can be dismantled as far as the single value level; if it is not set, it can only be dismantled as far as the basic set level.

The selection set is processed in batch in hierarchical sequence and a list is printed for every hierarchy element in the variation area. If several dimensions are varied, all combinations between the dimensions are taken into consideration.

If several reports in the report group vary with regard to the same dimension, you have the choice between an online global and local default setting for every report. If you have activated the global default setting for some reports of the report group, then if you change the settings for one of these reports the default settings of the other reports are also changed. Through the global default setting, you can synchronously scroll through several reports in the report group. That is, when changing to another report, you find the same default setting there. This is of course only useful if all reports use the same selection set and the same variation area. If default setting is carried out locally, it does not affect the other reports in the report group.

You can freely set the selection condition within the specified variation area online. The default setting of the selection criteria is done via the menu item Navigate -> Data selection. Navigating is described below.

The following example should explain the function in more detail.

Example

Online functions

Functions for navigation are available online within the hierarchy. With them, a list can be requested for each element within the variation area. The functions can be accessed via the menu item Navigate -> Data selection ->

  • ->Selection...

    This function is required if
  • several dimensions are varied in a report,

  • several reports are contained in the report group, that are varied in the same dimensions or

  • a default setting is to be entered by keyboard.

In these three cases

  • the active dimension can be selected,

  • you can switch back and forth between local and global default settings

  • a further pop-up window can be called up for entering a set ID or a single value by selecting a dimension.

Further functions are available for navigation in the hierarchy of the active dimension:

  • ->Graphic selection...

    Selection of a new default setting from a graphic display of the set hierarchy.
  • ->Previous level

    Element of the previous level; for example, from cost center 110 to cost center group VERW.
  • ->Next level

    First element of the next lower level; for example, from cost center group VERTR to cost center 200
  • ->Left

    Previous element on same level; for example, from cost center 310 to cost center 300.
  • ->Right

    Next element on same level; for example, from cost center group VERTR to cost center group FERT.
  • ->Scroll -> First default setting

    First element in the variation area of the hierarchy; in the example: cost center group VERW.
  • ->Scroll -> Previous default setting

    Scrolling in hierarchical sequence; in the example: VERW, 100, 110, VERK ...
  • ->Scroll -> Next default setting

    Scrolling backwards in hierarchical sequence.
  • ->Scroll -> Last default setting

    Last element in the variation area of the hierarchy; in the example: cost center 310.

Navigation possibilities are indicated by arrows in the graphic display of the hierarchy.

In batch, nine lists are printed for the elements VERW, 100, 110, VERTR, 200, 210, FERT, 300 and 310.

The current default setting valid for the displayed or printed list can be displayed by using % variables in the report texts. The following variables are supported:

  • %-F or %
    Displays the source value or the name of the hierarchy node.
  • %-T
    Displays the To-value or the name of the hierarchy node.
  • %-FTEXT
    Displays the text for the source value or the text for the hierarchy node.
  • %-TTEXT
    Displays the text for the To-value or the text for the hierarchy node.

Where you must replace by the corresponding field name. In the above example, the field name is KOSTL and there are the variables %KOSTL, %KOSTL-F, %KOSTL-T, %KOSTL-FTEXT and %KOSTL-TTEXT for displaying the current default setting.

Furthermore, 2 new text variables have been defined:

  • %VARIND
    Index of the variation in the report; the index follows from a systematic numbering of the reports.
  • %VARINDS
    i.s, where i = Index of the variation in the report and s = current page number

Note: In case of more than one variation dimension, the index cannot be determined online, '*' is then printed. The index, however, is correctly determined in batch and for the output with printings.

Accrual

In addition to the variation of the selection, there is also the variation of a report group. The essential differences of the two functions are:

  • The default setting of the selection conditions can be changed online when varying the selection during the report display. Varying a report group is not possible interactively.
  • The selection conditions can be dismantled with the variation of the selection as far as the single value level. When varying a report group, this is only possible to the level above it.
  • The variation of the selection is possible only for the dimensions entered in the data selection of a report. The line structure, for example, cannot be varied. When varying a report group, this is possible by using a set variable in the line set.

Software/hardware requirements

none

Installation information

none

Effects on System Administration

none

Effects on Customizing

none

Changes in procedure

none

Dependent functions

none

Planning

none

Further notes

none






ABAP Short Reference   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 8845 Date: 20240520 Time: 235128     sap01-206 ( 143 ms )