CACSBR_VAL_GET_CONT_DEC is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name CACSBR_VAL_GET_CONT_DEC into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
CACSBR_BUSS_RULE_RFC
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'CACSBR_VAL_GET_CONT_DEC' "Business Rules: Get decision table contents
EXPORTING
iv_proc_type = " cacs_agr_typ Agreement Type
iv_dec_guid = " fdt_uuid FDT: Universal Unique Identifier
* iv_tech_time = " cacstechtime Technical Validity Time
* id_busi_time = " cacs_busibegin_date Start Date of Effective Validity
* iv_flg_both_ac_inac = ABAP_FALSE " char1 Single-Character Indicator
IMPORTING
ed_tech_time = " cacstechtime Technical Validity (Time Stamp: YYYY.MM.DD hh:mm:ss)
et_table_data = " cacs_br_tt_valdt_fs Business Rule: Table Type of the Final Structure
et_catalog = " cacs_tt_fdt_dec_tab_struc BRFplus: Decision table structure catalogue
et_errors = " bapiret2_t Return parameter table
. " CACSBR_VAL_GET_CONT_DEC
The ABAP code below is a full code listing to execute function module CACSBR_VAL_GET_CONT_DEC including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| ld_ed_tech_time | TYPE CACSTECHTIME , |
| ld_et_table_data | TYPE CACS_BR_TT_VALDT_FS , |
| ld_et_catalog | TYPE CACS_TT_FDT_DEC_TAB_STRUC , |
| ld_et_errors | TYPE BAPIRET2_T . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_ed_tech_time | TYPE CACSTECHTIME , |
| ld_iv_proc_type | TYPE CACS_AGR_TYP , |
| ld_et_table_data | TYPE CACS_BR_TT_VALDT_FS , |
| ld_iv_dec_guid | TYPE FDT_UUID , |
| ld_et_catalog | TYPE CACS_TT_FDT_DEC_TAB_STRUC , |
| ld_iv_tech_time | TYPE CACSTECHTIME , |
| ld_et_errors | TYPE BAPIRET2_T , |
| ld_id_busi_time | TYPE CACS_BUSIBEGIN_DATE , |
| ld_iv_flg_both_ac_inac | TYPE CHAR1 . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name CACSBR_VAL_GET_CONT_DEC or its description.
CACSBR_VAL_GET_CONT_DEC - Business Rules: Get decision table contents CACSBR_LOSA_BR_VAL - Business Rule: LOS for Valaution CACSBR_LOSA_BR_REM - Formula Editor: LOS Function (Remuneration) CACSBR_GET_GUID - get guid for an object name CACSBR_GET_FUNC_STRUCT - fdt : get the dec table structure CACSBR_GET_FUNC_NAME - Business Rule: Get the function names depending on the agreement type