# Insurance Policy Tracking, Accrual and Asset Matching

> A program that records insurance policies by line, type, insurer and insured object; spreads the prepaid premium over the policy term and posts the monthly expense automatically; and matches policies to the insured fixed assets to report assets without cover and upcoming renewals.

- Type: Program, Custom development, Background program
- Module: FI
- Estimated effort: L (10–15 working days)
- Last updated: 2026-11-18
- URL: https://nekuhub.com/en/programs/insurance-policy-tracking-accrual-and-asset-matching/


## Why is the standard not enough?

The asset master has fields for insurance type and insurer (ANLV), but policy number, term, premium installments and a policy covering several assets are not managed. Premium accrual can be set up as a recurring entry with FBD1, but each policy needs its own setup, amounts are corrected by hand on cancellation or endorsement, and which asset is insured by which policy cannot be seen in one list.

### Closest standard alternatives

- FBD1: Sets up a recurring entry for the premium; no policy register, endorsements or asset matching.
- AS03: Shows insurance data on one asset at a time; no list by policy.

## Tables used

| Table | Role | Access | Join | System |
|---|---|---|---|---|
| ANLA | Insured assets: class, description, capitalization date | Read | - | ECC + S/4 |
| ANLZ | Asset location and cost center (policy assignment) | Read | ANLZ-BUKRS = ANLA-BUKRS AND ANLZ-ANLN1 = ANLA-ANLN1 | ECC + S/4 |
| ANLC | Current cost (cover comparison) | Read | ANLC-BUKRS = ANLA-BUKRS AND ANLC-ANLN1 = ANLA-ANLN1 AND ANLC-AFABE = '01' | ECC + S/4 |
| ANLV | Insurance type and insurer fields on the asset | Read / write | ANLV-BUKRS = ANLA-BUKRS AND ANLV-ANLN1 = ANLA-ANLN1 | ECC + S/4 |
| LFA1 | Insurer and broker | Read | - | ECC + S/4 |
| BSIK | Insurer invoices (policy matching) | Read | BSIK-LIFNR = LFA1-LIFNR | ECC + S/4 |
| BKPF | Monthly premium expense postings (written through the BAPI) | Write | - | ECC + S/4 |
| CSKS | Expense cost center check | Read | - | ECC + S/4 |

## BAPIs and functions used

- BAPI_ACC_DOCUMENT_POST: Posts the monthly premium expense
- BAPI_TRANSACTION_COMMIT: Saves the posting
- BAPI_FIXEDASSET_CHANGE: Optionally updates the insurance fields on the asset
- SO_NEW_DOCUMENT_ATT_SEND_API1: Sends the renewal reminder

## Selection screen parameters

| Parameter | Description | Type | Reference field | Required |
|---|---|---|---|---|
| P_BUKRS | Company code | Single value | BKPF-BUKRS | Yes |
| P_MONAT | Accrual month | Single value | - | Yes |
| P_ACCR | Monthly premium accrual | Radio button | - | No |
| P_COVR | Coverage and renewal report | Radio button | - | No |
| S_ANLKL | Asset class (coverage report) | Range / multiple | ANLA-ANLKL | No |
| P_TEST | Test mode | Checkbox | - | No |

## Result list columns

| Column | Source |
|---|---|
| Policy number | Calculated: Number in the policy register |
| Line | Calculated: Fire, motor, cargo, liability etc. |
| Insurer | LFA1-NAME1 |
| End date | Calculated: Policy end date |
| Asset | ANLA-ANLN1 |
| Asset description | ANLA-TXT50 |
| Current cost | ANLC-KANSW |
| Monthly expense | Calculated: Premium × days in month / policy days |
| Remaining prepaid | Calculated: Premium − expensed so far |
| Status | Calculated: Covered, no policy, expired or due for renewal within 30 days |

## How does the program work?

1. On the policy screen the policy number, line (fire, motor, cargo, liability etc.), insurer (LFA1), broker, start and end date, premium amount, installments, expense account and cost center are entered; endorsements and cancellations are added as transactions linked to the policy.
2. The insurer's invoice is matched to the policy from vendor open items (BSIK); the premium is carried on the prepaid expense account.
3. The monthly run calculates the premium falling into the month on a daily basis for every active policy and moves it from prepaid expense to the expense account and cost center with BAPI_ACC_DOCUMENT_POST. On endorsement or cancellation the remaining amount is spread over the remaining term again.
4. Assets covered by a policy are assigned by asset number, asset class or location (ANLA, ANLZ). After assignment the insurance type and insurer fields in ANLV can optionally be updated.
5. The coverage report compares active assets (ANLA, current cost from ANLC) with the policy assignments and lists assets with no policy, an expired policy or a policy that expires within a month.
6. An email goes to the owner of policies whose renewal date is near. In S/4HANA asset values are read from ACDOCA; policy data stays in custom tables.

## Authorization objects

- F_BKPF_BUK: Posting authorization for the company code
- A_S_ANLKL: Asset display and insurance field change authorization

## Frequently asked questions

### If a policy covers hundreds of assets, must they be assigned one by one?

No. Assignment can also be made by asset class, location or cost center rule; new assets that match the rule are added to the policy automatically in the next run.

### Can the premium expense be split over several cost centers?

Yes. A list of cost centers and percentages can be defined per policy, or the expense can be split to the cost centers of the insured assets weighted by current cost.

---
Let us build this program for your system: https://nekuhub.com/en/request-a-quote/?report=fi-insurance-policy-tracking
