SAP CACS27_FFLT_INTERVALS_SAMPLE Function Module for NOTRANSL: Erzeuge Zeitintervalle für Erfüllungsgrade
CACS27_FFLT_INTERVALS_SAMPLE is a standard cacs27 fflt intervals sample 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: Erzeuge Zeitintervalle für Erfüllungsgrade 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 cacs27 fflt intervals sample FM, simply by entering the name CACS27_FFLT_INTERVALS_SAMPLE into the relevant SAP transaction such as SE37 or SE38.
Function Group: CACS27_AC_LOS
Program Name: SAPLCACS27_AC_LOS
Main Program: SAPLCACS27_AC_LOS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CACS27_FFLT_INTERVALS_SAMPLE 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 'CACS27_FFLT_INTERVALS_SAMPLE'"NOTRANSL: Erzeuge Zeitintervalle für Erfüllungsgrade.
EXPORTING
I_BUSI_TIME = "Effective From
I_TOOL = "Tools for Logical Service
I_TECH_TIME = "Technically Valid from
I_CACSAPPL = "Commission Application Identification
I_OBJ_TYPE = "Object Type Class (OTC) for Logical Service
I_OBJ_METHOD = "Assigned Method for Object Type Class for Logical Service
I_OBJ_ID = "Calculating Object Identification
I_CACS_DOCREM = "Commission Document, Remuneration and Liability(Meta Object)
I_META_DOC_HEAD = "Commission Document Header (Meta Object)
I_OTC = "Object Type Class (OTC) for Logical Service
CHANGING
C_CACS_SESITM = "Settlement Schedule Item (Meta Object)
C_LOG_HANDLE = "Application Log: Log Handle
TABLES
IT_SESHDM = "Settlement Schedule Header (Meta Object)
IT_SESITM = "Settlement Schedule Item (Meta Object)
IMPORTING Parameters details for CACS27_FFLT_INTERVALS_SAMPLE
I_BUSI_TIME - Effective From
Data type: CACS_BUSITIME_BOptional: No
Call by Reference: Yes
I_TOOL - Tools for Logical Service
Data type: CACS_LOS_TOOLOptional: No
Call by Reference: Yes
I_TECH_TIME - Technically Valid from
Data type: CACS_TECHTIME_BOptional: No
Call by Reference: Yes
I_CACSAPPL - Commission Application Identification
Data type: CACSAPPLOptional: No
Call by Reference: Yes
I_OBJ_TYPE - Object Type Class (OTC) for Logical Service
Data type: TCACS_LOS_OBJECT-OBJ_TYPEOptional: No
Call by Reference: Yes
I_OBJ_METHOD - Assigned Method for Object Type Class for Logical Service
Data type: TCACS_LOS_CONNEC-OBJ_METHODOptional: No
Call by Reference: Yes
I_OBJ_ID - Calculating Object Identification
Data type: TCACS_LOS_OBJECT-OBJ_IDOptional: No
Call by Reference: Yes
I_CACS_DOCREM - Commission Document, Remuneration and Liability(Meta Object)
Data type: CACS00_S_DOCREMOptional: No
Call by Reference: Yes
I_META_DOC_HEAD - Commission Document Header (Meta Object)
Data type: CACS00_S_DOCHDMOptional: No
Call by Reference: Yes
I_OTC - Object Type Class (OTC) for Logical Service
Data type: CACS_LOS_OTCOptional: No
Call by Reference: Yes
CHANGING Parameters details for CACS27_FFLT_INTERVALS_SAMPLE
C_CACS_SESITM - Settlement Schedule Item (Meta Object)
Data type: CACS25_S_SESITMOptional: No
Call by Reference: Yes
C_LOG_HANDLE - Application Log: Log Handle
Data type: BALLOGHNDLOptional: No
Call by Reference: Yes
TABLES Parameters details for CACS27_FFLT_INTERVALS_SAMPLE
IT_SESHDM - Settlement Schedule Header (Meta Object)
Data type: CACS25_S_SESHDMOptional: No
Call by Reference: Yes
IT_SESITM - Settlement Schedule Item (Meta Object)
Data type: CACS25_S_SESITMOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for CACS27_FFLT_INTERVALS_SAMPLE 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_it_seshdm | TYPE STANDARD TABLE OF CACS25_S_SESHDM, " | |||
| lv_i_busi_time | TYPE CACS_BUSITIME_B, " | |||
| lv_c_cacs_sesitm | TYPE CACS25_S_SESITM, " | |||
| lv_i_tool | TYPE CACS_LOS_TOOL, " | |||
| lt_it_sesitm | TYPE STANDARD TABLE OF CACS25_S_SESITM, " | |||
| lv_i_tech_time | TYPE CACS_TECHTIME_B, " | |||
| lv_c_log_handle | TYPE BALLOGHNDL, " | |||
| lv_i_cacsappl | TYPE CACSAPPL, " | |||
| lv_i_obj_type | TYPE TCACS_LOS_OBJECT-OBJ_TYPE, " | |||
| lv_i_obj_method | TYPE TCACS_LOS_CONNEC-OBJ_METHOD, " | |||
| lv_i_obj_id | TYPE TCACS_LOS_OBJECT-OBJ_ID, " | |||
| lv_i_cacs_docrem | TYPE CACS00_S_DOCREM, " | |||
| lv_i_meta_doc_head | TYPE CACS00_S_DOCHDM, " | |||
| lv_i_otc | TYPE CACS_LOS_OTC. " |
|   CALL FUNCTION 'CACS27_FFLT_INTERVALS_SAMPLE' "NOTRANSL: Erzeuge Zeitintervalle für Erfüllungsgrade |
| EXPORTING | ||
| I_BUSI_TIME | = lv_i_busi_time | |
| I_TOOL | = lv_i_tool | |
| I_TECH_TIME | = lv_i_tech_time | |
| I_CACSAPPL | = lv_i_cacsappl | |
| I_OBJ_TYPE | = lv_i_obj_type | |
| I_OBJ_METHOD | = lv_i_obj_method | |
| I_OBJ_ID | = lv_i_obj_id | |
| I_CACS_DOCREM | = lv_i_cacs_docrem | |
| I_META_DOC_HEAD | = lv_i_meta_doc_head | |
| I_OTC | = lv_i_otc | |
| CHANGING | ||
| C_CACS_SESITM | = lv_c_cacs_sesitm | |
| C_LOG_HANDLE | = lv_c_log_handle | |
| TABLES | ||
| IT_SESHDM | = lt_it_seshdm | |
| IT_SESITM | = lt_it_sesitm | |
| . " CACS27_FFLT_INTERVALS_SAMPLE | ||
ABAP code using 7.40 inline data declarations to call FM CACS27_FFLT_INTERVALS_SAMPLE
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 OBJ_TYPE FROM TCACS_LOS_OBJECT INTO @DATA(ld_i_obj_type). | ||||
| "SELECT single OBJ_METHOD FROM TCACS_LOS_CONNEC INTO @DATA(ld_i_obj_method). | ||||
| "SELECT single OBJ_ID FROM TCACS_LOS_OBJECT INTO @DATA(ld_i_obj_id). | ||||
Search for further information about these or an SAP related objects