SAP CACSFI_REVERSE_AC_DOCUMENT_D Function Module for Commission: Cancel Closing And Settlement Run









CACSFI_REVERSE_AC_DOCUMENT_D is a standard cacsfi reverse ac document d SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Commission: Cancel Closing And Settlement Run 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 cacsfi reverse ac document d FM, simply by entering the name CACSFI_REVERSE_AC_DOCUMENT_D into the relevant SAP transaction such as SE37 or SE38.

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



Function CACSFI_REVERSE_AC_DOCUMENT_D 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 'CACSFI_REVERSE_AC_DOCUMENT_D'"Commission: Cancel Closing And Settlement Run
EXPORTING
* I_CHECK_DATA = "Run Check Program
I_PAYSYS_INFO = "Commission: Info For Assigning Payment System
I_TEST = "
I_RUNID = "Identification of a Settlement Run
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

TABLES
I_DOCHD = "Comn Document Header
E_MESSAGES = "Return Parameter(s)
I_DOC_REF = "
.



IMPORTING Parameters details for CACSFI_REVERSE_AC_DOCUMENT_D

I_CHECK_DATA - Run Check Program

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

I_PAYSYS_INFO - Commission: Info For Assigning Payment System

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

I_TEST -

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

I_RUNID - Identification of a Settlement Run

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

I_OBJ_TYPE - Object Type Class (OTC) for Logical Service

Data type: TCACS_LOS_METH-OBJ_TYPE
Optional: No
Call by Reference: Yes

I_OBJ_METHOD - Assigned Method for Object Type Class for Logical Service

Data type: TCACS_LOS_METH-OBJ_METHOD
Optional: No
Call by Reference: Yes

I_OBJ_ID - Calculating Object Identification

Data type: TCACS_LOS_OBJECT-OBJ_ID
Optional: No
Call by Reference: Yes

TABLES Parameters details for CACSFI_REVERSE_AC_DOCUMENT_D

I_DOCHD - Comn Document Header

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

E_MESSAGES - Return Parameter(s)

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

I_DOC_REF -

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

Copy and paste ABAP code example for CACSFI_REVERSE_AC_DOCUMENT_D 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_i_dochd  TYPE STANDARD TABLE OF CACS00_DOCHD, "   
lv_i_check_data  TYPE CACS_CHECK, "   
lt_e_messages  TYPE STANDARD TABLE OF CACS_S_TRANSF_MESSAGE, "   
lv_i_paysys_info  TYPE CACS_S_PAYSYS_INFO, "   
lv_i_test  TYPE C, "   
lt_i_doc_ref  TYPE STANDARD TABLE OF C, "   
lv_i_runid  TYPE CACSSTMTID, "   
lv_i_obj_type  TYPE TCACS_LOS_METH-OBJ_TYPE, "   
lv_i_obj_method  TYPE TCACS_LOS_METH-OBJ_METHOD, "   
lv_i_obj_id  TYPE TCACS_LOS_OBJECT-OBJ_ID. "   

  CALL FUNCTION 'CACSFI_REVERSE_AC_DOCUMENT_D'  "Commission: Cancel Closing And Settlement Run
    EXPORTING
         I_CHECK_DATA = lv_i_check_data
         I_PAYSYS_INFO = lv_i_paysys_info
         I_TEST = lv_i_test
         I_RUNID = lv_i_runid
         I_OBJ_TYPE = lv_i_obj_type
         I_OBJ_METHOD = lv_i_obj_method
         I_OBJ_ID = lv_i_obj_id
    TABLES
         I_DOCHD = lt_i_dochd
         E_MESSAGES = lt_e_messages
         I_DOC_REF = lt_i_doc_ref
. " CACSFI_REVERSE_AC_DOCUMENT_D




ABAP code using 7.40 inline data declarations to call FM CACSFI_REVERSE_AC_DOCUMENT_D

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_METH INTO @DATA(ld_i_obj_type).
 
"SELECT single OBJ_METHOD FROM TCACS_LOS_METH 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



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!