EKPR SAP (Transfer: MM Purchase Requisition) Structure details

Dictionary Type: Structure
Description: Transfer: MM Purchase Requisition




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




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

EKPR 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 "Transfer: MM Purchase Requisition" 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_EKPR TYPE EKPR.

The EKPR table consists of various fields, each holding specific information or linking keys about Transfer: MM Purchase Requisition data available in SAP. These include RFTYP (Reference Transaction), BANFN (Purchase Requisition Number), RFORG (Reference Organizational Units), RFSYS (Logical system of source document).. 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 EKPR 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 MANDTCLNT3T000MANDT
RFTYPReference Transaction AWTYPCHAR5Assigned to domainAWTYP
BANFNPurchase Requisition Number BANFNCHAR10ALPHABANFNBANMBAN_C
RFORGReference Organizational Units AWORGCHAR10AWORG
RFSYSLogical system of source document AWSYSCHAR10Assigned to domainALPHALOGSYS
BNFPOItem Number of Purchase Requisition BNFPONUMC5EBANBNFPOBAP
ZEBKNSerial number for PReq account assignment segment DZEBKNNUMC2ZEBKN
ERDATDate on Which Record Was Created ERDATDATS8DATUM
BSARTOrder Type (Purchasing) BSARTCHAR4Assigned to domainBSARTBSA
BSTYPPurchasing Document Category BSTYPCHAR1BSTYP
PSTYPItem Category in Purchasing Document PSTYPCHAR1Assigned to domainPSTYP
KZVBRConsumption Posting KZVBRCHAR1KZVBR
SOBKZSpecial Stock Indicator SOBKZCHAR1Assigned to domainSOBKZ
KNTYPCondition category (examples: tax, freight, price, cost) KNTYPCHAR1KNTYP
TWAERTransaction Currency TWAERCUKY5Assigned to domainWAERSFWS
PARGBTrading partner's business area PARGBCHAR4Assigned to domainGSBERGSB
BADATRequisition (Request) Date BADATDATS8DATUM
LFDATDelivery date LFDATDATS8DATUM
KOKRSControlling Area KOKRSCHAR4Assigned to domainCACCDCAC
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
GSBERBusiness Area GSBERCHAR4Assigned to domainGSBERGSB
SAKTOG/L Account Number SAKNRCHAR10Assigned to domainALPHASAKNRSAKC_SAKNR
VRGNGCO Business Transaction CO_VORGANGCHAR4Assigned to domainJ_VORGANG
HRKFTOrigin Group as Subdivision of Cost Element HRKFTCHAR4Assigned to domainHRKFT
KOSTLCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
PS_PSP_PNRWork Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8Assigned to domainKONPRPS_POSNR
NPLNRNetwork Number for Account Assignment NPLNRCHAR12Assigned to domainALPHAAUFNRNET
AUFPLRouting number of operations in the order CO_AUFPLNUMC10AUFPL
APLZLInternal counter CIM_COUNTNUMC8CIM_COUNT
VBELNSales and Distribution Document Number VBELNCHAR10Assigned to domainALPHAVBELNAUN
VBELPSales Document Item POSNR_VANUMC6Assigned to domainPOSNRAPO
ANLN1Main Asset Number ANLN1CHAR12Assigned to domainALPHAANLN1AN1
ANLN2Asset Subnumber ANLN2CHAR4Assigned to domainALPHAANLN2AN2
IMKEYInternal Key for Real Estate Object IMKEYCHAR8IMKEY
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
MATKLMaterial Group MATKLCHAR9Assigned to domainMATKLMKLS_WBWG
TXZ01Short Text TXZ01CHAR40TEXT40
MEINSPurchase Requisition Unit of Measure BAMEIUNIT3Assigned to domainCUNITMEINS
MENGEPurchase Requisition Quantity BAMNGQUAN13(3) MENG13
BAWTWPurchase requisition value (transaction currency = TW) BAWTWCURR13(2) WERT7
BAWHWPurchase requisition value (local currency = LC) BAWHWCURR13(2) WERT7
BSMNGPurchase Order Quantity BSTMGQUAN13(3) MENG13
BEWTWReal total value (purchase order currency = TC) BEWTWCURR13(2) WERT7
BEWHWReal total value (local currency = LC) BEWHWCURR13(2) WERT7
FIPOSCommitment Item FIPOSCHAR14Assigned to domainFIPOSFIP
GEBERFund BP_GEBERCHAR10Assigned to domainBP_GEBERFIC
FISTLFunds Center FISTLCHAR16Assigned to domainFISTLFIS
GRANT_NBRGrant GM_GRANT_NBRCHAR20ALPHAGM_GRANT_NBRGM_GRANT_NBRGRANTS_GENERIC
LOEKZDeletion Indicator in Purchasing Document ELOEKCHAR1ELOEK
EBAKZPurchase Requisition Closed EBAKZCHAR1XFELD
LIFNRDesired Vendor WLIEFCHAR10Assigned to domainALPHALIFNR
FLIEFFixed Vendor FLIEFCHAR10Assigned to domainALPHALIFNR
EKORGPurchasing Organization EKORGCHAR4Assigned to domainEKORGEKO
DABRZReference Date for Settlement DABRBEZDATS8DDAT
XBAPICheckbox XFELDCHAR1XFELD
CWHWOCost Commitments (Local Currency = LC) CWHWOCURR13(2) WERT7
CWTWOCost Commitments (Transaction Currency = TC) CWTWOCURR13(2) WERT7
FM_TRANS_DATEFM Transaction Date FM_TRANS_DATEDATS8DATUM
FM_TRANS_PERIPeriod CO_PERIONUMC3PERBLVPE
KBLNRDocument Number for Earmarked Funds KBLNRCHAR10Assigned to domainALPHAKBLNRKBL
KBLPOSEarmarked Funds: Document Item KBLPOSNUMC3Assigned to domainKBLPOSKBP
FKBERFunctional Area FKBERCHAR16Assigned to domainFKBERFBE
BWTARValuation Type BWTAR_DCHAR10Assigned to domainBWTARBWT
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
PACKNOPackage number PACKNONUMC10Assigned to domainPACKNO
INTROWInternal line number for limits INTROWNUMC10NUMC10
MAPNOMapping Field f. PACKNO, INTROW at Item Level for Commitment MAPNONUMC4NUMC4
MENGE_FPurchase Requisition Quantity Floating Point Number BAMNG_FFLTP16(16)
BSMNG_FPO Quantity Floating Point Number BSTMG_FFLTP16(16)
VRTKZDistribution indicator for multiple account assignment VRTKZCHAR1VRTKZ
BUDGET_PDFM: Budget Period FM_BUDGET_PERIODCHAR10Assigned to domainFM_BUDGET_PERIODBUDPER
MEASUREFunded Program FM_MEASURECHAR24Assigned to domainFM_MEASUREFM_MEASURE
FM_SPLITLine is Result of Account Assignment Distribution FMSP_SPLIT_RESULT_FLAGCHAR1FLAG

Key field Non-key field



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

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

How to access SAP table EKPR

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