EKKN SAP (Account Assignment in Purchasing Document) Table details
Description: Account Assignment in Purchasing Document
Table field list including key, data, relationships and ABAP select examples
EKKN is a standard SAP Table which is used to store Account Assignment in Purchasing Document data and is available within R/3 SAP systems depending on the version and release level.
The EKKN table consists of various fields, each holding specific information or linking keys about Account Assignment in Purchasing Document data available in SAP. These include EBELN (Purchasing Document Number), EBELP (Item Number of Purchasing Document), ZEKKN (Sequential Number of Account Assignment), LOEKZ (Deletion Indicator: Purchasing Document Account Assignment).. 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: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP EKKN table 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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
EBELN | Purchasing Document Number | EBELN | CHAR | 10 | EKKO | ALPHA | EBELN | BES | MEKK_C |
EBELP | Item Number of Purchasing Document | EBELP | NUMC | 5 | EKPO | EBELP | BSP | ||
ZEKKN | Sequential Number of Account Assignment | DZEKKN | NUMC | 2 | NUM02 | ||||
LOEKZ | Deletion Indicator: Purchasing Document Account Assignment | KLOEK | CHAR | 1 | XFELD | ||||
AEDAT | Date on Which Record Was Created | ERDAT | DATS | 8 | DATUM | ||||
KFLAG | Change flag: Purchasing (currently not used) | EFLAG | CHAR | 1 | XFELD | ||||
MENGE | Quantity | MENGE_D | QUAN | 13(3) | MENG13 | ||||
VPROZ | Distribution Percentage in Case of Multiple Account Assgt | VPROZ | DEC | 3(1) | VPROZ | ||||
NETWR | Net Order Value in PO Currency | BWERT | CURR | 13(2) | WERT7 | ||||
SAKTO | G/L Account Number | SAKNR | CHAR | 10 | SKA1 | ALPHA | SAKNR | SAK | C_SAKNR |
GSBER | Business Area | GSBER | CHAR | 4 | TGSB | GSBER | GSB | ||
KOSTL | Cost Center | KOSTL | CHAR | 10 | CSKS | ALPHA | KOSTL | KOS | |
PROJN | Old: Project number : No longer used --> PS_POSNR | PROJN | CHAR | 16 | PROJN | ||||
VBELN | Sales and Distribution Document Number | VBELN_CO | CHAR | 10 | VBUK | ALPHA | VBELN | AUN | |
VBELP | Sales Document Item | POSNR_CO | NUMC | 6 | VBUP | POSNR | APO | ||
VETEN | Delivery Schedule Line Number | ETENR | NUMC | 4 | VBEP | ETENR | |||
KZBRB | Gross requirements indicator | KZBRB | CHAR | 1 | CHAR1 | ||||
ANLN1 | Main Asset Number | ANLN1 | CHAR | 12 | ANLH | ALPHA | ANLN1 | AN1 | |
ANLN2 | Asset Subnumber | ANLN2 | CHAR | 4 | ANLA | ALPHA | ANLN2 | AN2 | |
AUFNR | Order Number | AUFNR | CHAR | 12 | AUFK | ALPHA | AUFNR | ANR | |
WEMPF | Goods Recipient/Ship-To Party | WEMPF | CHAR | 12 | WEMPF | ||||
ABLAD | Unloading Point | ABLAD | CHAR | 25 | TEXT25 | ||||
KOKRS | Controlling Area | KOKRS | CHAR | 4 | TKA01 | CACCD | CAC | ||
XBKST | Posting to cost center? | XBKST | CHAR | 1 | XFELD | ||||
XBAUF | Post To Order | XBAUF | CHAR | 1 | XFELD | ||||
XBPRO | Post to project | XBPRO | CHAR | 1 | XFELD | ||||
EREKZ | Final Invoice Indicator | EREKZ | CHAR | 1 | XFELD | ||||
KSTRG | Cost Object | KSTRG | CHAR | 12 | Assigned to domain | KSTRG | KTR | ||
PAOBJNR | Profitability Segment Number (CO-PA) | RKEOBJNR | NUMC | 10 | RKEOBJNR | ||||
PRCTR | Profit Center | PRCTR | CHAR | 10 | Assigned to domain | ALPHA | PRCTR | PRC | PRCTR_EMPTY |
PS_PSP_PNR | Work Breakdown Structure Element (WBS Element) | PS_PSP_PNR | NUMC | 8 | PRPS | KONPR | PS_POSNR | ||
NPLNR | Network Number for Account Assignment | NPLNR | CHAR | 12 | AUFK | ALPHA | AUFNR | NET | |
AUFPL | Routing number of operations in the order | CO_AUFPL | NUMC | 10 | AUFPL | ||||
IMKEY | Internal Key for Real Estate Object | IMKEY | CHAR | 8 | IMKEY | ||||
APLZL | Internal counter | CIM_COUNT | NUMC | 8 | CIM_COUNT | ||||
VPTNR | Partner account number | JV_PART | CHAR | 10 | KNA1 | ALPHA | KUNNR | ||
FIPOS | Commitment Item | FIPOS | CHAR | 14 | FMFPO | FIPOS | FIP | ||
RECID | Recovery Indicator | JV_RECIND | CHAR | 2 | Assigned to domain | ALPHA | JV_RECIND | ||
FISTL | Funds Center | FISTL | CHAR | 16 | Assigned to domain | FISTL | FIS | ||
GEBER | Fund | BP_GEBER | CHAR | 10 | Assigned to domain | BP_GEBER | FIC | ||
FKBER | Functional Area | FKBER | CHAR | 16 | Assigned to domain | FKBER | FBE | ||
DABRZ | Reference Date for Settlement | DABRBEZ | DATS | 8 | DDAT | ||||
AUFPL_ORD | Routing number of operations in the order | CO_AUFPL | NUMC | 10 | AUFPL | ||||
APLZL_ORD | General counter for order | CO_APLZL | NUMC | 8 | Assigned to domain | CO_APLZL | |||
MWSKZ | Tax on sales/purchases code | MWSKZ | CHAR | 2 | Assigned to domain | MWSKZ | |||
TXJCD | Tax Jurisdiction | TXJCD | CHAR | 15 | Assigned to domain | TXJCD | TXJ | ||
NAVNW | Non-deductible input tax | NAVNW | CURR | 13(2) | WERT7 | ||||
KBLNR | Document Number for Earmarked Funds | KBLNR | CHAR | 10 | Assigned to domain | ALPHA | KBLNR | KBL | |
KBLPOS | Earmarked Funds: Document Item | KBLPOS | NUMC | 3 | Assigned to domain | KBLPOS | KBP | ||
LSTAR | Activity Type | LSTAR | CHAR | 6 | CSLA | LSTAR | LAR | LART_EMPTY | |
PRZNR | Business Process | CO_PRZNR | CHAR | 12 | CBPR | ALPHA | CO_PRZNR | KWP | |
GRANT_NBR | Grant | GM_GRANT_NBR | CHAR | 20 | ALPHA | GM_GRANT_NBR | GM_GRANT_NBR | GRANTS_GENERIC | |
BUDGET_PD | FM: Budget Period | FM_BUDGET_PERIOD | CHAR | 10 | Assigned to domain | FM_BUDGET_PERIOD | BUDPER | ||
FM_SPLIT_BATCH | Batch to group results from an PSM assignment distribution | FMSP_SPLIT_BATCH | NUMC | 3 | NUMC3 | ||||
FM_SPLIT_BEGRU | Authorization group for PSM account assignment distribution | FMSP_SPLIT_AUTG | CHAR | 4 | Assigned to domain | FMSP_SPLIT_AUTG | |||
AA_FINAL_IND | Final Account Assignment Indicator | AA_FINAL_IND | CHAR | 1 | XFELD | ||||
AA_FINAL_REASON | Final Account Assignment Reason Code | AA_FINAL_REASON | CHAR | 2 | T163RC | CHAR02 | |||
AA_FINAL_QTY | Final Account Assignment Quantity | AA_FINAL_QTY | QUAN | 13(3) | MENG13 | ||||
AA_FINAL_QTY_F | Final Account Assignment Quantity (Floating Point Number) | AA_FINAL_QTY_F | FLTP | 16(16) | |||||
MENGE_F | Quantity (Floating Point Number - Internal Field) | MENGE_F | FLTP | 16(16) | |||||
.INCLU--AP | 0 | ||||||||
EGRUP | Equity group | JV_EGROUP | CHAR | 3 | Assigned to domain | ALPHA | JV_EGROUP | GJE | |
VNAME | Joint Venture | JV_NAME | CHAR | 6 | Assigned to domain | ALPHA | JV_NAME | JVV | |
.INCLU--AP | 0 | ||||||||
TCOBJNR | Object number | J_OBJNR | CHAR | 22 | Assigned to domain | J_OBJNR | ONR | ||
DATEOFSERVICE | Date of Service | VVBEACTDATE | DATS | 8 | DATUM | ||||
NOTAXCORR | Do Not Consider Item in Input Tax Correction | VVREITNOTAXCORR | CHAR | 1 | BOOLE | ||||
DIFFOPTRATE | Real estate option rate | POPTSATZ | DEC | 9(6) | POPTSATZ | ||||
HASDIFFOPTRATE | Use Different Option Rate | VVREITUSEDIFFOPTRATE | CHAR | 1 | BOOLE |
Key field | Non-key field |
How do I retrieve data from SAP table EKKN using ABAP code
The following ABAP code Example will allow you to do a basic selection on EKKN to SELECT all data from the tableDATA: WA_EKKN TYPE EKKN.
SELECT SINGLE *
FROM EKKN
INTO CORRESPONDING FIELDS OF WA_EKKN
WHERE...
How to access SAP table EKKN
Within an ECC or HANA version of SAP you can also view further information about EKKN and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects