MKSREF30 is a standard ABAP INCLUDE 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 MKSREF30 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: Run Summarization - General Routines
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING SETCLASS = GSETC_COSTCENTER_SETCLASS SHORTNAME = TKSR1-AREA KOKRS = TKSR1-KOKRS IMPORTING SETID = H_SETID .
G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING SETCLASS = GSETC_COSTCENTER_SETCLASS SHORTNAME = KEEP_AREA KOKRS = TKSR1-KOKRS IMPORTING SETID = H_SETID .
G_FIELD_READ CALL FUNCTION 'G_FIELD_READ' EXPORTING FIELDNAME = 'KOSTL' TABLE = HEADER-STABKEY TEXT_FLAG = 'X' IMPORTING FIELD_ATTR = DFIES.
G_FIELD_READ CALL FUNCTION 'G_FIELD_READ' EXPORTING FIELDNAME = MOV-SFIELD TABLE = HEADER-STABKEY TEXT_FLAG = 'X' IMPORTING FIELD_ATTR = DFIES.
K_DATABASE_ENQUEUE CALL FUNCTION 'K_DATABASE_ENQUEUE' TABLES COMB = DATABASE_ENQ EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2.
K_DATABASE_ENQUEUE CALL FUNCTION 'K_DATABASE_ENQUEUE' TABLES COMB = DATABASE_ENQ EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2.
K_DATABASE_DEQUEUE CALL FUNCTION 'K_DATABASE_DEQUEUE' TABLES COMB = DATABASE_DEQ.
K_DATABASE_DEQUEUE CALL FUNCTION 'K_DATABASE_DEQUEUE' TABLES COMB = DATABASE_DEQ.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING ARBGB = 'GL' MSGTY = 'I' TXTNR = '544'.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING ARBGB = 'GL' MSGTY = 'I' TXTNR = '545'.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING ARBGB = 'GL' MSGTY = 'I' TXTNR = '546'.
MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING ARBGB = 'GL' MSGTY = 'I' TXTNR = '547'.
MESSAGES_STOP CALL FUNCTION 'MESSAGES_STOP' EXCEPTIONS A_MESSAGE = 12 E_MESSAGE = 08 I_MESSAGE = 00 W_MESSAGE = 04.
MESSAGES_COUNT CALL FUNCTION 'MESSAGES_COUNT' EXPORTING SEVERITY_FROM = 8 SEVERITY_TO = 16 IMPORTING COUNT = MESSAGE_COUNT MAX_SEVERITY = MAX_SEVERITY EXCEPTIONS INCONSISTENT_RANGE = 01 INCONSISTENT_RANGE_SEVERITY = 02.
MESSAGES_COUNT CALL FUNCTION 'MESSAGES_COUNT' IMPORTING MAX_SEVERITY = H_SUBRC.
MESSAGES_GIVE CALL FUNCTION 'MESSAGES_GIVE' TABLES T_MESG = MESSAGE.
HELPSCREEN_NA_CREATE CALL FUNCTION 'HELPSCREEN_NA_CREATE' EXPORTING MELD_ID = SY-MSGID MELD_NR = SY-MSGNO MELDUNG = SHKONTEXT-MELDUNG MSGV1 = SY-MSGV1 MSGV2 = SY-MSGV2 MSGV3 = SY-MSGV3 MSGV4 = SY-MSGV4 DYNPRO = SY-DYNNR LANGU = SY-LANGU PFKEY = SY-PFKEY PROGRAMM = h_REPID TITEL = SY-WINSL.
MESSAGES_COUNT CALL FUNCTION 'MESSAGES_COUNT' IMPORTING MAX_SEVERITY = H_SUBRC.
CALL FUNCTION 'MESSAGES_SHOW' EXPORTING SHOW_LINNO = SPACE OBJECT = TEXT-EXE EXCEPTIONS NO_MESSAGES = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.
This will then be available for everyone to easily find by simply searching on the report name MKSREF30 or its description.