T166P SAP (Item Texts in Purchasing Document Printouts) Table details

Dictionary Type: Table
Description: Item Texts in Purchasing Document Printouts




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




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

T166P is a standard SAP Table which is used to store Item Texts in Purchasing Document Printouts data and is available within R/3 SAP systems depending on the version and release level.

The T166P table consists of various fields, each holding specific information or linking keys about Item Texts in Purchasing Document Printouts data available in SAP. These include DRUVO (Indicator: Print Operation), BSTYP (Purchasing Document Category), BSART (Purchasing Document Type), PSTYP (Item Category in Purchasing 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: C - Customising table, maintenance only by cust
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified


SAP T166P 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
DRUVOIndicator: Print Operation DRUVOCHAR1DRUVO
BSTYPPurchasing Document Category BSTYPCHAR1BSTYP
BSARTPurchasing Document Type ESARTCHAR4T161BSARTBSA
PSTYPItem Category in Purchasing Document PSTYPCHAR1T163PSTYP
TDOBJECTTexts: Application Object TDOBJECTCHAR10TTXOBTDOBJECT
TDIDText ID TDIDCHAR4TTXIDTDID
DRFLGPrint Sequence (Order of Printing) DRFLGNUMC2NUM02
DRPRIPrinting Priority DRPRINUMC1NUM01
TXNAMName TDOBNAMECHAR70TDOBNAME
TITDRPrint Title of Text TITDRCHAR1XFELD

Key field Non-key field



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

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

SELECT SINGLE *
FROM T166P
INTO CORRESPONDING FIELDS OF WA_T166P
WHERE...

How to access SAP table T166P

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