SAP CACS_CSC_VAL_FROM_OTH_CTRT Function Module for NOTRANSL: Werte von anderen ProvVerträgen übernehmen
CACS_CSC_VAL_FROM_OTH_CTRT is a standard cacs csc val from oth ctrt 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: Werte von anderen ProvVerträgen übernehmen 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 val from oth ctrt FM, simply by entering the name CACS_CSC_VAL_FROM_OTH_CTRT into the relevant SAP transaction such as SE37 or SE38.
Function Group: CACS_CONTRACTC
Program Name: SAPLCACS_CONTRACTC
Main Program: SAPLCACS_CONTRACTC
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CACS_CSC_VAL_FROM_OTH_CTRT 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_VAL_FROM_OTH_CTRT'"NOTRANSL: Werte von anderen ProvVerträgen übernehmen.
IMPORTING
CTRTBU_TEMPL_ID = "Commission Contract Number
BUSI_BEGIN = "Effective From
TECH_BEGIN = "Technically Valid from
VERSION = "Version of Master Data or Customizing Object
TABLES
* T_TEMPL_EXCL = "Fields That are not Transferred to Contract Template
EXPORTING Parameters details for CACS_CSC_VAL_FROM_OTH_CTRT
CTRTBU_TEMPL_ID - Commission Contract Number
Data type: CACS_S_BDTD-CTRTBU_TEMPL_IDOptional: No
Call by Reference: No ( called with pass by value option)
BUSI_BEGIN - Effective From
Data type: CACS_CTRTBU-BUSI_BEGINOptional: No
Call by Reference: No ( called with pass by value option)
TECH_BEGIN - Technically Valid from
Data type: CACS_CTRTBU-TECH_BEGINOptional: No
Call by Reference: No ( called with pass by value option)
VERSION - Version of Master Data or Customizing Object
Data type: CACS_CTRTBU-VERSIONOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CACS_CSC_VAL_FROM_OTH_CTRT
T_TEMPL_EXCL - Fields That are not Transferred to Contract Template
Data type: CACS_S_TEMPL_EXCLOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for CACS_CSC_VAL_FROM_OTH_CTRT 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: | ||||
| lt_t_templ_excl | TYPE STANDARD TABLE OF CACS_S_TEMPL_EXCL, " | |||
| lv_ctrtbu_templ_id | TYPE CACS_S_BDTD-CTRTBU_TEMPL_ID, " | |||
| lv_busi_begin | TYPE CACS_CTRTBU-BUSI_BEGIN, " | |||
| lv_tech_begin | TYPE CACS_CTRTBU-TECH_BEGIN, " | |||
| lv_version | TYPE CACS_CTRTBU-VERSION. " |
|   CALL FUNCTION 'CACS_CSC_VAL_FROM_OTH_CTRT' "NOTRANSL: Werte von anderen ProvVerträgen übernehmen |
| IMPORTING | ||
| CTRTBU_TEMPL_ID | = lv_ctrtbu_templ_id | |
| BUSI_BEGIN | = lv_busi_begin | |
| TECH_BEGIN | = lv_tech_begin | |
| VERSION | = lv_version | |
| TABLES | ||
| T_TEMPL_EXCL | = lt_t_templ_excl | |
| . " CACS_CSC_VAL_FROM_OTH_CTRT | ||
ABAP code using 7.40 inline data declarations to call FM CACS_CSC_VAL_FROM_OTH_CTRT
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 CTRTBU_TEMPL_ID FROM CACS_S_BDTD INTO @DATA(ld_ctrtbu_templ_id). | ||||
| "SELECT single BUSI_BEGIN FROM CACS_CTRTBU INTO @DATA(ld_busi_begin). | ||||
| "SELECT single TECH_BEGIN FROM CACS_CTRTBU INTO @DATA(ld_tech_begin). | ||||
| "SELECT single VERSION FROM CACS_CTRTBU INTO @DATA(ld_version). | ||||
Search for further information about these or an SAP related objects