SAP CACS_COMPVERSALL Function Module for NOTRANSL: Versionsvergleich: Großer Baustein
CACS_COMPVERSALL is a standard cacs compversall 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: Versionsvergleich: Großer Baustein 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 compversall FM, simply by entering the name CACS_COMPVERSALL into the relevant SAP transaction such as SE37 or SE38.
Function Group: CACS_COMPVERSCTRT
Program Name: SAPLCACS_COMPVERSCTRT
Main Program: SAPLCACS_COMPVERSCTRT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CACS_COMPVERSALL 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_COMPVERSALL'"NOTRANSL: Versionsvergleich: Großer Baustein.
EXPORTING
I_APPL = "Commission Application (ICM)
I_CTRTBU_ID = "Commission Contract Number
I_VERSIONA = "Version of Master Data or Customizing Object
I_VERSIONB = "Version of Master Data or Customizing Object
I_BUSI_A = "Effective from
I_BUSI_B = "Effective from
I_TECH_A = "Technically Valid From
I_TECH_B = "Technically Valid From
IMPORTING Parameters details for CACS_COMPVERSALL
I_APPL - Commission Application (ICM)
Data type: CACSAPPLOptional: No
Call by Reference: Yes
I_CTRTBU_ID - Commission Contract Number
Data type: CACS_CTRTBU_IDOptional: No
Call by Reference: Yes
I_VERSIONA - Version of Master Data or Customizing Object
Data type: CACSVERSIONOptional: No
Call by Reference: Yes
I_VERSIONB - Version of Master Data or Customizing Object
Data type: CACSVERSIONOptional: No
Call by Reference: Yes
I_BUSI_A - Effective from
Data type: CACS_BUSITIME_BOptional: No
Call by Reference: Yes
I_BUSI_B - Effective from
Data type: CACS_BUSITIME_BOptional: No
Call by Reference: Yes
I_TECH_A - Technically Valid From
Data type: CACS_TECHTIME_BOptional: No
Call by Reference: Yes
I_TECH_B - Technically Valid From
Data type: CACS_TECHTIME_BOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for CACS_COMPVERSALL 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, " | |||
| lv_i_ctrtbu_id | TYPE CACS_CTRTBU_ID, " | |||
| lv_i_versiona | TYPE CACSVERSION, " | |||
| lv_i_versionb | TYPE CACSVERSION, " | |||
| lv_i_busi_a | TYPE CACS_BUSITIME_B, " | |||
| lv_i_busi_b | TYPE CACS_BUSITIME_B, " | |||
| lv_i_tech_a | TYPE CACS_TECHTIME_B, " | |||
| lv_i_tech_b | TYPE CACS_TECHTIME_B. " |
|   CALL FUNCTION 'CACS_COMPVERSALL' "NOTRANSL: Versionsvergleich: Großer Baustein |
| EXPORTING | ||
| I_APPL | = lv_i_appl | |
| I_CTRTBU_ID | = lv_i_ctrtbu_id | |
| I_VERSIONA | = lv_i_versiona | |
| I_VERSIONB | = lv_i_versionb | |
| I_BUSI_A | = lv_i_busi_a | |
| I_BUSI_B | = lv_i_busi_b | |
| I_TECH_A | = lv_i_tech_a | |
| I_TECH_B | = lv_i_tech_b | |
| . " CACS_COMPVERSALL | ||
ABAP code using 7.40 inline data declarations to call FM CACS_COMPVERSALL
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