OJDEF SAP (Objects in the SAP System: definitions source) Table details
Dictionary Type: Table
Description: Objects in the SAP System: definitions source
Description: Objects in the SAP System: definitions source
Table field list including key, data, relationships and ABAP select examples
OJDEF is a standard SAP Table which is used to store Objects in the SAP System: definitions source data and is available within R/3 SAP systems depending on the version and release level.
The OJDEF table consists of various fields, each holding specific information or linking keys about Objects in the SAP System: definitions source data available in SAP. These include NAME (Object type), SRTF2 (BIN4 data element for SYST), CLUSTR (BIN2 data element for SYST), CLUSTD (Object types 2.1: Long Raw).. 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: E - Control table, SAP and customer have separate key areasDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP OJDEF 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 |
RELID | CHAR02 data element for SYST | SYCHAR02 | CHAR | 2 | SYCHAR02 | ||||
NAME | Object type | OJ_NAME | CHAR | 10 | TOJTB | OJ_NAME | |||
SRTF2 | BIN4 data element for SYST | SYBIN4 | INT4 | 10 | SYBIN4 | ||||
CLUSTR | BIN2 data element for SYST | SYBIN2 | INT2 | 5 | SYBIN2 | ||||
CLUSTD | Object types 2.1: Long Raw | OJVARC2886 | LRAW | 2886 | OJVARC2886 |
Key field | Non-key field |
How do I retrieve data from SAP table OJDEF using ABAP code
The following ABAP code Example will allow you to do a basic selection on OJDEF to SELECT all data from the tableDATA: WA_OJDEF TYPE OJDEF.
SELECT SINGLE *
FROM OJDEF
INTO CORRESPONDING FIELDS OF WA_OJDEF
WHERE...
How to access SAP table OJDEF
Within an ECC or HANA version of SAP you can also view further information about OJDEF 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