SAP Reports / Programs | Basis Components | Business Management | Organizational Management(BC-BMT-OM) SAP BC

DBPCHF40 SAP ABAP INCLUDE - documentation and ABAP source code







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


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 DBPCHF40. "Basic submit
SUBMIT DBPCHF40 AND RETURN. "Return to original report after report execution complete
SUBMIT DBPCHF40 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 DBPCHF40

No INCLUDES are used within this REPORT code!


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:

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.



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