SAP Reports / Programs | Production Planning and Control | Basic Data | Routing(PP-BD-RTG) SAP PP

CD_ODP_PRT_FORM SAP ABAP INCLUDE - Check whether task list alternatives have been changed







CD_ODP_PRT_FORM is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter CD_ODP_PRT_FORM into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT CD_ODP_PRT_FORM. "Basic submit
SUBMIT CD_ODP_PRT_FORM AND RETURN. "Return to original report after report execution complete
SUBMIT CD_ODP_PRT_FORM VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT CD_ODP_PRT_FORM

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

CPCC_S_ECM_DATA_PROVIDE_BY_TGR CALL FUNCTION 'CPCC_S_ECM_DATA_PROVIDE_BY_TGR' EXPORTING i_plnty = -plnty i_plnnr = -plnnr CHANGING c_ecn_s = aennr c_key_date_s = sttag EXCEPTIONS ecm_data_not_suitable = 1 OTHERS = 2.

CP_CC_P_PROVIDE_REF_TO_BADI CALL FUNCTION 'CP_CC_P_PROVIDE_REF_TO_BADI' EXPORTING i_name = ewb_badi-cewb_gen_menu_intern CHANGING c_instance = obj_ref EXCEPTIONS name_required = 1 OTHERS = 2.

CP_CC_P_PROVIDE_REF_TO_BADI CALL FUNCTION 'CP_CC_P_PROVIDE_REF_TO_BADI' EXPORTING i_name = ewb_badi-cewb_gen_menu_extern CHANGING c_instance = obj_ref EXCEPTIONS name_required = 1 OTHERS = 2.

CP_RC_PARENT_NEXT_MARKED CALL FUNCTION 'CP_RC_PARENT_NEXT_MARKED'.

CP_RC_PARENT_PREV_MARKED CALL FUNCTION 'CP_RC_PARENT_PREV_MARKED'.

CP_RC_PARENT_FIRST_MARKED CALL FUNCTION 'CP_RC_PARENT_FIRST_MARKED'.

CP_RC_PARENT_LAST_MARKED CALL FUNCTION 'CP_RC_PARENT_LAST_MARKED'.

CP_RC_BROWSER_STATUS_UPDATE CALL FUNCTION 'CP_RC_BROWSER_STATUS_UPDATE'.

CP_RC_OPTIONS_SET CALL FUNCTION 'CP_RC_OPTIONS_SET'.

CP_SC_WORKAREA_DETAIL_PROCESS CALL FUNCTION 'CP_SC_WORKAREA_DETAIL_PROCESS' EXPORTING i_flg_external_call = const-flg_yes.

CP_SC_SEL_SHOW_SCREEN_PROVIDE CALL FUNCTION 'CP_SC_SEL_SHOW_SCREEN_PROVIDE'.

CP_MC_MESSAGE_COLLECT CALL FUNCTION 'CP_MC_MESSAGE_COLLECT' EXCEPTIONS message_not_collected = 1 OTHERS = 2.

CP_RC_DATA_LOAD CALL FUNCTION 'CP_RC_DATA_LOAD' EXPORTING i_context = context.

CF_OV_PRT_MARK_INFO_PROVIDE CALL FUNCTION 'CF_OV_PRT_MARK_INFO_PROVIDE' IMPORTING e_line_sel_mode = line_sel_mode.

CP_RC_DATA_LOAD CALL FUNCTION 'CP_RC_DATA_LOAD' EXPORTING i_effectivity = g_effectivity i_validity = g_validity i_context = g_context EXCEPTIONS OTHERS = 1.

CP_RC_OK_CODE_LOAD CALL FUNCTION 'CP_RC_OK_CODE_LOAD' EXPORTING i_ok_code = ok_code.

CF_OV_PRT_GET_ACTUAL_MARKED CALL FUNCTION 'CF_OV_PRT_GET_ACTUAL_MARKED' IMPORTING e_context = context e_validity = validity e_flg_sel = flg_sel e_flg_lock = flg_lock e_odp_link = odp_link e_origin = origin e_psnfh = psnfh e_plnkn = plnkn.

CF_OV_PRT_MARK_LOAD CALL FUNCTION 'CF_OV_PRT_MARK_LOAD'.

CF_OV_PRT_GET_ACTUAL_MARKED





CALL FUNCTION 'CF_OV_PRT_GET_ACTUAL_MARKED' IMPORTING e_context = context e_validity = validity e_flg_sel = flg_sel e_flg_lock = flg_lock e_odp_link = odp_link e_psnfh = psnfh e_plnkn = plnkn.

CP_RC_CTRL_DATA_PROVIDE CALL FUNCTION 'CP_RC_CTRL_DATA_PROVIDE' IMPORTING e_effectivity = effectivity.

CP_RC_GROUP_STATUS_PROVIDE CALL FUNCTION 'CP_RC_GROUP_STATUS_PROVIDE' IMPORTING e_flg_opr_tgr_mode_active = flg_tgr_mode.

CP_CL_S_OPR_PROVIDE CALL FUNCTION 'CP_CL_S_OPR_PROVIDE' EXPORTING i_date_from = validity-datuv i_date_to = validity-datub i_plnty = context-plnty i_plnnr = context-plnnr i_plnal = context-plnal i_plnfl = context-plnfl i_ident = context-ident TABLES e_opr_class_data = opr_data EXCEPTIONS wrong_key = 1 OTHERS = 2.

CP_CL_S_OPR_TGR_PROVIDE CALL FUNCTION 'CP_CL_S_OPR_TGR_PROVIDE' EXPORTING i_date_from = validity-datuv i_date_to = validity-datub i_plnty = context-plnty i_plnnr = context-plnnr i_plnal = context-plnal i_plnfl = context-plnfl i_ident = context-ident TABLES e_opr_class_data = opr_data EXCEPTIONS wrong_key = 1 OTHERS = 2.

CUKD_COPY_ALLOCATION CALL FUNCTION 'CUKD_COPY_ALLOCATION' EXPORTING allocation_number_old = odp_link table = odp_object-prt search_date = search_date IMPORTING allocation_number_new = odp_link.

CP_MC_MESSAGE_COLLECT CALL FUNCTION 'CP_MC_MESSAGE_COLLECT' EXCEPTIONS message_not_collected = 1 OTHERS = 2.

CP_RC_CTRL_DATA_PROVIDE CALL FUNCTION 'CP_RC_CTRL_DATA_PROVIDE' IMPORTING e_validity = validity_keep.

CP_RC_DATA_LOAD CALL FUNCTION 'CP_RC_DATA_LOAD' EXPORTING i_validity = validity.

CP_MC_MESSAGE_COLLECT CALL FUNCTION 'CP_MC_MESSAGE_COLLECT' EXCEPTIONS message_not_collected = 1 OTHERS = 2.

CUKD_KNOWLEDGE_DEFINITION CALL FUNCTION 'CUKD_KNOWLEDGE_DEFINITION' EXPORTING akttyp = g_actype allocation_number = odp_link mode = 'ALLOCATIONS' subscreen_program = scr_const-cp_control subscreen_dynpro = scr_const-odp_sub table = odp_object-prt turn_on_knobj_scroll = i_flg_navigation date = search_date IMPORTING allocation_number = odp_link fcode = c_ok_code updateflag = flg_update EXCEPTIONS ecm_number_not_for_deps = 1 ecm_needed = 2 other_ecm_number_used = 3 no_relation_found = 4.

CF_CL_S_PRT_ODP_CHANGE CALL FUNCTION 'CF_CL_S_PRT_ODP_CHANGE' EXPORTING i_ecn_s = effectivity-aennr i_key_date_s = effectivity-sttag i_prt_ident = prt_ident i_prt_ident_ecn = validity-aennr i_prt_ident_date = validity-datuv i_prt_odp_link = odp_link EXCEPTIONS no_valid_prt = 1 no_valid_sequence = 2 opr_not_locked = 3.

CF_OV_PRT_MARK_UPDATE CALL FUNCTION 'CF_OV_PRT_MARK_UPDATE' EXPORTING i_ecn = effectivity-aennr i_key_date = effectivity-sttag.

CP_MC_MESSAGE_COLLECT CALL FUNCTION 'CP_MC_MESSAGE_COLLECT' EXCEPTIONS message_not_collected = 1 OTHERS = 2.

CP_MC_MESSAGE_COLLECT CALL FUNCTION 'CP_MC_MESSAGE_COLLECT' EXCEPTIONS message_not_collected = 1 OTHERS = 2.

CP_MC_MESSAGE_COLLECT CALL FUNCTION 'CP_MC_MESSAGE_COLLECT' EXCEPTIONS message_not_collected = 1 OTHERS = 2.

CP_RC_DATA_LOAD CALL FUNCTION 'CP_RC_DATA_LOAD' EXPORTING i_validity = validity_keep.

CP_MC_MESSAGE_COLLECT CALL FUNCTION 'CP_MC_MESSAGE_COLLECT' EXCEPTIONS message_not_collected = 1 OTHERS = 2.

CP_RC_CTRL_DATA_PROVIDE CALL FUNCTION 'CP_RC_CTRL_DATA_PROVIDE' IMPORTING e_effectivity = effectivity.

CD_CL_S_ODP_PRT_PROVIDE CALL FUNCTION 'CD_CL_S_ODP_PRT_PROVIDE' EXPORTING i_date_from = g_validity-datuv i_date_to = g_validity-datub i_plnty = g_odp_prt_rep_ins-plnty i_plnnr = g_odp_prt_rep_ins-plnnr i_plnal = g_odp_prt_rep_ins-plnal i_plnfl = g_odp_prt_rep_ins-plnfl i_plnkn = g_odp_prt_rep_ins-plnkn i_pzlfh = g_odp_prt_rep_ins-pzlfh TABLES e_odp_prt_class_data = odp_prt_rep EXCEPTIONS wrong_key = 1.




CP_CL_S_OPR_CTRL_INFO_PROVIDE CALL FUNCTION 'CP_CL_S_OPR_CTRL_INFO_PROVIDE' EXPORTING i_plnty = i_plnty i_plnnr = i_plnnr i_plnal = i_plnal i_plnfl = i_plnfl i_plnkn = i_plnkn EXCEPTIONS operation_locked = 1.

CP_RC_DATA_LOAD CALL FUNCTION 'CP_RC_DATA_LOAD' EXPORTING i_context = context i_flg_screen_dark_processing = g_flg_screen_dark_processing i_actype = g_actype EXCEPTIONS OTHERS = 1.

CP_RC_SCREEN_INFO_PROVIDE CALL FUNCTION 'CP_RC_SCREEN_INFO_PROVIDE' IMPORTING e_flg_screen_detail = flg_screen_detail.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = scr_const-cp_overview i_structure_name = 'ODP_PRT_CLASS_DATA' i_save = 'A' is_variant = variant TABLES t_outtab = odp_prt_class_data EXCEPTIONS program_error = 1 OTHERS = 2.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name CD_ODP_PRT_FORM or its description.