RK2S8500 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 RK2S8500 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.
INCLUDE RKEVRK2S_FIX.
No SAP DATABASE tables are accessed within this REPORT code!
RKE_POST_ACT_LINE_ITEM call function 'RKE_POST_ACT_LINE_ITEM' exporting erkrs = g_erkrs check_belnr = ' ' is_reversal = l_reverse t_paledger = lt_copa_paledger tables line_item_tab = xt_item_post.
RKE_GET_ACT_DOC_NUMBER call function 'RKE_GET_ACT_DOC_NUMBER' exporting erkrs = g_erkrs gjahr = ls_item_post-gjahr vrgar = ls_item_post-vrgar importing belnr = l_belnr.
RKE_SUBSTITUTE_BELNR_PROTTAB call function 'RKE_SUBSTITUTE_BELNR_PROTTAB' exporting prottab = ls_log oldbelnr = l_belnr_old.
COPA_DOCUMENT_TRACE call function 'COPA_DOCUMENT_TRACE' exporting i_action = 'U' is_ad_trace = ls_ad_trace i_oldbelnr = l_belnr_old.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.