SAP ABAP Data Element /BEV3/CHA_FUBA (Function Mod. for Document Selection for Contract Statement)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   SD-SLS-PLL-OBS (Application Component) Remaining Beverage - Obsolete Objects
     /BEV3/CH (Package) Contract Handling
Basic Data
Data Element /BEV3/CHA_FUBA
Short Description Function Mod. for Document Selection for Contract Statement  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type FUNCNAME    
Data Type CHAR   Character String 
Length 30    
Decimal Places 0    
Output Length 30    
Value Table TFDIR    
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 FuncMod. 
Medium 15 Doc.Sel.Module 
Long 23 Doc.Selection Module 
Heading 30 Document Selection Module 
Documentation

Definition

Module for the document selection of the contract abstract

The module determines the document flow for the contract abstract. Only documents selected by this module can be output on the contract abstract.

The module selects all postings in FI allocated to a contract within the period under review together with the corresponding SD and CH documents. The basis is the contract to which the posting is assigned, i.e. not the triggering contract from the point of view of CH.

The delivery of the CH standard program includes the modules:

/BEV3/CHVVA_READ_DYN_BSEG   

All postings on the basis of the 'BSEG' table which have not yet appeared on previous documents are output until the To-Date inclusive.

/BEV3/CHVVA_READ_DYN_LEDGER   

All postings on the basis of the CH ledger which have not yet appeared on previous documents are output until the To-Date inclusive.

/BEV3/CHVVA_READ_FI_LEGDER   

All postings on the basis of the CH ledger between the From-Date and the To-Date inclusive are output.

/BEV3/CHVVA_READ_PER_BSEG   

All postings on the basis of the 'BSEG' table which are between the From-Date and the To-Date inclusive are output.

Using the parameters

AB_DATUM "From-Date

BIS_DATUM "To-Date

the system determines the document flow of all documents from the CH, SD and FI modules (see above) for a contract

YVWDNR "Contract Handling document number

over a specific period. The Document Flow table (reference structure /BEV3/CHA_BELEG) is used to determine the sequence and the item categories on the contract abstract.

In addition, the following tables are filled:

Table Reference structure

VV_LEDGER /BEV3/CHAVVLDGR

FI_BELEGE /BEV3/CHA_FIBLG

SD_BELEGE /BEV3/CHASDBLEG

VV_BELEGE /BEV3/CHAVVBLEG

BELEGFLUSS /BEV3/CHA_BELEG

Note

The module may be replaced by individually designed function modules, provided the interface is not modified.

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