SAP ABAP Data Element WZRE_REF_FIELD_FOR_DOC_FLOW (Document Flow Reference Field)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-AB (Application Component) Agency Business (Global Trade)
     WZRE_EXTERNAL_POSTING (Package) External posting via agency business
Basic Data
Data Element WZRE_REF_FIELD_FOR_DOC_FLOW
Short Description Document Flow Reference Field  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type FDNAME    
Data Type CHAR   Character String 
Length 30    
Decimal Places 0    
Output Length 30    
Value Table DD03L    
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 RefField 
Medium 20 Reference Field 
Long 35 Document Flow Reference Field 
Heading 20 Reference Field 
Documentation

Definition

Determines the source document item for the document flow.

Use

Agency documents are created via internal functions that take structures KOMLFPE (invoices) and KOMZRPE (settlement) as input for items. These structures contain the fields CONTRACT, REF_NUMBER, REF_NUMBER_2, WBELNV, and WBELN_V, in which the number of a predecessor document can be stored. A corresponding set of fields that stores the item number and type of the predecessor belongs to each one. Agency business allows the creation of a document flow from a predecessor item to an agency document item. To use this feature, a user has to decide which of the previously mentioned fields contains the starting point of the flow. The Document Flow Reference field allows the specification of this field. If nothing is specified, WBELNV is the default. To use this feature in the context of the posting engine, the following must be considered:

The posting engine always fills the document number of referenced sales order items or purchase order items in field WBELNV. This happens even if deliveries or good receipts are used as reference items. Then the system determines its predecessor order item and fills its number in field WBELNV. In this case, the number of the delivery or goods receipt is stored in field WBELN_V. The fields REF_NUMBER and REF_NUMBER_2 are filled with the external references. Therefore, without Business Add-In (BAdI) intervention and if no Document Flow Reference field is specified here, document flow is written from purchase order items or sales order items.

Dependencies

Example

History
Last changed by/on SAP  20130529 
SAP Release Created in 606