CACS_CONTRACTS_EXECUTE 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 CACS_CONTRACTS_EXECUTE 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!
CACS_TIMESTAMP_GET_NOW CALL FUNCTION 'CACS_TIMESTAMP_GET_NOW' IMPORTING E_TIMESTAMP = lv_timestamp.
CACS_TIMESTAMP_GET_DATE CALL FUNCTION 'CACS_TIMESTAMP_GET_DATE' EXPORTING i_timestamp = lv_timestamp IMPORTING E_DATE = lv_date.
RH_STRUC_GET CALL FUNCTION 'RH_STRUC_GET' EXPORTING act_otype = 'O' act_objid = xorgid act_plvar = gv_plvar act_wegid = xpath act_begda = xdate act_endda = xdate act_tdepth = 0 TABLES result_tab = lt_oe_selected EXCEPTIONS no_plvar_found = 1 no_entry_found = 2 OTHERS = 3.
RH_STRU_AUTHORITY_CHECK CALL FUNCTION 'RH_STRU_AUTHORITY_CHECK' EXPORTING * FCODE = 'DISP' plvar = gv_plvar otype = 'O' objid = xorgid with_base_ac = ' ' EXCEPTIONS no_stru_authority = 1 no_stru_authority_hyper = 2 no_stru_authority_at_all = 3 no_base_authority = 4 OTHERS = 5.
RH_BASE_AUTHORITY_CHECK CALL FUNCTION 'RH_BASE_AUTHORITY_CHECK' EXPORTING fcode = 'DISP' plvar = gv_plvar otype = 'O' infty = '1001' subty = 'A291' EXCEPTIONS no_base_authority = 1 OTHERS = 2.
CACS_ORG_CONTRACTS_LOAD_BY_OE CALL FUNCTION 'CACS_ORG_CONTRACTS_LOAD_BY_OE' EXPORTING i_appl = i_appl * I_UNAME = SY-UNAME I_SEARCH_DATE_CLC = lv_date "NOTE 943986 I_SEARCH_DATE_KNW = lv_date "NOTE 943986 i_flg_authority = true * I_WEGID = ' ' TABLES it_oe_ids = lt_oe_selected * et_oe_ids = et_contracts = lt_contracts.
CACS_ORG_PERMISSIONS_LOAD CALL FUNCTION 'CACS_ORG_PERMISSIONS_LOAD' EXPORTING i_appl = i_appl * I_UNAME = SY-UNAME I_SEARCH_DATE_CLC = lv_date "NOTE 943986 I_SEARCH_DATE_KNW = lv_date "NOTE 943986 I_SEARCH_TIMESTAMP = lv_timestamp "NOTE 943986 TABLES et_contract = gt_contracts_all EXCEPTIONS * NO_ACTIVE_PLVAR_FOUND = 1 * NO_OBJECT_RIGHTS = 2 * USER_NOT_BP = 3 * BP_HAS_NO_CLERK_ROLE = 4 * NO_BP_FOUND = 5 * NO_PDORG_RIGHTS = 6 * NO_ACT_VERSION = 7 * NO_ACT_VERSION_TO_THIS_TIME = 8 OTHERS = 99.
RH_STRUC_GET CALL FUNCTION 'RH_STRUC_GET' EXPORTING act_otype = 'O' act_objid = lt_org-low act_plvar = gv_plvar act_wegid = 'CACS_OE' act_begda = xdate act_endda = xdate act_tdepth = 0 TABLES result_tab = lt_oe_selected EXCEPTIONS no_plvar_found = 1 no_entry_found = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.