T161 SAP (Purchasing Document Types) Table details

Dictionary Type: Table
Description: Purchasing Document Types




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




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

T161 is a standard SAP Table which is used to store Purchasing Document Types data and is available within R/3 SAP systems depending on the version and release level.

The T161 table consists of various fields, each holding specific information or linking keys about Purchasing Document Types data available in SAP. These include BSTYP (Purchasing Document Category), BSART (Purchasing Document Type), BSAKZ (Control indicator for purchasing document type), PINCR (Item Number Interval).. 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: G - Customising table which is protected against SAP Update
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)

Text table = T161T


SAP T161 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
BSTYPPurchasing Document Category BSTYPCHAR1BSTYP
BSARTPurchasing Document Type ESARTCHAR4BSARTBSA
BSAKZControl indicator for purchasing document type BSAKZCHAR1BSAKZ
PINCRItem Number Interval PINCRNUMC5PINCR
NUMKINumber range in the case of internal number assignment NUMKICHAR2NUMKR
NUMKENumber range in the case of external number assignment NUMKECHAR2NUMKR
BREFNField Selection Key BREFNCHAR20T162BREFN
REFBAReference document type RFBSACHAR4T161BSART
ABVORPrepopulate Standard Release Order Quantity in Contract ABVORCHAR1ABVOR
STAFOUpdate group for statistics update STAFOCHAR6TMCBALPHASTAFOMCF
UPINCItem Number Interval for Subitems UPINCNUMC5PINCR
STAKODocument with time-dependent conditions STAKOCHAR1XFELD
PARGRPartner Determination Procedure PARGRCHAR4TVPGPARGR
NUMKANumber range in case of internal number assignment for ALE NUMKACHAR2NUMKR
HITYPHierarchy category: vendor hierarchy HITYP_LHCHAR1TLHITHITYP_LHHITYP_LH
LPHISIndicator for scheduling agreement release documentation LPHISCHAR1XFELD
GSFRGOverall release of purchase requisitions GSFRGCHAR1XFELD
VARIANTELayout TC_VARCHAR10CHAR10
SHENQOnly shared lock in case of contract release order SHENQCHAR1XFELD
KZALEDistributed contract (ALE) KZALECHAR1XFELD
ABGEBOTCompetitive bidding procedure using global percentage bids ABGEBOTCHAR1XFELD
KORNRCorrection of miscellaneous provisions KORNRCHAR1KORNR
UMLIFStock transfer: Take vendor data into account UMLIFCHAR1XFELD
KOETTContract with delivery schedule KOETTCHAR1XFELD
AR_OBJECTDocument type SAEOBJARTCHAR10TOADVSADC10_DVDOK
KOAKOContract allowed as release order against contract KOAKOCHAR1XFELD
OICSEGIQuantity schedule creation permitted OIA_CSEGICHAR1OIA_CSEGI
OIRFQREQPrecedence for RFQ or default requisition for TDP PO OIH_RFQREQCHAR1OIH_RFQREQ
WVVKZIndicator for Further Processing of Summarized Documents WVVKZCHAR1FLAG
XLOKZCross-System Transit XLOKZCHAR1XLOKZ
CP_AKTIVECommitment Plan is Active CP_ACTIVECHAR1CHAR1
CPTYPECategory of Commitment Plan CP_TYPECHAR1CHAR1
FLS_RSTOStore Return with Inbound and Outbound Delivery FLS_RSTOCHAR1XFELD
MSR_ACTIVEAdvanced Returns Management Active MSR_ACTIVECHAR1MSR_ACTIVE
RDP_PROFILERisk Distribution Plan Profile LOGTRM_RDP_PROFILECHAR8L2TC_RDP_PROFILELOGTRM_RDP_PROFILE
NUMKCNumber Range for SRM Central Contract NUMKCCHAR2NUMKR
.INCLU--AP 0
/SAPMP/CEACTFast Data Entry of Characteristics Is Active /SAPMP/CEACTCHAR1/SAPMP/CEACT
/SAPMP/PDACTActivate Inheritance /SAPMP/PDACTCHAR1/SAPMP/PDACT
/SAPMP/PPROTLog of Characteristic Value Inheritance /SAPMP/PPROTCHAR1/SAPMP/PPROT
/SAPMP/PUSERInheritance: Overwrite User Values /SAPMP/PUSERCHAR1/SAPMP/PUSER
/SAPMP/PAUSWInheritance of Characteristics Selection List /SAPMP/PAUSWCHAR1/SAPMP/PAUSW
/SAPMP/ATNAMCharacteristic name MILL_SE_ATNAM1CHAR30ATNAMFEAMERK
/SAPMP/GAUFGlobal/Local Group May Be Undone /SAPMP/GAUFCHAR1/SAPMP/GAUF
.INCLU--AP 0
TOLSLTolerance Key for Overdraw Tolerance METOLSLCHAR4TME_TOLSMETOLSL
.INCLU--AP 0
MILL_OMKZMill: Use reference characteristics in Purchasing MILL_MM_OMKZCHAR1XFELD

Key field Non-key field



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

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

SELECT SINGLE *
FROM T161
INTO CORRESPONDING FIELDS OF WA_T161
WHERE...

How to access SAP table T161

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