KAEP_PI SAP (Line Item Report Structure: More Posting Information) Structure details

Dictionary Type: Structure
Description: Line Item Report Structure: More Posting Information




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




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

KAEP_PI 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 "Line Item Report Structure: More Posting Information" 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_KAEP_PI TYPE KAEP_PI.

The KAEP_PI table consists of various fields, each holding specific information or linking keys about Line Item Report Structure: More Posting Information data available in SAP. These include BEKNZ (Debit/credit indicator), HRKFT (CO key subnumber), BUZEI (Posting row), ZLENR (Document Item Number).. 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)


SAP KAEP_PI 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
WRTTPValue Type CO_WRTTPCHAR2CO_WRTTP
BEKNZDebit/credit indicator BEKNZCHAR1BEKNZBEKNZ
HRKFTCO key subnumber CO_SUBKEYCHAR14Assigned to domainCO_SUBKEY
BUZEIPosting row CO_BUZEINUMC3BUZEI
ZLENRDocument Item Number DZLENRNUMC3NUM3
BW_REFBZPosting Row in Operative Version BW_REFBZNUMC3BUZEI
PERIOPeriod CO_PERIONUMC3PERBLVPE
MVFLGQuantity Complete/Incomplete CO_MVFLGCHAR1CO_MVFLG
MUVFLGQuantities Incomplete MUVXXCHAR1XFELD
BWAERCompany Code Currency BWAERCUKY5Assigned to domainWAERS
SGTXTSegment text CO_SGTXTCHAR50TEXT50
REFBZPosting row of reference document CO_REFBZNUMC3BUZEI
EBELNPurchasing Document Number EBELNCHAR10Assigned to domainALPHAEBELNBESMEKK_C
EBELPItem Number of Purchasing Document EBELPNUMC5Assigned to domainEBELPBSP
EBTXTPurchase Order Text From the Purchasing Document KAEP_EBTXTCHAR40TEXT40
ZEKKNSequential Number of Account Assignment DZEKKNNUMC2NUM02
BTRKLAmount Class for Value in Controlling Area Currency CO_BTRKLNUMC2NUMC2
BELTPDebit type BP_INOUTNUMC1BP_INOUT
REFBZ_FIPosting Item of FI Reference Document REFBZ_FINUMC3BUZEI

Key field Non-key field



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

As KAEP_PI 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 KAEP_PI as there is no data to select.

How to access SAP table KAEP_PI

Within an ECC or HANA version of SAP you can also view further information about KAEP_PI 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!