SAP HASH_DATA_FOR_GRANT Hash code structure for Grant Table data and field list

HASH_DATA_FOR_GRANT 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 "Hash code structure for Grant" 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_HASH_DATA_FOR_GRANT TYPE HASH_DATA_FOR_GRANT.

The HASH_DATA_FOR_GRANT table consists of various fields, each holding specific information or linking keys about Hash code structure for Grant data available in SAP. These include COMPANY_CODE (Company Code), VALID_FROM (Valid-from Date), VALID_TO (Valid-to Date), LIFECYCLE_STATUS (Lifecycle Status)... 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. .

HASH_DATA_FOR_GRANT structure Technical Details:

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP HASH_DATA_FOR_GRANT structure fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the HASH_DATA_FOR_GRANT table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
GRANT_TYPEGrant Type GM_GRANT_TYPECHAR2Assigned to domainGM_GRANT_TYPEGM_GRANT_TYPEGMGRANTTYPES
COMPANY_CODECompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
VALID_FROMValid-from Date GM_FROM_DATEDATS8DATUM
VALID_TOValid-to Date GM_TO_DATEDATS8DATUM
LIFECYCLE_STATUSLifecycle Status GM_LIFECYCLE_STATUSCHAR5Assigned to domainJ_ISTATGMLIFECYCLE_STATUS
INT_REFERENCEAlternate Grant Identifier GM_INTERNAL_REFCHAR24GM_INTERNAL_REFERENCE
EXT_REFERENCEAlternate Grant Identifier GM_EXTERNAL_REFCHAR24GM_EXTERNAL_REFERENCE
SHORT_DESCShorter description of the grant GM_SHORT_DESCRIPTIONCHAR20
DESCRIPTIONDescriptive Text GM_DESCRIPTIONCHAR80TEXT80
MODIFIED_ONDate last modified GM_LAST_MODIFIED_DATEDATS8DATS
MODIFIED_ATLast Modified Time GM_LAST_MODIFIED_TIMETIMS6GM_CREATED_AT

Key field Non-key field



How do I retrieve data from SAP structure HASH_DATA_FOR_GRANT using ABAP code?

As HASH_DATA_FOR_GRANT 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 HASH_DATA_FOR_GRANT as there is no data to select.

How to access SAP table HASH_DATA_FOR_GRANT

Within an ECC or HANA version of SAP you can also view further information about HASH_DATA_FOR_GRANT and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).