SAP CACS00_RFC_CASE Function Module for NOTRANSL: Provisionsfall anlegen und Beleg erzeugen
CACS00_RFC_CASE is a standard cacs00 rfc case 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: Provisionsfall anlegen und Beleg erzeugen 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 cacs00 rfc case FM, simply by entering the name CACS00_RFC_CASE into the relevant SAP transaction such as SE37 or SE38.
Function Group: CACS00_EXT_INTERFACES
Program Name: SAPLCACS00_EXT_INTERFACES
Main Program: SAPLCACS00_EXT_INTERFACES
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function CACS00_RFC_CASE 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 'CACS00_RFC_CASE'"NOTRANSL: Provisionsfall anlegen und Beleg erzeugen.
EXPORTING
I_APPL_VERSION = "Version of Generated Application
* IFLG_REVERSE_ELTDOC = "
* IFLG_UPDATE_TASK = 'X' "
* IFLG_MASS_PROCESS = ' ' "Mass Processing? (See Documentation)
* IFLG_SIMULATION = 'X' "Boolean Variables (X=true, space=false)
* IFLG_TAKEOVER = ' ' "
* IFLG_ENQUEUE = 'X' "
* IFGL_RETURN_MSSGS = 'X' "
* I_RETURN_MSG_FILTER = 'XAEWISHF' "Message filters
* IFLG_ADD_TEXT = "Boolean Variables (X=true, space=false)
IMPORTING
E_REJECT_COUNTER = "
E_ERROR_COUNTER = "
E_QUERY_FOR_DISPLAY = "Message filters
ET_MSG_DATA = "Declaration Data
TABLES
I_CASE = "Reported Commission Case (See Documentation)
* E_DOC_VALUATION = "Determined Valuations for ComnDoc
* E_DOC_REMUNERATION = "Determined Remuneration for ComnDoc
* E_DOC_REMDETAIL = "Comn: Detail Items for Remuneration Rows
* E_DOC_SETTLEMENT = "Determined Due Dates for Settlement
* E_DOC_PARTICIPATION = "Participation of Commission Document
* E_DOC_INVESTIGATION = "Participant in Commission Document
* E_DOC_RELATION = "Commission Document: Relationships Between Participants
* E_DOC_ACTIVITY = "Commission Document: Activities
* E_DOC_OBJECTDATA = "Commission Document: Object Data
C_LOGENTRIES = "
* I_PARTICIPATION = "Reported Participation(s) in Case
* E_CASE_MAPPING = "
* I_INVESTIGATION = "Reported Participants in Participation
* I_RELATIONS = "Reported Relationships Between Participants
* I_ACTIVITY = "Reported Activities for Case
* I_OBJECTDATA = "Reported Object Descriptions for Activities
* I_LINES = "Reported Variances (Special Commission) for Case
* I_BUNDLE = "Rebundling Order for Triggering Subobjects
E_DOC_HEAD = "
IMPORTING Parameters details for CACS00_RFC_CASE
I_APPL_VERSION - Version of Generated Application
Data type: CACSGENVERSIONOptional: No
Call by Reference: No ( called with pass by value option)
IFLG_REVERSE_ELTDOC -
Data type: BOOLEAN_FLGOptional: Yes
Call by Reference: No ( called with pass by value option)
IFLG_UPDATE_TASK -
Data type: BOOLEAN_FLGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IFLG_MASS_PROCESS - Mass Processing? (See Documentation)
Data type: BOOLEAN_FLGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IFLG_SIMULATION - Boolean Variables (X=true, space=false)
Data type: BOOLEAN_FLGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IFLG_TAKEOVER -
Data type: BOOLEAN_FLGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IFLG_ENQUEUE -
Data type: BOOLEAN_FLGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IFGL_RETURN_MSSGS -
Data type: BOOLEAN_FLGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_RETURN_MSG_FILTER - Message filters
Data type: CACSMSGFILTERDefault: 'XAEWISHF'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IFLG_ADD_TEXT - Boolean Variables (X=true, space=false)
Data type: BOOLEAN_FLGOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CACS00_RFC_CASE
E_REJECT_COUNTER -
Data type: CACSCASEREJECTCNTOptional: No
Call by Reference: No ( called with pass by value option)
E_ERROR_COUNTER -
Data type: CACSCASEERRORCNTOptional: No
Call by Reference: No ( called with pass by value option)
E_QUERY_FOR_DISPLAY - Message filters
Data type: CACSMSGFILTEROptional: No
Call by Reference: No ( called with pass by value option)
ET_MSG_DATA - Declaration Data
Data type: CACS_T_MSG_DATAOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CACS00_RFC_CASE
I_CASE - Reported Commission Case (See Documentation)
Data type: CACS00_CASOptional: No
Call by Reference: No ( called with pass by value option)
E_DOC_VALUATION - Determined Valuations for ComnDoc
Data type: CACS00_DOCVAOptional: Yes
Call by Reference: No ( called with pass by value option)
E_DOC_REMUNERATION - Determined Remuneration for ComnDoc
Data type: CACS00_DOCREOptional: Yes
Call by Reference: No ( called with pass by value option)
E_DOC_REMDETAIL - Comn: Detail Items for Remuneration Rows
Data type: CACS00_DOCDTOptional: Yes
Call by Reference: Yes
E_DOC_SETTLEMENT - Determined Due Dates for Settlement
Data type: CACS00_DOCSEOptional: Yes
Call by Reference: No ( called with pass by value option)
E_DOC_PARTICIPATION - Participation of Commission Document
Data type: CACS00_DOCPAROptional: Yes
Call by Reference: Yes
E_DOC_INVESTIGATION - Participant in Commission Document
Data type: CACS00_DOCINVOptional: Yes
Call by Reference: Yes
E_DOC_RELATION - Commission Document: Relationships Between Participants
Data type: CACS00_DOCRELOptional: Yes
Call by Reference: Yes
E_DOC_ACTIVITY - Commission Document: Activities
Data type: CACS00_DOCACTOptional: Yes
Call by Reference: Yes
E_DOC_OBJECTDATA - Commission Document: Object Data
Data type: CACS00_DOCOBJOptional: Yes
Call by Reference: Yes
C_LOGENTRIES -
Data type: CACS_S_BUFFLOGOptional: No
Call by Reference: Yes
I_PARTICIPATION - Reported Participation(s) in Case
Data type: CACS00_PAROptional: Yes
Call by Reference: No ( called with pass by value option)
E_CASE_MAPPING -
Data type: CACS_S_CASE_MAPOptional: Yes
Call by Reference: Yes
I_INVESTIGATION - Reported Participants in Participation
Data type: CACS00_INVOptional: Yes
Call by Reference: No ( called with pass by value option)
I_RELATIONS - Reported Relationships Between Participants
Data type: CACS00_RELOptional: Yes
Call by Reference: Yes
I_ACTIVITY - Reported Activities for Case
Data type: CACS00_ACTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_OBJECTDATA - Reported Object Descriptions for Activities
Data type: CACS00_OBJOptional: Yes
Call by Reference: No ( called with pass by value option)
I_LINES - Reported Variances (Special Commission) for Case
Data type: CACS00_LINOptional: Yes
Call by Reference: No ( called with pass by value option)
I_BUNDLE - Rebundling Order for Triggering Subobjects
Data type: CACS00_BDLOptional: Yes
Call by Reference: Yes
E_DOC_HEAD -
Data type: CACS00_DOCHDOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CACS00_RFC_CASE 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_case | TYPE STANDARD TABLE OF CACS00_CAS, " | |||
| lv_i_appl_version | TYPE CACSGENVERSION, " | |||
| lv_e_reject_counter | TYPE CACSCASEREJECTCNT, " | |||
| lt_e_doc_valuation | TYPE STANDARD TABLE OF CACS00_DOCVA, " | |||
| lv_iflg_reverse_eltdoc | TYPE BOOLEAN_FLG, " | |||
| lt_e_doc_remuneration | TYPE STANDARD TABLE OF CACS00_DOCRE, " | |||
| lt_e_doc_remdetail | TYPE STANDARD TABLE OF CACS00_DOCDT, " | |||
| lt_e_doc_settlement | TYPE STANDARD TABLE OF CACS00_DOCSE, " | |||
| lt_e_doc_participation | TYPE STANDARD TABLE OF CACS00_DOCPAR, " | |||
| lt_e_doc_investigation | TYPE STANDARD TABLE OF CACS00_DOCINV, " | |||
| lt_e_doc_relation | TYPE STANDARD TABLE OF CACS00_DOCREL, " | |||
| lt_e_doc_activity | TYPE STANDARD TABLE OF CACS00_DOCACT, " | |||
| lt_e_doc_objectdata | TYPE STANDARD TABLE OF CACS00_DOCOBJ, " | |||
| lt_c_logentries | TYPE STANDARD TABLE OF CACS_S_BUFFLOG, " | |||
| lv_e_error_counter | TYPE CACSCASEERRORCNT, " | |||
| lt_i_participation | TYPE STANDARD TABLE OF CACS00_PAR, " | |||
| lv_iflg_update_task | TYPE BOOLEAN_FLG, " 'X' | |||
| lt_e_case_mapping | TYPE STANDARD TABLE OF CACS_S_CASE_MAP, " | |||
| lt_i_investigation | TYPE STANDARD TABLE OF CACS00_INV, " | |||
| lv_iflg_mass_process | TYPE BOOLEAN_FLG, " SPACE | |||
| lv_e_query_for_display | TYPE CACSMSGFILTER, " | |||
| lv_et_msg_data | TYPE CACS_T_MSG_DATA, " | |||
| lt_i_relations | TYPE STANDARD TABLE OF CACS00_REL, " | |||
| lv_iflg_simulation | TYPE BOOLEAN_FLG, " 'X' | |||
| lt_i_activity | TYPE STANDARD TABLE OF CACS00_ACT, " | |||
| lv_iflg_takeover | TYPE BOOLEAN_FLG, " SPACE | |||
| lv_iflg_enqueue | TYPE BOOLEAN_FLG, " 'X' | |||
| lt_i_objectdata | TYPE STANDARD TABLE OF CACS00_OBJ, " | |||
| lt_i_lines | TYPE STANDARD TABLE OF CACS00_LIN, " | |||
| lv_ifgl_return_mssgs | TYPE BOOLEAN_FLG, " 'X' | |||
| lt_i_bundle | TYPE STANDARD TABLE OF CACS00_BDL, " | |||
| lv_i_return_msg_filter | TYPE CACSMSGFILTER, " 'XAEWISHF' | |||
| lt_e_doc_head | TYPE STANDARD TABLE OF CACS00_DOCHD, " | |||
| lv_iflg_add_text | TYPE BOOLEAN_FLG. " |
|   CALL FUNCTION 'CACS00_RFC_CASE' "NOTRANSL: Provisionsfall anlegen und Beleg erzeugen |
| EXPORTING | ||
| I_APPL_VERSION | = lv_i_appl_version | |
| IFLG_REVERSE_ELTDOC | = lv_iflg_reverse_eltdoc | |
| IFLG_UPDATE_TASK | = lv_iflg_update_task | |
| IFLG_MASS_PROCESS | = lv_iflg_mass_process | |
| IFLG_SIMULATION | = lv_iflg_simulation | |
| IFLG_TAKEOVER | = lv_iflg_takeover | |
| IFLG_ENQUEUE | = lv_iflg_enqueue | |
| IFGL_RETURN_MSSGS | = lv_ifgl_return_mssgs | |
| I_RETURN_MSG_FILTER | = lv_i_return_msg_filter | |
| IFLG_ADD_TEXT | = lv_iflg_add_text | |
| IMPORTING | ||
| E_REJECT_COUNTER | = lv_e_reject_counter | |
| E_ERROR_COUNTER | = lv_e_error_counter | |
| E_QUERY_FOR_DISPLAY | = lv_e_query_for_display | |
| ET_MSG_DATA | = lv_et_msg_data | |
| TABLES | ||
| I_CASE | = lt_i_case | |
| E_DOC_VALUATION | = lt_e_doc_valuation | |
| E_DOC_REMUNERATION | = lt_e_doc_remuneration | |
| E_DOC_REMDETAIL | = lt_e_doc_remdetail | |
| E_DOC_SETTLEMENT | = lt_e_doc_settlement | |
| E_DOC_PARTICIPATION | = lt_e_doc_participation | |
| E_DOC_INVESTIGATION | = lt_e_doc_investigation | |
| E_DOC_RELATION | = lt_e_doc_relation | |
| E_DOC_ACTIVITY | = lt_e_doc_activity | |
| E_DOC_OBJECTDATA | = lt_e_doc_objectdata | |
| C_LOGENTRIES | = lt_c_logentries | |
| I_PARTICIPATION | = lt_i_participation | |
| E_CASE_MAPPING | = lt_e_case_mapping | |
| I_INVESTIGATION | = lt_i_investigation | |
| I_RELATIONS | = lt_i_relations | |
| I_ACTIVITY | = lt_i_activity | |
| I_OBJECTDATA | = lt_i_objectdata | |
| I_LINES | = lt_i_lines | |
| I_BUNDLE | = lt_i_bundle | |
| E_DOC_HEAD | = lt_e_doc_head | |
| . " CACS00_RFC_CASE | ||
ABAP code using 7.40 inline data declarations to call FM CACS00_RFC_CASE
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_iflg_update_task) | = 'X'. | |||
| DATA(ld_iflg_mass_process) | = ' '. | |||
| DATA(ld_iflg_simulation) | = 'X'. | |||
| DATA(ld_iflg_takeover) | = ' '. | |||
| DATA(ld_iflg_enqueue) | = 'X'. | |||
| DATA(ld_ifgl_return_mssgs) | = 'X'. | |||
| DATA(ld_i_return_msg_filter) | = 'XAEWISHF'. | |||
Search for further information about these or an SAP related objects