PRC_CALCRULE_TEST_F02 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 PRC_CALCRULE_TEST_F02 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.
Title: Include PRC_CALCRULE_TEST_F02
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
CONN_PRODUCT_CREATE_PRODUCT CALL FUNCTION 'CONN_PRODUCT_CREATE_PRODUCT' EXPORTING iv_date = gv_date iv_base_uom = 'L' is_base_units = ls_base_units iv_number = '1' it_alt_quantity_unit = lt_alt_quantity_unit IMPORTING et_product = lt_product et_bapiret = gt_bapiret EXCEPTIONS exc_product_api = 1 exc_log_system = 2 exc_saving_product = 3 exc_base_category = 4 OTHERS = 5.
PRC_PD_CREATE CALL FUNCTION 'PRC_PD_CREATE' EXPORTING iv_bal_log = gv_bal_log is_head_com = ls_head_com iv_group_processing = prcon_prc_true iv_keep_zero_prices = prcon_prc_false iv_use_name_value = prcon_prc_true IMPORTING ev_pd_handle = gv_pd_handle ev_pd_guid = gv_pd_guid EXCEPTIONS wrong_call = 1 ipc_error = 2 session_begin = 3 lock_failure = 4 OTHERS = 5.
SYSTEM_CALLSTACK CALL FUNCTION 'SYSTEM_CALLSTACK' IMPORTING et_callstack = lt_callstack.
GUID_CREATE CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_16 = gv_kposn.
PRC_PD_ITEM_CREATE_MULTI CALL FUNCTION 'PRC_PD_ITEM_CREATE_MULTI' EXPORTING iv_pd_handle = gv_pd_handle iv_bal_log = gv_bal_log it_item_com = lt_item_com IMPORTING es_head_ret = gs_head_ret et_item_ret = gt_item_ret EXCEPTIONS non_existing_handle = 1 wrong_call = 2 ipc_error = 3 not_allowed = 4 OTHERS = 5.
PRC_PD_ITEM_ADD_COND_MULTI CALL FUNCTION 'PRC_PD_ITEM_ADD_COND_MULTI' EXPORTING iv_pd_handle = gv_pd_handle iv_bal_log = gv_bal_log it_cond_add = lt_cond_record iv_suppress_checks = prcon_prc_false IMPORTING es_head_ret = gs_head_ret et_item_ret = gt_item_ret EXCEPTIONS non_existing_handle = 1 ipc_error = 2 not_allowed = 3 OTHERS = 4.
PRC_PD_ITEM_READ_MULTI CALL FUNCTION 'PRC_PD_ITEM_READ_MULTI' EXPORTING iv_pd_handle = gv_pd_handle iv_bal_log = gv_bal_log IMPORTING et_item_wrk = lt_item_wrk EXCEPTIONS non_existing_handle = 1 OTHERS = 2.
PRC_PD_ITEM_SHOW CALL FUNCTION 'PRC_PD_ITEM_SHOW' EXPORTING iv_pd_handle = gv_pd_handle iv_item_no = ls_item_wrk-kposn IMPORTING et_komv_print = lt_actual_cond_results EXCEPTIONS non_existing_handle = 1 non_existing_item = 2 ipc_error = 3 OTHERS = 4.
PRC_PD_ITEM_CHANGE_COND_MULTI CALL FUNCTION 'PRC_PD_ITEM_CHANGE_COND_MULTI' EXPORTING iv_pd_handle = gv_pd_handle iv_bal_log = gv_bal_log it_cond_change = lt_cond_change iv_suppress_checks = prcon_prc_false IMPORTING es_profile = gs_profile es_head_ret = gs_head_ret et_item_ret = gt_item_ret EXCEPTIONS non_existing_handle = 1 ipc_error = 2 not_allowed = 3 OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
PRC_CALCRULE_TEST_F02 - Include PRC_CALCRULE_TEST_F02 PRC_CALCRULE_TEST_F01 - Include PRC_CALCRULE_TEST_F01 PRC_CALCRULE_TEST - Test Report for different calculation rules in pricing PRC_CALCRULE_TEST - Test Report for different calculation rules in pricing PRCSVCN0_I02 - Include PRCSVCN0_I02 PRCC_TRACE_COND_PP_F01 - Form ADD_CONTEXT_LOG_ENTRY