T821S SAP (Distribution keys) Table details
Dictionary Type: Table
Description: Distribution keys
Description: Distribution keys
Table field list including key, data, relationships and ABAP select examples
T821S is a standard SAP Table which is used to store Distribution keys data and is available within R/3 SAP systems depending on the version and release level.
The T821S table consists of various fields, each holding specific information or linking keys about Distribution keys data available in SAP. These include SPRED (Distribution Key), REFSP (Reference distribution key), CRNAM (Created By), CRDAT (Creation date).. 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: Not classified
Text table = T821T
SAP T821S 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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
SPRED | Distribution Key | SPRED | CHAR | 4 | SPRED | GSP | |||
REFSP | Reference distribution key | REFSP | CHAR | 4 | T821S | SPRED | |||
CRNAM | Created By | CRNAM | CHAR | 12 | USNAM | ||||
CRDAT | Creation date | CRDAT | DATS | 8 | DATUM | ||||
UPNAM | Last Changed By | UPNAM | CHAR | 12 | USNAM | ||||
UPDAT | Date on which object was last changed | UPDAT | DATS | 8 | DATUM | ||||
BRGRU | Authorization Group | BRGRU | CHAR | 4 | TBRG | BRGRU | |||
PERFLAG | Period-type indicator | PERFLAG | CHAR | 1 | PERFLAG | ||||
PERIV | Fiscal Year Variant | PERIV | CHAR | 2 | T009 | PERIV | |||
APERIO | Initial year/period | APERIO | NUMC | 7 | PERI7 | JAHRPER | |||
ZYKEL | Cyclic distribution key | DZYKEL | CHAR | 1 | CHOICE |
Key field | Non-key field |
How do I retrieve data from SAP table T821S using ABAP code
The following ABAP code Example will allow you to do a basic selection on T821S to SELECT all data from the tableDATA: WA_T821S TYPE T821S.
SELECT SINGLE *
FROM T821S
INTO CORRESPONDING FIELDS OF WA_T821S
WHERE...
How to access SAP table T821S
Within an ECC or HANA version of SAP you can also view further information about T821S 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