RCAMPF01 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 RCAMPF01 into the relevant SAP transactions such as SE38 or SE80
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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING popup_title = popup_title IMPORTING returncode = returncode TABLES fields = fields.
CX_SCHED_VIA_OPERATING_TIME CALL FUNCTION 'CX_SCHED_VIA_OPERATING_TIME' EXPORTING i_date_start = datum_start_loc i_time_start = time_start_loc i_duration = duration_loc i_unit = uom_d i_fcalid = pcm_pcmpb_tab-fabkl IMPORTING e_date_end = datum_start_loc e_time_end = time_start_loc e_time_start = time_start_2_loc EXCEPTIONS parameters_not_valid = 1 OTHERS = 2.
POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING popup_title = popup_title IMPORTING returncode = returncode TABLES fields = fields.
CX_SCHED_VIA_OPERATING_TIME CALL FUNCTION 'CX_SCHED_VIA_OPERATING_TIME' EXPORTING i_date_end = datum_end_loc i_time_end = time_end_loc i_duration = duration_loc i_unit = uom_d i_fcalid = pcm_pcmpb_tab-fabkl IMPORTING e_date_start = datum_end_loc e_time_start = time_end_loc * e_time_start = time_start_2_loc EXCEPTIONS parameters_not_valid = 1 OTHERS = 2.
DEQUEUE_EMPLAFE CALL FUNCTION 'DEQUEUE_EMPLAFE' EXPORTING plnum = pcm_pcmpb_tab-plnum.
CO_BI_AFPO_READ_WITH_KEY CALL FUNCTION 'CO_BI_AFPO_READ_WITH_KEY' EXPORTING aufnr_act = pcm_pcmpb_tab-aufnr IMPORTING afpod_exp = ls_afpod EXCEPTIONS not_found = 1 OTHERS = 2.
DEQUEUE_EMPLAFE CALL FUNCTION 'DEQUEUE_EMPLAFE' EXPORTING plnum = ls_afpod-plnum.
DEQUEUE_ESORDER CALL FUNCTION 'DEQUEUE_ESORDER' EXPORTING aufnr = pcm_pcmpb_tab-aufnr.
PCAMPAIGN_POSITIONS_ADD CALL FUNCTION 'PCAMPAIGN_POSITIONS_ADD' EXPORTING order_from_db_incl = con_yes menge_d = menge_d takt_d = takt_d eheit_d = eheit_d uom_d = uom_d TABLES pcm_pcmhb_tab_t = pcm_pcmhb_tab pcm_pcmpb_tab_t = pcm_pcmpb_tab pcm_pcmo1b_tab_t = pcm_pcmo1b_tab CHANGING pcstd_pos = pcm_pcmhb_tab-pcstd pcend_pos = pcm_pcmhb_tab-pcend EXCEPTIONS order_from_db_not_found = 1 positions_add_not_posible = 2 service_order_add_not_posible = 3 answer_no = 4 OTHERS = 5.
PCAMPAIGN_POSITIONS_ADD CALL FUNCTION 'PCAMPAIGN_POSITIONS_ADD' EXPORTING positions_add = con_yes menge_d = losgr_d takt_d = takt_d eheit_d = eheit_d uom_d = uom_d pcmpb_current = pcm_pcmpb_tab TABLES pcm_pcmhb_tab_t = pcm_pcmhb_tab pcm_pcmpb_tab_t = pcm_pcmpb_tab pcm_pcmo1b_tab_t = pcm_pcmo1b_tab CHANGING pcstd_pos = pcstd_loc pcend_pos = pcm_pcmhb_tab-pcend EXCEPTIONS order_from_db_not_found = 1 positions_add_not_posible = 2 service_order_add_not_posible = 3 answer_no = 4 planned_order_outside_opr_time = 5 OTHERS = 6.
PCAMPAIGN_POSITIONS_ADD CALL FUNCTION 'PCAMPAIGN_POSITIONS_ADD' EXPORTING service_order_add = con_yes menge_d = menge_d takt_d = takt_d eheit_d = eheit_d uom_d = uom_d pcmpb_current = pcm_pcmpb_tab TABLES pcm_pcmhb_tab_t = pcm_pcmhb_tab pcm_pcmpb_tab_t = pcm_pcmpb_tab pcm_pcmo1b_tab_t = pcm_pcmo1b_tab CHANGING pcstd_pos = pcstd_loc pcend_pos = pcend_loc EXCEPTIONS order_from_db_not_found = 1 positions_add_not_posible = 2 service_order_add_not_posible = 3 answer_no = 4 rezept_empty = 5 missing_unit_quantity = 6 missing_auart = 7 OTHERS = 8.
MATERIAL_UNIT_CONVERSION CALL FUNCTION 'MATERIAL_UNIT_CONVERSION' EXPORTING input = value_in kzmeinh = kzmeinh_loc matnr = pcm_pcmpb_tab-matnr meinh = eheit_loc meins = mt61d_tmp-meins werks = pcm_pcmpb_tab-werks IMPORTING output = value_out EXCEPTIONS conversion_not_found = 1 input_invalid = 2 material_not_found = 3 meinh_not_found = 4 meins_missing = 5 no_meinh = 6 output_invalid = 7 overflow = 8 OTHERS = 9.
STATUS_CHANGE_FOR_ACTIVITY CALL FUNCTION 'STATUS_CHANGE_FOR_ACTIVITY' EXPORTING check_only = 'X' objnr = lv_objnr vrgng = veraendern EXCEPTIONS activity_not_allowed = 1 object_not_found = 2 status_inconsistent = 3 status_not_allowed = 4 wrong_input = 5 warning_occured = 6 OTHERS = 7.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.