RSCP0031 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for
If you would like to execute this report or see the full code listing simply enter RSCP0031 into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: FRONTCP = Character set of SAPgui
Title: Check Fonts on Frontend
Text Symbol: 081 = Call Not Successful. Refer to Source Program RSCP0013
Text Symbol: 082 = Cont.
Text Symbol: 083 = Exit
Text Symbol: 020 = LAN Connection to GUI
Text Symbol: 021 = WAN Connection to GUI
Text Symbol: 022 = Connection to GUI is probably LAN
Text Symbol: 030 = GUI Codepage
Text Symbol: 040 =
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING TITLEBAR = 'Call ''CUR_LCL''' "#EC NOTEXT * DIAGNOSE_OBJECT = ' ' TEXT_QUESTION = 'Call funktioniert nicht. Details siehe RSCP0031-Quellprogramm.'(081)
SAPGUI_GET_WAN_FLAG CALL FUNCTION 'SAPGUI_GET_WAN_FLAG' IMPORTING WAN_FLAG = wan_flag.
GUI_GET_DESKTOP_INFO CALL FUNCTION 'GUI_GET_DESKTOP_INFO' EXPORTING type = type_nr CHANGING return = info_txt.
RFC_GET_SYSTEM_INFO CALL FUNCTION 'RFC_GET_SYSTEM_INFO' EXPORTING DESTINATION = 'SAPGUI' IMPORTING RFCSI_EXPORT = l_rfcsi * RFC_LOGIN_COMPLETE = * DIALOG_USER_TYPE = * CURRENT_RESOURCES = * MAXIMAL_RESOURCES = * RECOMMENDED_DELAY = * DEST_COMMUNICATION_MESSAGE = * DEST_SYSTEM_MESSAGE = .
SCP_GET_LANGUAGE_ID CALL FUNCTION 'SCP_GET_LANGUAGE_ID' IMPORTING USER_LOGIN = prcLoginLanguage EXCEPTIONS INTERNAL_ERROR = 1 OTHERS = 2.
NLS_GET_FRONTEND_CP CALL FUNCTION 'NLS_GET_FRONTEND_CP' EXPORTING LANGU = prcLoginLanguage FETYPE = 'MS' IMPORTING FRONTEND_CODEPAGE = prc_cp EXCEPTIONS ILLEGAL_SYST_CODEPAGE = 1 NO_FRONTEND_CP_FOUND = 2 INTERNAL_OR_DB_ERROR = 3 OTHERS = 4.
GUI_GET_REGVALUE CALL FUNCTION 'GUI_GET_REGVALUE' EXPORTING ROOT = HKEY_CURRENT_USER KEY = REG_KEY VALUE_NAME = REG_FIELD CHANGING STRING = VALUE * EXCEPTIONS * REGISTRY_ERROR = 1 * OTHERS = 2 .
GUI_GET_REGVALUE CALL FUNCTION 'GUI_GET_REGVALUE' EXPORTING ROOT = HKEY_CURRENT_USER KEY = l_REG_KEY VALUE_NAME = REG_FIELD CHANGING STRING = VALUE * EXCEPTIONS * REGISTRY_ERROR = 1 * OTHERS = 2 .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.