SAP CACS_STDCTR_RC_PRESEL_INIT_RFC Function Module for NOTRANSL: Standardvertrag, Regelausprägungen: Vorselektionsbild mit Daten
CACS_STDCTR_RC_PRESEL_INIT_RFC is a standard cacs stdctr rc presel init rfc SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Standardvertrag, Regelausprägungen: Vorselektionsbild mit Daten processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for cacs stdctr rc presel init rfc FM, simply by entering the name CACS_STDCTR_RC_PRESEL_INIT_RFC into the relevant SAP transaction such as SE37 or SE38.
Function Group: CACS_STDCTR_RULECHAR_RFC
Program Name: SAPLCACS_STDCTR_RULECHAR_RFC
Main Program: SAPLCACS_STDCTR_RULECHAR_RFC
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function CACS_STDCTR_RC_PRESEL_INIT_RFC pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'CACS_STDCTR_RC_PRESEL_INIT_RFC'"NOTRANSL: Standardvertrag, Regelausprägungen: Vorselektionsbild mit Daten.
IMPORTING
EV_AGR_TYPE = "Agreement Type
EV_AGR_TYPE_DESCR = "Short Text for Fixed Values
EV_STCAGR_ID = "Standard Agreement
EV_STCAGR_DESCR = "Name of Standard Agreement
EV_REM_TYPE = "Number of Standard Agreement Rule
EV_REM_TYPE_DESCR = "Name of agreement type
ET_COND_TABLE = "Condition Tables with Description; for WD-RFC Layer
ET_MSG = "Return Table
EXPORTING Parameters details for CACS_STDCTR_RC_PRESEL_INIT_RFC
EV_AGR_TYPE - Agreement Type
Data type: CACS_AGR_TYPOptional: No
Call by Reference: No ( called with pass by value option)
EV_AGR_TYPE_DESCR - Short Text for Fixed Values
Data type: VAL_TEXTOptional: No
Call by Reference: No ( called with pass by value option)
EV_STCAGR_ID - Standard Agreement
Data type: CACS_STCAGR_IDOptional: No
Call by Reference: No ( called with pass by value option)
EV_STCAGR_DESCR - Name of Standard Agreement
Data type: CACSSTCAGRTXOptional: No
Call by Reference: No ( called with pass by value option)
EV_REM_TYPE - Number of Standard Agreement Rule
Data type: CACS_STD_RULE_IDOptional: No
Call by Reference: No ( called with pass by value option)
EV_REM_TYPE_DESCR - Name of agreement type
Data type: CACSRULTXTOptional: No
Call by Reference: No ( called with pass by value option)
ET_COND_TABLE - Condition Tables with Description; for WD-RFC Layer
Data type: CACS_TT_COND_TABLES_VACOptional: No
Call by Reference: No ( called with pass by value option)
ET_MSG - Return Table
Data type: BAPIRET2_TOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CACS_STDCTR_RC_PRESEL_INIT_RFC Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_ev_agr_type | TYPE CACS_AGR_TYP, " | |||
| lv_ev_agr_type_descr | TYPE VAL_TEXT, " | |||
| lv_ev_stcagr_id | TYPE CACS_STCAGR_ID, " | |||
| lv_ev_stcagr_descr | TYPE CACSSTCAGRTX, " | |||
| lv_ev_rem_type | TYPE CACS_STD_RULE_ID, " | |||
| lv_ev_rem_type_descr | TYPE CACSRULTXT, " | |||
| lv_et_cond_table | TYPE CACS_TT_COND_TABLES_VAC, " | |||
| lv_et_msg | TYPE BAPIRET2_T. " |
|   CALL FUNCTION 'CACS_STDCTR_RC_PRESEL_INIT_RFC' "NOTRANSL: Standardvertrag, Regelausprägungen: Vorselektionsbild mit Daten |
| IMPORTING | ||
| EV_AGR_TYPE | = lv_ev_agr_type | |
| EV_AGR_TYPE_DESCR | = lv_ev_agr_type_descr | |
| EV_STCAGR_ID | = lv_ev_stcagr_id | |
| EV_STCAGR_DESCR | = lv_ev_stcagr_descr | |
| EV_REM_TYPE | = lv_ev_rem_type | |
| EV_REM_TYPE_DESCR | = lv_ev_rem_type_descr | |
| ET_COND_TABLE | = lv_et_cond_table | |
| ET_MSG | = lv_et_msg | |
| . " CACS_STDCTR_RC_PRESEL_INIT_RFC | ||
ABAP code using 7.40 inline data declarations to call FM CACS_STDCTR_RC_PRESEL_INIT_RFC
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.Search for further information about these or an SAP related objects