SAP ABAP IMG Activity SIMG_SSR_0073 (Define aggregation procedure)
Hierarchy
IS-OIL (Software Component) IS-OIL
   IS-OIL-DS-SSR (Application Component) Service Station Retailing
     OIR (Package) SSR Service Station Retailing (master/overall)
IMG Activity
ID SIMG_SSR_0073 Define aggregation procedure  
Transaction Code S_SO5_65000644   (empty) 
Created on 19991019    
Customizing Attributes SIMG_SSR_0073   Define aggregation procedure 
Customizing Activity SIMG_SSR_0073   Define aggregation procedure 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SIMG_SSR_0073    

The aggregation procedure defines how source data selected for an invoicing or settlement run is divided into the documents that are to be created.

In a first step, you specify the key characteristics of each aggregation procedure. Characteristics include the invoicing type (SS/FC/CC) that is used to define mandatory fields in the aggregation procedure (see note below).

You can then do the following:

  • Use the header/ item indicator to specify how documents will be constructed and divided:
    • A new document will be produced for each different combination of the fields marked with the header indicator
    • Within each document a new line item will be created for each different combination of fields marked as item fields.
  • When a destination field is specified in the key but does not exist in the target communication structures, you use a BADI to specify how the field is to be filled. Such a field could be used to split documents depending on ranges of values. For example, the BADI could determine whether the a value is greater or less than a certain limit and depending on the result fill the field with a different entry.
  • Specify a method for filling the communication structures of gn_invoice_create. When the destination structure and field exist in the function interface of gn_invoice_create, you can use one of the following methods:
    • Transfer directly from a source table and field by using a fill BADI
    • Specify a constant that will be used in every instance.
  • Specify a transfer BADI that can be used to fill additional fields by performing a determination from the allocated value.
  • Define additional levels of aggregation as additional aggregation tables that can be filled within the program in a similar manner to the primary aggregation level. The additional aggregation tables are passed through the invoicing and settlement program and the functions it calls,and may be used as required. For example, they may be used to provide additional information within pricing, such as alternate base values forconditions, or as a basis for filling communication strucutres such as total payment card amounts in the billing document header.

    The additional aggregation tables are defined in a similar way to the primary table, with the exception that no method to transfer from the table is specified, as the method for extracting data will be specific to any area making use of the tables.

Example

Requirements

Standard settings

Recommendation

Activities

Further notes

Some fields within the aggregation procedure are mandatory. The names of required fields are set in the system table OIRIOBJDEF and depend on the aggregation type assigned to the aggregation procedure. These fields may not be deleted from the method and should not be altered as they are required by the program.

Within the program some fields in the communication structres are filled in a predefined manner.For example, the text associated with a material is determined from the mandatory field material (MATNR). If an alternative method is defined within the aggregation procedure, this will supercede the program method.

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 1   Mandatory activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG SIMG_SSR_0073 0 I400022112 Service Station Retailing 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
VC_OIRIAGDEF C - View cluster SM34  
History
Last changed by/on SAP  20030617 
SAP Release Created in