CACS00_CASE_READ_BY_OBJ is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name CACS00_CASE_READ_BY_OBJ into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
CACS00_CASE_GET
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'CACS00_CASE_READ_BY_OBJ' "
EXPORTING
it_triobj_r = " cacs_t_range_cacstriobj Subobject ID Selection Option
it_triobjid_r = " cacs_t_range_cacstriobjid Document ID Selection Option
it_triobjidext_r = " cacs_tt_triobjidext_range
it_import_year_r = " cacs_tt_impyear_range
iflg_valid = 'X' " boolean_flg Boolean Variables (X=true, space=false)
iflg_invalid = SPACE " boolean_flg Boolean Variables (X=true, space=false)
iflg_active_only = SPACE " boolean_flg Boolean Variables (X=true, space=false)
iflg_consistent_only = SPACE " boolean_flg Boolean Variables (X=true, space=false)
iflg_failed_only = SPACE " boolean_flg Boolean Variables (X=true, space=false)
iflg_completed_only = SPACE " boolean_flg Boolean Variables (X=true, space=false)
iflg_pending_only = SPACE " boolean_flg Boolean Variables (X=true, space=false)
TABLES
et_case = " cacs00_cas Commission Case (Meta Object)
et_participation = " cacs00_par Commission Case Participation (Meta Object)
et_investigation = " cacs00_inv Commission Case Participant (Meta Object)
et_relations = " cacs00_rel Participant Relations (Meta Object)
et_activity = " cacs00_act Commission Activities (Meta Object)
et_objectdata = " cacs00_obj Commission Object Data (Meta Object)
et_lines = " cacs00_lin Alternative Commission (Meta Object)
et_bundle = " cacs00_bdl Rebundling Order for Triggering Subobjects (Meta)
EXCEPTIONS
NO_CASE_FOUND = 1 "
. " CACS00_CASE_READ_BY_OBJ
The ABAP code below is a full code listing to execute function module CACS00_CASE_READ_BY_OBJ including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| it_et_case | TYPE STANDARD TABLE OF CACS00_CAS,"TABLES PARAM |
| wa_et_case | LIKE LINE OF it_et_case , |
| it_et_participation | TYPE STANDARD TABLE OF CACS00_PAR,"TABLES PARAM |
| wa_et_participation | LIKE LINE OF it_et_participation , |
| it_et_investigation | TYPE STANDARD TABLE OF CACS00_INV,"TABLES PARAM |
| wa_et_investigation | LIKE LINE OF it_et_investigation , |
| it_et_relations | TYPE STANDARD TABLE OF CACS00_REL,"TABLES PARAM |
| wa_et_relations | LIKE LINE OF it_et_relations , |
| it_et_activity | TYPE STANDARD TABLE OF CACS00_ACT,"TABLES PARAM |
| wa_et_activity | LIKE LINE OF it_et_activity , |
| it_et_objectdata | TYPE STANDARD TABLE OF CACS00_OBJ,"TABLES PARAM |
| wa_et_objectdata | LIKE LINE OF it_et_objectdata , |
| it_et_lines | TYPE STANDARD TABLE OF CACS00_LIN,"TABLES PARAM |
| wa_et_lines | LIKE LINE OF it_et_lines , |
| it_et_bundle | TYPE STANDARD TABLE OF CACS00_BDL,"TABLES PARAM |
| wa_et_bundle | LIKE LINE OF it_et_bundle . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_it_triobj_r | TYPE CACS_T_RANGE_CACSTRIOBJ , |
| it_et_case | TYPE STANDARD TABLE OF CACS00_CAS , |
| wa_et_case | LIKE LINE OF it_et_case, |
| ld_it_triobjid_r | TYPE CACS_T_RANGE_CACSTRIOBJID , |
| it_et_participation | TYPE STANDARD TABLE OF CACS00_PAR , |
| wa_et_participation | LIKE LINE OF it_et_participation, |
| ld_it_triobjidext_r | TYPE CACS_TT_TRIOBJIDEXT_RANGE , |
| it_et_investigation | TYPE STANDARD TABLE OF CACS00_INV , |
| wa_et_investigation | LIKE LINE OF it_et_investigation, |
| ld_it_import_year_r | TYPE CACS_TT_IMPYEAR_RANGE , |
| it_et_relations | TYPE STANDARD TABLE OF CACS00_REL , |
| wa_et_relations | LIKE LINE OF it_et_relations, |
| ld_iflg_valid | TYPE BOOLEAN_FLG , |
| it_et_activity | TYPE STANDARD TABLE OF CACS00_ACT , |
| wa_et_activity | LIKE LINE OF it_et_activity, |
| ld_iflg_invalid | TYPE BOOLEAN_FLG , |
| it_et_objectdata | TYPE STANDARD TABLE OF CACS00_OBJ , |
| wa_et_objectdata | LIKE LINE OF it_et_objectdata, |
| ld_iflg_active_only | TYPE BOOLEAN_FLG , |
| it_et_lines | TYPE STANDARD TABLE OF CACS00_LIN , |
| wa_et_lines | LIKE LINE OF it_et_lines, |
| ld_iflg_consistent_only | TYPE BOOLEAN_FLG , |
| it_et_bundle | TYPE STANDARD TABLE OF CACS00_BDL , |
| wa_et_bundle | LIKE LINE OF it_et_bundle, |
| ld_iflg_failed_only | TYPE BOOLEAN_FLG , |
| ld_iflg_completed_only | TYPE BOOLEAN_FLG , |
| ld_iflg_pending_only | TYPE BOOLEAN_FLG . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name CACS00_CASE_READ_BY_OBJ or its description.