EKPA SAP (Partner Roles in Purchasing) Table details

Dictionary Type: Table
Description: Partner Roles in Purchasing




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




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

EKPA is a standard SAP Table which is used to store Partner Roles in Purchasing data and is available within R/3 SAP systems depending on the version and release level.

The EKPA table consists of various fields, each holding specific information or linking keys about Partner Roles in Purchasing data available in SAP. These include EBELN (Purchasing Document Number), EBELP (Item Number of Purchasing Document), EKORG (Purchasing Organization), LTSNR (Vendor Subrange).. 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)


SAP EKPA 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
MANDTClient MANDTCLNT3T000MANDT
EBELNPurchasing Document Number EBELNCHAR10EKKOALPHAEBELNBESMEKK_C
EBELPItem Number of Purchasing Document EBELPNUMC5EKPOEBELPBSP
EKORGPurchasing Organization EKORGCHAR4T024EEKORGEKO
LTSNRVendor Subrange LTSNRCHAR6WYT1LTSNR
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
PARVWPartner Function PARVWCHAR2TPARPARVWPARVWPAR
PARZAPartner counter PARZANUMC3PARZA
ERNAMName of Person who Created the Object ERNAMCHAR12USNAM
ERDATDate on Which Record Was Created ERDATDATS8DATUM
LIFN2Reference to other vendor LIFN2CHAR10LFA1ALPHALIFNR
DEFPADefault Partner DEFPACHAR1XFELD
HITYPHierarchy category: vendor hierarchy HITYP_LHCHAR1Assigned to domainHITYP_LHHITYP_LH
PARNRNumber of contact person PARNRNUMC10PARNRVPA
PERNRPersonnel Number PERNR_DNUMC8PERNRPER
PRFREIndicator: 'relev. to price determination (vend. hierarchy) PRFRE_LHCHAR1XFELD
BOLREIndicator: vendor subject to subseq. settlement accounting BOLRECHAR1XFELD
HISTUNRLevel number within hierarchy HISTUNRNUMC2NUM2

Key field Non-key field



How do I retrieve data from SAP table EKPA using ABAP code

The following ABAP code Example will allow you to do a basic selection on EKPA to SELECT all data from the table
DATA: WA_EKPA TYPE EKPA.

SELECT SINGLE *
FROM EKPA
INTO CORRESPONDING FIELDS OF WA_EKPA
WHERE...

How to access SAP table EKPA

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