SAP ABAP IMG Activity _ISUINPC_000013 (Define Sort Criteria for Bill Printout)
Hierarchy
IS-UT (Software Component) SAP Utilities/Telecommunication
   IS-U (Application Component) SAP Utilities
     EE80 (Package) IS-U: Customizing
IMG Activity
ID _ISUINPC_000013 Define Sort Criteria for Bill Printout  
Transaction Code S_KK4_74000901   IMG Activity: _ISUINPC_000013 
Created on 19990816    
Customizing Attributes _ISUINPC_000013   Define Sort Criteria for Bill Printout 
Customizing Activity _ISUINPC_000013   Define Sort Criteria for Bill Printout 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name _ISUINPC_000013    

Use

Groups together line items that are written by variants with the same presorting key into one block. The blocks are sorted according to their presorting keys and processed in invoicing by a function module.

In the function module, the billing line items can be sorted further. Each function module ends with the generation of a tax line.

Dependencies

If no tax lines are to be generated, you must set the NS indicator in invoicing Customizing, under Invoice print -> Defined sort criteria for invoice print.

In this IMG activity you define the sort criteria for your bill.

Presorting keys are used to sort the billing line items before printing. Billing line items with the same presorting indicator make up a block. These blocks are sorted in ascending order according to the presorting key. Each block is processed further using function modules.

When the function module is processed, a tax line item is generated. You must allocate the presorting keys to all the schema steps in the schema.

In the schema, at least one block must be used in which a subtotal is output. This is essential for bill printout. This means that in a schema, at least the presorting key with the highest value must include calculation of a tax line. In other words, you must use a presorting key for which the NS indicator (no subtotal) is not set.

Example

The following presorting keys have been defined:

  • 0001 No sorting
  • 0003 Sort by contract number

The entries in the schema are as follows:

CNo.     Rate     Variant     DLTy1         Srt1     DLTy2         Srt2

1     HH_HT     QUANTI01     0000001     0003     IQUANT     0001

2     HH_NT     QUANTI01     0000001     0003     IQUANT     0001

A portion with contracts 4711 and 4712 is billed. These contracts are allocated to a contract account. After billing, the billing documents are transferred (unsorted) to invoicing as follows:

DLTy.     Contr. Srt

IQUANT     4712     0001

0000001     4712     0003

IQUANT     4711     0001

0000001     4711     0003

This means that the print document and the bill are sorted as follows:

DLTy.     Contr. Srt

IQUANT     4712     0001

IQUANT     4711     0001

0000001     4711     0003

0000001     4712     0003

Block 0001 comes before block 0003. Block 0001 is unsorted. Block 0003 is sorted by contract number.

Requirements

Standard settings

Examples of function modules provided by SAP that are used for further processing of invoicing blocks can be found in the function group E21J.

Recommendation

Activities

  1. Define the bill structure required by your company.
  2. Check the standard settings. If necessary, create new sort criteria.

Further notes

You also have the option of creating your own function modules for sorting. These can then be integrated in the same way.

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 2   Optional 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 _ISUINPC_000013 0 I110004856 Invoice Processing 
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
V_TE530 V - View SM30 0000000000 Define Sort Criteria for Bill Printout 
History
Last changed by/on SAP  19990816 
SAP Release Created in