SAP GRFN_S_API_DOCUMENT_VERSION The list of the document versions Table data and field list

GRFN_S_API_DOCUMENT_VERSION 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 "The list of the document versions" 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_GRFN_S_API_DOCUMENT_VERSION TYPE GRFN_S_API_DOCUMENT_VERSION.

The GRFN_S_API_DOCUMENT_VERSION table consists of various fields, each holding specific information or linking keys about The list of the document versions data available in SAP. These include VERSION_NR (Version), DOCUMENT_DESCR (String), CREATED_BY (Document Created By), CREATED_DATE (Creation Date of the Document)... 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. .

GRFN_S_API_DOCUMENT_VERSION structure Technical Details:

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced


SAP GRFN_S_API_DOCUMENT_VERSION 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 GRFN_S_API_DOCUMENT_VERSION 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
DOCUMENT_IDObject ID GRFN_API_OBJECT_IDCHAR50CHAR50
VERSION_NRVersion GRFN_DOCUMENT_VERSION_TEXT_UICHAR3
DOCUMENT_DESCRString GRFN_TEXTSTRG0
CREATED_BYDocument Created By GRFN_DOCUMENT_CREATED_BYCHAR80TEXT80
CREATED_DATECreation Date of the Document GRFN_DOCUMENT_CREATED_DATEDATS8SYDATS
CREATED_TIMECreation Time of the Document GRFN_DOCUMENT_CREATED_TIMETIMS6SYTIME
MODIFIED_BYDocument Last Changed By GRFN_DOCUMENT_MODIFIED_BY_LISTCHAR80TEXT80
MODIFIED_DATEDate When Document Was Last Changed GRFN_DOCUMENT_MODIFIED_DATEDATS8SYDATS
MODIFIED_TIMETime of Last Change GRFN_DOCUMENT_MODIFIED_TIMETIMS6SYTIME
DOWNLOAD_URLDocument URL for Download GRFN_DOCUMENT_URLCHAR4096SADC4096
DOC_CLASSDocument Class GRFN_DOCUMENT_CLASS_UI_TXTCHAR60DDTEXT
DOC_CATEGORYCategory GRFN_DOCUMENT_CATEGORY_UI_TXTCHAR60DDTEXT
CONTENT_MIMETYPEHTML content type W3CONTTYPECHAR128W3_CONTTYP
CONTENT_SIZESize GRFN_DOCUMENT_CONTENT_SIZE_UICHAR12CHAR12
CONTENT_SIZE_DETSize GRFN_DOCUMENT_CONTENT_SIZE_UICHAR12CHAR12
ORIGINAL_LANGUAGEOriginal Language in Repository objects MASTERLANGLANG1Assigned to domainISOLASPRASH_T002
CONTENT_UPL_NAMERelative storage location of physical document SDOK_FILNMCHAR255SDOK_FILNM

Key field Non-key field



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

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

How to access SAP table GRFN_S_API_DOCUMENT_VERSION

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

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