SAP ABAP Data Element DOKNR (Document number)
Hierarchy
SAP_ABA (Software Component) Cross-Application Component
   CA-DMS (Application Component) Document Management System
     BCV (Package) Document Management System
Basic Data
Data Element DOKNR
Short Description Document number  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type DOKNR    
Data Type CHAR   Character String 
Length 25    
Decimal Places 0    
Output Length 25    
Value Table DRAW    
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID CV1  
Default Component name DOCUMENT_NUMBER   
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Document 
Medium 15 Document 
Long 20 Document 
Heading Document 
Documentation

Definition

This number is the main part of the document key, which is used to identify the document.

Supplementary Documentation - DOKNR 0001

Procedure

Enter the number of the document whose data you want to copy to the new document you are creating.

Supplementary Documentation - DOKNR 0002

Procedure

When you Create a document:
You have two options for assigning the number.

  1. External number assignment:

  • You assign an alphanumeric key.

    The following special characters are not supported: "," and "&".

  • You assign a numeric key.
    Please note the number range defined in Customizing for the relevant document type.

  1. Internal number assignment.

  • If you do not enter a number or enter the special character "*", the system assigns a consecutive number from the defined number range when you save the document.

When you Change or Display a document:

If you do not know the exact document number, you can search for the document via matchcode selection. You need to enter either an object linked to the document or a character string from the document description.

Supplementary Documentation - DOKNR 0005

Procedure

If you do not know the document number, you have the following search options:

  • You search for the document number generically.
    To do this, enter the characters you know followed by the special character * .
  • You use matchcode selection.
    To do this, you need to enter either an SAP object linked to the document or a character string from the short text description.

Supplementary Documentation - DOKNR 0080

Use

Procedure

Examples

Dependencies

Documents are stored in the recipient list regardless of the document part or document version. This means that you only need to enter the document number and the document type.

Supplementary Documentation - DOKNR 1000

Use

Procedure

Examples

Dependencies

  • When searching for a document, you can enter the following character strings:

  • Special character "*"

    This special character masks a character string of any number of characters.

    You enter, for example: *208

    You receive this list as a result:

    • 02080000001
    • 10000000208
    • 20800000000
  • Special character "+"

    This special character masks a character (any character).

    You enter, for example: a+am

    You receive this list as a result:

    • adam
    • a1am_12
    • a_12_de

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