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

CD_ODP_ITM_FORM SAP ABAP INCLUDE - Include LCOISTP4







CD_ODP_ITM_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_ITM_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_ITM_FORM. "Basic submit
SUBMIT CD_ODP_ITM_FORM AND RETURN. "Return to original report after report execution complete
SUBMIT CD_ODP_ITM_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_ITM_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:

CS_CL_S_ITM_ALLOCATION_PROVIDE CALL FUNCTION 'CS_CL_S_ITM_ALLOCATION_PROVIDE' EXPORTING i_date_from = i_key_date i_date_to = i_key_date i_stlty = i_stlty i_stlnr = i_stlnr i_stlkn = i_stlkn i_stpoz = i_stpoz IMPORTING e_itm_alloc_data = lt_itm_alloc_data EXCEPTIONS wrong_key = 1 OTHERS = 2.

CPCC_S_ECM_DATA_PROVIDE_BY_BGR CALL FUNCTION 'CPCC_S_ECM_DATA_PROVIDE_BY_BGR' EXPORTING i_stlty = -stlty i_stlnr = -stlnr 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.

CP_RC_SCREEN_INFO_PROVIDE CALL FUNCTION 'CP_RC_SCREEN_INFO_PROVIDE' IMPORTING e_ident_screen = ident_screen e_ident_previous_screen = ident_previous_screen.

CS_OV_ITM_COM_MARK_INFO_PROVID CALL FUNCTION 'CS_OV_ITM_COM_MARK_INFO_PROVID' IMPORTING e_line_sel_mode = line_sel_mode.

CS_OV_ITM_MARK_INFO_PROVIDE CALL FUNCTION 'CS_OV_ITM_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.

CS_OV_ITM_GET_ACTUAL_MARKED CALL FUNCTION 'CS_OV_ITM_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_stvkn = stvkn e_stlkn = stlkn e_stpoz = stpoz e_lkenz = lkenz e_stufe_k = stufe_k EXCEPTIONS item_not_found = 1.

CS_OV_ITM_MARK_LOAD CALL FUNCTION 'CS_OV_ITM_MARK_LOAD'.

CS_OV_ITM_GET_ACTUAL_MARKED CALL FUNCTION 'CS_OV_ITM_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_stvkn = stvkn e_stlkn = stlkn e_stpoz = stpoz e_lkenz = lkenz e_stufe_k = stufe_k EXCEPTIONS item_not_found = 1.

CP_RC_CTRL_DATA_PROVIDE CALL FUNCTION 'CP_RC_CTRL_DATA_PROVIDE' IMPORTING e_effectivity = effectivity.

CUKD_COPY_ALLOCATION CALL FUNCTION 'CUKD_COPY_ALLOCATION' EXPORTING allocation_number_old = odp_link table = odp_object-itm 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_MC_MESSAGE_COLLECT * CALL FUNCTION 'CP_MC_MESSAGE_COLLECT' * EXCEPTIONS * MESSAGE_NOT_COLLECTED = 1 * OTHERS = 2.

CS_CL_P_BGR_PROVIDE CALL FUNCTION 'CS_CL_P_BGR_PROVIDE' EXPORTING i_stlty = context-stlty i_stlnr = context-stlnr i_flg_none_virtual = const-flg_no IMPORTING e_bgr_class_data = bgr_data EXCEPTIONS wrong_key = 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_itm table = odp_object-itm 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.

CS_CL_S_ITM_ODP_CHANGE CALL FUNCTION 'CS_CL_S_ITM_ODP_CHANGE' EXPORTING i_ecn_s = effectivity-aennr i_key_date_s = effectivity-sttag i_itm_ident = itm_ident i_itm_ecn_s = validity-aennr i_knobj = odp_link i_mark_odp_update = const-flg_yes i_alternatives = alternatives EXCEPTIONS no_valid_item = 1.

CS_OV_ITM_MARK_UPDATE CALL FUNCTION 'CS_OV_ITM_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_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_ITM_PROVIDE CALL FUNCTION 'CD_CL_S_ODP_ITM_PROVIDE' EXPORTING i_date_from = g_validity-datuv i_date_to = g_validity-datub i_stlty = g_odp_itm_rep_ins-stlty i_stlnr = g_odp_itm_rep_ins-stlnr i_stlal = g_odp_itm_rep_ins-stlal i_ident = g_odp_itm_rep_ins-ident TABLES e_odp_itm_class_data = odp_itm_rep EXCEPTIONS wrong_key = 1.




CS_CL_S_ITM_CTRL_INFO_PROVIDE * call function 'CS_CL_S_ITM_CTRL_INFO_PROVIDE' * exporting * i_stlty = i_stlty * i_stlnr = i_stlnr * i_stlal = i_stlal * i_stvkn = i_stvkn * exceptions * item_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-cs_overview i_structure_name = 'ODP_ITM_CLASS_DATA' i_save = 'A' is_variant = variant TABLES t_outtab = odp_itm_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_ITM_FORM or its description.