SAP ABAP Class CL_HRFPM_CD_ACC_BUILD_DOCS (Creating Reference Documents, PCS Handling, Enh. AVC Checks)
Hierarchy
EA-HRGXX (Software Component) Sub component EA-HRGXX of EA-HR
   PA-PM-PB (Application Component) Position Budgeting and Control
     PAOC_FPM_COM_ENGINE (Package) Position Management: Commitment Creation
Properties
Class CL_HRFPM_CD_ACC_BUILD_DOCS  
Short Description Creating Reference Documents, PCS Handling, Enh. AVC Checks    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PAOC_FPM_COM_ENGINE   Position Management: Commitment Creation 
Created 20070111   SAP 
Last change 20071120   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_HRFPM_DB_INTERFACE Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_HRFPM_CD_ACC_BUILD_DOCS has no interface implemented.
Friends
Class CL_HRFPM_CD_ACC_BUILD_DOCS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 BUFFER Instance attribute Protected Object reference (TYPE REF TO) CL_HRFPM_CD_DOC_BUFFER Creation of Accounting Documents 20070111
2 C_INSERT Constant Protected Type reference (TYPE) HRFPM_DB_OPERATION 'I' HRFPM: DB Operations 20070111
3 C_MODULE_NAME Constant Protected Type reference (TYPE) HRFPM_MODULE 'CD' Module Name 20070111
4 C_SELECT Constant Protected Type reference (TYPE) HRFPM_DB_OPERATION 'S' HRFPM: DB Operations 20070111
5 C_UPDATE Constant Protected Type reference (TYPE) HRFPM_DB_OPERATION 'U' HRFPM: DB Operations 20070111
6 DIFF_FILTER Static Attribute Protected Type reference (TYPE) HRFPM_DI_FILTER BAdI Filter for Personnel Cost Savings 20070111
7 EXC_2FC Instance attribute Protected Object reference (TYPE REF TO) CX_HRFPM_2FC 20070111
8 EXC_ACC Instance attribute Protected Object reference (TYPE REF TO) CX_HRFPM_ACC_POSTING HRFPM: Error During FM Document Creation 20070111
9 EXC_DB Instance attribute Public Object reference (TYPE REF TO) CX_HRFPM_DB_OPERATION 20070111
10 EXC_DB_OPERATION Instance attribute Protected Object reference (TYPE REF TO) CX_HRFPM_DB_OPERATION 20070111
11 EXC_FM Instance attribute Public Object reference (TYPE REF TO) CX_HRFPM_FM_POSTING HRFPM: Error During FM Document Creation 20070111
12 EXC_FM_DOC Instance attribute Protected Object reference (TYPE REF TO) CX_HRFPM_FM_DOC 20070111
13 EXC_FM_POSTING Instance attribute Protected Object reference (TYPE REF TO) CX_HRFPM_FM_POSTING HRFPM: Error During FM Document Creation 20070111
14 EXC_FPM Instance attribute Protected Object reference (TYPE REF TO) CX_HRFPM Exception Class for Module "Administrator" 20070111
15 EXC_NUMBER Instance attribute Protected Object reference (TYPE REF TO) CX_HRFPM_NUMBER_RANGE 20070111
16 EXC_PCS Instance attribute Protected Object reference (TYPE REF TO) CX_HRFPM_PCS_POSTING HRFPM: Error During FM Document Creation 20070111
17 EXIT_DIFF Static Attribute Protected Object reference (TYPE REF TO) IF_EX_HRFPM_DIFFERENCE BAdI Interface IF_EX_HRFPM_DIFFERENCE 20070111
18 EXIT_DIFFERENCE Constant Protected Type reference (TYPE) EXIT_DEF 'HRFPM_DIFFERENCE' Business Add-In Definition 20070111
19 EXTENDED_AVC_CHECKS_ACTIVE Instance attribute Protected Type reference (TYPE) FLAG General Flag 20080126
20 INIT Static Attribute Protected Type reference (TYPE) FLAG General Flag 20070111
21 IT_HRFPM_FM_DOC_ERROR Instance attribute Protected Type reference (TYPE) HRFPM_FM_DOC_HEADER_IT HRFPM: FM Documents 20070111
22 I_TRACE_ON Static Attribute Protected Type reference (TYPE) FLAG General Flag 20070111
23 MSG_DUMMY Instance attribute Protected Type reference (TYPE) STRING 20070111
24 REG Instance attribute Protected Object reference (TYPE REF TO) CL_HRFPM_CD_REGISTRATOR Factory for Creating Update Records of PBC Documents 20070111
25 RUNID Instance attribute Protected Type reference (TYPE) HRFPM_RUNID ID of Commitment Run 20070111
26 UPDATE_LOGIC Instance attribute Protected Object reference (TYPE REF TO) CL_HRFPM_CD_UPDATE_LOGIC Factory for Creating Update Records of PBC Documents 20070111
27 _TWOFC_MAN Instance attribute Protected Object reference (TYPE REF TO) CL_HRFPM_2FC_MANAGER HRFPM: Two-Face-Commit Treatment 20070111
Methods
# Method Level Visibility Method type Description Created on
1 BUILD_DOCUMENT Instance method Protected Method Build document 20070111
2 BUILD_FM_DOC_DATA_FROM_DELTA Instance method Protected Method 20070209
3 BUILD_PCS_DOC Instance method Protected Method 20070111
4 CALL_EXIT Instance method Protected Method 20070312
5 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20070216
6 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20070111
7 CREATE_AND_CHECK_DOCUMENT Instance method Protected Method Create documents 20070111
8 CREATE_AND_CHECK_DOCUMENT_PCS Instance method Protected Method Create documents 20070111
9 EXTENDED_AVC_CHECKS Instance method Protected Method 20070111
10 FILL_DELTA_FIELDS Instance method Protected Method 20070606
11 LINK_DOCUMENT_BUFFERED Instance method Public Method Linking of Documents 20070111
12 LINK_DOCUMENT_PCS Instance method Public Method Linking of Documents 20070111
13 LINK_PCS_DOC_TO_DELTA Instance method Protected Method 20070111
14 POST_DOCUMENTS Instance method Public Method Posting of Documents 20070111
15 PUT_DOC_TO_BUFFER Instance method Protected Method Create documents 20070125
16 SET_AVC_CHECK_MODE_OFF Instance method Public Method No Enhanced AVC Checks 20080126
17 SET_AVC_CHECK_MODE_ON Instance method Public Method No Enhanced AVC Checks 20080126
18 SHOW_TRACE Instance method Protected Method Show Run Time in Statusbar 20070111
19 SINGLE_DOCUMENT_REDUCE Instance method Public Method Reduce Documents by Amount 20070111
20 UPDATE_AND_CHECK_DOCUMENT Instance method Protected Method Reconcile Documents NO AVC BUFFERING 20070111
21 UPDATE_AND_CHECK_DOCUMENT_PCS Instance method Protected Method Reconcile Documents NO AVC BUFFERING 20070111
Events
Class CL_HRFPM_CD_ACC_BUILD_DOCS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 ST_UPDATE_INFO Public See coding 20070605 BEGIN OF st_update_info, key_pos TYPE hrfpm_fm_doc_pos-key_pos, flg_update_status TYPE flag, END OF st_update_info
2 TT_UPDATE_INFO Public See coding 20070605 tt_update_info TYPE SORTED TABLE OF st_update_info WITH UNIQUE KEY key_pos
Method Signatures

Method BUILD_DOCUMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_POSITION_APP Call by reference Type reference (TYPE) HRFPM_ACC_IF_HR HRFPM: Kontierungsobjekte für Obligo im Rechnungswesen 20070605
2 Importing IS_POS Call by reference Type reference (TYPE) HRFPM_FM_DOC_POS HRFPM: FM Belege - Positionen 20070312
# Exception Resumable Description Created on
1 CX_HRFPM_ACC_POSTING HRFPM: Fehler bei der FM-Belegerstellung 20070615

Method BUILD_FM_DOC_DATA_FROM_DELTA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_FM_DOC Call by reference Type reference (TYPE) HRFPM_FM_DOC HRFPM: FM Belege 20070209
2 Exporting ET_FM_DOC_POS Call by reference Type reference (TYPE) HRFPM_FM_DOC_POS_IT HRFPM: FPM Belege - Positionen 20070209
3 Exporting E_COST_DUE_DATE Call by reference Type reference (TYPE) SYDATUM Aktuelles Datum des Applikationsservers 20090407
4 Exporting E_DOC_DATE Call by reference Type reference (TYPE) SYDATUM Aktuelles Datum des Applikationsservers 20070209
5 Importing IS_DELTA Call by reference Type reference (TYPE) HRFPM_FPM_DELTA_DOC_POS_STAT HRFPM: FPM Belege - Positionen 20070209
# Exception Resumable Description Created on
1 CX_HRFPM_ACC_POSTING 20070209

Method BUILD_PCS_DOC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_FM_DOC Call by reference Type reference (TYPE) HRFPM_FM_DOC HRFPM: FM Belege 20070308
2 Changing CS_FM_DOC_POS Call by reference Type reference (TYPE) HRFPM_FM_DOC_POS HRFPM: FM Belege - Positionen 20070111
3 Changing C_DOCDATE Call by reference Type reference (TYPE) SYDATUM Aktuelles Datum des Applikationsservers 20070308
4 Exporting ET_ADD_POSITIONS Call by reference Type reference (TYPE) HRFPM_ACC_IF_IT HRFPM: Tabellentyp zu HRFPM_ACC_IF 20070111
5 Importing IP_FLG_CREATE Call by reference Type reference (TYPE) FLAG allgemeines flag 20070111
6 Importing IS_FM_POS_DELTA Call by reference Type reference (TYPE) HRFPM_FPM_DELTA_DOC_POS_STAT HRFPM: FPM Belege - Positionen 20070111
# Exception Resumable Description Created on
1 CX_HRFPM_PCS_POSTING HRFPM: Fehler bei der FM-Belegerstellung 20070111

Method CALL_EXIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_POSITION Call by reference Type reference (TYPE) HRFPM_ACC_IF HRFPM: Kontierungsobjekte für Obligo im Rechnungswesen 20070312
2 Importing IS_POS Call by reference Type reference (TYPE) HRFPM_FM_DOC_POS HRFPM: FM Belege - Positionen 20070312

Method CALL_EXIT on class CL_HRFPM_CD_ACC_BUILD_DOCS has no exception.

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_HRFPM_CD_ACC_BUILD_DOCS has no parameter.
Method CLASS_CONSTRUCTOR on class CL_HRFPM_CD_ACC_BUILD_DOCS has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_RUNID Call by reference Type reference (TYPE) HRFPM_RUNID Identifikation eines Obligolaufs 20070111
2 Importing I_UPDATE_LOGIC Call by reference Object reference (TYPE REF TO) CL_HRFPM_CD_UPDATE_LOGIC Erzeugen der PBC-Belege, keine Verbuchung 20070111
3 Importing NO_CHECK Call by reference Type reference (TYPE) FLAG allgemeines flag 20070111

Method CONSTRUCTOR on class CL_HRFPM_CD_ACC_BUILD_DOCS has no exception.

Method CREATE_AND_CHECK_DOCUMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FM_DOC Call by reference Type reference (TYPE) HRFPM_FM_DOC_HEADER_IT HRFPM: FPM Belege 20070111
2 Exporting ET_FM_POS Call by reference Type reference (TYPE) HRFPM_FM_DOC_POS_IT HRFPM: FPM Belege - Positionen 20070111
3 Importing IT_DELTA_POS Call by reference Type reference (TYPE) HRFPM_FPM_DELTA_DOC_POS_STAT_T HRFPM: Delta FPM Belege - Positionen 20070111
# Exception Resumable Description Created on
1 CX_HRFPM_ACC_POSTING HRFPM: Fehler bei der FM-Belegerstellung 20070111

Method CREATE_AND_CHECK_DOCUMENT_PCS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ADD_POSITIONS Call by reference Type reference (TYPE) HRFPM_ACC_IF_IT HRFPM: Tabellentyp zu HRFPM_ACC_IF 20070111
2 Exporting ET_FM_DOC Call by reference Type reference (TYPE) HRFPM_FM_DOC_HEADER_IT HRFPM: FPM Belege 20070111
3 Exporting ET_FM_POS Call by reference Type reference (TYPE) HRFPM_FM_DOC_POS_IT HRFPM: FPM Belege - Positionen 20070111
4 Importing IT_DELTA_POS Call by reference Type reference (TYPE) HRFPM_FPM_DELTA_DOC_POS_IT HRFPM: Delta FPM Belege - Positionen 20070111
# Exception Resumable Description Created on
1 CX_HRFPM_ACC_POSTING HRFPM: Fehler bei der FM-Belegerstellung 20070111

Method EXTENDED_AVC_CHECKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_FM_DOC_POS Call by reference Type reference (TYPE) HRFPM_FM_DOC_POS HRFPM: FM Belege 20070111
2 Importing IP_FLG_NEW_DOC Call by reference Type reference (TYPE) FLAG SPACE allgemeines flag 20070111
3 Importing IS_FM_POS_DELTA Call by reference Type reference (TYPE) HRFPM_FPM_DELTA_DOC_POS_STAT HRFPM: FPM Belege - Positionen 20070111
# Exception Resumable Description Created on
1 CX_HRFPM_ACC_POSTING HRFPM: Fehler bei der FM-Belegerstellung 20070111

Method FILL_DELTA_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_POSITION_APP Call by reference Type reference (TYPE) HRFPM_ACC_IF_HR Übergabestruktur in HR 20070606
2 Importing IS_POS Call by reference Type reference (TYPE) HRFPM_FM_DOC_POS HRFPM: FM Belege - Positionen 20070606

Method FILL_DELTA_FIELDS on class CL_HRFPM_CD_ACC_BUILD_DOCS has no exception.

Method LINK_DOCUMENT_BUFFERED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_POS Call by reference Type reference (TYPE) HRFPM_FPM_DELTA_DOC_POS_STAT HRFPM: FPM Belege - Positionen 20070111
# Exception Resumable Description Created on
1 CX_HRFPM_ACC_POSTING 20070111

Method LINK_DOCUMENT_PCS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing PS_POS Call by reference Type reference (TYPE) HRFPM_FPM_DELTA_DOC_POS HRFPM: FPM Belege - Positionen 20070111
2 Exporting PT_ADD_POSITIONS Call by reference Type reference (TYPE) HRFPM_ACC_IF_IT HRFPM: Tabellentyp zu HRFPM_ACC_IF 20070111
3 Exporting PT_FM_DOC Call by reference Type reference (TYPE) HRFPM_FM_DOC_HEADER_IT HRFPM: FPM Belege 20070111
4 Exporting PT_FM_POS Call by reference Type reference (TYPE) HRFPM_FM_DOC_POS_IT HRFPM: FPM Belege - Positionen 20070111
# Exception Resumable Description Created on
1 CX_HRFPM_ACC_POSTING 20070111

Method LINK_PCS_DOC_TO_DELTA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DELTA_POS Call by reference Type reference (TYPE) HRFPM_FPM_DELTA_DOC_POS_STAT HRFPM: FPM Belege - Positionen 20070111
# Exception Resumable Description Created on
1 CX_HRFPM_ACC_POSTING Ausnahmenklasse für Modul 'Administrator' 20070111

Method POST_DOCUMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_UPDATE_INFO Call by reference Type reference (TYPE) TT_UPDATE_INFO 20070605
2 Importing IP_FLG_CHECK_ONLY Call by reference Type reference (TYPE) FLAG allgemeines flag 20070111
3 Importing IS_HRFPM_FM_POS Call by reference Type reference (TYPE) HRFPM_FM_DOC_POS HRFPM: FPM Belege - Positionen 20070619
4 Importing I_HRFPM_FM_DOC Call by reference Type reference (TYPE) HRFPM_FM_DOC HRFPM: FM Belege 20070111
# Exception Resumable Description Created on
1 CX_HRFPM_ACC_POSTING HRFPM: Fehler bei der FM-Belegerstellung 20070111
2 CX_HRFPM_DB_OPERATION 20070111

Method PUT_DOC_TO_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FM_DOC Call by reference Type reference (TYPE) HRFPM_FM_DOC_HEADER_IT HRFPM: FPM Belege 20070125
2 Exporting ET_FM_POS Call by reference Type reference (TYPE) HRFPM_FM_DOC_POS_IT HRFPM: FPM Belege - Positionen 20070125
3 Importing IT_DELTA_POS Call by reference Type reference (TYPE) HRFPM_FPM_DELTA_DOC_POS_STAT_T HRFPM: Delta FPM Belege - Positionen 20070125
# Exception Resumable Description Created on
1 CX_HRFPM_ACC_POSTING HRFPM: Fehler bei der FM-Belegerstellung 20070125

Method SET_AVC_CHECK_MODE_OFF Signature

Method SET_AVC_CHECK_MODE_OFF on class CL_HRFPM_CD_ACC_BUILD_DOCS has no parameter.
Method SET_AVC_CHECK_MODE_OFF on class CL_HRFPM_CD_ACC_BUILD_DOCS has no exception.

Method SET_AVC_CHECK_MODE_ON Signature

Method SET_AVC_CHECK_MODE_ON on class CL_HRFPM_CD_ACC_BUILD_DOCS has no parameter.
Method SET_AVC_CHECK_MODE_ON on class CL_HRFPM_CD_ACC_BUILD_DOCS has no exception.

Method SHOW_TRACE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing END_TIME Call by reference Type reference (TYPE) SYUZEIT Aktuelle Uhrzeit des Applikationsservers 20070111
2 Importing P_TEXT1 Call by reference Type reference (TYPE) ANY 20070111
3 Importing P_TEXT2 Call by reference Type reference (TYPE) ANY 20070111
4 Importing START_TIME Call by reference Type reference (TYPE) SYUZEIT Aktuelle Uhrzeit des Applikationsservers 20070111

Method SHOW_TRACE on class CL_HRFPM_CD_ACC_BUILD_DOCS has no exception.

Method SINGLE_DOCUMENT_REDUCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_BELNR Call by reference Type reference (TYPE) HRFPM_FPM_DOCNR Belegnummer des PBC-Belegs 20070111
2 Importing I_COMMIT Call by reference Type reference (TYPE) FLAG allgemeines flag 20070111
3 Importing I_DELTA_AMOUNT Call by reference Type reference (TYPE) HRFPM_FM_POS-BETRG Bedarf 20070111
4 Importing I_ENC_TYPE Call by reference Type reference (TYPE) HRFPM_ENC_TYPE Mittelvormerkungstyp 20070111
5 Importing I_FPM_POSNR Call by reference Type reference (TYPE) HRFPM_FPM_POSNR Positionsnummer innerhalb des PBC-Belegs 20070111
# Exception Resumable Description Created on
1 CX_HRFPM_DB_OPERATION 20070111

Method UPDATE_AND_CHECK_DOCUMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DELTA_POS Call by reference Type reference (TYPE) HRFPM_FPM_DELTA_DOC_POS_STAT_T HRFPM: Delta FPM Belege - Positionen 20070111
# Exception Resumable Description Created on
1 CX_HRFPM_ACC_POSTING HRFPM: Fehler bei der FM-Belegerstellung 20070111

Method UPDATE_AND_CHECK_DOCUMENT_PCS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ADD_POSITIONS Call by reference Type reference (TYPE) HRFPM_ACC_IF_IT HRFPM: Tabellentyp zu HRFPM_ACC_IF 20070111
2 Exporting ET_FM_POS Call by reference Type reference (TYPE) HRFPM_FM_DOC_POS_IT HRFPM: FPM Belege - Positionen 20070111
3 Importing IT_DELTA_POS Call by reference Type reference (TYPE) HRFPM_FPM_DELTA_DOC_POS_IT HRFPM: Delta FPM Belege - Positionen 20070111
# Exception Resumable Description Created on
1 CX_HRFPM_ACC_POSTING HRFPM: Fehler bei der FM-Belegerstellung 20070111
History
Last changed by/on SAP  20071120 
SAP Release Created in 700