Skip to end of metadata
Go to start of metadata

Purpose  

There are time dependent FI-CA Business Locks being utilized to block single master data objects or single posting documents within certain FI-CA application processes (like payment, dunning, interest calculation).

There are different statuses of business locks: Active, expired and deleted locks.

Active Business Lock

A business lock is active when the lock to-date is not in the past and the lock is not deleted yet. In this case, the business lock is visible in the related lock reason, for instance under Interest Lock.

From technical point of view, the lock information is stored in database table DFKKLOCKS.

Expired Business Lock

For an expired business lock, the lock to-date (field TDATE) is in the past and the business lock is not visible under lock reason anymore. With the arrow key behind the lock reason, the lock detail view is displayed and there, it is possible to display the expired business locks with button 'Expired locks'.

The button 'Expired locks' is display only when there is at least one expired business lock!

The expired locks are still saved in database table DFKKLOCKS. With report RLOCKS_2_HIST it is possible to move the expired locks from table DFKKLOCKS to history table DFKKLOCKSH.

Deleted Business Lock

In the detail view with the arrow key behind the lock reason, it is possible to delete an active business lock by using the button 'Delete'.

The delete option is only visible when there is at least one active business lock. After the deletion the business lock is not active anymore. From technical point of view, the deletion process will directly move the lock information from database table DFKKLOCKS to DFKKLOCKSH.

Overview 

Transactions/Programs 

Master data locks can be set in transaction CAA1 and CAA2 for the contract accounts.

Master data locks can be set in BAPI_CTRACCONTRACTACCOUNT_CH1 for the contract accounts.

BAPI_CTRACCONTRACTACCOUNT_GD1 (BAPI: Read Detail Data for FI-CA Contract Account)  and BAPI_CTRACCONTRACTACCOUNT_GETD (BAPI: Read Detail Data for FI-CA Contract Account) can be used to read the business locks of a contract account.

A lock reason can be set in the document line item using transaction FPE1, FPE2..

Locks in the document line item can be set in BAPI_CTRACDOCUMENT_CREATE and BAPI_CTRACDOCUMENT_CHANGE.

Mass Transaction FKLOCK2 can be used to set processing locks.

Transaction FPLKDEL (program RFKKLOCKDEL) is used to delete locks set by FKLOCK2.

Transaction FPLKA  (program RFKKALCK) creates a list of processing lock entries.

Program RLOCKS_2_HIST set expired locks in the history.

Transaction FPSELPLOCK set locks corresponding to a preselection of data.

Customizing  

>Define Lock Reasons for Posting Locks

>Define Payment Lock Reasons

>Define Interest Lock Reasons

>Define Dunning Lock Reasons

 

TFK080F Lock Process for Business Locks    

 

PROID

APPLKC

LOCKR_TABNAME

LOCKR_SHLPNAME

PTEXT 

01

*

TFK047S

DFKKLOCKS_LOCKR_1

Dunning 

02

*

TFK008

DFKKLOCKS_LOCKR_4

Incoming payment 

03

*

TFK008

DFKKLOCKS_LOCKR_4

 Outgoing Payment

04 

 *

TFK056S 

DFKKLOCKS_LOCKR_2 

Calculate Interest 

05 

 *

TFK080R1 

DFKKLOCKS_LOCKR_3 

Invoicing 

06 

TFK080R2 

DFKKLOCKS_LOCKR_5 

Scheduling 

07 

 *

TFK080R3 

DFKKLOCKS_LOCKR_7 

Correspondence Dunning 

09 

 *

TFK000S 

DFKKLOCKS_LOCKR_9 

Posting/Clearing 

10 

 *

TFK008 

DFKKLOCKS_LOCKR_4 

Payments 

11 

 V

TFK047S 

DFKKLOCKS_LOCKR_1 

Dunning of Dependent Contracts 

12 

 *

TFK080R1 

DFKKLOCKS_LOCKR_3 

Invoice (FI-CA) 

Customizing TableDescription
TFK080BFI-CA Blocks: Blocking Types
TFK080CFI-CA Blocks: Blocked Processes
TFK080D FI-CA Locks - Check Hierarchy for Lock Types
TFK080F Lock Process for Business Locks 
TFK080R1 Lock Reasons for Invoicing 
TFK080R2 Lock Reasons for Scheduling 
TFK080R3 Lock Reasons for Correspondence Dunning 

TFK000S  

Posting Locks     

TFK047S 

Dunning block reasons    

TFK008 

Locking Reasons for Automatic Payment Transactions       

TFK056S  

Blocking Reasons for Interest Calculation    

Mass Activities

TFK090A Mass Activity Types 

AKTYPEVE_ITVLEVE_PARA TCODE 
LOCK17421743FKLOCK2

FI-CA Events

EventShort Description
0375Locks According to Preselection: Read Valid Combinations 
0376Locks According to Preselection: Process Locks
0661Payment: Set Check Date for Existence of Locks  
1742Mass Activity: Set Locks 
1743Mass Activity: Set Locks, Move Parameters 
1800Locks: Prepare Key of Locked Objects
1801Locks: Locks Set, Deleted, Changed
1802Lock: Change of Default Values When Creating
1804Processing Locks: Plausibility Checks 
1805Processing Locks:Determine Contract Lock Object fm Mast.Data 
1806 Processing Locks: Determine Contract fm Contract Lock Object 
9570 Set Mass Locks 

Further technical information 

Tables

TableShort Description
DFKKLOCKS FI-CA: Business Locks     
DFKKLOCKSH Business Lock Histories   

 DFKKLOCKS-LOTYP    Lock Object Category

Lock CategoryDescription
01Document
02Line Item
04Account
05 Partners 
06Partner-Specific Account Data 
07Inbound Correspondence 
20 Provider Contract 
21 Insurance Policy 
22 Partner data for insurance object 
23 Master Agreement 
41 Utility contract 
51Contract Object Type - Partner/Acct Rel. 

  DFKKLOCKS-PROID Process Code

Lock CategoryProcessDescription
0201Dunning
0204Calculate Interest
0209Posting/Clearing
02 10 Payments 
05 02 Incoming payment 
05 03 Outgoing Payment 
0601 Dunning
06 02Incoming payment 
06 03 Outgoing Payment 
06 04 Calculate Interest 
06 05 Invoicing 
06 07  Correspondence Dunning
06 09  Posting/Clearing
06 12 Invoice (FI-CA) 
07 07Correspondence Dunning 
20 12 Invoice (FI-CA) 
41 01 Dunning 
41 05 Invoicing 
41 09  Posting/Clearing

Package

PackageShort Description
FKKLOCKBusiness Locks in FI-CA  

Function Groups / Programs 

FKKLOCKS1 SAPLFKKLOCKS1   Mass Activity for Setting Locks 
FKKLOCK_ARCHIVE SAPLFKKLOCK_ARCHIVE   Processing Locks: Archive Data 
FKKLOCK_CHECK SAPLFKKLOCK_CHECK  Processing Locks: Checks 
FKKLOCK_DATA SAPLFKKLOCK_DATA    Processing Locks: Delivers Data  
FKKLOCK_DB SAPLFKKLOCK_DB    Processing Locks: Database  
FKKLOCK_EXIT   SAPLFKKLOCK_EXIT    Processing Locks: Exits      
FKKLOCK_SEARCHHELP  SAPLFKKLOCK_SEARCHHELP Processing Locks: Search Helps       
FKKLOCK_SERVICE SAPLFKKLOCK_SERVICE Processing Locks: Service Modules  
FKK_GRP_SELPLOCK SAPLFKK_GRP_SELPLOCK  FGp "Locks According to Preselections"  
FKLOCK SAPLFKLOCK  Processing Locks  
FKLO_CUST SAPLFKLO_CUST  Processing Locks - Customizing 
FKK_BOR_CONTACCSAPLFKK_BOR_CONTACC BAPI: FI-CA Contract Account      
Function Group
 Program
Short Description 

Function Modules

 

Function Module

Short Description

FKK_SAMPLE_1742

Set Mass Locks: Mass Activity    

FKK_SAMPLE_1743 

Date Adjustment of Parameters for Mass   Locks     

FKK_SAMPLE_9570    

Mass Activity: Set Mass   Locks           

FKK_MASS_LOCK_SET    

Mass Activity: Set Mass Locks      

FKK_ARCHIVE_LOCKS_GET  

BWL-Sperren: Holen von Sperren, die aus Archiv stammen  

FKK_ARCHIVE_LOCKS_SET_OR_CLEAR 

Setzen bzw. Löschen von Sperren, die aus Archiv   stammen     

FKK_LOCKS_CHECK_AUTHORITY  

BWL-Sperren: Berechtigungsprüfung         

FKK_LOCKS_CHECK_AUTH_LOCKR   

BWL-Sperren: Berechtigungsprüfung eines Sperrgrunds   

FKK_LOCKS_CHECK_DATES  

BWL-Sperren: Prüfung des Datums       

FKK_LOCKS_GET_CUSTOMIZING  

Liefert Customizing zu BWL-Sperren    

FKK_LOCKS_GET_DATES_OF_LOCKR 

BWL-Sperren: Liefert Von- und Bis-Datum zum   Sperrgrund            

FKK_DB_LOCK_SELECT   

INTERN: Lesen von Sperrdaten von DB, Massenzugriff für   Reporting     

FKK_DB_LOCK_SINGLE   

INTERN: Lesen von Sperrdaten von der Datenbank (eine   Sperre)        

FKK_DB_LOCK_UPDATE     

INTERN: Speichern von Sperrdaten in der Datenbank (eine   Sperre)         

FKK_SAMPLE_1800      

Objektspezifische Aufbereitung des Schlüssels bei betriebswirt.   Sperren   

FKK_SAMPLE_1801     

Daten zu Sperren vor und nach der Änderung ausgeben   

FKK_SAMPLE_1802   

Processing Locks: Set Default Values for Creation of   Locks            

FKK_SAMPLE_1804   

Processing Locks: Plausibility   Check                 

FKK_SAMPLE_1805    

Processing Locks: Determine Contract Lock Object from Master   Data    

FKK_SAMPLE_1806  

Processing Locks: Determine Contract from Contract Lock   Object      

FKK_S_LOCKSET_DISP_ONE_PARTNER 

Anzeige aller Sperren zu einem   Partner         

FKK_S_LOCKSET_MAINTAIN   

Pflege einer Sperrmenge(Erzeugen & Ändern Objekt der Klasse   LOCKSET)   

FKK_S_LOCK_CREATE    

Erzeugen und Speichern einer Instanz der Klasse LOCK für   Batches       

FKK_S_LOCK_CREATE_FOR_DOCITEMS 

Anlegen einer BWL-Sperre zu Belegpositionen eines   Belegs            

FKK_S_LOCK_GET  

Selektion von Sperren im Einzel- und   Massenzugriff         

FKK_S_LOCK_GET_FOR_DOC_ITEMS   

Lesen von Sperren für Belegpositionen      

FKK_S_LOCK_GET_FOR_GPART_VKONT 

Lesen von Sperrdaten mit GPART- bzw.   VKONT-Informationen       

FKK_S_LOCK_MAINTAIN  

Ändern einer Sperre  (Erzeugen & Ändern einer Instanz der   Klasse Lock)   

FKK_MAINTAIN_LOCKS_0376  

Sperren gemäß Vorabselektion: Sperrobjekte ermitteln      

FKK_SAMPLE_0375   

Locks According to Preselection: Read Data from   Database         

FKK_SAMPLE_0376   

Locks According to Preselection: Determine Lock   Objects      

FKK_O_LOCKSET_MAINTAIN     

 Ändern einer Sperrmenge (einer Instanz der Klasse:   LOCKSET)  

FKK_O_LOCKSET_MAINTAIN_NO_DIAL 

Ändern einer Instanz der Klasse LOCKSET ohne   Dialog       

FKK_O_LOCKSET_OPEN   

INTERN: Erzeugen einer Instanz der Klasse   LOCKSET               

FKK_O_LOCK_OPEN  

INTERN: Erzeugen einer Instanz der Klasse   Lock          

FKK_O_LOCK_OPEN_MASS    INTERN: Erzeugen einer Menge von Instanzen der Klasse Lock       
FKK_O_LOCK_MAINTAIN  Ändern einer Sperre (einer Instanz der Klasse: Lock) 
FKK_O_LOCK_MAINTAIN_NO_DIALOGÄndern einer Sperre in der Klasse LOCK ohne Dialog   
FKK_O_LOCKSET_METHOD_SAVE   INTERN: Save-Methode für Instanz der Klasse: LOCKSET        
FKK_O_LOCK_METHOD_SET_LOOBJ  INTERN: Setzt nachträglich LOOBJ für die Klasse LOCK      

Message Class

Message classShort Description
FKKLOCKSFI-CA: Processing Locks

Authorization Objects

ObjectShort Description
F_KKLCK_BGFI-CA Processing Locks: Authorization Group
F_KK_LOCKFI-CA Processing Locks
F_KK_SONDFI-CA Special Functions

040 Process protected blocks 

 Archiving Objects

 

Object

Description

FI_FICA 

FI-CA: Contract Accounts   

FI_MKKCAVT 

FI-CA: Provider Contract   

FI_MKKCORR

FI-CA: Correspondence

FI_MKKDOC

FI-CA: Document

FI_MKKMDOC 

FI-CA: Sample Documents

FMCA_PSOB 

PSCD Contract Objects   

VVKK_INSOB 

Archiving of Insurance Objects   

Related Content

Related SAP Notes/KBAs  

SAP Note / KBA

Description
137525 Conv.locks of business processes on line item
2183908FI-CA: Flags BUT000-XBLCK, BUT000-NOT_RELEASED are not considered
2040385 Business locks in various business transactions are not reflected in different
2102995 CAA1: Creating a contract account with reference - business locks are not copie
1879641 Various FI-CA transactions: Dump MESSAGE_TYPE_X SAPLFKB0 >0 361 >0 428 / >0 361  
2044804 Interest processing doesn't consider interest locks
2035270 Business locks used as free selection in a mass activity not taken into account
1610519 Performance issues on table DFKKLOCKS - How to delete table entries?
2037246 FPY1: Zahlsperren und  SEPA Ausführungsdatum
1874685 Transaktion CAA2, INSOCHANGE: Zeitpunkt 1801 wird scheinbar nicht durchlaufen
1784804 FI/CA Transaction FMCACOV: No locks are displayed / Keine Anzeige von Sperren
1613407 Processing locks defaulted  01.01.0001 in 'Lock valid from' field during dunnin
1329286 FI-CA: unbeschränkte betriebsw. Sperre mit FDATE=01.01.0001
1403470 FI-CA: Ereignis 1802 ersetzt Werte v betriebsw. Sperre nicht
203655Logging changes in the case of business locks

 

Related WIKI

Payment Run

Dunning

Interest Calculation

Common Problems 

No change documents are created while changing business locks in a contract account

Locks are not reflected in table DFKKOP / FKKVKP

Lock start date populated to 01/01/0001 / event 1802

FICA Event 1801 is not called when changing or deleting lock

Performance issues on table DFKKLOCKS

Dump with MESSAGE_TYPE_X SAPLFKB0 >0 361 >0 428 / >0 361 FKKLOCKS 022

Usage of table DFKKLOCKSH

Usage of table DFKKCFCSLOCKS

Business locks used as free selection in a mass activity not taken into account  

FPE2M: Business locks are not displayed

 

 

  • No labels