STWB_STA_2 SAP (Generated Table for View) Table View details

Dictionary Type: Table View
Description: Generated Table for View




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




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

STWB_STA_2 is a standard SAP Table View which is used to store Generated Table for View data and is available within R/3 SAP systems depending on the version and release level.

The STWB_STA_2 table consists of various fields, each holding specific information or linking keys about Generated Table for View data available in SAP. These include CNT_RED (2 byte integer (signed)), CNT_YELLOW (2 byte integer (signed)), CNT_GREEN (2 byte integer (signed)), P_RED (3-Byte field).. 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: Not classified


SAP STWB_STA_2 table view 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
IDGUID for Structure HIER_TREEGCHAR32SYCHAR32S_TREE_ID
CNT_RED2 byte integer (signed) INT2INT25INT2
CNT_YELLOW2 byte integer (signed) INT2INT25INT2
CNT_GREEN2 byte integer (signed) INT2INT25INT2
P_RED3-Byte field CHAR3CHAR3CHAR3
P_YELLOW3-Byte field CHAR3CHAR3CHAR3
P_GREEN3-Byte field CHAR3CHAR3CHAR3
FDATEDate of last status analysis TWB_SDATEDATS8SYDATS
FTIMETime of last status analysis TWB_STIMETIMS6SYTIME
S_OBSStatus Not Current TWB_SOBSCHAR1HIER_YESNO

Key field Non-key field



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

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

SELECT SINGLE *
FROM STWB_STA_2
INTO CORRESPONDING FIELDS OF WA_STWB_STA_2
WHERE...

How to access SAP table STWB_STA_2

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