/SAPPCE/PPD_READ_DATABASE_CHEC 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 /SAPPCE/PPD_READ_DATABASE_CHEC 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 PSDBCDAT.
No SAP DATABASE tables are accessed within this REPORT code!
K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING kokrs = cn_kokrs EXCEPTIONS not_found = 1.
K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' EXPORTING popup = ld_popup IMPORTING e_kokrs = cn_kokrs EXCEPTIONS not_found = 0.
K_DATE_TO_PERIOD_CONVERT CALL FUNCTION 'K_DATE_TO_PERIOD_CONVERT' EXPORTING i_date = sy-datlo i_kokrs = cn_kokrs IMPORTING e_gjahr = l_gjahr e_perio = l_perio.
K_PERIOD_CHECK_IN_KOKRS CALL FUNCTION 'K_PERIOD_CHECK_IN_KOKRS' EXPORTING i_perio = l_perio i_gjahr = l_gjahr i_kokrs = cn_kokrs IMPORTING e_previous_perio = so_perio-high e_previous_gjahr = so_gjahr-high EXCEPTIONS period_not_valid = 0.
K_PERIODS_GET_FOR_KOKRS CALL FUNCTION 'K_PERIODS_GET_FOR_KOKRS' EXPORTING gjahr = l_gjahr kokrs = cn_kokrs IMPORTING anzbp = lf_anzbp EXCEPTIONS OTHERS = 0.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.