SAP Reports / Programs | Default Risk and Limit System | Bank Components | Default Risk and Limit System(IS-B-RA-CL) SAP IS

DETAILPROTBKNZ SAP ABAP Report - Detail Log: Attributable Amount Determination incl. NPV Determination







DETAILPROTBKNZ 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 DETAILPROTBKNZ into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT DETAILPROTBKNZ. "Basic submit
SUBMIT DETAILPROTBKNZ AND RETURN. "Return to original report after report execution complete
SUBMIT DETAILPROTBKNZ VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: AUSWART = Evaluation Type
Title: Detail Log: Attributable Amount Determination incl. NPV Determination
Text Symbol: 001 = Evaluation Parameters


INCLUDES used within this REPORT DETAILPROTBKNZ

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

KL_TZ_GET_DATA_FROM_KLXAKT *CALL FUNCTION 'KL_TZ_GET_DATA_FROM_KLXAKT' * IMPORTING * e_klxakt = wa_klxakt * EXCEPTIONS * limit_management_inactiv = 0 * OTHERS = 0.

KL_PROT_INITIALIZE **CALL FUNCTION 'KL_PROT_INITIALIZE' ** EXPORTING ** level = prot_level.

KL_PROT_INIT_NEW *CALL FUNCTION 'KL_PROT_INIT_NEW' * EXPORTING * level = prot_level ** NEW_PROT = 'X' * .

KL_NACHT_INITIALIZE *CALL FUNCTION 'KL_NACHT_INITIALIZE' * EXPORTING * i_datum = auswdat * i_auswart = auswart * i_prot_level = prot_level * TABLES * c_error_itab = c_error_itab.

RM_SEL6_INIT *CALL FUNCTION 'RM_SEL6_INIT' * EXPORTING * spara = wa_spara.

EH_INIT_ERROR_ITAB *CALL FUNCTION 'EH_INIT_ERROR_ITAB'.

KL_NACHT_CONTROL_GET *CALL FUNCTION 'KL_NACHT_CONTROL_GET' * EXPORTING * i_erm_verf_tab = ev_tab * i_db_update = 'n' * i_protocol_level = prot_level * IMPORTING * e_kl_control = wa_control * TABLES * c_error_itab = c_error_itab * EXCEPTIONS * netting_error = 0 * OTHERS = 0.

OBJECT_KEY_GET_GENERIC CALL FUNCTION 'OBJECT_KEY_GET_GENERIC' EXPORTING i_objnr = objnr IMPORTING e_objectkey = objkey EXCEPTIONS object_not_found = 0 OTHERS = 0.

OBJECT_NUMBER_READ_GENERIC CALL FUNCTION 'OBJECT_NUMBER_READ_GENERIC' EXPORTING i_obart = 'F2' i_objectkey = wa_klfazmd IMPORTING e_objnr = wa_klfazmd-objnr.

KL_PROT_DETAIL_FAZ_AMOUNT CALL FUNCTION 'KL_PROT_DETAIL_FAZ_AMOUNT' EXPORTING objnr = wa_klfazmd-objnr ev = ev auswdat = auswdat.

TH_USER_INFO CALL FUNCTION 'TH_USER_INFO' IMPORTING * HOSTADDR = * TERMINAL = act_sessions = act_sessions max_sessions = max_sessions * MY_SESSION = * MY_INTERNAL_SESSION = * TASK_STATE = .

KL_PROT_DETAIL_AMOUNT_BKNZ_RFC CALL FUNCTION 'KL_PROT_DETAIL_AMOUNT_BKNZ_RFC' EXPORTING ev = ev auswdat = auswdat status = status exttyp = exttyp deal_only = dealonly i_objnr = objnr i_b1_objnr = b1_objnr.

KL_PROT_DETAIL_AMOUNT_BKNZ_RFC CALL FUNCTION 'KL_PROT_DETAIL_AMOUNT_BKNZ_RFC' STARTING NEW TASK 'ABE' EXPORTING ev = ev auswdat = auswdat status = status exttyp = exttyp deal_only = dealonly i_objnr = objnr i_b1_objnr = b1_objnr .

KL_PROT_DETAIL_AMOUNT * CALL FUNCTION 'KL_PROT_DETAIL_AMOUNT' * EXPORTING * objnr = objnr * ev = ev * auswdat = auswdat * status = status * exttyp = exttyp * EXCEPTIONS * OTHERS = 0.

KL_NACHT_JBDBSTD_PROJ_SELECT * CALL FUNCTION 'KL_NACHT_JBDBSTD_PROJ_SELECT' * EXPORTING * i_protocol_level = prot_level * IMPORTING * e_jbdbstd_proj_2_tab = it_jbdbstd_proj_2_tab * TABLES * c_error_itab = c_error_itab * EXCEPTIONS * object_not_found = 0 * OTHERS = 0.

KL_NACHT_DEALNR_DISPATCH * CALL FUNCTION 'KL_NACHT_DEALNR_DISPATCH' * EXPORTING * i_jbdobj1_proj_tab = it_jbdobj1_proj * i_jbdbstd_proj_2_tab = it_jbdbstd_proj_2_tab * i_protocol_level = prot_level * IMPORTING * e_single_transac_tab = obj_tab * e_security_tab = obj_b1_tab * TABLES * c_error_itab = c_error_itab * EXCEPTIONS * OTHERS = 0.

KL_NAC_COUNTERPARTY_RISK_CALC * CALL FUNCTION 'KL_NAC_COUNTERPARTY_RISK_CALC' * EXPORTING * i_erm_verfahren_tab = ev_tab * i_stichtag = auswdat * i_object_id_tab = obj_tab * i_auswertungsart = auswart * i_control = wa_control * i_prot_level = prot_level * IMPORTING * e_repobj_tab = rep_repos_tab ** e_sfgdt_tab_t2t6 = sfgdt_tab_t2t6 * e_si_ant_tab = it_si_ant * e_si_wert_tab = it_si_wert * e_si_anbetrout_tab = it_si_anbetrout * TABLES * c_error_itab = c_error_itab * c_si_error_itab = c_si_error_itab * EXCEPTIONS * sfgdt_selection_err = 0 * rep_err = 0 * rep_db_err = 0 * repos_db_err = 0 * calc_not_possible = 0 * arp_db_err = 0 * OTHERS = 0.

KL_NAC_SETTLEMENT_RISK_DEALS * CALL FUNCTION 'KL_NAC_SETTLEMENT_RISK_DEALS' * EXPORTING * i_base_date = auswdat * i_ev_tab = ev_tab * i_objnr = objnr * i_protocol_level = prot_level * IMPORTING * e_anbetrout_tab = it_anbetrout * TABLES * c_error_itab = c_error_itab * EXCEPTIONS * no_calc = 0 * OTHERS = 0.

KL_RES_KLREPOS_DATA_READ_TABLE





* CALL FUNCTION 'KL_RES_KLREPOS_DATA_READ_TABLE' * EXPORTING * i_objnr_tab = obj_tab * i_akt_datum = auswdat * i_status = status * IMPORTING * e_klrepos_tab = it_klrepos * EXCEPTIONS * no_entry_found = 0 * OTHERS = 0.

KL_NACHT_PRELIMINARIES * CALL FUNCTION 'KL_NACHT_PRELIMINARIES' * EXPORTING * i_akt_datum = auswdat * i_protocol_level = prot_level * IMPORTING * e_jbdbstd_proj_tab = kl2_jbstd_tab * TABLES * c_error_itab = c_error_itab * EXCEPTIONS * OTHERS = 0.

KL_RES_KLBEST_DATA_READ_TABLE * CALL FUNCTION 'KL_RES_KLBEST_DATA_READ_TABLE' * EXPORTING * i_best_tab = obj_b1_tab ** I_OBJNR_TAB = * i_ausw_datum = auswdat * IMPORTING * e_klbepos_tab = it_klbepos_db * EXCEPTIONS * no_entry_found = 1 * OTHERS = 2 * .

RM_SE_SFGDT_COMMON ** CALL FUNCTION 'RM_SE_SFGDT_COMMON' ** EXPORTING ** date = auswdat ** anwtyp = '5' ** objekttab = obj_tab ** IMPORTING ** sfgdt = it_sfgdt_de_se ** TABLES ** e_bapierr = c_error_itab.

KL_NAC_ISSUER_RISK_CALC * CALL FUNCTION 'KL_NAC_ISSUER_RISK_CALC' * EXPORTING * i_erm_verfahren_tab = ev_tab * i_stichtag = auswdat * i_object_tab_b1 = obj_b1_tab * i_object_tab_t2_t6 = obj_tab * i_auswertungsart = auswart * i_db_update = ' ' * i_prot_level = prot_level ** i_sfgdt_tab_se_de = it_sfgdt_de_se * i_jbdbstd_proj = kl2_jbstd_tab ** i_parallel_flag = 'X' * IMPORTING * e_repobj_tab = rep_repos_tab * e_bepos_tab = it_bepos * e_abepos_tab = it_abepos * TABLES * c_error_tab = c_error_itab * EXCEPTIONS * calc_not_possible = 1 * rep_error = 2 * sfgdt_selection_error = 3 * db_insert_error_for_rep = 4 * db_insert_error_for_repos = 5 * db_insert_error_for_bepos = 6 * db_update_error_for_arpos = 7 * OTHERS = 8.

KL_RES_KLREPOS_DATA_READ_TABLE * CALL FUNCTION 'KL_RES_KLREPOS_DATA_READ_TABLE' * EXPORTING * i_objnr_tab = obj_b1_tab * i_akt_datum = auswdat * i_status = status * IMPORTING * e_klrepos_tab = it_klrepos * EXCEPTIONS * no_entry_found = 0 * OTHERS = 0.

KLAB_DEAL_EVAL_TABLE * CALL FUNCTION 'KLAB_DEAL_EVAL_TABLE' * EXPORTING * it_rep_repos = rep_repos_tab * i_prot_level = prot_level * auswdat = auswdat * it_ev = ev_tab * i_it_si_wert = it_si_wert * i_it_si_ant = it_si_ant * i_it_si_anbetrout = it_si_anbetrout * IMPORTING * it_anbetrout = it_anbetrout * TABLES * c_erroritab = c_error_itab * c_si_error_itab = c_si_error_itab * EXCEPTIONS * no_sfgdt_found = 0 * no_ev = 0 * no_calc = 0 * OTHERS = 0.

KL_PROT_DETAIL_AMOUNT_WITH_DYN * CALL FUNCTION 'KL_PROT_DETAIL_AMOUNT_WITH_DYN' * TABLES * c_error_itab = c_error_itab * i_it_repos = it_klrepos.

KL_PROT_DETAIL_AMOUNT_WITH_DYN * CALL FUNCTION 'KL_PROT_DETAIL_AMOUNT_WITH_DYN' * EXPORTING * i_b1_objnr = b1_objnr * i_eg_objnr = objnr * i_ev = ev * i_datum = auswdat * TABLES * c_error_itab = c_error_itab * i_it_repos = it_klrepos * i_it_bepos = it_klbepos_db * i_it_anbetrout = it_anbetrout.

RM_PROT_SHOW_WITH_TABLE * CALL FUNCTION 'RM_PROT_SHOW_WITH_TABLE' * TABLES * i_prot_itab = it_prot.



Contribute (Add Comments)

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 DETAILPROTBKNZ or its description.