RCPE_SD_DOC 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 RCPE_SD_DOC into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
VCPE_DOC - Commodity Pricing in SD Documents
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: Program RCPE_SD_IMG
INCLUDE CPE_SD_PARAMETER_SET.
No SAP DATABASE tables are accessed within this REPORT code!
CPE_ERP_FORMULA_SIMULATION CALL FUNCTION 'CPE_ERP_FORMULA_SIMULATION' EXPORTING IV_APPLICATION = LV_APPLICATION IMPORTING * EV_SIMU_ALL_RETURN_FCODE = * EV_USED_COND_TYPE = * EV_USED_FORMID = * EV_USED_DOCNO = * EV_USED_DOCITEMNO = * EV_USED_FILEPATH = EV_ERROR_CODE = LV_SUBRC * EXCEPTIONS * ERROR_CALL_SIMU_START = 1 * ERROR_CALL_SIMU_BUS = 2 * ERROR_CALL_FORM_MAINT_UI = 3 * ERROR_CALL_FORMULA_EVALUATION = 4 * ERROR_CALL_FORMULA_ANALYSIS = 5 * ERROR_OCCURRED = 6 * OTHERS = 7 .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.