VBREF SAP (SD Object Link to Item References) Table details

Dictionary Type: Table
Description: SD Object Link to Item References




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




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

VBREF is a standard SAP Table which is used to store SD Object Link to Item References data and is available within R/3 SAP systems depending on the version and release level.

The VBREF table consists of various fields, each holding specific information or linking keys about SD Object Link to Item References data available in SAP. These include RELATIONID (Object Relationship Service : GUID binary link), POSNO (Sequential Number of Segment in IDoc Type), BRELTYP (Relationship type), ATTRIBUT (Object Relationship Service : attribute of a link).. 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: Not classified


SAP VBREF 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 MANDTCLNT3Assigned to domainMANDT
RELATIONIDObject Relationship Service : GUID binary link BINRELIDCHAR22SYSUUID_22
POSNOSequential Number of Segment in IDoc Type POSNONUMC4NUM4
BRELTYPRelationship type BINRELTYPCHAR4Assigned to domainBINRELTYP
ATTRIBUTObject Relationship Service : attribute of a link RELATTRIBCHAR10CHAR10
REFOBJTYPEObject Type SWO_OBJTYPCHAR10Assigned to domainOJ_NAMEOBJ
REFOBJKEYObject key SWO_TYPEIDCHAR70SWO_TYPEID
REFLOGSYSLogical system LOGSYSCHAR10Assigned to domainALPHALOGSYS
OBJECTTYPEObject Type SWO_OBJTYPCHAR10Assigned to domainOJ_NAMEOBJ
VBELNSales and Distribution Document Number VBELNCHAR10Assigned to domainALPHAVBELNAUN
POSNRSales Document Item POSNR_VANUMC6Assigned to domainPOSNRAPO

Key field Non-key field



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

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

SELECT SINGLE *
FROM VBREF
INTO CORRESPONDING FIELDS OF WA_VBREF
WHERE...

How to access SAP table VBREF

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