SAP A4AI CoCode/CCodeBill/Cost Ctr/Acty Type/SC Level/Pers.No./WBS El Table
Overview
A4AI is a standard SAP S/4HANA table that stores CoCode/CCodeBill/Cost Ctr/Acty Type/SC Level/Pers.No./WBS El data. There are total 15 fields in the A4AI table. The following is a list of the fields that make up this table. Key fields are marked in blue.
The table A4AI belongs to Activity Types (CO-OM-ACT) module and is located in the package Management Accounting - Valuation (FINS_CO_VALUATION).
In addition, following links provide an overview of foreign key relationships, if any, that link A4AI to other SAP tables and standard CDS views available based on A4AI table in S/4HANA 2020.
Techincal Settings of A4AI
Below are technical details of the table A4AI
- Buffering switched on
- Full table is passed to buffer
- Storage type is Column Store
List of A4AI Fields
The following table gives you an overview of the fields available in A4AI
| Field | Description | Data Element | Check Table | Data Type | Length |
|---|---|---|---|---|---|
| MANDT | Client | MANDT | T000 | CLNT | 3 |
| KAPPL | Application | KAPPL | T681A | CHAR | 2 |
| KSCHL | Condition type | KSCHA | T685 | CHAR | 4 |
| BUKRS | Company Code | BUKRS | T001 | CHAR | 4 |
| COMP_RECEIVING | Company Code to Be Billed | BUKRS_VF | T001 | CHAR | 4 |
| KOSTL | Cost Center | KOSTL | CSKS | CHAR | 10 |
| ACTIVITY_TYPE | Activity Type | LSTAR | CHAR | 6 | |
| SRV_COST_LEVEL | Service Cost Level | FCO_SRV_COST_LEVEL | FCOC_SC_LEVEL | NUMC | 4 |
| PERNR | Personnel Number | PERNR_D | NUMC | 8 | |
| PS_PSP_PNR | Work Breakdown Structure Element (WBS Element) | PS_PSP_PNR | PRPS | NUMC | 8 |
| KFRST | Release Status | KFRST | CHAR | 1 | |
| DATBI | Validity end date of the condition record | KODATBI | DATS | 8 | |
| DATAB | Validity start date of the condition record | KODATAB | DATS | 8 | |
| KBSTAT | Processing status for conditions | KBSTAT | T686E | CHAR | 2 |
| KNUMH | Number of the Condition Record | KNUMH | CHAR | 10 |
Foreign Key Relationships
A foreign key field is a table field that is allocated to a check table and becomes part of the table's foreign key. The following table gives you an overview of the foreign keys for A4AI
| Table Name | Field | Cardinality | Check Table |
|---|---|---|---|
| A4AI | BUKRS | : | T001 |
| A4AI | COMP_RECEIVING | : | T001 |
| A4AI | KAPPL | : | T681A |
| A4AI | KBSTAT | 1: 1 | T686E |
| A4AI | KOSTL | : | CSKS |
| A4AI | KSCHL | : | T685 |
| A4AI | MANDT | : | T000 |
| A4AI | PS_PSP_PNR | : | PRPS |
| A4AI | SRV_COST_LEVEL | : | FCOC_SC_LEVEL |