VIOB22 SAP (Rooms) Table details

Dictionary Type: Table
Description: Rooms




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




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

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

The VIOB22 table consists of various fields, each holding specific information or linking keys about Rooms data available in SAP. These include SRAUM (Room number (internal)), SRAUMEXT (Room key (external)), XRBEZ (Room ID), BUKRS (Company Code).. 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: A - Application table (master and transaction data)
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP VIOB22 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
SRAUMRoom number (internal) SRAUMNUMC10SRAUM
SRAUMEXTRoom key (external) SRAUMEXTCHAR10ALPHASRAUMEXTRAU
XRBEZRoom ID XRBEZCHAR15XKBEZ
BUKRSCompany Code BUKRSCHAR4T001BUKRSBUKC_T001
SWENRSite Number SWENRCHAR8VIOB01SWENRSWENRWEHMCWE
SGENRBuilding Number SGENRCHAR8VIOB03SGENRSGENRGEBMCGE
SRAARTRoom type SRAARTNUMC2TIV09SRAART
BUBRACubic Volume VVUMBRADEC11(3) DEC8_3
BRAUHOERoom height BRAUHOEDEC4(2) DEC2_2
DRENOVDate of last redecoration DRENOVDATS8DATUM
JDACHSSlanting roof indicator JDACHSCHAR1XFELD
SRICHTDirection (N,S,E,W) of room SRICHTNUMC2SRICHT
RERFEntered by RERFCHAR12SYCHAR12
DERFFirst Entered on DERFDATS8DATUM
TERFTime of Initial Entry TERFTIMS6TIMES
REHERSource of initial entry REHERCHAR10CHAR10
RBEAREmployee ID RBEARCHAR12SYCHAR12
DBEARLast Edited on DBEARDATS8DATUM
TBEARLast Edited at TBEARTIMS6TIMES
RBHEREditing Source RBHERCHAR10CHAR10
JLOESCHReal Estate Deletion Indicator/Flag JLOESCHCHAR1JLOESCH
BERGRPAuthorization group VVBERGRPCHAR40VVBERGRP

Key field Non-key field



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

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

SELECT SINGLE *
FROM VIOB22
INTO CORRESPONDING FIELDS OF WA_VIOB22
WHERE...

How to access SAP table VIOB22

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