SAP Reports / Programs

RMCS1000 SAP ABAP INCLUDE - Enter phys. inv. count







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

INCLUDE RMCSSU01.


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:

DATE_GET_WEEK CALL FUNCTION 'DATE_GET_WEEK' EXPORTING date = pe_datum IMPORTING week = pe_hlp_week EXCEPTIONS date_invalid = 01.

FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' EXPORTING i_budat = pe_datum i_periv = pe_periv x_xmo16 = pe_true IMPORTING e_gjahr = pe_hlp_jahr e_monat = pe_hlp_monat EXCEPTIONS fiscal_year = 01 period = 02 period_version = 03 posting_period = 04 special_period = 05 version = 06 posting_date = 07.

FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' EXPORTING i_budat = pe_datum i_periv = pe_periv x_xmo16 = pe_true IMPORTING e_gjahr = pe_hlp_jahr e_monat = pe_hlp_monat EXCEPTIONS fiscal_year = 01 period = 02 period_version = 03 posting_period = 04 special_period = 05 version = 06 posting_date = 07.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = lc_date foreign_amount = lc_document_value foreign_currency = lc_document_currency local_currency = lc_local_currency rate = lc_rate IMPORTING * EXCHANGE_RATE = local_amount = lc_local_value EXCEPTIONS no_rate_found = 4.

UNIT_CONVERSION CALL FUNCTION 'UNIT_CONVERSION' EXPORTING mgame = qc_source_value meinh = qc_source_unit umrez = qc_umrez umren = qc_umren meins = qc_target_unit IMPORTING o_mglme = qc_target_value EXCEPTIONS conversion_not_found = 4 different_dimension = 8 division_by_zero = 12 overflow = 16 t006d_entry_missing = 20 t006_entry_missing = 24.

READ_EXCHANGE_RATE CALL FUNCTION 'READ_EXCHANGE_RATE' EXPORTING date = scc_date foreign_currency = scc_document_currency local_currency = scc_statistics_currency IMPORTING fixed_rate = fixrate EXCEPTIONS no_rate_found = 4 OTHERS = 8.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = scc_date foreign_amount = scc_document_value foreign_currency = scc_document_currency local_currency = scc_statistics_currency rate = fixrate IMPORTING local_amount = scc_statistics_value EXCEPTIONS no_rate_found = 4 OTHERS = 8.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = scc_date foreign_amount = scc_document_value foreign_currency = scc_document_currency local_currency = scc_local_currency rate = scc_rate_dc_lc IMPORTING local_amount = scc_statistics_value EXCEPTIONS no_rate_found = 4 OTHERS = 8.

CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING date = scc_date local_amount = scc_statistics_value foreign_currency = scc_statistics_currency local_currency = scc_local_currency rate = scc_rate_lc_sc IMPORTING foreign_amount = scc_statistics_value EXCEPTIONS no_rate_found = 4 OTHERS = 8.

READ_EXCHANGE_RATE CALL FUNCTION 'READ_EXCHANGE_RATE' EXPORTING date = p_l_date foreign_currency = p_d_curr local_currency = p_s_curr type_of_rate = p_l_type IMPORTING fixed_rate = fixrate EXCEPTIONS no_rate_found = 4 OTHERS = 8.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = p_l_date foreign_amount = p_d_value foreign_currency = p_d_curr local_currency = p_s_curr rate = fixrate IMPORTING local_amount = p_s_value EXCEPTIONS no_rate_found = 4 OTHERS = 8.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = p_l_date foreign_amount = p_d_value foreign_currency = p_d_curr local_currency = p_l_curr rate = p_l_rate type_of_rate = p_l_type IMPORTING local_amount = p_s_value EXCEPTIONS no_rate_found = 4 OTHERS = 8.

CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING date = p_s_date local_amount = p_s_value foreign_currency = p_s_curr local_currency = p_l_curr rate = p_s_rate type_of_rate = p_s_type IMPORTING foreign_amount = p_s_value EXCEPTIONS no_rate_found = 4 OTHERS = 8.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = l_date foreign_amount = d_value foreign_currency = d_curr local_currency = l_curr rate = l_rate type_of_rate = l_type IMPORTING * EXCHANGE_RATE = local_amount = l_value EXCEPTIONS no_rate_found = 4.

CO_ZF_ORDER_UNIT_CONVERSION CALL FUNCTION 'CO_ZF_ORDER_UNIT_CONVERSION' EXPORTING UNIT_IN = cq_target_unit_pl QUANTITY_IN = l_result UNIT_OUT = cq_target_unit_bas I_AUFNR = cq_aufnr IMPORTING QUANTITY_OUT = l_result EXCEPTIONS NO_AUFNR = 1 WRONG_AUFNR = 2 NOT_CONVERTABLE = 3 NO_UNIT_IN = 4 NO_UNIT_OUT = 5 NO_PLANT = 6 MATERIAL_NOT_FOUND = 7 OTHERS = 8.

CO_ZF_ORDER_UNIT_CONVERSION CALL FUNCTION 'CO_ZF_ORDER_UNIT_CONVERSION' EXPORTING UNIT_IN = cq_target_unit_hd QUANTITY_IN = l_result UNIT_OUT = cq_target_unit_bas I_AUFNR = cq_aufnr IMPORTING QUANTITY_OUT = l_result EXCEPTIONS NO_AUFNR = 1 WRONG_AUFNR = 2 NOT_CONVERTABLE = 3 NO_UNIT_IN = 4 NO_UNIT_OUT = 5 NO_PLANT = 6 MATERIAL_NOT_FOUND = 7 OTHERS = 8.



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