/SPE/RET_DIA SAP (Structure for dialog processing of returns data) Structure details
Description: Structure for dialog processing of returns data
Structure field list including key, data, relationships and ABAP select examples
/SPE/RET_DIA 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 "Structure for dialog processing of returns data" 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_/SPE/RET_DIA TYPE /SPE/RET_DIA.
The /SPE/RET_DIA table consists of various fields, each holding specific information or linking keys about Structure for dialog processing of returns data data available in SAP. These include APP_QTY (Approved Quantity), REC_QTY (Received Quantity), OPEN_QTY (Quantity which can still be returned), VRKME (Sales unit).. 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 or numeric)
SAP /SPE/RET_DIA 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 |
ACC_QTY | Accepted Quantity | /SPE/RET_ACC_QTY | QUAN | 13(3) | MENG13 | ||||
APP_QTY | Approved Quantity | /SPE/RET_APP_QTY | QUAN | 13(3) | MENG13 | ||||
REC_QTY | Received Quantity | /SPE/RET_REC_QTY | QUAN | 13(3) | MENG13 | ||||
OPEN_QTY | Quantity which can still be returned | /SPE/RET_OPEN_QTY | QUAN | 13(3) | MENG13 | ||||
VRKME | Sales unit | VRKME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
VLSTK_DESC | Explanatory short text | DDTEXT | CHAR | 60 | DDTEXT | ||||
SELECT | Selection flag | SELKZ | CHAR | 1 | SELKZ | ||||
ORIG_VBELN | Document number of original delivery | /SPE/RET_ORIG_VBELN | CHAR | 10 | Assigned to domain | ALPHA | VBELN | ||
ORIG_POSNR | Item number of original delivery | /SPE/RET_ORIG_POSNR | NUMC | 6 | Assigned to domain | POSNR | |||
EXPBEG_DATE | Start date of validity period of returns delivery | /SPE/RET_EXPIRY_DATE_BEGIN | DATS | 8 | DATS | ||||
EXPBEG_TIME | Start time of validity period of returns delivery | /SPE/RET_EXPIRY_TIME_BEGIN | TIMS | 6 | TIME | ||||
EXPIRY_DATE | End date of validity period of returns delivery | /SPE/RET_EXPIRY_DATE | DATS | 8 | DATS | ||||
EXPIRY_TIME | End time of validity period of returns delivery | /SPE/RET_EXPIRY_TIME | TIMS | 6 | TIME | ||||
FOLLOW_UP | Default Follow-Up Activity Code | /SPE/RET_FOLLOW_UP | CHAR | 4 | /SPE/RET_FOLLOW_UP | ||||
SOURCE_EXIDV | Source/Target handling unit (external ID) | /SPE/RET_SRC_EXIDV | CHAR | 20 | ALPHA | EXIDV | |||
SOURCE_DLV_NO | Source delivery number | /SPE/RET_SRC_DLV_NO | CHAR | 10 | Assigned to domain | ALPHA | VBELN | ||
SOURCE_DLV_ITEM | Source delivery item | /SPE/RET_SRC_DLV_ITEM | NUMC | 6 | Assigned to domain | POSNR | |||
RET_CAT | Returns Category | /SPE/RET_SCENARIO_IDENT | CHAR | 1 | /SPE/RET_SCENARIO_IDENT | ||||
RET_CAT_DESC | Explanatory short text | DDTEXT | CHAR | 60 | DDTEXT | ||||
ACC_APP_DESC | Explanatory short text | DDTEXT | CHAR | 60 | DDTEXT | ||||
SHP_INF_DESC | Explanatory short text | DDTEXT | CHAR | 60 | DDTEXT |
Key field | Non-key field |
How do I retrieve data from SAP structure /SPE/RET_DIA using ABAP code?
As /SPE/RET_DIA 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 /SPE/RET_DIA as there is no data to select.How to access SAP table /SPE/RET_DIA
Within an ECC or HANA version of SAP you can also view further information about /SPE/RET_DIA 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