SAP Reports / Programs

RK2QS300 SAP ABAP INCLUDE - documentation and ABAP source code







RK2QS300 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 RK2QS300 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 RK2QS300. "Basic submit
SUBMIT RK2QS300 AND RETURN. "Return to original report after report execution complete
SUBMIT RK2QS300 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT RK2QS300

INCLUDE SCHEDMAN_EVENTS.


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:

RKE_FILL_FIELD_TABLE call function 'RKE_FILL_FIELD_TABLE' exporting erkrs = g_erkrs neu_kz = ' ' protokoll_kz = ' ' tabname = g_ce0_name importing subrc = g_subrc tables fieldtab = gt_fieldtab[] exceptions ledger_not_def = 01 ledger_not_found = 02 table_not_found = 03.

RKE_READ_ERKRS_MESSAGE call function 'RKE_READ_ERKRS_MESSAGE' exporting i_erkrs = g_erkrs "#EC DOM_EQUAL importing e_v_tkeb = gs_v_tkeb et_v_tkebl = gt_v_tkebl.

COPA_GET_LEDGER_COPY_RULE call function 'COPA_GET_LEDGER_COPY_RULE' exporting is_v_tkebl = gs_v_tkebl it_v_tkebl = gt_v_tkebl importing e_ledger_from = gs_ledger-paledger et_ledger_to = gt_ledger exceptions error_ledger = 1 others = 2.

RKD_SELTAB_TO_EXPRESSION call function 'RKD_SELTAB_TO_EXPRESSION' exporting tabix = 1 perflag = l_perflag periv = l_periv * EXEC_SQL = ' ' "DEL 4.6A

RKE_WHERE_USED_LIST_VFIELDS call function 'RKE_WHERE_USED_LIST_VFIELDS' exporting i_erkrs = g_erkrs importing et_vf_record = lt_vf_record.

RKE_SELTAB_CONVERT_TO_INITIAL call function 'RKE_SELTAB_CONVERT_TO_INITIAL' exporting i_erkrs = g_erkrs i_pa_type = '1' changing xt_seltab = et_seltab.

COPA_GET_BSTRA call function 'COPA_GET_BSTRA' exporting i_erkrs = g_erkrs i_bwfkt = '02' i_vrgar = ls_item-vrgar importing e_bstra = l_bstra changing is_item = ls_item_old exceptions val_not_active = 1 others = 2.

RKE_PRICING_INTERFACE_ACT call function 'RKE_PRICING_INTERFACE_ACT' exporting i_erkrs = g_erkrs i_bwfkt = '02' i_bstra = l_bstra i_storno = l_negative i_convert_via_foreign_currency = l_via_for_curr i_trace_mode_bean = l_trace_mode_bean i_ke27_all_fields = g_allow_changes is_copa_item_input = ls_item importing es_copa_item_output = ls_item e_trace_handle_bean = l_trace_handle_bean tables it_fieldtab = it_fieldtab[] xt_wertkomp = et_valuefield[] xt_item_bukrs = lt_item_bukrs exceptions valuation_error = 01 error_message = 02.

COPA_COMPARE_ITEMS call function 'COPA_COMPARE_ITEMS' exporting i_erkrs = g_erkrs i_item_one = ls_item_old i_item_two = ls_item i_compare_fields = 'A' importing et_field = et_field.

RKE_POST_ACT_LINE_ITEM call function 'RKE_POST_ACT_LINE_ITEM' exporting erkrs = 'S300' butyp = 'R' check_belnr = ' ' is_reversal = x_post_reverse t_paledger = it_paledger tables line_item_tab = xt_item_delta[] exceptions already_exists = 01 doc_nr_iv_not_exists = 02 doc_nr_iv_overflow = 03 foreign_lock = 04 system_failure = 05.

RKE_GET_ACT_DOC_NUMBER call function 'RKE_GET_ACT_DOC_NUMBER' exporting erkrs = g_erkrs gjahr = xs_item_delta-gjahr vrgar = xs_item_delta-vrgar importing belnr = xs_item_delta-belnr.

RKE_GET_CRITERIA_FOR_CE4KEY call function 'RKE_GET_CRITERIA_FOR_CE4KEY' exporting i_erkrs = g_erkrs i_use_tkeoe = 'X' i_pa_type = '1' tables object_table = lt_ce4 exceptions others = 2.

RKE_ADMINISTRATION_INSERT call function 'RKE_ADMINISTRATION_INSERT' exporting i_func = kepp_c_funcl-gipb i_erkrs = g_erkrs i_pa_type = '1' i_mode = i_mode is_bpsel = is_bpsel.

RKE_LOG_SHOW call function 'RKE_LOG_SHOW' exporting i_cepl4 = ls_cepl4 protzae = is_protzae tcode = 'KE27' erkrs = g_erkrs mode = i_mode is_bpsel = is_bpsel tables fehlertab = it_errortab[].

RKE_ENQUEUE_SELTAB call function 'RKE_ENQUEUE_SELTAB' exporting i_erkrs = g_erkrs i_pa_type = '1' i_wait = ' ' i_scope = '3' i_action = 'E' i_mode_exceptions = ' ' it_seltab = it_seltab exceptions foreign_lock = 1 system_error = 2 others = 3.

RKE_ENQUEUE_SELTAB call function 'RKE_ENQUEUE_SELTAB' exporting i_erkrs = g_erkrs i_pa_type = '1' i_wait = ' ' i_scope = '3' i_action = 'D' i_mode_exceptions = ' ' it_seltab = it_seltab exceptions foreign_lock = 1 system_error = 2 others = 3.

COPA_KEAB_TRACE_EXPORT call function 'COPA_KEAB_TRACE_EXPORT'.

RKE_REPORT_EXECUTE_WITH_DATA call function 'RKE_REPORT_EXECUTE_WITH_DATA' exporting i_erkrs = g_erkrs i_patype = '1' " costing based PA i_t_ce0 = lt_ce0 i_start_in_new_window = 'X' i_skip_first_screen = ' ' exceptions others = 1.

KPEP_MONI_INIT_RECORD





call function 'KPEP_MONI_INIT_RECORD' exporting ls_detail = ls_detail ls_witem = ls_witem ls_appl = ls_specific_copa importing ls_key = es_key.

KPEP_MONI_CLOSE_RECORD call function 'KPEP_MONI_CLOSE_RECORD' exporting ls_key = is_key ls_scma_event = ls_scma_event changing ld_aplstat = l_status.

RKE_READ_ERKRS_MESSAGE call function 'RKE_READ_ERKRS_MESSAGE' exporting i_erkrs = g_erkrs importing e_v_tkeb = ls_v_tkeb.

RKE_GET_FIRST_DAY_IN_PERIOD call function 'RKE_GET_FIRST_DAY_IN_PERIOD' exporting perio = i_perio periv = ls_v_tkeb-periv importing date = e_budat exceptions i_error = 1 i_perflag_invalid = 2 i_periv_notedited = 3 i_periv_notfound = 4 others = 5.



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