SAP ABAP Data Element DZNRPROG (Program exit for document number)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CA-DMS (Application Component) Document Management System
     CV (Package) Application Development: R/3 Document Management
Basic Data
Data Element DZNRPROG
Short Description Program exit for document number  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type PROGNAME    
Data Type CHAR   Character String 
Length 40    
Decimal Places 0    
Output Length 40    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name PROGRAMEXIT   
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 NumEx. 
Medium 15 NumExit 
Long 20 Number exit 
Heading NumEx. 
Documentation

Definition

Program that controls number assignment and version numbering for documents.

Use

The program contains the following routines:

  • GET_NUMBER

    Controls document number assignment according to the predetermined number assignment.

  • VERSION_CHECK

    Controls version numbering if the version asssignment has the value "*" (USER-EXIT).

Procedure

If you want to use the standard program functions, enter the program MCDOKZNR.

The following are carried out independently of the document type:

  • allocation of a consecutive document number from the defined number range
  • determination of the version number according to the predetermined version number increment.
    Exception: version increment with the value "*". This value is provided for a USER-EXIT.

If you want to control the number assignment or the version increment via a USER-EXIT, then you have to replace the program MCDOKZNR with a company specific program.
You can find further information in "Define document type"

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