LKAZBF06 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 LKAZBF06 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!
K_KOKRS_READ call function 'K_KOKRS_READ' EXPORTING gjahr = l_gjahr kokrs = rkauf-kokrs IMPORTING e_tka00 = tka00 e_tka01 = tka01 EXCEPTIONS others = 4.
K_PERIODS_GET_FOR_KOKRS call function 'K_PERIODS_GET_FOR_KOKRS' EXPORTING gjahr = rkauf-gjahr kokrs = rkauf-kokrs IMPORTING anzbp = l_anzbp anzsp = l_anzsp EXCEPTIONS inconsistent_input = 1 insufficient_input = 2 kokrs_not_found = 3 periv_not_found = 4 others = 5.
K_PERIODS_GET_FOR_KOKRS call function 'K_PERIODS_GET_FOR_KOKRS' EXPORTING kokrs = rkauf-kokrs IMPORTING anzbp = l_anzbp anzsp = l_anzsp EXCEPTIONS inconsistent_input = 1 insufficient_input = 2 kokrs_not_found = 3 periv_not_found = 4 others = 5.
K_VERSN_READ call function 'K_VERSN_READ' EXPORTING i_gjahr = ld_gjahr i_kokrs = rkauf-kokrs i_versn = rkauf-versn i_actvt = ld_actvt bypassing_buffer = 'X' IMPORTING e_tka09 = tka09 e_tka07 = tka07 e_tkt09 = tkt09.
K_VERSN_FOR_VRGNG_CHECK call function 'K_VERSN_FOR_VRGNG_CHECK' EXPORTING vrgng = rkauf-vrgng kokrs = rkauf-kokrs versn = rkauf-versn.
KAOP_SET_TODATE call function 'KAOP_SET_TODATE' CHANGING c_rkauf = rkauf.
G_POSTING_DATE_OF_PERIOD_GET call function 'G_POSTING_DATE_OF_PERIOD_GET' EXPORTING period = ld_from_sav variant = tka01-lmona year = ld_gjahr_sav IMPORTING from_date = i_periods-datab to_date = i_periods-datbi last_normal_period = ld_lnp EXCEPTIONS others = 4.
G_POSTING_DATE_OF_PERIOD_GET call function 'G_POSTING_DATE_OF_PERIOD_GET' EXPORTING period = rkauf-from variant = tka01-lmona year = rkauf-gjahr IMPORTING from_date = i_periods-datab to_date = i_periods-datbi last_normal_period = ld_lnp EXCEPTIONS others = 4.
G_POSTING_DATE_OF_PERIOD_GET call function 'G_POSTING_DATE_OF_PERIOD_GET' EXPORTING period = rkauf-to variant = tka01-lmona year = rkauf-gjahr_bis IMPORTING from_date = i_periods-datab to_date = i_periods-datbi last_normal_period = ld_lnp EXCEPTIONS others = 4.
K_PERIODS_GET call function 'K_PERIODS_GET' EXPORTING par_igjahr = rkauf-gjahr par_ipoper = rkauf-to par_kokrs = rkauf-kokrs IMPORTING par_ldper = ld_ldper EXCEPTIONS kokrs_invalid = 1 poper_invalid = 2 others = 3.
CHECK_REALTIME_CUSTOM CALL FUNCTION 'CHECK_REALTIME_CUSTOM' EXPORTING KOKRS = rkauf-kokrs IMPORTING REALTIME_CUST_ON = REALTIME_CUST_ON.
RTOHC_REALTIME_VRGNG_LIST call function 'RTOHC_REALTIME_VRGNG_LIST' "RTOHC exporting "RTOHC i_kokrs = rkauf-kokrs "RTOHC i_year = rkauf-gjahr "RTOHC i_period = rkauf-from "RTOHC importing "RTOHC et_tkasc_rt = lt_tkasc_rt. "RTOHC
K_KOKRS_READ call function 'K_KOKRS_READ' EXPORTING kokrs = rkauf-kokrs IMPORTING e_tka01 = ld_tka01.
LAST_DAY_IN_PERIOD_GET call function 'LAST_DAY_IN_PERIOD_GET' EXPORTING i_gjahr = rkauf-gjahr i_periv = ld_tka01-lmona i_poper = rkauf-from IMPORTING e_date = rkauf-todate.
K_VRGNG_AUTHORITY_CHECK call function 'K_VRGNG_AUTHORITY_CHECK' EXPORTING actvt = md-exec kokrs = rkauf-kokrs vrgng = rkauf-vrgng EXCEPTIONS system_error = 1 user_not_authorized = 2.
K_VRGNG_AUTHORITY_CHECK call function 'K_VRGNG_AUTHORITY_CHECK' EXPORTING actvt = md-simu kokrs = rkauf-kokrs vrgng = rkauf-vrgng EXCEPTIONS others = 4.
K_PERIODS_GET_FOR_KOKRS call function 'K_PERIODS_GET_FOR_KOKRS' EXPORTING gjahr = ld_gjahr_sav i_tka01 = tka01 kokrs = rkauf-kokrs IMPORTING anzbp = ld_anzbp anzsp = ld_anzsp.
K_PERIODS_GET_FOR_KOKRS call function 'K_PERIODS_GET_FOR_KOKRS' EXPORTING i_tka01 = tka01 kokrs = rkauf-kokrs IMPORTING anzbp = ld_anzbp anzsp = ld_anzsp.
call function 'CO_PERIOD_BLOCKING_CHECK' EXPORTING kokrs = rkauf-kokrs versn = rkauf-versn gjahr = ld_gjahr_sav perab = ld_from_sav perbi = ld_to_sav vrgng = rkauf-vrgng EXCEPTIONS vrgng_blocked = 1.
K_TKVS_READ call function 'K_TKVS_READ' exporting version = p_rkauf-versn * langu = importing e_tkvs = i_tkvs * E_VTEXT = * EXCEPTIONS * NOT_FOUND = 1 * OTHERS = 2 .
K_VERSN_FOR_VRGNG_CHECK call function 'K_VERSN_FOR_VRGNG_CHECK' exporting vrgng = 'KZRP' kokrs = p_rkauf-kokrs versn = p_rkauf-versn * DELTA_VERSN = exceptions wrong_versn = 1 vrgng_not_allowed = 2 others = 3.
CNEV_01_SELECT_VERSION_EV call function 'CNEV_01_SELECT_VERSION_EV' EXPORTING i_kokrs = rkauf-kokrs i_versn_ev = rkauf-versn IMPORTING e_evvs = ld_evvs EXCEPTIONS versn_ev_not_found = 1 others = 2.
BSV_GET_TEXT_VRGNG call function 'BSV_GET_TEXT_VRGNG' EXPORTING langu = sy-langu vrgng = rkauf-vrgng IMPORTING txt = ld_txt.
K_POSTING_DATE_CHECK call function 'K_POSTING_DATE_CHECK' EXPORTING id_kokrs = rkauf-kokrs id_gjahr = rkauf-gjahr id_period_from = rkauf-from id_period_to = rkauf-from id_budat = rkauf-budat id_message_type = ld_message_type IMPORTING ed_check = ld_correct EXCEPTIONS no_budat = 0.
K_POSTING_DATE_GET call function 'K_POSTING_DATE_GET' EXPORTING id_kokrs = rkauf-kokrs id_gjahr = rkauf-gjahr id_period_from = rkauf-from id_period_to = rkauf-from id_budat = rkauf-budat IMPORTING ed_budat = rkauf-budat.
AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = i_tcode EXCEPTIONS ok = 1 not_ok = 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.
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 LKAZBF06 or its description.