SAP CACS00_CASE_CHECKMETA Function Module for NOTRANSL: Metaprovisionsfall vor Bearbeitung prüfen









CACS00_CASE_CHECKMETA is a standard cacs00 case checkmeta 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: Metaprovisionsfall vor Bearbeitung 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 cacs00 case checkmeta FM, simply by entering the name CACS00_CASE_CHECKMETA into the relevant SAP transaction such as SE37 or SE38.

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



Function CACS00_CASE_CHECKMETA 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_CASE_CHECKMETA'"NOTRANSL: Metaprovisionsfall vor Bearbeitung prüfen
EXPORTING
* IFLG_SIMULATION = 'X' "Indicator: Process to be Run in Simulation Mode
* IFLG_ENHANCED = 'X' "
I_CASE_PREV = "Commission Case
I_CASE_VERS_PREV = "Commission Case
I_DOC_HEAD_PREV = "Comn Document Header

CHANGING
C_META_CASE = "Commission Case (Meta Object)

TABLES
C_META_PARTICIPATION = "Commission Case Participation (Meta Object)
C_META_INVESTIGATION = "Commission Case Participant (Meta Object)
C_META_RELATIONS = "Participant Relations (Meta Object)
C_META_ACTIVITY = "Commission Activities (Meta Object)
C_META_OBJECTDATA = "Commission Object Data (Meta Object)
C_META_LINES = "Alternative Commission (Meta Object)
C_META_BUNDLE = "Rebundling Order for Triggering Subobjects (Meta)
* C_CHG_OBJHIST = "Change History of Subobjects That Trigger Commission
* C_NEW_OBJHIST = "Change History of Subobjects That Trigger Commission
.



IMPORTING Parameters details for CACS00_CASE_CHECKMETA

IFLG_SIMULATION - Indicator: Process to be Run in Simulation Mode

Data type: CACSSIMULATION
Default: 'X'
Optional: Yes
Call by Reference: Yes

IFLG_ENHANCED -

Data type: BOOLEAN_FLG
Default: 'X'
Optional: Yes
Call by Reference: Yes

I_CASE_PREV - Commission Case

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

I_CASE_VERS_PREV - Commission Case

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

I_DOC_HEAD_PREV - Comn Document Header

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

CHANGING Parameters details for CACS00_CASE_CHECKMETA

C_META_CASE - Commission Case (Meta Object)

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

TABLES Parameters details for CACS00_CASE_CHECKMETA

C_META_PARTICIPATION - Commission Case Participation (Meta Object)

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

C_META_INVESTIGATION - Commission Case Participant (Meta Object)

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

C_META_RELATIONS - Participant Relations (Meta Object)

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

C_META_ACTIVITY - Commission Activities (Meta Object)

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

C_META_OBJECTDATA - Commission Object Data (Meta Object)

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

C_META_LINES - Alternative Commission (Meta Object)

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

C_META_BUNDLE - Rebundling Order for Triggering Subobjects (Meta)

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

C_CHG_OBJHIST - Change History of Subobjects That Trigger Commission

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

C_NEW_OBJHIST - Change History of Subobjects That Trigger Commission

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

Copy and paste ABAP code example for CACS00_CASE_CHECKMETA 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_c_meta_case  TYPE CACS00_S_CASM, "   
lv_iflg_simulation  TYPE CACSSIMULATION, "   'X'
lt_c_meta_participation  TYPE STANDARD TABLE OF CACS00_S_PARM, "   
lv_iflg_enhanced  TYPE BOOLEAN_FLG, "   'X'
lt_c_meta_investigation  TYPE STANDARD TABLE OF CACS00_S_INVM, "   
lv_i_case_prev  TYPE CACS00_CAS, "   
lt_c_meta_relations  TYPE STANDARD TABLE OF CACS00_S_RELM, "   
lt_c_meta_activity  TYPE STANDARD TABLE OF CACS00_S_ACTM, "   
lv_i_case_vers_prev  TYPE CACS00_CAS, "   
lv_i_doc_head_prev  TYPE CACS00_DOCHD, "   
lt_c_meta_objectdata  TYPE STANDARD TABLE OF CACS00_S_OBJM, "   
lt_c_meta_lines  TYPE STANDARD TABLE OF CACS00_S_LINM, "   
lt_c_meta_bundle  TYPE STANDARD TABLE OF CACS00_S_BDLM, "   
lt_c_chg_objhist  TYPE STANDARD TABLE OF CACS00_OBJHIST, "   
lt_c_new_objhist  TYPE STANDARD TABLE OF CACS00_OBJHIST. "   

  CALL FUNCTION 'CACS00_CASE_CHECKMETA'  "NOTRANSL: Metaprovisionsfall vor Bearbeitung prüfen
    EXPORTING
         IFLG_SIMULATION = lv_iflg_simulation
         IFLG_ENHANCED = lv_iflg_enhanced
         I_CASE_PREV = lv_i_case_prev
         I_CASE_VERS_PREV = lv_i_case_vers_prev
         I_DOC_HEAD_PREV = lv_i_doc_head_prev
    CHANGING
         C_META_CASE = lv_c_meta_case
    TABLES
         C_META_PARTICIPATION = lt_c_meta_participation
         C_META_INVESTIGATION = lt_c_meta_investigation
         C_META_RELATIONS = lt_c_meta_relations
         C_META_ACTIVITY = lt_c_meta_activity
         C_META_OBJECTDATA = lt_c_meta_objectdata
         C_META_LINES = lt_c_meta_lines
         C_META_BUNDLE = lt_c_meta_bundle
         C_CHG_OBJHIST = lt_c_chg_objhist
         C_NEW_OBJHIST = lt_c_new_objhist
. " CACS00_CASE_CHECKMETA




ABAP code using 7.40 inline data declarations to call FM CACS00_CASE_CHECKMETA

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_simulation) = 'X'.
 
 
DATA(ld_iflg_enhanced) = 'X'.
 
 
 
 
 
 
 
 
 
 
 
 


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!