SAP Reports / Programs

PPC_REPROC_ACT SAP ABAP Report - Reprocessing of Activities







PPC_REPROC_ACT is a standard Executable ABAP Report 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 PPC_REPROC_ACT into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PPCRPA - Reprocessing of Activities


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 PPC_REPROC_ACT. "Basic submit
SUBMIT PPC_REPROC_ACT AND RETURN. "Return to original report after report execution complete
SUBMIT PPC_REPROC_ACT VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: SO_WERKS = D Plant
Selection Text: SO_VERID = D Production Version
Selection Text: SO_MATNR = D Material
Selection Text: SO_BUDAT = D Posting Date
Title: Reprocessing of Activities
Text Symbol: 004 = Are you sure you want to exit the transaction?
Text Symbol: 003 = Exit Transaction
Text Symbol: 002 = Error for the Current Line
Text Symbol: 001 = Activity Quantity


INCLUDES used within this REPORT PPC_REPROC_ACT

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:

MGV_SELOP_AFTER_INITIALIZATION call function 'MGV_SELOP_AFTER_INITIALIZATION' EXPORTING PROGRAM = mgv_matnr_prog TABLES SELOP = mgv_matnr_selopt_tab EXCEPTIONS NO_PROGRAMNAME = 1 OTHERS = 2 .

MGV_SELOP_AFTER_START_OF_SEL CALL FUNCTION 'MGV_SELOP_AFTER_START_OF_SEL' EXPORTING SELOPT_NAME = mgv_matnr_selopt_tab-name TABLES RANGE = .

HELP_OBJECT_SHOW CALL FUNCTION 'HELP_OBJECT_SHOW' EXPORTING dokclass = 'NA' doklangu = sy-langu dokname = l_dokname doktitle = text-002 called_by_program = 'PPC_REPROC_ACT' called_by_dynp = '0100' msg_var_1 = ls_msgv1 msg_var_2 = ls_msgv2 msg_var_3 = ls_msgv3 msg_var_4 = ls_msgv4 TABLES links = l_t_links EXCEPTIONS object_not_found = 1 sapscript_error = 2 OTHERS = 3.

PPC1IP_RES_CONVERT CALL FUNCTION 'PPC1IP_RES_CONVERT' EXPORTING if_res_name = ls_row-resource_ext IMPORTING ef_res_guid = ls_guid EXCEPTIONS missing_data = 1 ippe_read_error = 2 not_a_ressource = 3 OTHERS = 4.

PPC1IP_CO_DATA_CHECK CALL FUNCTION 'PPC1IP_CO_DATA_CHECK' EXPORTING if_res_guid = ls_guid IMPORTING ef_co_data_exists = ls_codata EXCEPTIONS missing_data = 1 OTHERS = 2.

ENQUEUE_E_PPC_ACT CALL FUNCTION 'ENQUEUE_E_PPC_ACT' EXPORTING mode_ppc_act = 'E' mandt = sy-mandt actid = gs_act-actid _scope = '2' _wait = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'PPC_RP_ACT' CHANGING ct_fieldcat = pt_fieldcat.

PPC1IP_MOD_CONVERT CALL FUNCTION 'PPC1IP_MOD_CONVERT' EXPORTING if_mod_guid = ls_act-mode_guid IMPORTING ef_act_name = ls_act-activity_ext ef_act_class_ext = ls_act-act_class_ext ef_act_class_type = ls_act-act_class_type ef_mod_num = ls_act-mode_num EXCEPTIONS missing_data = 1 ippe_read_error = 2 activity_convert_error = 3 not_a_mode = 4 OTHERS = 5.

PPC1IP_RES_CONVERT CALL FUNCTION 'PPC1IP_RES_CONVERT' EXPORTING if_res_guid = ls_act-resource_guid IMPORTING ef_res_name = ls_act-resource_ext EXCEPTIONS missing_data = 1 ippe_read_error = 2 not_a_ressource = 3 OTHERS = 4.

POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING textline1 = p_text1 textline2 = p_text2 titel = p_title IMPORTING answer = p_answer EXCEPTIONS OTHERS = 0.

KCR02_POST_ACTIVITY_ALLOCATION CALL FUNCTION 'KCR02_POST_ACTIVITY_ALLOCATION' EXPORTING i_resource_guid = ls_postings-resource_guid i_mode_guid = ls_postings-mode_guid i_mode_change_number = ls_postings-mode_change_number i_mode_count = ls_postings-mode_count i_order = ls_act-aufnr i_post_date = ls_act-post_date i_quantity = ls_postings-quantity i_unit = ls_postings-unit IMPORTING e_document_number = ls_docnum TABLES e_return = lt_return_act EXCEPTIONS message_occured = 1.



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