TWRF2 SAP (Plant Profiles) Table details

Dictionary Type: Table
Description: Plant Profiles




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




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

TWRF2 is a standard SAP Table which is used to store Plant Profiles data and is available within R/3 SAP systems depending on the version and release level.

The TWRF2 table consists of various fields, each holding specific information or linking keys about Plant Profiles data available in SAP. These include BETRP (Plant profile), VLFKZ (Plant category), CLINT (Internal Class Number), REF_WKFIL (Reference for plant).. 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: Can be enhanced (character-type or numeric)

Text table = TWRF2T


SAP TWRF2 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
BETRPPlant profile BETRPCHAR4BETRPKGP
VLFKZPlant category VLFKZCHAR1VLFKZ
CLINTInternal Class Number CLINTNUMC10Assigned to domainCLINT
REF_WKFILReference for plant REF_WKFILCHAR4T001WWERKSRWK
REF_BUKRSReference Company Code REF_BUKRSCHAR4T001BUKRSRBU
REF_VKORGReference sales organization REF_VKORGCHAR4TVKOVKORGRVK
REF_VTWEGReference distribution channel REF_VTWEGCHAR2TVTWVTWEGRVT
REF_SPARTDivision that is used as a reference REF_SPARTCHAR2TSPASPARTRSP
KTOKKVendor account group KTOGKCHAR4T077KKTOKK
KTOKDCustomer account group KTOGDCHAR4T077DKTOKDKGD
FAUSWField status bar, plant master for IS-R data FAUSW_077DCHAR40FA040
CLINT_ABTLInternal Class Number CLINTNUMC10Assigned to domainCLINT
FAUSSField status definition plant master FAUSS_WRF2CHAR40FA040
WRKRGCopy rule for plant WRKRGCHAR2TWRF3WRKRG
REF_KUNNRReference for customer (matchcode field) REF_KUNNRCHAR16ALPHAKUN16RKN
REF_LIFNRReference for vendor (matchcode field) REF_LIFNRCHAR16ALPHALIF16RLF
REF_BUKRSKReference Company Code REF_BUKRSCHAR4T001BUKRSRBU
REF_EKORGReference Purchasing Organization REF_EKORGCHAR4T024EEKORGREO
FAUSW_Z1Field status bar, plant master for IS-R data FAUSW_077DCHAR40FA040
UPD_FLAGSingle-Character Indicator CHAR1CHAR1CHAR1
ADDR_EXTRACTIONAddress origin ADDRESS_EXTRACTIONCHAR1ADDRESS_EXTRACTION

Key field Non-key field



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

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

SELECT SINGLE *
FROM TWRF2
INTO CORRESPONDING FIELDS OF WA_TWRF2
WHERE...

How to access SAP table TWRF2

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