Guide

FICA : Contract Accounting - Basic Functions - Business Locks

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). Trans

In 30 seconds
What it is 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). Trans
Guide covers Misc SAP FI-CA / Business Locks

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).

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 V 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)

Related Tables

Table Name Description
TFK080B FI-CA Blocks: Blocking Types
TFK080C FI-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
DFKKLOCKS FI-CA: Business Locks
DFKKLOCKSH Business Lock Histories

Mass Activities

AKTYP

EVE_ITVL EVE_PARA 

TCODE 

LOCK 1742 1743 FKLOCK2

FI-CA Events (Exits - FQEVENTS)

Event

Short Description

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

DFKKLOCKS-LOTYP    Lock Object Category

Lock Category
Description
01 Document
02 Line Item
04 Account
05 Partners
06 Partner-Specific Account Data
07 Inbound Correspondence
20 Provider Contract
21 Insurance Policy
22 Partner data for insurance object
23 Master Agreement
41 Utility contract
51 Contract Object Type - Partner/Acct Rel.
  DFKKLOCKS-PROID Process Code
Lock Category
ProcessProce
DescriptionDescriD
02 01 Dunning
02 04 Calculate Interest
02 09 Posting/Clearing
02 10 Payments
05 02 Incoming payment
05 03 Outgoing Payment
06 01 Dunning
06 02 Incoming 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 07 Correspondence Dunning
20 12 Invoice (FI-CA)
41 01 Dunning
41 05 Invoicing
41 09  Posting/Clearing

Package

Package
Short Description
FKKLOCK Business Locks in FI-CA

Function Groups / Programs

Function Group
 Program
Short Description
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_CONTACC SAPLFKK_BOR_CONTACC BAPI: FI-CA Contract Account

Function Modules

 



Function Module



Short DescriptionShort Desc

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 class
Short Description
FKKLOCKS FI-CA: Processing Locks

Authorization Objects

Object
Short Description
F_KKLCK_BG FI-CA Processing Locks: Authorization Group
F_KK_LOCK FI-CA Processing Locks
F_KK_SOND FI-CA Special Functions040 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

Continue your trail

Knowledge completion

You now have the Misc SAP FI-CA context.

Save this guide, continue to the next concept or return to the Knowledge Library with your context intact.

Knowledge Area

Misc SAP FI-CA

52 resources in this area.

Payments 13 Documents & Postings 7 Dunning & Collections 7 Account Determination 3 Integration 3 Technical Reference 3 Clearing 2 Correspondence 2 Installment Plans & Deferrals 2 Archiving 1 Bank Integration 1 Business Locks 1 Events & Enhancements 1 Mass Activities 1 Master Data 1 Migration 1 Payment Lots 1 Returns 1 Security Deposits 1
sachin
sachin
SAP FI-CA · Misc SAP FI-CA

Practical SAP notes, structured for review, reuse and long-term maintenance.

View profile →
Knowledge, not noise
Get the next FI-CA / Utilities deep dive in your inbox.

Working on an FI-CA or IS-U implementation? I take on a limited number of advisory and architecture engagements.

Get in touch →
HomeKnowledgeInsightsAI LabToolsProfile