MK23BF36_PREPARE_POSTING 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 MK23BF36_PREPARE_POSTING 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!
G_PERIOD_GET CALL FUNCTION 'G_PERIOD_GET' EXPORTING LEDGER = '00' VARIANT = TKA01-LMONA IMPORTING PERIOD = ACT_PERIOD EXCEPTIONS LEDGER_NOT_ASSIGNED_TO_COMPANY = 1 PERIOD_NOT_DEFINED = 2 VARIANT_NOT_DEFINED = 3 OTHERS = 4.
NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING NR_RANGE_NR = TKA04-INUMKR OBJECT = OBJECT SUBOBJECT = *COBK-KOKRS IMPORTING NUMBER = COBK-BELNR RETURNCODE = RETURNCODE EXCEPTIONS INTERVAL_NOT_FOUND = 1 NUMBER_RANGE_NOT_INTERN = 2 OBJECT_NOT_FOUND = 3 QUANTITY_IS_0 = 4 QUANTITY_IS_NOT_1 = 5 INTERVAL_OVERFLOW = 6 OTHERS = 7.
G_POSTING_DATE_OF_PERIOD_GET CALL FUNCTION 'G_POSTING_DATE_OF_PERIOD_GET' EXPORTING PERIOD = COBK-PERBI VARIANT = TKA01-LMONA YEAR = COBK-GJAHR IMPORTING FROM_DATE = IT_PERIODS-DATAB TO_DATE = IT_PERIODS-DATBI EXCEPTIONS PERIOD_NOT_DEFINED = 1 VARIANT_NOT_DEFINED = 2 OTHERS = 3.
K_OBJECTS_MASTER_READ CALL FUNCTION 'K_OBJECTS_MASTER_READ' * exporting * MAX_ERROR = 8 TABLES COIOB_TAB = ITCOIOB I_PERIODS = IT_PERIODS EXCEPTIONS ERROR_OCCURS = 1 WRONG_OBJECT = 2 OTHERS = 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.