SAP CMAC_DDS_EVALUATE Function Module for Evaluate Due Date Schedule









CMAC_DDS_EVALUATE is a standard cmac dds evaluate SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Evaluate Due Date Schedule 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 cmac dds evaluate FM, simply by entering the name CMAC_DDS_EVALUATE into the relevant SAP transaction such as SE37 or SE38.

Function Group: CMACFEE8
Program Name: SAPLCMACFEE8
Main Program: SAPLCMACFEE8
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function CMAC_DDS_EVALUATE 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 'CMAC_DDS_EVALUATE'"Evaluate Due Date Schedule
EXPORTING
IV_PERSL = "Key for period allocation
IV_ACTKEY = "Account key
* IV_ACTKEY2 = "Account key
IS_STINFO = "Student information
* IS_SCINFO = "Program of study
* IS_SMINFO = "Modules information
* IV_CALC_DATE = SY-DATUM "Fee Calculation Date

CHANGING
CS_FEEINFO = "Account Assignment

TABLES
* CT_LOG_TAB = "Return Parameter for Error Message

EXCEPTIONS
DDS_NOT_FOUND = 1 DATE_EVALUATE_ERROR = 2 EXCEPTION_CHECK_ERROR = 3
.



IMPORTING Parameters details for CMAC_DDS_EVALUATE

IV_PERSL - Key for period allocation

Data type: PERSL_KK
Optional: No
Call by Reference: No ( called with pass by value option)

IV_ACTKEY - Account key

Data type: KVSL1
Optional: No
Call by Reference: No ( called with pass by value option)

IV_ACTKEY2 - Account key

Data type: KVSL1
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_STINFO - Student information

Data type: CMAC_ST
Optional: No
Call by Reference: No ( called with pass by value option)

IS_SCINFO - Program of study

Data type: CMAC_SC
Optional: Yes
Call by Reference: No ( called with pass by value option)

IS_SMINFO - Modules information

Data type: CMAC_SM
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_CALC_DATE - Fee Calculation Date

Data type: CMAC_CALCDATE
Default: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHANGING Parameters details for CMAC_DDS_EVALUATE

CS_FEEINFO - Account Assignment

Data type: CMAC_S_FEE_ACC_OBJ
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for CMAC_DDS_EVALUATE

CT_LOG_TAB - Return Parameter for Error Message

Data type: PIQ_ERROR_STRUCTURE
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

DDS_NOT_FOUND - Can not determine the DDS

Data type:
Optional: No
Call by Reference: Yes

DATE_EVALUATE_ERROR - Error in evaluating the DDS Date

Data type:
Optional: No
Call by Reference: Yes

EXCEPTION_CHECK_ERROR - Error in evaluating the DDS exception

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CMAC_DDS_EVALUATE 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_iv_persl  TYPE PERSL_KK, "   
lv_cs_feeinfo  TYPE CMAC_S_FEE_ACC_OBJ, "   
lt_ct_log_tab  TYPE STANDARD TABLE OF PIQ_ERROR_STRUCTURE, "   
lv_dds_not_found  TYPE PIQ_ERROR_STRUCTURE, "   
lv_iv_actkey  TYPE KVSL1, "   
lv_date_evaluate_error  TYPE KVSL1, "   
lv_iv_actkey2  TYPE KVSL1, "   
lv_exception_check_error  TYPE KVSL1, "   
lv_is_stinfo  TYPE CMAC_ST, "   
lv_is_scinfo  TYPE CMAC_SC, "   
lv_is_sminfo  TYPE CMAC_SM, "   
lv_iv_calc_date  TYPE CMAC_CALCDATE. "   SY-DATUM

  CALL FUNCTION 'CMAC_DDS_EVALUATE'  "Evaluate Due Date Schedule
    EXPORTING
         IV_PERSL = lv_iv_persl
         IV_ACTKEY = lv_iv_actkey
         IV_ACTKEY2 = lv_iv_actkey2
         IS_STINFO = lv_is_stinfo
         IS_SCINFO = lv_is_scinfo
         IS_SMINFO = lv_is_sminfo
         IV_CALC_DATE = lv_iv_calc_date
    CHANGING
         CS_FEEINFO = lv_cs_feeinfo
    TABLES
         CT_LOG_TAB = lt_ct_log_tab
    EXCEPTIONS
        DDS_NOT_FOUND = 1
        DATE_EVALUATE_ERROR = 2
        EXCEPTION_CHECK_ERROR = 3
. " CMAC_DDS_EVALUATE




ABAP code using 7.40 inline data declarations to call FM CMAC_DDS_EVALUATE

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_calc_date) = SY-DATUM.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!