SAP CACS00_CASE_TRIGGER_OBJDATA Function Module for NOTRANSL: Beschaffung der Objektdaten zu einem Provisionsfall
CACS00_CASE_TRIGGER_OBJDATA is a standard cacs00 case trigger objdata 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: Beschaffung der Objektdaten zu einem Provisionsfall 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 trigger objdata FM, simply by entering the name CACS00_CASE_TRIGGER_OBJDATA into the relevant SAP transaction such as SE37 or SE38.
Function Group: CACS00_CASE_TRIGGER
Program Name: SAPLCACS00_CASE_TRIGGER
Main Program: SAPLCACS00_CASE_TRIGGER
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CACS00_CASE_TRIGGER_OBJDATA 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_TRIGGER_OBJDATA'"NOTRANSL: Beschaffung der Objektdaten zu einem Provisionsfall.
EXPORTING
I_CASE = "Commission Case
* I_KEY_DATE = "Key Date for Closing Runs
I_CONTRACT = "Commissions: Commission Contract
I_TRIGGER_TYPE = "Trigger for Additional Commission Case
I_TRIGGER_RULE = "Commissions: Commission Case Trigger Rule
I_PERIOD_NO = "Period No.
I_TECH_TIME = "Technically Valid from
I_BUSI_TIME = "Effective From
* I_REF_BUSOBJTYP = "Business Object Category that Triggers Commission
* I_FLG_USE_REFBUSOBJ = ' ' "Boolean Variables (X=true, space=false)
CHANGING
C_FLG_REJECTED = "Boolean Variables (X=true, space=false)
C_FLG_ERROR = "Boolean Variables (X=true, space=false)
TABLES
E_OBJECTDATA = "Commission Case Object Data
* T_SEGAGR = "Agreement for The Assignment of Segments
EXCEPTIONS
NO_VALID_BUSOBJECT = 1
IMPORTING Parameters details for CACS00_CASE_TRIGGER_OBJDATA
I_CASE - Commission Case
Data type: CACS00_CASOptional: No
Call by Reference: Yes
I_KEY_DATE - Key Date for Closing Runs
Data type: CACSCLOSEKEYDATEOptional: Yes
Call by Reference: Yes
I_CONTRACT - Commissions: Commission Contract
Data type: CACS_CTRTBUOptional: No
Call by Reference: Yes
I_TRIGGER_TYPE - Trigger for Additional Commission Case
Data type: TCACS_TRCASOptional: No
Call by Reference: Yes
I_TRIGGER_RULE - Commissions: Commission Case Trigger Rule
Data type: CACS_TRIGCASOptional: No
Call by Reference: Yes
I_PERIOD_NO - Period No.
Data type: CACSPERIODOptional: No
Call by Reference: Yes
I_TECH_TIME - Technically Valid from
Data type: CACS_TECHTIME_BOptional: No
Call by Reference: Yes
I_BUSI_TIME - Effective From
Data type: CACS_BUSITIME_BOptional: No
Call by Reference: Yes
I_REF_BUSOBJTYP - Business Object Category that Triggers Commission
Data type: CACSBUSOBJTYPOptional: Yes
Call by Reference: Yes
I_FLG_USE_REFBUSOBJ - Boolean Variables (X=true, space=false)
Data type: BOOLEAN_FLGDefault: ' '
Optional: Yes
Call by Reference: Yes
CHANGING Parameters details for CACS00_CASE_TRIGGER_OBJDATA
C_FLG_REJECTED - Boolean Variables (X=true, space=false)
Data type: BOOLEAN_FLGOptional: No
Call by Reference: Yes
C_FLG_ERROR - Boolean Variables (X=true, space=false)
Data type: BOOLEAN_FLGOptional: No
Call by Reference: Yes
TABLES Parameters details for CACS00_CASE_TRIGGER_OBJDATA
E_OBJECTDATA - Commission Case Object Data
Data type: CACS00_OBJOptional: No
Call by Reference: Yes
T_SEGAGR - Agreement for The Assignment of Segments
Data type: CACS_SEGAGROptional: Yes
Call by Reference: Yes
EXCEPTIONS details
NO_VALID_BUSOBJECT -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for CACS00_CASE_TRIGGER_OBJDATA 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_case | TYPE CACS00_CAS, " | |||
| lt_e_objectdata | TYPE STANDARD TABLE OF CACS00_OBJ, " | |||
| lv_c_flg_rejected | TYPE BOOLEAN_FLG, " | |||
| lv_no_valid_busobject | TYPE BOOLEAN_FLG, " | |||
| lv_i_key_date | TYPE CACSCLOSEKEYDATE, " | |||
| lt_t_segagr | TYPE STANDARD TABLE OF CACS_SEGAGR, " | |||
| lv_i_contract | TYPE CACS_CTRTBU, " | |||
| lv_c_flg_error | TYPE BOOLEAN_FLG, " | |||
| lv_i_trigger_type | TYPE TCACS_TRCAS, " | |||
| lv_i_trigger_rule | TYPE CACS_TRIGCAS, " | |||
| lv_i_period_no | TYPE CACSPERIOD, " | |||
| lv_i_tech_time | TYPE CACS_TECHTIME_B, " | |||
| lv_i_busi_time | TYPE CACS_BUSITIME_B, " | |||
| lv_i_ref_busobjtyp | TYPE CACSBUSOBJTYP, " | |||
| lv_i_flg_use_refbusobj | TYPE BOOLEAN_FLG. " ' ' |
|   CALL FUNCTION 'CACS00_CASE_TRIGGER_OBJDATA' "NOTRANSL: Beschaffung der Objektdaten zu einem Provisionsfall |
| EXPORTING | ||
| I_CASE | = lv_i_case | |
| I_KEY_DATE | = lv_i_key_date | |
| I_CONTRACT | = lv_i_contract | |
| I_TRIGGER_TYPE | = lv_i_trigger_type | |
| I_TRIGGER_RULE | = lv_i_trigger_rule | |
| I_PERIOD_NO | = lv_i_period_no | |
| I_TECH_TIME | = lv_i_tech_time | |
| I_BUSI_TIME | = lv_i_busi_time | |
| I_REF_BUSOBJTYP | = lv_i_ref_busobjtyp | |
| I_FLG_USE_REFBUSOBJ | = lv_i_flg_use_refbusobj | |
| CHANGING | ||
| C_FLG_REJECTED | = lv_c_flg_rejected | |
| C_FLG_ERROR | = lv_c_flg_error | |
| TABLES | ||
| E_OBJECTDATA | = lt_e_objectdata | |
| T_SEGAGR | = lt_t_segagr | |
| EXCEPTIONS | ||
| NO_VALID_BUSOBJECT = 1 | ||
| . " CACS00_CASE_TRIGGER_OBJDATA | ||
ABAP code using 7.40 inline data declarations to call FM CACS00_CASE_TRIGGER_OBJDATA
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_i_flg_use_refbusobj) | = ' '. | |||
Search for further information about these or an SAP related objects