SAP CACS_DET_API_SHOW_ANALYSIS Function Module for NOTRANSL: Analyse der Findung anzeigen
CACS_DET_API_SHOW_ANALYSIS is a standard cacs det api show analysis 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: Analyse der Findung anzeigen 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 det api show analysis FM, simply by entering the name CACS_DET_API_SHOW_ANALYSIS into the relevant SAP transaction such as SE37 or SE38.
Function Group: CACS_DET_API
Program Name: SAPLCACS_DET_API
Main Program: SAPLCACS_DET_API
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function CACS_DET_API_SHOW_ANALYSIS 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_DET_API_SHOW_ANALYSIS'"NOTRANSL: Analyse der Findung anzeigen.
EXPORTING
IV_APPL = "Commission Application (ICM)
* IV_DARK = ABAP_FALSE "Single-Character Flag
IS_CONTEXT = "Screen Data of Analysis of Facade Class
* IS_SELDATA = "Predefined Type
IMPORTING
ET_RESULTS = "Table of Service Rules
EXCEPTIONS
ERROR = 1
IMPORTING Parameters details for CACS_DET_API_SHOW_ANALYSIS
IV_APPL - Commission Application (ICM)
Data type: CACSAPPLOptional: No
Call by Reference: No ( called with pass by value option)
IV_DARK - Single-Character Flag
Data type: CHAR1Default: ABAP_FALSE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IS_CONTEXT - Screen Data of Analysis of Facade Class
Data type: CACS_S_DET_FACADE_SCREEN_DATAOptional: No
Call by Reference: No ( called with pass by value option)
IS_SELDATA - Predefined Type
Data type: STRINGOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CACS_DET_API_SHOW_ANALYSIS
ET_RESULTS - Table of Service Rules
Data type: CACS_TT_RULE_SERVICEOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ERROR -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for CACS_DET_API_SHOW_ANALYSIS 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_error | TYPE STRING, " | |||
| lv_iv_appl | TYPE CACSAPPL, " | |||
| lv_et_results | TYPE CACS_TT_RULE_SERVICE, " | |||
| lv_iv_dark | TYPE CHAR1, " ABAP_FALSE | |||
| lv_is_context | TYPE CACS_S_DET_FACADE_SCREEN_DATA, " | |||
| lv_is_seldata | TYPE STRING. " |
|   CALL FUNCTION 'CACS_DET_API_SHOW_ANALYSIS' "NOTRANSL: Analyse der Findung anzeigen |
| EXPORTING | ||
| IV_APPL | = lv_iv_appl | |
| IV_DARK | = lv_iv_dark | |
| IS_CONTEXT | = lv_is_context | |
| IS_SELDATA | = lv_is_seldata | |
| IMPORTING | ||
| ET_RESULTS | = lv_et_results | |
| EXCEPTIONS | ||
| ERROR = 1 | ||
| . " CACS_DET_API_SHOW_ANALYSIS | ||
ABAP code using 7.40 inline data declarations to call FM CACS_DET_API_SHOW_ANALYSIS
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.| DATA(ld_iv_dark) | = ABAP_FALSE. | |||
Search for further information about these or an SAP related objects