/MRSS/T_DEM SAP (Complex Demand) Structure details
Description: Complex Demand
Structure field list including key, data, relationships and ABAP select examples
/MRSS/T_DEM 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 "Complex Demand" 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_/MRSS/T_DEM TYPE /MRSS/T_DEM.
The /MRSS/T_DEM table consists of various fields, each holding specific information or linking keys about Complex Demand data available in SAP. These include HEADER_ATT (), HEADER (GUID), PARENT (GUID), DEM_TYPE (Demand Type).. 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: Not classified
SAP /MRSS/T_DEM 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 |
GUID | GUID | /MRSS/T_GUID | RAW | 16 | SYSUUID | ||||
HEADER_ATT | 0 | ||||||||
HEADER | GUID | /MRSS/T_GUID | RAW | 16 | SYSUUID | ||||
PARENT | GUID | /MRSS/T_GUID | RAW | 16 | SYSUUID | ||||
DEM_TYPE | Demand Type | /MRSS/T_DEM_TYPE | CHAR | 4 | /MRSS/_DEM_TYPE | ||||
ID | Demand ID | /MRSS/T_DEM_H_ID | CHAR | 25 | CHAR25 | ||||
DESCRIPTION | Description of Complex Demand | /MRSS/T_DEM_H_DESC | CHAR | 40 | TEXT40 | ||||
BASIC_START | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | TIMESTAMP | DEC | 15 | TZNTSTMPS | ||||
BASIC_END | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | TIMESTAMP | DEC | 15 | TZNTSTMPS | ||||
SCHED_START | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | TIMESTAMP | DEC | 15 | TZNTSTMPS | ||||
SCHED_END | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | TIMESTAMP | DEC | 15 | TZNTSTMPS | ||||
ACTUAL_START | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | TIMESTAMP | DEC | 15 | TZNTSTMPS | ||||
ACTUAL_END | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | TIMESTAMP | DEC | 15 | TZNTSTMPS | ||||
PLVAR | Plan Version | PLVAR | CHAR | 2 | PLVAR | POP | |||
OTYPE | Object Type | OTYPE | CHAR | 2 | OTYPE | POT | |||
OBJID | Object ID | OBJEKTID | NUMC | 8 | NUM08 | PON | |||
STAT_ERR | Boolean Variable | /MRSS/T_BOOLEAN | CHAR | 1 | /MRSS/_BOOLEAN | ||||
STAT_COMPL | Boolean Variable | /MRSS/T_BOOLEAN | CHAR | 1 | /MRSS/_BOOLEAN | ||||
PROBABILITY | Demand Probability | /MRSS/T_DEM_PROBABILITY | CHAR | 3 | ALPHA | /MRSS/_DEM_PROBABILITY | |||
ORIG_ORDER_TYPE | Type of underlying order or operation | /MRSS/T_DEM_ORDER_TYPE | CHAR | 4 | AUFART | ||||
PLANT | Maintenance planning plant | /MRSS/T_PM_PLANT | CHAR | 4 | WERKS | ||||
ACTIVITY_TYPE | Maintenance activity type (header) | /MRSS/T_PM_ACTIVITY_TYPE | CHAR | 3 | /MRSS/_DEM_PM_ACTIVITY_TYPE | ||||
CREATED_BY | Created By | /MRSS/T_DEM_CREATED_BY | CHAR | 12 | USNAM | ||||
CREATED_AT | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | TIMESTAMP | DEC | 15 | TZNTSTMPS | ||||
CHANGED_BY | Last Changed By | /MRSS/T_DEM_CHANGED_BY | CHAR | 12 | USNAM | ||||
CHANGED_AT | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | TIMESTAMP | DEC | 15 | TZNTSTMPS | ||||
WORKCENTER_ID | Work center ID of operation or item | /MRSS/T_DEM_WORKCENTER_ID | NUMC | 8 | NUM08 | ||||
WORKCENTER_TYPE | Work center type of operation or item | /MRSS/T_DEM_WORKCENTER_TYPE | CHAR | 2 | /MRSS/_SGE_CR_OBJTY | ||||
WORKCENTER_PLANT | Plant of Work Center | /MRSS/T_DEM_WORKCENTER_PLANT | CHAR | 4 | WERKS | ||||
SCHEDULING_TYPE | Scheduling Type for Demand | /MRSS/T_SCHEDULING_TYPE | CHAR | 1 | |||||
ITEMS | 0 | ||||||||
RELAT | 0 | ||||||||
STATUS_TAB | 0 | ||||||||
PARTNER_TAB | 0 |
Key field | Non-key field |
How do I retrieve data from SAP structure /MRSS/T_DEM using ABAP code?
As /MRSS/T_DEM 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 /MRSS/T_DEM as there is no data to select.How to access SAP table /MRSS/T_DEM
Within an ECC or HANA version of SAP you can also view further information about /MRSS/T_DEM 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