GWY_SYSTEM SAP (Gateway table of the logged on systems) Structure details

Dictionary Type: Structure
Description: Gateway table of the logged on systems




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




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

GWY_SYSTEM 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 "Gateway table of the logged on systems" 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_GWY_SYSTEM TYPE GWY_SYSTEM.

The GWY_SYSTEM table consists of various fields, each holding specific information or linking keys about Gateway table of the logged on systems data available in SAP. These include TPNAME (Longer transaction program name), CONVID (Conversation ID), APPCHDR (Appc header version), SYSTYPE (Type of Gateway Client).. 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: Not classified


SAP GWY_SYSTEM 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
LUNAMELonger Logical Unit Name GWY_LLUCHAR128CHAR128
TPNAMELonger transaction program name GWY_LTPCHAR128CHAR128
CONVIDConversation ID GWY_CONVIDCHAR8CHAR8
APPCHDRAppc header version GWY_APPCHDCHAR10CHAR10
SYSTYPEType of Gateway Client GWY_SYSTYPCHAR16CHAR16
REGSTATERegister status of a gateway client GWY_REGSTACHAR16CHAR16
ACCPTINFOStatus and error information can be edited GWY_ACCPINCHAR16CHAR16
LINEFast or slow connection GWY_NETLINCHAR16CHAR16
HOST1Host GWY_HOSTCHAR20CHAR20
ADDR1Gateway Host Address GWY_ADDRCHAR16CHAR16
HOST2Host GWY_HOSTCHAR20CHAR20
ADDR2Gateway Host Address GWY_ADDRCHAR16CHAR16
HOST3Host GWY_HOSTCHAR20CHAR20
ADDR3Gateway Host Address GWY_ADDRCHAR16CHAR16
HOST4Host GWY_HOSTCHAR20CHAR20
ADDR4Gateway Host Address GWY_ADDRCHAR16CHAR16
HOST5Host GWY_HOSTCHAR20CHAR20
ADDR5Gateway Host Address GWY_ADDRCHAR16CHAR16
LAST_REQTime of Last Request GWY_RQTIMECHAR16CHAR16
NOCONNNumber of logical connections GWY_NRCONNCHAR10CHAR10
FILLERFill byte for gateway structures GWY_FILLERCHAR1CHAR1

Key field Non-key field



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

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

How to access SAP table GWY_SYSTEM

Within an ECC or HANA version of SAP you can also view further information about GWY_SYSTEM 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!