SAPMKKS2 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 SAPMKKS2 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: P_GJAHR = D Fiscal year
Selection Text: P_KOKRS = D Controlling area
Selection Text: P_POPER = D Period
Selection Text: P_WERKS = D Plant
Selection Text: S_AUFNR = D Order
Title: Check Delivery for Collective Order
Text Symbol: 001 = SuperOrder Plnt Suborder
Text Symbol: 002 = Delivered Not delivered
Text Symbol: 003 = Parameters
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' IMPORTING E_KOKRS = P_KOKRS EXCEPTIONS OTHERS = 2.
K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING GJAHR = P_GJAHR KOKRS = P_KOKRS IMPORTING E_TKA01 = STR_TKA01 EXCEPTIONS OTHERS = 3.
G_POSTING_DATE_OF_PERIOD_GET CALL FUNCTION 'G_POSTING_DATE_OF_PERIOD_GET' EXPORTING PERIOD = P_POPER VARIANT = STR_TKA01-LMONA YEAR = P_GJAHR IMPORTING TO_DATE = LTRMI_MAX EXCEPTIONS OTHERS = 3.
CO_DB_GET_LOWER_TREE_MC CALL FUNCTION 'CO_DB_GET_LOWER_TREE_MC' TABLES I_LEAD_AUFNR_TAB = TAB_MAUFN E_SUB_AUFNR_TAB = TAB_SAUFN.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.