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

CI_PAC_FORM SAP ABAP INCLUDE - CIPACFORM







CI_PAC_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 CI_PAC_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 CI_PAC_FORM. "Basic submit
SUBMIT CI_PAC_FORM AND RETURN. "Return to original report after report execution complete
SUBMIT CI_PAC_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 CI_PAC_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:

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'.

MASTER_DATA CALL FUNCTION 'MASTER_DATA' EXPORTING datenfeld = 'RMIPM-WSTRA' EXCEPTIONS object_not_found = 1 field_is_initial = 2 no_authority = 3 OTHERS = 4.

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_MC_MESSAGE_COLLECT CALL FUNCTION 'CP_MC_MESSAGE_COLLECT' EXCEPTIONS message_not_collected = 1 OTHERS = 2.

CP_RC_GROUP_STATUS_PROVIDE CALL FUNCTION 'CP_RC_GROUP_STATUS_PROVIDE' IMPORTING e_flg_opr_tgr_mode_active = flg_tgr_mode.

CP_RC_OPTIONS_PROVIDE CALL FUNCTION 'CP_RC_OPTIONS_PROVIDE' IMPORTING e_options = options.

CC_PR_CTRL_INFO_PROVIDE CALL FUNCTION 'CC_PR_CTRL_INFO_PROVIDE' IMPORTING effectivity_in_use = effectivity_in_use.

FIELD_SELECTION_CUST_ACTIVE CALL FUNCTION 'FIELD_SELECTION_CUST_ACTIVE' EXPORTING modulpool = repid dynprogruppe = 'PAC' IMPORTING active = s_flg_field_mod_by_customer-pac_active.

IMPORT_DYNPRO CALL FUNCTION 'IMPORT_DYNPRO' EXPORTING dyname = repid dynumb = dynnr TABLES ftab = l_dyn_tab.

FIELD_SELECTION_MODIFY_SINGLE





CALL FUNCTION 'FIELD_SELECTION_MODIFY_SINGLE' EXPORTING dynprogruppe = 'PAC' mode = 'C' "customer specific modulpool = repid.

FIELD_SELECTION_TABCNTR_SINGLE CALL FUNCTION 'FIELD_SELECTION_TABCNTR_SINGLE' EXPORTING dynprogruppe = 'PAC' mode = 'C' modulpool = repid tabcontrol = l_dyn_tab-fnam.

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

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

CI_OV_PAC_EDIT CALL FUNCTION 'CI_OV_PAC_EDIT' EXPORTING i_plnty = pac_class_data-plnty i_plnnr = pac_class_data-plnnr i_plnal = pac_class_data-plnal i_plnfl = pac_class_data-plnfl i_ident = pac_class_data-ident * i_mark_txt_update = mark_txt_update i_key_date = key_date i_ecn = ecn.

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_opr_tgr_mode_active.

CP_RC_OPTIONS_PROVIDE CALL FUNCTION 'CP_RC_OPTIONS_PROVIDE' IMPORTING e_options = options.

FIELD_SELECTION_TABCNTR_REFRES CALL FUNCTION 'FIELD_SELECTION_TABCNTR_REFRES' .

CI_CL_S_PAC_PROVIDE CALL FUNCTION 'CI_CL_S_PAC_PROVIDE' EXPORTING i_date_from = g_validity-datuv i_date_to = g_validity-datub i_plnty = g_pac_rep_ins-plnty i_plnnr = g_pac_rep_ins-plnnr i_plnal = g_pac_rep_ins-plnal i_plnfl = g_pac_rep_ins-plnfl i_ident_ref = g_pac_rep_ins-ident_ref i_ident = g_pac_rep_ins-ident i_flg_provide_inv = options-display_deleted IMPORTING e_pac_inv = pac_inv TABLES e_pac_class_data = pac_rep EXCEPTIONS wrong_key = 1.

CI_CL_S_PAC_TGR_PROVIDE CALL FUNCTION 'CI_CL_S_PAC_TGR_PROVIDE' EXPORTING i_date_from = g_validity-datuv i_date_to = g_validity-datub i_plnty = g_pac_rep_ins-plnty i_plnnr = g_pac_rep_ins-plnnr i_plnal = g_pac_rep_ins-plnal i_plnfl = g_pac_rep_ins-plnfl i_ident_ref = g_pac_rep_ins-ident_ref i_ident = g_pac_rep_ins-ident TABLES e_pac_class_data = pac_rep EXCEPTIONS wrong_key = 1.

CI_CL_S_PAC_CREATE CALL FUNCTION 'CI_CL_S_PAC_CREATE' EXPORTING i_ecn_s = i_ecn i_key_date_s = i_key_date i_flg_pac_check = space i_pac_class_data = pac_class_data IMPORTING e_plnkn = pac_class_data-plnkn e_paket = pac_class_data-paket EXCEPTIONS operation_not_locked = 1 no_valid_operation = 2.

CI_CL_S_PAC_CHANGE CALL FUNCTION 'CI_CL_S_PAC_CHANGE' EXPORTING i_ecn_s = i_ecn i_key_date_s = i_key_date i_flg_pac_check = space i_pac_class_data = pac_class_data EXCEPTIONS operation_not_locked = 1 no_valid_pac = 3.

CI_CL_S_PAC_CREATE CALL FUNCTION 'CI_CL_S_PAC_CREATE' EXPORTING i_ecn_s = i_ecn i_key_date_s = i_key_date i_flg_pac_check = space i_pac_class_data = pac_class_data IMPORTING e_plnkn = pac_class_data-plnkn e_paket = pac_class_data-paket EXCEPTIONS operation_not_locked = 1 no_valid_operation = 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 i_effectivity = g_effectivity i_context = context i_flg_screen_dark_processing = g_flg_screen_dark_processing i_actype = g_actype EXCEPTIONS OTHERS = 1.

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_context = context.




CP_CC_S_SESSION_DATA_PROVIDE CALL FUNCTION 'CP_CC_S_SESSION_DATA_PROVIDE' IMPORTING e_profile = profile.

CP_RC_GROUP_STATUS_PROVIDE CALL FUNCTION 'CP_RC_GROUP_STATUS_PROVIDE' IMPORTING e_flg_opr_tgr_mode_active = flg_opr_tgr_mode_active.

IWP1_STRATEGY_READ CALL FUNCTION 'IWP1_STRATEGY_READ' EXPORTING i_strat = pac_rep-strat i_multicounterplan = space TABLES t_package_data = l_package_tab CHANGING c_t351 = l_t351 EXCEPTIONS strategy_is_initial = 1 strategy_not_found = 2 strategy_without_packages = 3 no_cycle_set = 4 no_strategy = 5 OTHERS = 6.

CP_RC_EFF_DATA_SET CALL FUNCTION 'CP_RC_EFF_DATA_SET' EXCEPTIONS no_values_were_set = 1.

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_EFF_DATA_SET CALL FUNCTION 'CP_RC_EFF_DATA_SET' IMPORTING e_effectivity = effectivity EXCEPTIONS no_values_were_set = 1.

CP_RC_DELETION_CONFIRM CALL FUNCTION 'CP_RC_DELETION_CONFIRM' EXCEPTIONS no_deletion = 1.

CP_RC_GROUP_STATUS_PROVIDE CALL FUNCTION 'CP_RC_GROUP_STATUS_PROVIDE' IMPORTING e_flg_opr_tgr_mode_active = flg_opr_tgr_mode_active.

CP_CL_S_OPR_CTRL_INFO_PROVIDE CALL FUNCTION 'CP_CL_S_OPR_CTRL_INFO_PROVIDE' EXPORTING i_plnty = wa_pac_ident_tab-plnty i_plnnr = wa_pac_ident_tab-plnnr i_ident = wa_pac_ident_tab-ident IMPORTING e_flg_tsk_group = flg_tsk_group EXCEPTIONS no_valid_operation = 1 operation_locked = 2 wrong_key = 3 OTHERS = 4.

CP_CC_S_DELETE_BY_PAC CALL FUNCTION 'CP_CC_S_DELETE_BY_PAC' EXPORTING i_ecn_s = effectivity-aennr i_key_date_s = effectivity-sttag i_pac_ident = wa_pac_ident_tab IMPORTING e_opr_lock = opr_unlocked EXCEPTIONS no_authority = 1 no_valid_pac = 2 operation_not_locked = 3 ecm_data_not_suitable = 4.

CP_OV_OPR_LIST_OF_FAILED_LOCKS CALL FUNCTION 'CP_OV_OPR_LIST_OF_FAILED_LOCKS' IMPORTING e_flg_opr_relock = flg_opr_relock TABLES i_opr_unlocked = opr_unlocked.

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_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_opr_tgr_mode_active.

FIELD_SELECTION_TABCNTR_REFRES CALL FUNCTION 'FIELD_SELECTION_TABCNTR_REFRES' .

CP_CC_S_PAC_PROVIDE_BY_MTK CALL FUNCTION 'CP_CC_S_PAC_PROVIDE_BY_MTK' EXPORTING i_date_from = g_validity-datuv i_date_to = g_validity-datub i_material = g_context-matnr i_plant = g_context-werks i_sales_order = g_context-vbeln i_sales_order_item = g_context-posnr i_plnty = g_context-plnty i_plnnr = g_context-plnnr i_plnal = g_context-plnal i_plnfl = g_context-plnfl i_ident_ref = g_context-ident_ref i_ident = g_context-ident i_vornr = g_context-vornr i_flg_tsk_group_type_provide = flg_opr_tgr_mode_active i_flg_provide_inv = g_flg_display_deleted i_filter_expression = g_pac_free_expr IMPORTING e_pac_inv = g_pac_inv_tab TABLES e_pac_class_data = g_pac_rep EXCEPTIONS wrong_key = 1 OTHERS = 2.

CP_CC_S_SESSION_DATA_PROVIDE CALL FUNCTION 'CP_CC_S_SESSION_DATA_PROVIDE' IMPORTING e_workarea = workarea.

CP_RC_BROWSER_STATUS_PROVIDE CALL FUNCTION 'CP_RC_BROWSER_STATUS_PROVIDE' IMPORTING e_flg_browser_active = flg_browser_active.

CPWBBROWSER_UPDATE_DATA_LOAD CALL FUNCTION 'CPWBBROWSER_UPDATE_DATA_LOAD' EXPORTING i_del_handle_tab = c_pac_handle_del i_ins_handle_tab = pac_handle_ins i_objtyp = cwb_class-pac.

CI_CL_S_PAC_HANDLE_PROVIDE CALL FUNCTION 'CI_CL_S_PAC_HANDLE_PROVIDE' EXPORTING i_date_from = g_validity-datuv i_date_to = g_validity-datub i_plnty = wa_i_pac_ident-plnty i_plnnr = wa_i_pac_ident-plnnr i_plnal = wa_i_pac_ident-plnal i_plnfl = wa_i_pac_ident-plnfl i_plnkn = wa_i_pac_ident-plnkn i_ident = wa_i_pac_ident-ident i_paket = wa_i_pac_ident-paket TABLES e_handle_tab = pac_handle.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = scr_const-ci_overview i_structure_name = 'PAC_CLASS_DATA' i_save = 'A' is_variant = variant TABLES t_outtab = pac_class_data.

CP_RC_SCREEN_INFO_PROVIDE CALL FUNCTION 'CP_RC_SCREEN_INFO_PROVIDE' IMPORTING e_flg_screen_detail = flg_screen_detail.



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 CI_PAC_FORM or its description.