SHKONTEXT SAP (Dialog context data for SAPhelp) Structure details

Dictionary Type: Structure
Description: Dialog context data for SAPhelp




ABAP Code to SELECT data from SHKONTEXT
Related tables to SHKONTEXT
Access table SHKONTEXT




Structure field list including key, data, relationships and ABAP select examples

SHKONTEXT 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 "Dialog context data for SAPhelp" 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_SHKONTEXT TYPE SHKONTEXT.

The SHKONTEXT table consists of various fields, each holding specific information or linking keys about Dialog context data for SAPhelp data available in SAP. These include OBJEKT_KZ (Indicator for screen objects (for SAPhelp)), PROGRAMM (Program Name), DYNPRO (Screen number), TABNAME (Table Name).. 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: Cannot Be Enhanced


SAP SHKONTEXT 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
AUFRUFCall indicator for SAPhelp SHAUFRUFCHAR1CHAR1
OBJEKT_KZIndicator for screen objects (for SAPhelp) SHOBJ_KZCHAR1CHAR1
PROGRAMMProgram Name SCRAPROGCHAR40PROGNAMEDYR
DYNPROScreen number SCRADNUMNUMC4DYNPRONRDYN
TABNAMETable Name TABNAMECHAR30Assigned to domainAS4TABDTB
FLDNAMEField Name FIELDNAMECHAR30Assigned to domainFDNAMEDFD
FLDTYPData Type in ABAP Dictionary DATATYPE_DCHAR4DTYPEDATATYPE
KEYWORDLong Field Label SCRTEXT_LCHAR40SCRTEXT_L
FLDLNGDefined length of screen field SCRFLENGDEC3SCRPDEC3
FLDINHInput line DLINECHAR132F4CHAR132
MCOBJName of a matchcode object MCONAMECHAR10Assigned to domainMCONAMEDMO
LANGULanguage Key SYLANGULANG1ISOLASYLANGU
MENU_FKTGUI: Function code CUA_FUNCCHAR4CUA_MENU
MELD_IDApplication Area ARBGBCHAR20Assigned to domainARBGBMAG
MELD_NRMessage MESSNUMNUMC3MESSNUM
MELDUNGMessage text in the help system SHMSGTXTCHAR300MESSTEXT
TITELTitle line HTITEL_030CHAR79CHAR79
DYNPRO_FLDName of a Screen Element SCRFNAMECHAR132DYNFNAM
KZ_SYDYNIndicator for report screens SHSYDYN_KZCHAR1CHAR1
CHCK_TABLETable Name TABNAMECHAR30Assigned to domainAS4TABDTB
CHCK_FIELDField Name FIELDNAMECHAR30Assigned to domainFDNAMEDFD
VALEXISTValues exist, table DVAL is filled VALEXCHAR1CHAR1
TCODETransaction Code SYTCODECHAR20Assigned to domainTCODE
PFKEYGUI Status SYPFKEYCHAR20GUI_STATUS
DOKUKEYDocumentation key transfer field PHELPDOKUCHAR79CHAR79
REPORTABAP Program: Current Main Program SYREPIDCHAR40Assigned to domainPROGRAMM
DOKU_IDDocument class DOKU_IDCHAR2Assigned to domainDOKU_ID
DOKU_OBJDocumentation Object DOKU_OBJCHAR60DOKU_OBJ
HEADERTEXTText Line TDLINECHAR132TDSTXLLINE
DE_NAMEData element (semantic domain) ROLLNAMECHAR30Assigned to domainROLLNAMEROLDD_DTEL
DE_ZUSATZData element supplement DIDENTNUMC4NUMC4
RETVALIndicator for determining return value in SAPhelp SHRETVALCHAR1CHAR1
DYNPCHOICEFunction selection on screen DYNPCHOICECHAR1DYNPCHOICE
WORKITEMIDObject key SWO_TYPEIDCHAR70SWO_TYPEID

Key field Non-key field



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

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

How to access SAP table SHKONTEXT

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

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


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!