ROIJLOC_TREE SAP (Tree structure for (planning) locations) Structure details
Description: Tree structure for (planning) locations
Structure field list including key, data, relationships and ABAP select examples
ROIJLOC_TREE is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Tree structure for (planning) locations" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_ROIJLOC_TREE TYPE ROIJLOC_TREE.
The ROIJLOC_TREE table consists of various fields, each holding specific information or linking keys about Tree structure for (planning) locations data available in SAP. These include LOCID (Location ID), LOCTYP (OIL-TSW: Location type), LOCNAM (Location name (used by system owner)), KNOTE (OIL-TSW: Transport connection point (node reference)).. 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:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type)
SAP ROIJLOC_TREE structure 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 | Assigned to domain | MANDT | |||
LOCID | Location ID | OIJ_LOCID | CHAR | 10 | Assigned to domain | OIJ_LOCID | OIX | ||
LOCTYP | OIL-TSW: Location type | OIJ_LOCTYP | CHAR | 4 | Assigned to domain | OIJ_LOCTYP | |||
LOCNAM | Location name (used by system owner) | OIJ_LOCNAM | CHAR | 60 | OIJ_LOCNAM | ||||
KNOTE | OIL-TSW: Transport connection point (node reference) | OIJ_KNOTE | CHAR | 10 | Assigned to domain | KNOTN | |||
PLANLOC | OIL-TSW: Planning location | OIJ_PLANLO | CHAR | 10 | Assigned to domain | OIJ_LOCID | |||
ERDAT | Date on Which Record Was Created | ERDAT | DATS | 8 | DATUM | ||||
ERZEIT | Time of creation | OI0_ERTIM | TIMS | 6 | UZEIT | ||||
ERNAM | Name of Person who Created the Object | ERNAM | CHAR | 12 | USNAM | ||||
AEDAT | Changed On | AEDAT | DATS | 8 | DATUM | ||||
AEZEIT | Time of day the record was changed | OI0_AETIM | TIMS | 6 | UZEIT | ||||
AENAM | Name of Person Who Changed Object | AENAM | CHAR | 12 | USNAM | ||||
BLOIND | Blocking indicator | OIJ_BLOIND | CHAR | 1 | XFELD | ||||
DELIND | Deletion indicator | OIJ_DELIND | CHAR | 1 | XFELD | ||||
RDACT | Stock Projection activation indicator | OIJ_RDACT | CHAR | 1 | XFELD | ||||
PMATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
Key field | Non-key field |
How do I retrieve data from SAP structure ROIJLOC_TREE using ABAP code?
As ROIJLOC_TREE is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on ROIJLOC_TREE as there is no data to select.How to access SAP table ROIJLOC_TREE
Within an ECC or HANA version of SAP you can also view further information about ROIJLOC_TREE 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