KKOP SAP (Historical Balance Audit Trail: Sub-Ledger Account Items) Structure details

Dictionary Type: Structure
Description: Historical Balance Audit Trail: Sub-Ledger Account Items




ABAP Code to SELECT data from KKOP
Related tables to KKOP
Access table KKOP




Structure field list including key, data, relationships and ABAP select examples

KKOP is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Historical Balance Audit Trail: Sub-Ledger Account Items" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_KKOP TYPE KKOP.

The KKOP table consists of various fields, each holding specific information or linking keys about Historical Balance Audit Trail: Sub-Ledger Account Items data available in SAP. These include KOART (Account Type), BUKRS (Company Code), KONTO (Customer Numbers), GJAHR (Fiscal Year).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP KKOP structure fields - Full list of fields found in SAP data dictionary

Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
MANDTClient MANDTCLNT3Assigned to domainMANDT
KOARTAccount Type KOARTCHAR1KOART
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
KONTOCustomer Numbers KUNNRCHAR10Assigned to domainALPHAKUNNRKUNC_KUNNR
GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
GSBERBusiness Area GSBERCHAR4Assigned to domainGSBERGSB
SAARTRecord Type for Accumulated Balance Audit Trail SAARTCHAR1CHAR1
UMSKSSpecial G/L Transaction Type UMSKSCHAR1UMSKS
UMSATSpecial G/L Indicator UMSKZCHAR1Assigned to domainUMSKZ
BUPERPosting period in the form YYYYMM BUPERACCP6BUPER
BUDATPosting Date in the Document BUDATDATS8DATUM
BELNRAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
BUZEINumber of Line Item Within Accounting Document BUZEINUMC3BUZEIBUZ
HKONTGeneral Ledger Account HKONTCHAR10Assigned to domainALPHASAKNR
ALTKZFull audit trail:ID:Altern.acct no. filled with credit acct ALTKZCHAR1XFELD
ALTKTAccount Number in Group ALTKTCHAR10ALPHAALTKT
BLARTDocument Type BLARTCHAR2Assigned to domainBLARTBAR
BLDATDocument Date in Document BLDATDATS8DATUM
UMSKZSpecial G/L Indicator UMSKZCHAR1Assigned to domainUMSKZ
WAERSCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
XBLNRReference Document Number XBLNR1CHAR16XBLNR1
CPUDTDay On Which Accounting Document Was Entered CPUDTDATS8DATUM
USNAMUser name USNAMCHAR12Assigned to domainXUBNAMEUSR
STAKZIndicator. object is statistical STAKZCHAR1CHAR1
DBBLGRecurring Entry Document Number DBBLGCHAR10ALPHABELNR
BKTXTDocument Header Text BKTXTCHAR25TEXT25
XUMSWIndicator: Sales-related item ? XUMSWCHAR1XFELD
XOPVWIndicator: Open item management? XOPVWCHAR1XFELD
BSCHLPosting Key BSCHLCHAR2Assigned to domainBSCHL
SHKZGDebit/Credit Indicator SHKZGCHAR1SHKZG
BUZIDIdentification of the Line Item BUZIDCHAR1CHAR1
MWSKZTax on sales/purchases code MWSKZCHAR2Assigned to domainMWSKZ
FIPLSFinancial Budget Item FIPLSNUMC3FIPLS
DMBTRAmount in Local Currency DMBTRCURR13(2) WERT7
GSBE1Business Area GSBERCHAR4Assigned to domainGSBERGSB
WRBTRAmount in document currency WRBTRCURR13(2) WERT7
WSKTOCash discount amount in document currency WSKTOCURR13(2) WERT7
WMWSTTax amount in document currency WMWSTCURR13(2) WERT7
MWSHBTax on Sales/Purchases Amount in Foreign Curr. with +/- Sign MWSHBCURR13(2) WRTV7
ZUONRAssignment Number DZUONRCHAR18ZUONR
AUGBLDocument Number of the Clearing Document AUGBLCHAR10ALPHABELNR
AUGDTClearing Date AUGDTDATS8DATUM
AUGCPClearing Entry Date AUGCPDATS8DATUM
MSCHLDunning key MSCHLCHAR1Assigned to domainMSCHL
ZLSCHPayment Method DZLSCHCHAR1Assigned to domainZLSCH
NETDTDue Date for Net Payment NETDTDATS8DATUM
ZFBDTBaseline Date for Due Date Calculation DZFBDTDATS8DATUM
SKFBTAmount Eligible for Cash Discount in Document Currency SKFBTCURR13(2) WERT7
MWSTSTax Amount in Local Currency MWSTSCURR13(2) WERT7
MDSHBTax on Sales/Purchases amount in Local Curr. with +/- Sign MDSHBCURR13(2) WRTV7
SKNTOCash discount amount in local currency SKNTOCURR13(2) WERT7
HWBASTax Base Amount in Local Currency HWBASCURR13(2) WERT7
ZINKZExempted from interest calculation DZINKZCHAR2ZINKZ
VALUTValue date VALUTDATS8DATUM
FWBASTax Base Amount in Document Currency FWBASCURR13(2) WERT7
PERNRPersonnel Number PERNR_DNUMC8PERNRPER
ABPERSettlement period ABPER_RFACCP6BUPER
KOSTLCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
SGTXTItem Text SGTXTCHAR50TEXT50
GKARTOffsetting Account Type GKARTCHAR1GKART
GKONTOffsetting Account Number GKONTCHAR10ALPHAGKONTGKONT
VBUNDCompany ID of trading partner RASSCCHAR6Assigned to domainALPHARCOMPPGS
EGMLDReporting Country for Delivery of Goods within the EU EGMLD_BSEZCHAR3Assigned to domainLAND1
STCEGVAT Registration Number STCEGCHAR20STCEG
BVORGNumber of Cross-Company Code Posting Transaction BVORGCHAR16BVORG
XNEGPIndicator: Negative posting XNEGPCHAR1XFELD

Key field Non-key field



How do I retrieve data from SAP structure KKOP using ABAP code?

As KKOP is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on KKOP as there is no data to select.

How to access SAP table KKOP

Within an ECC or HANA version of SAP you can also view further information about KKOP and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!