DBPCHF40 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 DBPCHF40 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RH_READ_INFTY_1001 CALL FUNCTION 'RH_READ_INFTY_1001' EXPORTING istat = $relation$-istat extend = 'D' begda = $relation$-begda endda = $relation$-endda condition = condition TABLES i1001 = i1001_tab objects = obj_tab EXCEPTIONS nothing_found = 1 wrong_condition = 2 OTHERS = 3.
RH_CONDITION_DELETE CALL FUNCTION 'RH_CONDITION_DELETE' EXPORTING CONDITION = condition ADJUST_COUNTER = 'X'.
RH_BUILD_SEL_INTERVAL CALL FUNCTION 'RH_BUILD_SEL_INTERVAL' EXPORTING begda_rela = $relation$-begda endda_rela = $relation$-endda begda_obj = i1001_tab-begda endda_obj = i1001_tab-endda IMPORTING begda_sel = sel_plan_objects-begda endda_sel = sel_plan_objects-endda EXCEPTIONS OTHERS = 0.
RH_READ_INFTY CALL FUNCTION 'RH_READ_INFTY' EXPORTING infty = plan_infty-infty istat = plan_infty-istat begda = sel_begda endda = sel_endda inftb = 2 "nur die 1. Gruppe füllen
RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING plvar = plan_objects-plvar otype = plan_objects-otype objid = plan_objects-objid begda = sel_begda endda = sel_endda store = ' ' check_stru_auth = 'X' read_db = 'X' IMPORTING obeg = i1000_tab-begda oend = i1000_tab-endda histo = i1000_tab-histo short = i1000_tab-short stext = i1000_tab-stext tlangu = i1000_tab-langu EXCEPTIONS not_found = 1 OTHERS = 2.
RHEO_GET_EXT_INFTY CALL FUNCTION 'RHEO_GET_EXT_INFTY' "GG61 EXPORTING otype = plan_objec-otype iname = plan_infty-name infty = plan_infty-infty objec = plan_objec TABLES itname = tmp_prelp_tab EXCEPTIONS illegal_otype = 1 method_not_supported = 2 OTHERS = 3.
RH_CONDITION_DATES_ADD CALL FUNCTION 'RH_CONDITION_DATES_ADD' EXPORTING begda = $relation$-begda endda = $relation$-endda TABLES condition_tab = condtab.
RH_CONDITION_BUILD CALL FUNCTION 'RH_CONDITION_BUILD' EXPORTING infty = '1001' IMPORTING condition = condition TABLES condtab = condtab 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.