SLCA_EMERGENCY_SWITCH is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter SLCA_EMERGENCY_SWITCH 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.
Title: Report SLCA_EMERGENCY_SWITCH
Text Symbol: 001 = To execute the emergency switch
Text Symbol: 002 = Unknown error
Text Symbol: 003 = You have changed the settings. Are you sure that you want to exit the program?
INCLUDE SLCA_FORMS.
No SAP DATABASE tables are accessed within this REPORT code!
ENQUEUE_ELCA_GUID CALL FUNCTION 'ENQUEUE_ELCA_GUID' EXPORTING guid = 'SLCA_EMERGENCY_SWITCH' con_name = gv_lc_name EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
LCA_EMERGENCY_SWITCH_GET_ALL CALL FUNCTION 'LCA_EMERGENCY_SWITCH_GET_ALL' IMPORTING et_emergency_switches = gt_emergency_switches EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = 'Sie haben die Einstellungen geƤndert. Wollen Sie wirklich das Programm beenden?'(003)
LCA_EMERGENCY_SWITCH_CHANGE CALL FUNCTION 'LCA_EMERGENCY_SWITCH_CHANGE' EXPORTING it_emergency_switches = lt_emergency_switches EXCEPTIONS lc_connect_failed = 1 lc_com_error = 2 lc_appl_error = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.