SAP Reports / Programs

ROPRCHEC SAP ABAP Report - documentation and ABAP source code







ROPRCHEC 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 ROPRCHEC 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 ROPRCHEC. "Basic submit
SUBMIT ROPRCHEC AND RETURN. "Return to original report after report execution complete
SUBMIT ROPRCHEC 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_WERKS = Plant
Selection Text: S_MATNR = Material Number
Selection Text: S_FEVOR = Production Scheduler
Selection Text: S_DISPO = MRP Controller
Selection Text: S_AUFNR = Order Number
Selection Text: P_NOEXC = Deactivate Exact Check
Selection Text: P_LOGSY = Log. Sys. for Reconciliation
Text Symbol: 110 = Order
Text Symbol: 111 = Order
Text Symbol: 112 = Oper.
Text Symbol: 113 = Oper.
Text Symbol: 114 = Subop.
Text Symbol: 115 = Suboperation
Text Symbol: 116 = No. Errors
Text Symbol: 117 = No. Errors in Operation
Text Symbol: 118 = Highest Error Categ. in Operation
Text Symbol: 119 = Highest Error Categ. in Operation
Text Symbol: 120 = Order
Text Symbol: 121 = Order
Text Symbol: 122 = Oper.
Text Symbol: 123 = Oper.
Text Symbol: 124 = Subop.
Text Symbol: 125 = Suboperation
Text Symbol: 126 = Error That Occurred
Text Symbol: 127 = Error That Occurred
Text Symbol: 128 = Val. R/3
Text Symbol: 129 = Val. R/3
Text Symbol: 130 = Val. APO
Text Symbol: 131 = Val. APO
Text Symbol: 109 = Highest Error Category in Order
Text Symbol: 001 = Selections
Text Symbol: 002 = Settings
Text Symbol: 003 = Log. Sys. for Reconciliation
Text Symbol: 004 = Deactivate Exact Check
Text Symbol: 030 = Operation number differs
Text Symbol: 031 = Suboperation number differs
Text Symbol: 040 = Status "Released" differs
Text Symbol: 041 = Status " Partially Confirmed" differs





Text Symbol: 042 = Status "Confirmed" differs
Text Symbol: 050 = End time differs
Text Symbol: 051 = Start time differs
Text Symbol: 052 = End date differs
Text Symbol: 053 = Start date differs
Text Symbol: 060 = Base unit of measure differs
Text Symbol: 061 = Base quantity differs
Text Symbol: 062 = Operation quantity differs
Text Symbol: 070 = Work center differs
Text Symbol: 080 = Inputs or outputs differ
Text Symbol: 090 = APO operation is not linked to an R/3 operation
Text Symbol: 091 = R/3 operation is not linked to an APO operation
Text Symbol: 100 = Action
Text Symbol: 101 = Action performed
Text Symbol: 102 = Order
Text Symbol: 103 = Order
Text Symbol: 104 = No.Operations
Text Symbol: 105 = No. Faulty Operations in Order
Text Symbol: 106 = No. Errors
Text Symbol: 107 = No. of Errors in Order
Text Symbol: 108 = Highest Error Category in Order


INCLUDES used within this REPORT ROPRCHEC

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:

OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = lv_own_logsys EXCEPTIONS own_logical_system_not_defined = 1 OTHERS = 2.

RFC_TRUSTED_CHECK CALL FUNCTION 'RFC_TRUSTED_CHECK' EXPORTING rfcdest = lv_rfcdest IMPORTING error_message = lv_error_message.

FUNCTION_IMPORT_INTERFACE CALL FUNCTION 'FUNCTION_IMPORT_INTERFACE' DESTINATION p_logsy EXPORTING funcname = '/SAPAPO/CIF_ORDER_GET_OPR_DATA' EXCEPTIONS error_message = 1 function_not_found = 2 invalid_name = 3 OTHERS = 4.

CIF_DELTA3_GET_MATWERK CALL FUNCTION 'CIF_DELTA3_GET_MATWERK' EXPORTING lv_logsys = p_logsy lv_objecttype = 'T_ORD' TABLES et_flt = lt_fltmat_ord.

CIF_DELTA3_GET_MATWERK CALL FUNCTION 'CIF_DELTA3_GET_MATWERK' EXPORTING lv_logsys = p_logsy lv_objecttype = 'T_MAT' TABLES et_flt = lt_fltmat_mat.

CIF_IMOD_DESTINATIONS_RES CALL FUNCTION 'CIF_IMOD_DESTINATIONS_RES' TABLES it_filter_object = lt_kapids et_filter_destinations = lt_filter_destinations et_destinations = lt_destinations EXCEPTIONS OTHERS = 1.

CO_VA_OPERS_APO_REL_FILTER CALL FUNCTION 'CO_VA_OPERS_APO_REL_FILTER' EXPORTING I_LOGSYS = P_logsy IS_CAUFVB = ls_caufvdb TABLES CT_AFVGB = lt_afvgb IT_AFFLB = lt_afflb.

COR0_OPR_TO_HDR_UNIT_CONVERT





CALL FUNCTION 'COR0_OPR_TO_HDR_UNIT_CONVERT' EXPORTING i_quantity = lv_lmnga_out i_opr_unit = ls_ops_r3-meinh i_order_unit = lv_unit i_nominator = ls_ops_r3-umrez i_denominator = ls_ops_r3-umren i_material = ls_ord_r3-matnr i_rout_unit = ls_ord_r3-plnme i_base_unit = ls_ord_r3-meins i_round = 'X' IMPORTING e_quan_hdr = lv_lmnga_in EXCEPTIONS conversion_error = 1 OTHERS = 2.

COR0_OPR_TO_HDR_UNIT_CONVERT CALL FUNCTION 'COR0_OPR_TO_HDR_UNIT_CONVERT' EXPORTING i_quantity = lv_xmnga_out i_opr_unit = ls_ops_r3-meinh i_order_unit = lv_unit i_nominator = ls_ops_r3-umrez i_denominator = ls_ops_r3-umren i_material = ls_ord_r3-matnr i_rout_unit = ls_ord_r3-plnme i_base_unit = ls_ord_r3-meins i_round = 'X' IMPORTING e_quan_hdr = lv_xmnga_in EXCEPTIONS conversion_error = 1 OTHERS = 2.

COR0_OPR_TO_HDR_UNIT_CONVERT CALL FUNCTION 'COR0_OPR_TO_HDR_UNIT_CONVERT' EXPORTING i_quantity = lv_mgvrg_out i_opr_unit = ls_ops_r3-meinh i_order_unit = lv_unit i_nominator = ls_ops_r3-umrez i_denominator = ls_ops_r3-umren i_material = ls_ord_r3-matnr i_rout_unit = ls_ord_r3-plnme i_base_unit = ls_ord_r3-meins i_round = 'X' IMPORTING e_quan_hdr = lv_mgvrg_in EXCEPTIONS conversion_error = 1 OTHERS = 2.

CIF_GEN_CONVERT_QUANTITY_ISO CALL FUNCTION 'CIF_GEN_CONVERT_QUANTITY_ISO' EXPORTING iv_quantity = lv_lmnga_out iv_uom = ls_ops_r3-meinh iv_matnr = ls_ord_r3-matnr IMPORTING ev_quantity = lv_lmnga_in EXCEPTIONS quantity_conversion_failed = 1 OTHERS = 2.

CIF_GEN_CONVERT_QUANTITY_ISO CALL FUNCTION 'CIF_GEN_CONVERT_QUANTITY_ISO' EXPORTING iv_quantity = lv_xmnga_out iv_uom = ls_ops_r3-meinh iv_matnr = ls_ord_r3-matnr IMPORTING ev_quantity = lv_xmnga_in EXCEPTIONS quantity_conversion_failed = 1 OTHERS = 2.

CIF_GEN_CONVERT_QUANTITY_ISO CALL FUNCTION 'CIF_GEN_CONVERT_QUANTITY_ISO' EXPORTING iv_quantity = lv_mgvrg_out iv_uom = ls_ops_r3-meinh iv_matnr = ls_ord_r3-matnr IMPORTING ev_quantity = lv_mgvrg_in EXCEPTIONS quantity_conversion_failed = 1 OTHERS = 2.

CIF_GEN_CONVERT_QUANTITY_ISO CALL FUNCTION 'CIF_GEN_CONVERT_QUANTITY_ISO' EXPORTING iv_quantity = ls_ops_r3-bmsch * iv_uom = ls_ops_r3-meinh iv_uom = lv_unit iv_matnr = ls_ord_r3-matnr IMPORTING ev_quantity = lv_menge ev_buom = lv_meinh EXCEPTIONS quantity_conversion_failed = 1 OTHERS = 2.

CIF_ORDER_TIMEZONE_GET CALL FUNCTION 'CIF_ORDER_TIMEZONE_GET' EXPORTING iv_plant = ls_ord_r3-dwerk IMPORTING ev_timezone = lv_timezone.

CIF_GEN_CONVERT_DATETIME CALL FUNCTION 'CIF_GEN_CONVERT_DATETIME' EXPORTING iv_date = ls_ops_r3-ssavd iv_time = ls_ops_r3-ssavz iv_timezone = lv_timezone IMPORTING ev_timestamp = lv_timestamp EXCEPTIONS time_conversion_failed = 1 OTHERS = 2.

CIF_GEN_CONVERT_DATETIME CALL FUNCTION 'CIF_GEN_CONVERT_DATETIME' EXPORTING iv_date = ls_ops_r3-ssedd iv_time = ls_ops_r3-ssedz iv_timezone = lv_timezone IMPORTING ev_timestamp = lv_timestamp EXCEPTIONS time_conversion_failed = 1 OTHERS = 2.

/SAPAPO/CIF_ORDER_GET_OPR_DATA CALL FUNCTION '/SAPAPO/CIF_ORDER_GET_OPR_DATA' DESTINATION p_logsy EXPORTING it_aufnr_range = lt_aufnr_range iv_logsys = lv_own_logsys TABLES et_comp_opr = lt_vergleich_apo et_comp_inp = lt_comp_apo.

CONVERSION_EXIT_CFTMS_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CFTMS_OUTPUT' EXPORTING input = ps_vergleich_r3-startstamp IMPORTING output = lv_datum_zeit_r3.

CONVERSION_EXIT_CFTMS_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CFTMS_OUTPUT' EXPORTING input = ps_vergleich_apo-startstamp IMPORTING output = lv_datum_zeit_apo.

CONVERSION_EXIT_CFTMS_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CFTMS_OUTPUT' EXPORTING input = ps_vergleich_r3-endestamp IMPORTING output = lv_datum_zeit_r3.

CONVERSION_EXIT_CFTMS_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CFTMS_OUTPUT' EXPORTING input = ps_vergleich_apo-endestamp IMPORTING output = lv_datum_zeit_apo.

CONVERSION_EXIT_CFTMS_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CFTMS_OUTPUT' EXPORTING input = ps_vergleich_r3-endestamp IMPORTING output = lv_datum_zeit_r3.

CONVERSION_EXIT_CFTMS_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CFTMS_OUTPUT' EXPORTING input = ps_vergleich_apo-endestamp IMPORTING output = lv_datum_zeit_apo.

CONVERSION_EXIT_CFTMS_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CFTMS_OUTPUT' EXPORTING input = ps_vergleich_r3-startstamp IMPORTING output = lv_datum_zeit_r3.

CONVERSION_EXIT_CFTMS_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CFTMS_OUTPUT' EXPORTING input = ps_vergleich_apo-startstamp IMPORTING output = lv_datum_zeit_apo.

CONVERSION_EXIT_CFTMS_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CFTMS_OUTPUT' EXPORTING input = ps_vergleich_r3-endestamp IMPORTING output = lv_datum_zeit_r3.




CONVERSION_EXIT_CFTMS_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CFTMS_OUTPUT' EXPORTING input = ps_vergleich_apo-endestamp IMPORTING output = lv_datum_zeit_apo.

CONVERSION_EXIT_CFTMS_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CFTMS_OUTPUT' EXPORTING input = ps_vergleich_r3-startstamp IMPORTING output = lv_datum_zeit_r3.

CONVERSION_EXIT_CFTMS_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CFTMS_OUTPUT' EXPORTING input = ps_vergleich_apo-startstamp IMPORTING output = lv_datum_zeit_apo.

CIF_REFRESH_ORDER CALL FUNCTION 'CIF_REFRESH_ORDER' EXPORTING iv_objecttype = '6' iv_logsys = p_logsy TABLES it_ord_key = lt_orders_to_send.



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