MKCD_GEN_ROUTINES 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 MKCD_GEN_ROUTINES 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
KCD_MESSAGES_PROTNR_GET call function 'KCD_MESSAGES_PROTNR_GET' importing protnr = glob_extprotnr.
KCD_SENDERSTRUCTURE_CHECK call function 'KCD_SENDERSTRUCTURE_CHECK' exporting repid = repid importing progn = progn estrc = estrc anwdg = anwdg grpid = glob_grpid exceptions send_struc_not_found = 1.
KCD_MESSAGES_COLLECT call function 'KCD_MESSAGES_COLLECT' exporting msgty = 'A' arbgb = 'UC' msgnr = '002' msgv1 = repid.
KCD_TEST_MODE_GET call function 'KCD_TEST_MODE_GET' importing test_run = glob_test_run.
KCD_ERROR_NUMBER_GET call function 'KCD_ERROR_NUMBER_GET' importing error_nr = err_number.
KCD_MESSAGES_COLLECT call function 'KCD_MESSAGES_COLLECT' exporting msgty = errtype arbgb = 'GD' msgnr = msgnumber msgv1 = msgv1 value = err_number.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.