SAP CACS25_SES_CHECK Function Module for NOTRANSL: Abrechnungsplan prüfen









CACS25_SES_CHECK is a standard cacs25 ses check 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: Abrechnungsplan prüfen 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 cacs25 ses check FM, simply by entering the name CACS25_SES_CHECK into the relevant SAP transaction such as SE37 or SE38.

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



Function CACS25_SES_CHECK 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 'CACS25_SES_CHECK'"NOTRANSL: Abrechnungsplan prüfen
EXPORTING
* I_META_SESHD = "Settlement Schedule Header (DB Interface Data Declaration)
I_META_DOC_REMUNERATION = "Commission Document, Remuneration and Liability(Meta Object)
I_SCOPE_OF_CHECK = "Object for inspection

TABLES
* IT_META_SESIT = "Settlement Schedule Item (Meta Object)

EXCEPTIONS
ERROR_INVALID_CALL = 1 ERROR_GETTING_SES = 2 ERROR_INVALID_REFERENCE = 3 ERROR_SESITM_DDIF_GET = 4 ERROR_AMOUNT_QUAN_DIFFERENCE = 5
.



IMPORTING Parameters details for CACS25_SES_CHECK

I_META_SESHD - Settlement Schedule Header (DB Interface Data Declaration)

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

I_META_DOC_REMUNERATION - Commission Document, Remuneration and Liability(Meta Object)

Data type: CACS00_S_DOCREM
Optional: No
Call by Reference: Yes

I_SCOPE_OF_CHECK - Object for inspection

Data type: CHAR1
Optional: No
Call by Reference: Yes

TABLES Parameters details for CACS25_SES_CHECK

IT_META_SESIT - Settlement Schedule Item (Meta Object)

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

EXCEPTIONS details

ERROR_INVALID_CALL -

Data type:
Optional: No
Call by Reference: Yes

ERROR_GETTING_SES -

Data type:
Optional: No
Call by Reference: Yes

ERROR_INVALID_REFERENCE -

Data type:
Optional: No
Call by Reference: Yes

ERROR_SESITM_DDIF_GET -

Data type:
Optional: No
Call by Reference: Yes

ERROR_AMOUNT_QUAN_DIFFERENCE -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CACS25_SES_CHECK 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_meta_seshd  TYPE CACS25_S_SESHDM, "   
lt_it_meta_sesit  TYPE STANDARD TABLE OF CACS25_S_SESITM, "   
lv_error_invalid_call  TYPE CACS25_S_SESITM, "   
lv_error_getting_ses  TYPE CACS25_S_SESITM, "   
lv_i_meta_doc_remuneration  TYPE CACS00_S_DOCREM, "   
lv_i_scope_of_check  TYPE CHAR1, "   
lv_error_invalid_reference  TYPE CHAR1, "   
lv_error_sesitm_ddif_get  TYPE CHAR1, "   
lv_error_amount_quan_difference  TYPE CHAR1. "   

  CALL FUNCTION 'CACS25_SES_CHECK'  "NOTRANSL: Abrechnungsplan prüfen
    EXPORTING
         I_META_SESHD = lv_i_meta_seshd
         I_META_DOC_REMUNERATION = lv_i_meta_doc_remuneration
         I_SCOPE_OF_CHECK = lv_i_scope_of_check
    TABLES
         IT_META_SESIT = lt_it_meta_sesit
    EXCEPTIONS
        ERROR_INVALID_CALL = 1
        ERROR_GETTING_SES = 2
        ERROR_INVALID_REFERENCE = 3
        ERROR_SESITM_DDIF_GET = 4
        ERROR_AMOUNT_QUAN_DIFFERENCE = 5
. " CACS25_SES_CHECK




ABAP code using 7.40 inline data declarations to call FM CACS25_SES_CHECK

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



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!