SAP ABAP Function Module CACS_VERSION_HANDLING (FM for Automatic Versioning)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   ICM (Application Component) Incentive and Commission Management (ICM)
     CACSVERS (Package) ICM: Versioning
Basic Data
Function Module CACS_VERSION_HANDLING FM for Automatic Versioning  
Function Group CACS_VERS   Function Group for Period Management  
Program Name SAPLCACS_VERS    
INCLUDE Name LCACS_VERSU02    
Parameters
Type Parameter Name Typing Associated Type Default value Optional Pass Value Short text
Exporting E_DEACTIVATE TYPE I Invalid version (double click)
Exporting E_OBJ_BEGIN TYPE CACSTIMESTAMP Object start date when i_selection = 6
Exporting E_OBJ_END TYPE CACSTIMESTAMP Object end date when i_selection = 6
Importing I_SELECTION TYPE CACS_VERHAND_METH Executed operation
Importing I_BEGIN TYPE CACSTIMESTAMP Effective start
Importing I_END TYPE CACSTIMESTAMP Effective end (see long text)
Importing I_TABNAM TYPE TABNAM Table name of the table for which version is to be created
Importing I_VIEWNAM TYPE TABNAM View Name for CUSTOMIZING
Importing I_WHEN TYPE CACSTIMESTAMP Technical Time-Spot
Importing I_ACTIVE TYPE CACS_FLAG_ACTIV 1 Flag: active or inactive? (See long text)
Importing I_CONT TYPE C ' ' Flag: Should effective end date be used? (See long text)
Importing I_MEMORY TYPE I 0 Processing in internal table (transfer to CACS_TABLE_BODY)
Importing I_STRUCTURE TYPE Key for record to be processed without version
Tables CACS_BACK TYPE   Results of version handling (without internal memory)
Tables CACS_OPTION TYPE   Table with values for insert or update
Tables CACS_TABLE_BODY TYPE   Results of version creation (with internal memory)
Tables CACS_ERG TYPE   Internal Use Only
Exception OBJ_ALREADY_EXIST TYPE Object to be created already exists
Exception STRUC_NOT_READ TYPE Error while reading transferred structure
Exception NO_ACT_VERSION TYPE No active version exists for transferred partial key
Exception BEGIN_DATE_MISSED TYPE The effective start date must be specified
Exception NO_ACT_VERSION_TO_THIS_TIME TYPE No version found for transferred technical time-spot
Exception END_DATE_MISSED TYPE You must specify effective end date
Exception BEGIN_L_END TYPE The start date was after the end date
Exception END_S_BEGIN TYPE End date is before start date
Exception INVALID_INPUTDATA TYPE Input data contain entries with TR_FLAG = 'X'
Exception ASSIGN_ERROR TYPE An ASSIGN didn't work
               
Processing Type
Normal Function Module  
Remote-Enabled Module BaseXML supported
Update Module Start immediately
Immediate Start, No Restart
Start Delayed
Coll.run
JAVA Module Callable from ABAP  
Remote-Enabled JAVA Module  
Module Callable from JAVA  
History
Last changed by/on SAP  20020219 
SAP Release Created in