SAP ABAP Class CL_HRFPM_ACC_DOCUMENTS_CREATE (Creation of Accounting Documents)
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_ACC_DOCUMENTS_CREATE  
Short Description Creation of Accounting Documents    
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 20050502   SAP 
Last change 20070913   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_ACC_DOCUMENTS_CREATE has no interface implemented.
Friends
Class CL_HRFPM_ACC_DOCUMENTS_CREATE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_INSERT Constant Private Type reference (TYPE) HRFPM_DB_OPERATION 'I' HRFPM: DB Operations 20050512
2 C_MODULE_NAME Constant Private Type reference (TYPE) HRFPM_MODULE 'CD' Module Name 20050502
3 C_SELECT Constant Private Type reference (TYPE) HRFPM_DB_OPERATION 'S' HRFPM: DB Operations 20050512
4 C_UPDATE Constant Private Type reference (TYPE) HRFPM_DB_OPERATION 'U' HRFPM: DB Operations 20050512
5 DIFF_FILTER Instance attribute Private Type reference (TYPE) HRFPM_DI_FILTER BAdI Filter for Personnel Cost Savings 20061206
6 DOC_BUFFER Instance attribute Private Object reference (TYPE REF TO) CL_HRFPM_DOCUMENT_SERVICES Creation of Accounting Documents 20061208
7 EXC_2FC Instance attribute Private Object reference (TYPE REF TO) CX_HRFPM_2FC 20050502
8 EXC_ACC Instance attribute Private Object reference (TYPE REF TO) CX_HRFPM_ACC_POSTING HRFPM: Error During FM Document Creation 20061125
9 EXC_DB Instance attribute Public Object reference (TYPE REF TO) CX_HRFPM_DB_OPERATION 20050502
10 EXC_DB_OPERATION Instance attribute Private Object reference (TYPE REF TO) CX_HRFPM_DB_OPERATION 20050502
11 EXC_FM Instance attribute Public Object reference (TYPE REF TO) CX_HRFPM_FM_POSTING HRFPM: Error During FM Document Creation 20050502
12 EXC_FM_DOC Instance attribute Private Object reference (TYPE REF TO) CX_HRFPM_FM_DOC 20061123
13 EXC_FM_POSTING Instance attribute Private Object reference (TYPE REF TO) CX_HRFPM_FM_POSTING HRFPM: Error During FM Document Creation 20050502
14 EXC_FPM Instance attribute Private Object reference (TYPE REF TO) CX_HRFPM Exception Class for Module "Administrator" 20050502
15 EXC_NUMBER Instance attribute Private Object reference (TYPE REF TO) CX_HRFPM_NUMBER_RANGE 20050502
16 EXC_PCS Instance attribute Private Object reference (TYPE REF TO) CX_HRFPM_PCS_POSTING HRFPM: Error During FM Document Creation 20061208
17 EXIT_DIFF Instance attribute Private Object reference (TYPE REF TO) IF_EX_HRFPM_DIFFERENCE BAdI Interface IF_EX_HRFPM_DIFFERENCE 20061206
18 EXIT_DIFFERENCE Constant Public Type reference (TYPE) EXIT_DEF 'HRFPM_DIFFERENCE' Business Add-In Definition 20050502
19 G_NO_CHECKS Instance attribute Private Type reference (TYPE) FLAG General Flag 20050513
20 INIT Static Attribute Private Type reference (TYPE) FLAG General Flag 20050502
21 IT_HRFPM_FM_DOC_ERROR Instance attribute Private Type reference (TYPE) HRFPM_FM_DOC_HEADER_IT HRFPM: FM Documents 20050502
22 I_TRACE_ON Static Attribute Private Type reference (TYPE) FLAG General Flag 20050502
23 MSG_DUMMY Instance attribute Private Type reference (TYPE) STRING 20061123
24 RUNID Instance attribute Private Type reference (TYPE) HRFPM_RUNID ID of Commitment Run 20061206
25 TWOFC_MAN Instance attribute Private Object reference (TYPE REF TO) CL_HRFPM_2FC_MANAGER HRFPM: Two-Face-Commit Treatment 20061207
Methods
# Method Level Visibility Method type Description Created on
1 ADJUST_AMOUNT_FROM_BUFFER Instance method Private Method Reconciliation of Document Amount Against Buffer 20050502
2 BUILD_DOCUMENT Instance method Private Method Build document 20050502
3 CHECK_SINGLE_EXISTING_DOCUMENT Instance method Private Method Checks if a document exists 20070109
4 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20050517
5 CREATE_AND_CHECK_DOCUMENT Instance method Private Method Create documents 20070109
6 DETERMINE_DOC_DATE Instance method Private Method Determine Posting Date of Docuemnt 20050502
7 EXTEND_POSNR Instance method Private Method determine item number 20070109
8 GET_DOC_TYPE Instance method Private Method Determine Type of Document 20050502
9 INSERT_FM_DOC Instance method Private Method Update of FM Document Header 20070109
10 INSERT_FM_POS Instance method Private Method Update of FM Document Items 20070109
11 LINK_DOCUMENT Instance method Public Method Linking of Documents 20050502
12 POST_DOCUMENTS Instance method Public Method Posting of Documents 20070109
13 SHOW_TRACE Instance method Private Method Show Run Time in Statusbar 20050502
14 SINGLE_DOCUMENT_REDUCE Instance method Public Method Reduce Documents by Amount 20050512
15 SWITCH_OFF_CHECK Instance method Public Method Do not check documents individually 20070109
16 UPDATE_AND_CHECK_DOCUMENT Instance method Private Method Adjust Documents 20070109
Events
Class CL_HRFPM_ACC_DOCUMENTS_CREATE has no event.
Types
Class CL_HRFPM_ACC_DOCUMENTS_CREATE has no local type.
Method Signatures

Method ADJUST_AMOUNT_FROM_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_BETRG Call by reference Type reference (TYPE) BPREP_REQ_AMOUNT Bedarf 20050502
2 Importing IO_BUFFER_INSTANCE Call by reference Object reference (TYPE REF TO) CL_HRFPM_DOCUMENT_SERVICES Mittelvormerkungstyp 20070109
3 Importing I_BELNR Call by reference Type reference (TYPE) HRFPM_FPM_DOCNR Bedarf 20050502
4 Importing I_ENC_TYPE Call by reference Type reference (TYPE) HRFPM_ENC_TYPE Belegnummer des PBC-Belegs 20050502

Method ADJUST_AMOUNT_FROM_BUFFER on class CL_HRFPM_ACC_DOCUMENTS_CREATE has no exception.

Method BUILD_DOCUMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_DATE Call by reference Type reference (TYPE) SYDATUM HRFPM: FM Belege - Positionen 20070109
2 Importing P_POS Call by reference Type reference (TYPE) HRFPM_FM_DOC_POS HRFPM: Kontierungsobjekte für Obligo im Rechnungswesen 20050502
3 Exporting P_POSITION Call by reference Type reference (TYPE) HRFPM_ACC_IF HRFPM: Kontierungsobjekte für Obligo im Rechnungswesen 20050502
# Exception Resumable Description Created on
1 NO_LOGICAL_SYSTEM 20050502

Method CHECK_SINGLE_EXISTING_DOCUMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing P_POS Call by reference Type reference (TYPE) HRFPM_FPM_DELTA_DOC_POS HRFPM: FPM Belege - Positionen 20070109
# Exception Resumable Description Created on
1 NO_DOCUMENT_FOUND 20070109

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_DOC_BUFFER Call by reference Object reference (TYPE REF TO) CL_HRFPM_DOCUMENT_SERVICES Anlegen der Rechnungswesenbelege 20061208
2 Importing I_RUNID Call by reference Type reference (TYPE) HRFPM_RUNID Identifikation eines Obligolaufs 20061208
3 Importing NO_CHECK Call by reference Type reference (TYPE) FLAG allgemeines flag 20050517

Method CONSTRUCTOR on class CL_HRFPM_ACC_DOCUMENTS_CREATE has no exception.

Method CREATE_AND_CHECK_DOCUMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_BUFFER_INSTANCE Call by reference Object reference (TYPE REF TO) CL_HRFPM_DOCUMENT_SERVICES Anlegen der Rechnungswesenbelege 20070109
2 Exporting PT_ADD_POSITIONS Call by reference Type reference (TYPE) HRFPM_ACC_IF_IT HRFPM: Tabellentyp zu HRFPM_ACC_IF 20070109
3 Exporting PT_FM_DOC Call by reference Type reference (TYPE) HRFPM_FM_DOC_HEADER_IT HRFPM: FPM Belege 20070109
4 Exporting PT_FM_POS Call by reference Type reference (TYPE) HRFPM_FM_DOC_POS_IT HRFPM: FPM Belege - Positionen 20070109
5 Changing PT_POS Call by reference Type reference (TYPE) HRFPM_FPM_DELTA_DOC_POS_IT HRFPM: Delta FPM Belege - Positionen 20070109
6 Importing P_SALSA Call by reference Type reference (TYPE) FLAG allgemeines flag 20070109
# Exception Resumable Description Created on
1 CX_HRFPM_2FC 20070109
2 CX_HRFPM_DB_OPERATION 20070109
3 CX_HRFPM_FM_POSTING HRFPM: Fehler bei der FM-Belegerstellung 20070109
4 CX_HRFPM_NUMBER_RANGE 20070109

Method DETERMINE_DOC_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting C_DOCDATE Call by reference Type reference (TYPE) SYDATUM Aktuelles Datum des Applikationsservers 20050502
2 Importing P_POS Call by reference Type reference (TYPE) HRFPM_FPM_DELTA_DOC_POS HRFPM: FPM Belege - Positionen 20050502

Method DETERMINE_DOC_DATE on class CL_HRFPM_ACC_DOCUMENTS_CREATE has no exception.

Method EXTEND_POSNR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PT_POSITIONS Call by reference Type reference (TYPE) HRFPM_FM_DOC_POS_IT HRFPM: FPM Belege - Positionen 20070109
2 Changing P_POSITION Call by reference Type reference (TYPE) HRFPM_FM_POS HRFPM: FM Belege - Positionen 20070109

Method EXTEND_POSNR on class CL_HRFPM_ACC_DOCUMENTS_CREATE has no exception.

Method GET_DOC_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting P_DOC_TYPE Call by reference Type reference (TYPE) AWTYP Referenzvorgang 20050502
2 Importing P_ENC_TYPE Call by reference Type reference (TYPE) HRFPM_ENC_TYPE Mittelvormerkungstyp 20050502

Method GET_DOC_TYPE on class CL_HRFPM_ACC_DOCUMENTS_CREATE has no exception.

Method INSERT_FM_DOC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PT_HRFPM_FM_DOC Call by reference Type reference (TYPE) HRFPM_FM_DOC_HEADER_IT HRFPM: FPM Belege 20070109
# Exception Resumable Description Created on
1 CX_HRFPM_DB_OPERATION 20070109

Method INSERT_FM_POS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PT_HRFPM_FM_POS Call by reference Type reference (TYPE) HRFPM_FM_DOC_POS_IT HRFPM: FPM Belege - Positionen 20070109
# Exception Resumable Description Created on
1 CX_HRFPM_DB_OPERATION 20070109

Method LINK_DOCUMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_BUFFER_INSTANCE Call by reference Object reference (TYPE REF TO) CL_HRFPM_DOCUMENT_SERVICES Anlegen der Rechnungswesenbelege 20070109
2 Changing PS_POS Call by reference Type reference (TYPE) HRFPM_FPM_DELTA_DOC_POS HRFPM: FPM Belege - Positionen 20050502
3 Exporting PT_ADD_POSITIONS Call by reference Type reference (TYPE) HRFPM_ACC_IF_IT HRFPM: Tabellentyp zu HRFPM_ACC_IF 20050502
4 Exporting PT_FM_DOC Value transfer Type reference (TYPE) HRFPM_FM_DOC_HEADER_IT HRFPM: FPM Belege 20050502
5 Exporting PT_FM_POS Value transfer Type reference (TYPE) HRFPM_FM_DOC_POS_IT HRFPM: FPM Belege - Positionen 20050502
6 Importing P_SALSA Call by reference Type reference (TYPE) FLAG allgemeines flag 20050502
# Exception Resumable Description Created on
1 CX_HRFPM_ACC_POSTING 20061208

Method POST_DOCUMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_BUFFER_INSTANCE Call by reference Object reference (TYPE REF TO) CL_HRFPM_DOCUMENT_SERVICES Anlegen der Rechnungswesenbelege 20070109
2 Importing IP_FLG_CHECK_ONLY Call by reference Type reference (TYPE) FLAG allgemeines flag 20070109
3 Importing IT_HRFPM_FM_POS Call by reference Type reference (TYPE) HRFPM_FM_DOC_POS_IT HRFPM: FPM Belege - Positionen 20070109
4 Importing I_HRFPM_FM_DOC Call by reference Type reference (TYPE) HRFPM_FM_DOC HRFPM: FM Belege 20070109
# Exception Resumable Description Created on
1 CX_HRFPM_2FC 20070109
2 CX_HRFPM_ACC_POSTING HRFPM: Fehler bei der FM-Belegerstellung 20070109
3 CX_HRFPM_DB_OPERATION 20070109

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 20050502
2 Importing P_TEXT1 Call by reference Type reference (TYPE) ANY 20050502
3 Importing P_TEXT2 Call by reference Type reference (TYPE) ANY 20050502
4 Importing START_TIME Call by reference Type reference (TYPE) SYUZEIT Aktuelle Uhrzeit des Applikationsservers 20050502

Method SHOW_TRACE on class CL_HRFPM_ACC_DOCUMENTS_CREATE has no exception.

Method SINGLE_DOCUMENT_REDUCE Signature

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

Method SWITCH_OFF_CHECK Signature

Method SWITCH_OFF_CHECK on class CL_HRFPM_ACC_DOCUMENTS_CREATE has no parameter.
Method SWITCH_OFF_CHECK on class CL_HRFPM_ACC_DOCUMENTS_CREATE has no exception.

Method UPDATE_AND_CHECK_DOCUMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_BUFFER_INSTANCE Call by reference Object reference (TYPE REF TO) CL_HRFPM_DOCUMENT_SERVICES Anlegen der Rechnungswesenbelege 20070109
2 Exporting PT_ADD_POSITIONS Call by reference Type reference (TYPE) HRFPM_ACC_IF_IT HRFPM: Tabellentyp zu HRFPM_ACC_IF 20070109
3 Exporting PT_FM_POS Call by reference Type reference (TYPE) HRFPM_FM_DOC_POS_IT HRFPM: FPM Belege - Positionen 20070109
4 Changing PT_POS Call by reference Type reference (TYPE) HRFPM_FPM_DELTA_DOC_POS_IT HRFPM: Delta FPM Belege - Positionen 20070109
5 Importing P_SALSA Call by reference Type reference (TYPE) FLAG allgemeines flag 20070109
# Exception Resumable Description Created on
1 CX_HRFPM_2FC 20070109
2 CX_HRFPM_DB_OPERATION 20070109
3 CX_HRFPM_FM_POSTING HRFPM: Fehler bei der FM-Belegerstellung 20070109
History
Last changed by/on SAP  20070913 
SAP Release Created in 600