BUT050 SAP (BP relationships/role definitions: General data) Table details
Dictionary Type: Table
Description: BP relationships/role definitions: General data
Description: BP relationships/role definitions: General data
Table field list including key, data, relationships and ABAP select examples
BUT050 is a standard SAP Table which is used to store BP relationships/role definitions: General data data and is available within R/3 SAP systems depending on the version and release level.
The BUT050 table consists of various fields, each holding specific information or linking keys about BP relationships/role definitions: General data data available in SAP. These include RELNR (BP Relationship Number), PARTNER1 (Business Partner Number), PARTNER2 (Business Partner Number), DATE_TO (Validity Date (Valid To)).. 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 BUT050 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 |
CLIENT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
RELNR | BP Relationship Number | BU_RELNR | CHAR | 12 | ALPHA | BU_RELNR | |||
PARTNER1 | Business Partner Number | BU_PARTNER | CHAR | 10 | BUT000 | ALPHA | BU_PARTNER | BPA | BUPA |
PARTNER2 | Business Partner Number | BU_PARTNER | CHAR | 10 | BUT000 | ALPHA | BU_PARTNER | BPA | BUPA |
DATE_TO | Validity Date (Valid To) | BU_DATTO | DATS | 8 | DATUM | ||||
DATE_FROM | Validity Date (Valid From) | BU_DATFROM | DATS | 8 | DATUM | ||||
RELTYP | Business Partner Relationship Category | BU_RELTYP | CHAR | 6 | Assigned to domain | BU_RELTYP | |||
XRF | Business partner role definition instead of BP relationship | BU_XRF | CHAR | 1 | XFELD | ||||
DFTVAL | BP: Differentiation type characteristic (change doc.-rel.) | BU_DFTVAL | CHAR | 20 | CHAR20 | ||||
RLTYP | Business partner role (change doc.-relevant) | BU_RLTYPE | CHAR | 6 | Assigned to domain | BU_ROLE | |||
RELKIND | Business partner relationship type | BU_RELKIND | CHAR | 4 | Assigned to domain | BU_RELKIND | |||
CRUSR | User who created the object | BU_CRUSR | CHAR | 12 | USNAM | ||||
CRDAT | Date on which the object was created | BU_CRDAT | DATS | 8 | DATUM | ||||
CRTIM | Time at which the object was created | BU_CRTIM | TIMS | 6 | UZEIT | ||||
CHUSR | Last user to change object | BU_CHUSR | CHAR | 12 | USNAM | ||||
CHDAT | Date when object was last changed | BU_CHDAT | DATS | 8 | DATUM | ||||
CHTIM | Time at which object was last changed | BU_CHTIM | TIMS | 6 | UZEIT | ||||
XDFREL | Standard Relationship | BU_XDFREL | CHAR | 1 | XFELD | ||||
XDFREL2 | Standard Relationship | BU_XDFREL | CHAR | 1 | XFELD | ||||
DB_KEY | GP: UUID for Identifying the Data Record (SETGUID) | BUP_SETGUID | RAW | 16 | SYSUUID | ||||
DB_KEY_TD | GP: UUID for Identifying the Data Record (SETGUID) | BUP_SETGUID | RAW | 16 | SYSUUID |
Key field | Non-key field |
How do I retrieve data from SAP table BUT050 using ABAP code
The following ABAP code Example will allow you to do a basic selection on BUT050 to SELECT all data from the tableDATA: WA_BUT050 TYPE BUT050.
SELECT SINGLE *
FROM BUT050
INTO CORRESPONDING FIELDS OF WA_BUT050
WHERE...
How to access SAP table BUT050
Within an ECC or HANA version of SAP you can also view further information about BUT050 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