SAP Function RS_CUA_GET_STATUS - Read GUI status function settings

Parameter Reference Type Length Default Optional Text
LANGUAGE SYST-LANGU C 1 SPACE X Language you want the user interface to be in
PROGRAM TRDIR-NAME C 40 X Program Name
STATUS 0 X Status name
SUPPRESS_CMOD_ENTRIES 0 'X' X
WITH_SECOND_LANGUAGE CHAR1 C 1 ' ' X Filling in text not only in original language, but also in zcsa/second_language

Parameter Reference Length Optional Text
FKEYS RSEUL_KEYS 117 X Function Key Setting
FUNCTIONKEYS RSMPE_KEYS 367 X
MENUTREE RSMPE_TREE 347 X
NOT_FOUND_LIST RSEUL_STAT 60 X List of statuses not found
STATUS_LIST RSEUL_STAT 60 X Status to be canceled (alternative PROGRAM STATUS)
TREE RSEUL_TREE 123 X Menubar structure

Exception Text
EMPTY_LIST
NOT_FOUND_MENU
NOT_FOUND_PROGRAM Program not found
NOT_FOUND_STATUS Status not found
RECURSIVE_MENUES Interface has syntax errors


The results list TREE contains the tree structures for the menu barsfor any status you desire. Program name and status are displayed inTREE-PROGRAM and TREE-STATUS respectively.
The entries are organized so that each path can be followed to its end(function):
1. Menu bar menu
1. Menu entry (for example, a function)
2. Menu entry (for example, a menu)
1. Submenu entry
...
...
2. Menu bar menu
...
...
In menus, entries are either functions (type F), menus (type M), orseparators (type S). Only position fields and TREE-TYPE are filled forseparators.
Texts are returned either in their maintenance language (LANGUAGE =space) or in another language which is then defined. If the languageentered differs from the maintenance language, the texts are mixed.Texts that cannot be found in the language you have entered, aredisplayed in the maintenance language.
Since a function code can have more than one text, a text number isreturned next to the function code.
With this parameter, you can enter the language you want the text to bein. If you do not enter a language, your texts will appear in theinterface's maintenance language. If the language you want differs fromthe maintenance language, then texts are mixed. This means that textsthat have not been translated remain in the maintenance language.Translated texts are marked as such.

Description
This table contains the F key settings and pushbutton settings for thestatus.
PFNO Function key number
CODE Function code
TEXT Function text
BUTNO Sequence in the application toolbar
SPACE means that the function does not appear
in the application toolbar
ACTIVE Function can be executed
TCODE Function's text number