T5B1S SAP (Companies) Table details

Dictionary Type: Table
Description: Companies




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




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

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

The T5B1S table consists of various fields, each holding specific information or linking keys about Companies data available in SAP. These include BUKRS (Company Code), ENDDA (End Date), BEGDA (Start Date), MAINC (Main company for this company).. 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)

Text table = T5B1ST


SAP T5B1S 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
BUKRSCompany Code BUKRSCHAR4T001BUKRSBUKC_T001
ENDDAEnd Date ENDDADATS8DATUM
BEGDAStart Date BEGDADATS8DATUM
MAINCMain company for this company P12_MAINCCHAR4Assigned to domainBUKRS
SPKLGOfficial Communication Language P_99S_SPKLNGLANG1T002ISOLASPRAS
BDHSTRecognition of Difficulty or Reorganization (00952) BDHSTCHAR1BDHST
BDFALCompany insolvent BDFALCHAR1XFELD
BANKNBank account number BANKNCHAR18BANKN
VATNRTax number BTWNRNUMC15NUMC15
RSZBLObsolete: SI/Belcotax country RSZBLCHAR4Assigned to domainRSZLD
CPGRCompany Address WINWWCHAR4CHAR4
TRUSTTrusteeship (00012) P12_TRUSTEESHIPNUMC1P12_TRUSTEESHIP
BEVACStart Date of Vacation Period (00017) P12_BEVACDATS8DATUM
COMIDCompany ID (00014) P12_COMIDNUMC10NUMC10
SECTRSocial insurance sector P12_SISECTORNUMC1P12_SISECTOR
IBANIBAN (International Bank Account Number) IBANCHAR34IBAN
BICSWIFT/BIC for International Payments SWIFTCHAR11SWIFT

Key field Non-key field



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

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

SELECT SINGLE *
FROM T5B1S
INTO CORRESPONDING FIELDS OF WA_T5B1S
WHERE...

How to access SAP table T5B1S

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