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

FieldDescriptionData ElementCheck TableData TypeLength
MANDTClientMANDTT000CLNT3
KAPPLApplicationKAPPLT681ACHAR2
KSCHLCondition typeKSCHAT685CHAR4
BUKRSCompany CodeBUKRST001CHAR4
COMP_RECEIVINGCompany Code to Be BilledBUKRS_VFT001CHAR4
KOSTLCost CenterKOSTLCSKSCHAR10
ACTIVITY_TYPEActivity TypeLSTARCHAR6
SRV_COST_LEVELService Cost LevelFCO_SRV_COST_LEVELFCOC_SC_LEVELNUMC4
PERNRPersonnel NumberPERNR_DNUMC8
PS_PSP_PNRWork Breakdown Structure Element (WBS Element)PS_PSP_PNRPRPSNUMC8
KFRSTRelease StatusKFRSTCHAR1
DATBIValidity end date of the condition recordKODATBIDATS8
DATABValidity start date of the condition recordKODATABDATS8
KBSTATProcessing status for conditionsKBSTATT686ECHAR2
KNUMHNumber of the Condition RecordKNUMHCHAR10

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 NameFieldCardinalityCheck Table
A4AIBUKRS:T001
A4AICOMP_RECEIVING:T001
A4AIKAPPL:T681A
A4AIKBSTAT1: 1T686E
A4AIKOSTL:CSKS
A4AIKSCHL:T685
A4AIMANDT:T000
A4AIPS_PSP_PNR:PRPS
A4AISRV_COST_LEVEL:FCOC_SC_LEVEL

Other References