SAP ABAP Data Element SREGL (Selection Rule for Payment Advices)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM-ISA (Application Component) Internet Sales
     FBASCORE (Package) B2R: BAPI Structures
Basic Data
Data Element SREGL
Short Description Selection Rule for Payment Advices  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type SREGL    
Data Type CHAR   Character String 
Length 3    
Decimal Places 0    
Output Length 3    
Value Table T053A    
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Sel.rule 
Medium 15 Selection rule 
Long 20 Selection rule 
Heading SRu 
Documentation

Definition

A selection field which is to lead to the clear identification of the open item is determined from the various fields of the payment advice item (document number, billing document number, reference document number, ... ) according to the selection rule in each individual payment advice item.

The various options for determining a selection field from the item fields are called selection rules, proposed from the master record and entered in the payment advice header.

You define the selection rules and carry out the assignment of the fields in the configuration menu.

Example:

The selection rule '001' is defined as follows:

Priority    Ext. selection field    Int. selection field

1    Billing doc.number    Reference document number

2    Sales order number    Reference document number

3    Document number    Document number

If the payment advice item now contains the billing document number '12345', the system searches for an open item with reference document number '12345'.

If the billing document number is not filled and the sales order number '78912' is filled, the system searches for an open item with reference document number '78912'.

The first external selection field filled therefore determines the internal selection field.

If you do not specify a selection rule, the following default is valid:

Priority    Ext. selection field    Int. selection field

1    Document number    Document number

2    Billing doc.number    Billing document number

3    Reference doc.number    Reference document number

4    Reference key 1    Reference key 1

5    Reference key 2    Reference key 2

6    Assignment number    Assignment number

7    Amount    Amount

History
Last changed by/on SAP  19990223 
SAP Release Created in