T5B1S SAP (Companies) Table details
Dictionary Type: Table
Description: Companies
Description: Companies
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 custDisplay/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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
BUKRS | Company Code | BUKRS | CHAR | 4 | T001 | BUKRS | BUK | C_T001 | |
ENDDA | End Date | ENDDA | DATS | 8 | DATUM | ||||
BEGDA | Start Date | BEGDA | DATS | 8 | DATUM | ||||
MAINC | Main company for this company | P12_MAINC | CHAR | 4 | Assigned to domain | BUKRS | |||
SPKLG | Official Communication Language | P_99S_SPKLNG | LANG | 1 | T002 | ISOLA | SPRAS | ||
BDHST | Recognition of Difficulty or Reorganization (00952) | BDHST | CHAR | 1 | BDHST | ||||
BDFAL | Company insolvent | BDFAL | CHAR | 1 | XFELD | ||||
BANKN | Bank account number | BANKN | CHAR | 18 | BANKN | ||||
VATNR | Tax number | BTWNR | NUMC | 15 | NUMC15 | ||||
RSZBL | Obsolete: SI/Belcotax country | RSZBL | CHAR | 4 | Assigned to domain | RSZLD | |||
CPGR | Company Address | WINWW | CHAR | 4 | CHAR4 | ||||
TRUST | Trusteeship (00012) | P12_TRUSTEESHIP | NUMC | 1 | P12_TRUSTEESHIP | ||||
BEVAC | Start Date of Vacation Period (00017) | P12_BEVAC | DATS | 8 | DATUM | ||||
COMID | Company ID (00014) | P12_COMID | NUMC | 10 | NUMC10 | ||||
SECTR | Social insurance sector | P12_SISECTOR | NUMC | 1 | P12_SISECTOR | ||||
IBAN | IBAN (International Bank Account Number) | IBAN | CHAR | 34 | IBAN | ||||
BIC | SWIFT/BIC for International Payments | SWIFT | CHAR | 11 | SWIFT |
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 tableDATA: 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 asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects