BUT050 SAP (BP relationships/role definitions: General data) Table details

Dictionary Type: Table
Description: BP relationships/role definitions: General data




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




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
CLIENTClient MANDTCLNT3T000MANDT
RELNRBP Relationship Number BU_RELNRCHAR12ALPHABU_RELNR
PARTNER1Business Partner Number BU_PARTNERCHAR10BUT000ALPHABU_PARTNERBPABUPA
PARTNER2Business Partner Number BU_PARTNERCHAR10BUT000ALPHABU_PARTNERBPABUPA
DATE_TOValidity Date (Valid To) BU_DATTODATS8DATUM
DATE_FROMValidity Date (Valid From) BU_DATFROMDATS8DATUM
RELTYPBusiness Partner Relationship Category BU_RELTYPCHAR6Assigned to domainBU_RELTYP
XRFBusiness partner role definition instead of BP relationship BU_XRFCHAR1XFELD
DFTVALBP: Differentiation type characteristic (change doc.-rel.) BU_DFTVALCHAR20CHAR20
RLTYPBusiness partner role (change doc.-relevant) BU_RLTYPECHAR6Assigned to domainBU_ROLE
RELKINDBusiness partner relationship type BU_RELKINDCHAR4Assigned to domainBU_RELKIND
CRUSRUser who created the object BU_CRUSRCHAR12USNAM
CRDATDate on which the object was created BU_CRDATDATS8DATUM
CRTIMTime at which the object was created BU_CRTIMTIMS6UZEIT
CHUSRLast user to change object BU_CHUSRCHAR12USNAM
CHDATDate when object was last changed BU_CHDATDATS8DATUM
CHTIMTime at which object was last changed BU_CHTIMTIMS6UZEIT
XDFRELStandard Relationship BU_XDFRELCHAR1XFELD
XDFREL2Standard Relationship BU_XDFRELCHAR1XFELD
DB_KEYGP: UUID for Identifying the Data Record (SETGUID) BUP_SETGUIDRAW16SYSUUID
DB_KEY_TDGP: UUID for Identifying the Data Record (SETGUID) BUP_SETGUIDRAW16SYSUUID

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 table
DATA: 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 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!