SAP CACS_CSC_TRCAS_READ Function Module for NOTRANSL: Prov.: Hole Provisionsfallauslöser für Vereinbarung
CACS_CSC_TRCAS_READ is a standard cacs csc trcas read 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: Prov.: Hole Provisionsfallauslöser für Vereinbarung 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 csc trcas read FM, simply by entering the name CACS_CSC_TRCAS_READ into the relevant SAP transaction such as SE37 or SE38.
Function Group: CACS_CONTRACTC_AT
Program Name: SAPLCACS_CONTRACTC_AT
Main Program: SAPLCACS_CONTRACTC_AT
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function CACS_CSC_TRCAS_READ 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_CSC_TRCAS_READ'"NOTRANSL: Prov.: Hole Provisionsfallauslöser für Vereinbarung.
EXPORTING
I_APPL = "Commission Application (ICM)
* I_BUSI_BEGIN = "Effective from
* I_BUSI_END = "Effective Until (Time Stamp: YYYY.MM.DD hh:mm:ss)
* I_TECH_BEGIN = "Technically Valid From
* I_TECH_END = "Technically Valid To (Time Stamp: JJJJ.MM.TT hh:mm:ss)
I_CTRTST_ID = "Number of Standard Commission Contract
* I_TRGCAS_TYPE = "Reason for Additional Commission Case Being Triggered
* I_CHK_ESS = "Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
* I_TRGCAS_ESS = ' ' "Grouping of Commission Case Trigger
TABLES
E_TRCAS = "Additional Commission Cases: Agreement Data
EXCEPTIONS
NO_LED_CURR_FOUND = 1
IMPORTING Parameters details for CACS_CSC_TRCAS_READ
I_APPL - Commission Application (ICM)
Data type: CACSAPPLOptional: No
Call by Reference: No ( called with pass by value option)
I_BUSI_BEGIN - Effective from
Data type: CACS_CTRTBU-BUSI_BEGINOptional: Yes
Call by Reference: No ( called with pass by value option)
I_BUSI_END - Effective Until (Time Stamp: YYYY.MM.DD hh:mm:ss)
Data type: CACS_CTRTBU-BUSI_ENDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TECH_BEGIN - Technically Valid From
Data type: CACS_CTRTBU-TECH_BEGINOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TECH_END - Technically Valid To (Time Stamp: JJJJ.MM.TT hh:mm:ss)
Data type: CACS_CTRTBU-TECH_ENDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_CTRTST_ID - Number of Standard Commission Contract
Data type: CACS_CTRTBU-CTRTST_IDOptional: No
Call by Reference: No ( called with pass by value option)
I_TRGCAS_TYPE - Reason for Additional Commission Case Being Triggered
Data type: CACS_TRGCAS_TYPEOptional: Yes
Call by Reference: Yes
I_CHK_ESS - Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
Data type: BOOLE_DOptional: Yes
Call by Reference: No ( called with pass by value option)
I_TRGCAS_ESS - Grouping of Commission Case Trigger
Data type: CACS_TRGCAS_ESSENCEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CACS_CSC_TRCAS_READ
E_TRCAS - Additional Commission Cases: Agreement Data
Data type: CACS_S_TRCAS_INFOOptional: No
Call by Reference: Yes
EXCEPTIONS details
NO_LED_CURR_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CACS_CSC_TRCAS_READ 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_i_appl | TYPE CACSAPPL, " | |||
lt_e_trcas | TYPE STANDARD TABLE OF CACS_S_TRCAS_INFO, " | |||
lv_no_led_curr_found | TYPE CACS_S_TRCAS_INFO, " | |||
lv_i_busi_begin | TYPE CACS_CTRTBU-BUSI_BEGIN, " | |||
lv_i_busi_end | TYPE CACS_CTRTBU-BUSI_END, " | |||
lv_i_tech_begin | TYPE CACS_CTRTBU-TECH_BEGIN, " | |||
lv_i_tech_end | TYPE CACS_CTRTBU-TECH_END, " | |||
lv_i_ctrtst_id | TYPE CACS_CTRTBU-CTRTST_ID, " | |||
lv_i_trgcas_type | TYPE CACS_TRGCAS_TYPE, " | |||
lv_i_chk_ess | TYPE BOOLE_D, " | |||
lv_i_trgcas_ess | TYPE CACS_TRGCAS_ESSENCE. " SPACE |
  CALL FUNCTION 'CACS_CSC_TRCAS_READ' "NOTRANSL: Prov.: Hole Provisionsfallauslöser für Vereinbarung |
EXPORTING | ||
I_APPL | = lv_i_appl | |
I_BUSI_BEGIN | = lv_i_busi_begin | |
I_BUSI_END | = lv_i_busi_end | |
I_TECH_BEGIN | = lv_i_tech_begin | |
I_TECH_END | = lv_i_tech_end | |
I_CTRTST_ID | = lv_i_ctrtst_id | |
I_TRGCAS_TYPE | = lv_i_trgcas_type | |
I_CHK_ESS | = lv_i_chk_ess | |
I_TRGCAS_ESS | = lv_i_trgcas_ess | |
TABLES | ||
E_TRCAS | = lt_e_trcas | |
EXCEPTIONS | ||
NO_LED_CURR_FOUND = 1 | ||
. " CACS_CSC_TRCAS_READ |
ABAP code using 7.40 inline data declarations to call FM CACS_CSC_TRCAS_READ
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."SELECT single BUSI_BEGIN FROM CACS_CTRTBU INTO @DATA(ld_i_busi_begin). | ||||
"SELECT single BUSI_END FROM CACS_CTRTBU INTO @DATA(ld_i_busi_end). | ||||
"SELECT single TECH_BEGIN FROM CACS_CTRTBU INTO @DATA(ld_i_tech_begin). | ||||
"SELECT single TECH_END FROM CACS_CTRTBU INTO @DATA(ld_i_tech_end). | ||||
"SELECT single CTRTST_ID FROM CACS_CTRTBU INTO @DATA(ld_i_ctrtst_id). | ||||
DATA(ld_i_trgcas_ess) | = ' '. | |||
Search for further information about these or an SAP related objects