SAP ABAP Data Element STO_OPBEL (Document Number of Original Document (Only for Reversal))
Hierarchy
IS-UT (Software Component) SAP Utilities/Telecommunication
   IS-U-IN (Application Component) Invoicing
     EE21 (Package) IS-U: Invoicing
Basic Data
Data Element STO_OPBEL
Short Description Document Number of Original Document (Only for Reversal)  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type E_PRINTDOC    
Data Type CHAR   Character String 
Length 12    
Decimal Places 0    
Output Length 12    
Value Table ERDK    
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 OrigDocNo. 
Medium 15 Orig. Doc. No. 
Long 20 Original Doc. Number 
Heading 13 Original Doc. 
Documentation

Definition

If you reverse and then reinvoice a print document, this field contains a reference to the original document. You can use this information on the new bill, for example, in the text 'This bill replaces your bill number xxxxxx from xx/xx/xxxx'.

Print document (D1) is reversed. A reversal document (R1) is created by this reversal. The print document is reinvoiced. This then creates the document (D2), which contains reversal infomation - the document number and posting date of the original document (D1).

This information is not available in the reversal print document. In this case, the Rev. Doc. No. field contains a reference to the original document.

Document:

No. 1000 = D1

No. 9999 = R1

No. 1001 = D2 (with reference to no. 1000)

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