CACS00_LOSAS_PARCONST_PFO 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_LOSAS_PARCONST_PFO into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
CACS00_SAMPLE_LOS
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'CACS00_LOSAS_PARCONST_PFO' "
EXPORTING
i_busitime = " cacs_busitime_b
i_techtime = " cacs_techtime_b
i_cacsappl = " tcacs_los_object-appl
i_obj_type = " tcacs_los_meth-obj_type
i_obj_method = " tcacs_los_meth-obj_method
i_obj_id = " tcacs_los_object-obj_id
i_method = " cacspcmethod
i_groupid = " cacspcgroupid
is_case = " cacs00_s_casm
TABLES
it_allocation_grp = " cacs_s_parconst_allocation
it_objectdata_grp = " cacs00_s_objm
ct_participation_grp = " cacs00_s_parm
ct_activity_grp = " cacs00_s_actm
ct_investigation_grp = " cacs00_s_invm
ct_relation_grp = " cacs00_s_relm
EXCEPTIONS
ERROR_OCCURRED = 1 "
. " CACS00_LOSAS_PARCONST_PFO
The ABAP code below is a full code listing to execute function module CACS00_LOSAS_PARCONST_PFO 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_it_allocation_grp | TYPE STANDARD TABLE OF CACS_S_PARCONST_ALLOCATION,"TABLES PARAM |
| wa_it_allocation_grp | LIKE LINE OF it_it_allocation_grp , |
| it_it_objectdata_grp | TYPE STANDARD TABLE OF CACS00_S_OBJM,"TABLES PARAM |
| wa_it_objectdata_grp | LIKE LINE OF it_it_objectdata_grp , |
| it_ct_participation_grp | TYPE STANDARD TABLE OF CACS00_S_PARM,"TABLES PARAM |
| wa_ct_participation_grp | LIKE LINE OF it_ct_participation_grp , |
| it_ct_activity_grp | TYPE STANDARD TABLE OF CACS00_S_ACTM,"TABLES PARAM |
| wa_ct_activity_grp | LIKE LINE OF it_ct_activity_grp , |
| it_ct_investigation_grp | TYPE STANDARD TABLE OF CACS00_S_INVM,"TABLES PARAM |
| wa_ct_investigation_grp | LIKE LINE OF it_ct_investigation_grp , |
| it_ct_relation_grp | TYPE STANDARD TABLE OF CACS00_S_RELM,"TABLES PARAM |
| wa_ct_relation_grp | LIKE LINE OF it_ct_relation_grp . |
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_i_busitime | TYPE CACS_BUSITIME_B , |
| it_it_allocation_grp | TYPE STANDARD TABLE OF CACS_S_PARCONST_ALLOCATION , |
| wa_it_allocation_grp | LIKE LINE OF it_it_allocation_grp, |
| ld_i_techtime | TYPE CACS_TECHTIME_B , |
| it_it_objectdata_grp | TYPE STANDARD TABLE OF CACS00_S_OBJM , |
| wa_it_objectdata_grp | LIKE LINE OF it_it_objectdata_grp, |
| ld_i_cacsappl | TYPE TCACS_LOS_OBJECT-APPL , |
| it_ct_participation_grp | TYPE STANDARD TABLE OF CACS00_S_PARM , |
| wa_ct_participation_grp | LIKE LINE OF it_ct_participation_grp, |
| ld_i_obj_type | TYPE TCACS_LOS_METH-OBJ_TYPE , |
| it_ct_activity_grp | TYPE STANDARD TABLE OF CACS00_S_ACTM , |
| wa_ct_activity_grp | LIKE LINE OF it_ct_activity_grp, |
| ld_i_obj_method | TYPE TCACS_LOS_METH-OBJ_METHOD , |
| it_ct_investigation_grp | TYPE STANDARD TABLE OF CACS00_S_INVM , |
| wa_ct_investigation_grp | LIKE LINE OF it_ct_investigation_grp, |
| ld_i_obj_id | TYPE TCACS_LOS_OBJECT-OBJ_ID , |
| it_ct_relation_grp | TYPE STANDARD TABLE OF CACS00_S_RELM , |
| wa_ct_relation_grp | LIKE LINE OF it_ct_relation_grp, |
| ld_i_method | TYPE CACSPCMETHOD , |
| ld_i_groupid | TYPE CACSPCGROUPID , |
| ld_is_case | TYPE CACS00_S_CASM . |
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_LOSAS_PARCONST_PFO or its description.