SAP Function SGRC_GET_WINID - Get next free window ID

Parameter Reference Type Length Default Optional Text
DEF_ID NET_GRAPH-WINID C 8 First 4 places of window ID
HIGH I I 4 9999 X Upper value for last 4 places of window ID
LOW I I 4 0000 X Lower value for last 4 places of window ID

Parameter Reference Type Length Text
WINID NET_GRAPH-WINID C 8 Window ID

Exception Text
NO_MORE_WINID No window ID available


This module is for the central assignment of window IDs to graphicwindows.
The Window ID only attains a value once 'SGRC_ADD_CALLBACK' hasassigned it a callback routine.
Window identification
The graphic to be used is defined with the first 4 characters of thewindow ID.
Examples: Network/Hierarchy graphics: 'NETZ' = NET_CONST-DEF_ID
Bar chart: 'BARC' = BC_CONST-DEF_ID