SAP Reports / Programs

CORUPROZ SAP ABAP Report - Predefined Confirmation Processes







CORUPROZ 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 CORUPROZ 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

CO1P - Predefined confirmation processes


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 CORUPROZ. "Basic submit
SUBMIT CORUPROZ AND RETURN. "Return to original report after report execution complete
SUBMIT CORUPROZ 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: S_RUECK = Confirmation
Selection Text: S_RMZHL = Confirmation Counter
Selection Text: S_AUFNR = Order
Selection Text: P_OLD = List Display
Selection Text: P_DISPLY = Display Mode
Selection Text: G_RECPTS = Automatic Goods Receipt
Selection Text: G_ISSUES = Backflushing
Selection Text: G_HRTRAN = HR Data Transfer
Selection Text: G_COSTS = Actual Cost Calculation
Title: Predefined Confirmation Processes
Text Symbol: C02 = Save
Text Symbol: C03 = HR Data Transfer
Text Symbol: C04 = Delete HR Pool
Text Symbol: C11 = Details About Goods Movement
Text Symbol: C12 = Refresh
Text Symbol: C21 = Display Order
Text Symbol: C22 = Display Confirmation
Text Symbol: C31 = Select All
Text Symbol: C32 = Deselect All
Text Symbol: C51 = Back
Text Symbol: C52 = Exit
Text Symbol: C53 = Cancel
Text Symbol: C00 = * Function Texts for ALV Grid Context Menu *
Text Symbol: 001 = Autom. Goods Receipt
Text Symbol: 002 = Backflushing
Text Symbol: 003 = Actual Cost Calculation
Text Symbol: 004 = HR Data Transfer
Text Symbol: 005 = Number of Locked Items :
Text Symbol: 006 = Number of Items Successful :
Text Symbol: 008 = Execution
Text Symbol: 009 = Terminated Tasks
Text Symbol: 010 = Order Confirm. Cnf. Counter
Text Symbol: 011 = Time Program Start
Text Symbol: 012 = Lines were selected for processing
Text Symbol: 013 = Do you want to make the postings?
Text Symbol: 014 = Confirmation Prompt
Text Symbol: 015 = Output Criteria
Text Symbol: 016 = Selection of Preselected Items





Text Symbol: 017 = Intended Goods Movements
Text Symbol: 018 = Predefined Confirmation Processes
Text Symbol: 019 = Predefined Confirmation Processes: Display Mode
Text Symbol: 020 = All HR requests are inevitably deleted !
Text Symbol: 021 = Do you really want to delete?
Text Symbol: 022 = GR for WIP Batch
Text Symbol: 023 = GI from Picking


INCLUDES used within this REPORT CORUPROZ

INCLUDE CORUAFWD.
INCLUDE LCOKOTYP.


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:

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING diagnosetext1 = text-012 textline1 = text-013 titel = text-014 IMPORTING answer = antwort. "#EC *

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING diagnosetext1 = text-012 diagnosetext2 = l_tline textline1 = text-013 titel = text-014 IMPORTING answer = antwort.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_structure_name = 'AFRP_S_ALV' CHANGING ct_fieldcat = gt_fieldcat.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = g_status_set i_callback_user_command = g_user_command is_layout = gs_layout it_fieldcat = gt_fieldcat[] it_sort = gt_sortinfo[] i_grid_title = g_title i_default = 'X' i_save = 'A' is_variant = gs_variant it_events = gt_events[] TABLES t_outtab = gt_afrp_alv EXCEPTIONS program_error = 1 OTHERS = 2.

ENQUEUE_ESCORUPROC CALL FUNCTION 'ENQUEUE_ESCORUPROC' EXPORTING przid = proz-przid_wein _scope = '3' "Freigabe Sperre bei Ende TA & VB EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

ENQUEUE_ESCORUPROC CALL FUNCTION 'ENQUEUE_ESCORUPROC' EXPORTING przid = proz-przid_waus _scope = '3' "Freigabe Sperre bei Ende TA & VB EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

ENQUEUE_ESCORUPROC CALL FUNCTION 'ENQUEUE_ESCORUPROC' EXPORTING przid = proz-przid_cost _scope = '3' "Freigabe Sperre bei Ende TA & VB EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

ENQUEUE_ESCORUPROC CALL FUNCTION 'ENQUEUE_ESCORUPROC' EXPORTING przid = proz-przid_wein _scope = '3' "Freigabe Sperre bei Ende TA & VB EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

ENQUEUE_ESCORUPROC CALL FUNCTION 'ENQUEUE_ESCORUPROC' EXPORTING przid = proz-przid_waus _scope = '3' "Freigabe Sperre bei Ende TA & VB EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

ENQUEUE_ESCORUPROC CALL FUNCTION 'ENQUEUE_ESCORUPROC' EXPORTING przid = proz-przid_cost _scope = '3' "Freigabe Sperre bei Ende TA & VB EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING diagnosetext1 = text-020 diagnosetext2 = l_tline textline1 = text-021 titel = text-014 IMPORTING answer = antwort.

CO_RB_CREATE_GOODS_MOVEMENTS CALL FUNCTION 'CO_RB_CREATE_GOODS_MOVEMENTS' EXPORTING update_task = ' ' TABLES afrp1_bt = lt_afrp1[] afrp2_bt = lt_afrp2[] affw_ok = lt_affwb affw_fail = lt_affwf EXCEPTIONS OTHERS = 0.

CO_FW_CHECK_MHD_NECESSARY CALL FUNCTION 'CO_FW_CHECK_MHD_NECESSARY' EXPORTING matnr_imp = lt_affwb-matnr werks_imp = lt_affwb-werks bwart_imp = lt_affwb-bwart EXCEPTIONS mhd_necessary = 1 hsd_necessary = 2.

CO_WB_MAINTAIN_GOODS_MOVEMENTS CALL FUNCTION 'CO_WB_MAINTAIN_GOODS_MOVEMENTS' TABLES t_comp_tab = lt_cowb_comp "components CHANGING c_control = ls_cowb_ctrl "control data EXCEPTIONS OTHERS = 0.








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