CP_SC_TSK_LOAD_COMPLEX 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 CP_SC_TSK_LOAD_COMPLEX into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
CPSC
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'CP_SC_TSK_LOAD_COMPLEX' "
* EXPORTING
* i_cpsc_mtk_sel = " cpsc_mtk_sel_type
* i_cpsc_com_sel = " cpsc_com_sel_type
* i_cpsc_tsk_sel = " cpsc_tsk_sel_type
* i_cpsc_opr_sel = " cpsc_opr_sel_type
* i_cpsc_suo_sel = " cpsc_suo_sel_type
* i_cpsc_mbm_sel = " cpsc_mbm_sel_type
* i_cpsc_bom_sel = " cpsc_bom_sel_type
* i_cpsc_itm_sel = " cpsc_itm_sel_type
* i_cpsc_sui_sel = " cpsc_sui_sel_type
* i_cpsc_prt_sel = " cpsc_prt_sel_type
* i_cpsc_pac_sel = " cpsc_pac_sel_type
* i_cpsc_cha_sel = " cpsc_cha_sel_type
* i_cpsc_mst_sel = " cpsc_mst_sel_type
* i_cpsc_odp_sel = " cpsc_odp_sel_type
* i_cpsc_cla_sel = " cpsc_cla_sel_type
* i_cpsc_ecn_sel = " cpsc_ecn_sel_type
* i_sel_opr_ident = " cpsc_sel_opr_tab_type
* i_date_from = 01011900 " sy-datum
* i_date_to = 31129999 " sy-datum
IMPORTING
e_tsk_ident = " cpcl_tsk_tab_type
EXCEPTIONS
NOT_FOUND = 1 "
. " CP_SC_TSK_LOAD_COMPLEX
The ABAP code below is a full code listing to execute function module CP_SC_TSK_LOAD_COMPLEX 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).
| ld_e_tsk_ident | TYPE CPCL_TSK_TAB_TYPE . |
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_e_tsk_ident | TYPE CPCL_TSK_TAB_TYPE , |
| ld_i_cpsc_mtk_sel | TYPE CPSC_MTK_SEL_TYPE , |
| ld_i_cpsc_com_sel | TYPE CPSC_COM_SEL_TYPE , |
| ld_i_cpsc_tsk_sel | TYPE CPSC_TSK_SEL_TYPE , |
| ld_i_cpsc_opr_sel | TYPE CPSC_OPR_SEL_TYPE , |
| ld_i_cpsc_suo_sel | TYPE CPSC_SUO_SEL_TYPE , |
| ld_i_cpsc_mbm_sel | TYPE CPSC_MBM_SEL_TYPE , |
| ld_i_cpsc_bom_sel | TYPE CPSC_BOM_SEL_TYPE , |
| ld_i_cpsc_itm_sel | TYPE CPSC_ITM_SEL_TYPE , |
| ld_i_cpsc_sui_sel | TYPE CPSC_SUI_SEL_TYPE , |
| ld_i_cpsc_prt_sel | TYPE CPSC_PRT_SEL_TYPE , |
| ld_i_cpsc_pac_sel | TYPE CPSC_PAC_SEL_TYPE , |
| ld_i_cpsc_cha_sel | TYPE CPSC_CHA_SEL_TYPE , |
| ld_i_cpsc_mst_sel | TYPE CPSC_MST_SEL_TYPE , |
| ld_i_cpsc_odp_sel | TYPE CPSC_ODP_SEL_TYPE , |
| ld_i_cpsc_cla_sel | TYPE CPSC_CLA_SEL_TYPE , |
| ld_i_cpsc_ecn_sel | TYPE CPSC_ECN_SEL_TYPE , |
| ld_i_sel_opr_ident | TYPE CPSC_SEL_OPR_TAB_TYPE , |
| ld_i_date_from | TYPE SY-DATUM , |
| ld_i_date_to | TYPE SY-DATUM . |
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 CP_SC_TSK_LOAD_COMPLEX or its description.