SAP Reports / Programs | Application Platform | Pricing & Condition Technique | Pricing(AP-PRC-PR) SAP AP

CNV_UNIT_TESTF03 SAP ABAP INCLUDE - Include CNV_UNIT_TESTF03







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


Text pool values


Title: Include CNV_UNIT_TESTF03


INCLUDES used within this REPORT CNV_UNIT_TESTF03

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:

COM_PRODUCT_UNIT_CONVERSION CALL FUNCTION 'COM_PRODUCT_UNIT_CONVERSION' EXPORTING iv_product_guid = gv_product iv_input = lv_input iv_unit = gv_aunit iv_base_unit = gv_bunit iv_flag_unit = ' ' IMPORTING ev_output = lv_alt_quantity_abap ev_numerator = lv_numerator_abap ev_denominator = lv_denominator_abap EXCEPTIONS wrong_call = 1 no_units_found = 2 base_unit_not_found = 3 iv_unit_not_found = 4 conversion_not_found = 5 overflow = 6 OTHERS = 7. "#EC *

PRC_CNV_UNIT_CONV_BASE_TO_ALT CALL FUNCTION 'PRC_CNV_UNIT_CONV_BASE_TO_ALT' DESTINATION gv_rfcdst EXPORTING iv_base_quantity = gv_bquan iv_alt_unit = gv_aunit iv_base_unit = gv_bunit it_alt_quantity_unit = gt_alt_quantity_unit IMPORTING es_profile = gs_profile ev_alt_quantity = lv_alt_quantity_java ev_numerator = lv_numerator_java ev_denominator = lv_denominator_java EXCEPTIONS communication_failure = 1 MESSAGE gv_message system_failure = 2 MESSAGE gv_message OTHERS = 3. "#EC *

COM_PRODUCT_UNIT_CONVERSION CALL FUNCTION 'COM_PRODUCT_UNIT_CONVERSION' EXPORTING iv_product_guid = gv_product iv_input = lv_input iv_unit = gv_aunit iv_base_unit = gv_bunit iv_flag_unit = 'X' IMPORTING ev_output = lv_base_quantity_abap ev_numerator = lv_numerator_abap ev_denominator = lv_denominator_abap EXCEPTIONS wrong_call = 1 no_units_found = 2 base_unit_not_found = 3 iv_unit_not_found = 4 conversion_not_found = 5 overflow = 6 OTHERS = 7. "#EC *

PRC_CNV_UNIT_CONV_ALT_TO_BASE CALL FUNCTION 'PRC_CNV_UNIT_CONV_ALT_TO_BASE' DESTINATION gv_rfcdst EXPORTING iv_alt_quantity = gv_aquan iv_alt_unit = gv_aunit iv_base_unit = gv_bunit it_alt_quantity_unit = gt_alt_quantity_unit IMPORTING es_profile = gs_profile ev_base_quantity = lv_base_quantity_java ev_numerator = lv_numerator_java ev_denominator = lv_denominator_java EXCEPTIONS communication_failure = 1 MESSAGE gv_message system_failure = 2 MESSAGE gv_message OTHERS = 3. "#EC *

UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = gv_fquan unit_in = gv_funit unit_out = gv_tunit IMPORTING denominator = lv_denominator_abap numerator = lv_numerator_abap output = lv_quantity_to_abap EXCEPTIONS conversion_not_found = 1 division_by_zero = 2 input_invalid = 3 output_invalid = 4 overflow = 5 type_invalid = 6 units_missing = 7 unit_in_not_found = 8 unit_out_not_found = 9 OTHERS = 10.

PRC_CNV_UNIT_CONV_SIMPLE CALL FUNCTION 'PRC_CNV_UNIT_CONV_SIMPLE' DESTINATION p_rfcdst EXPORTING iv_from_quantity = gv_fquan iv_from_unit = gv_funit iv_to_unit = gv_tunit IMPORTING es_profile = gs_profile ev_to_quantity = lv_quantity_to_java ev_numerator = lv_numerator_java ev_denominator = lv_denominator_java EXCEPTIONS communication_failure = 1 MESSAGE gv_message system_failure = 2 MESSAGE gv_message OTHERS = 3. "#EC *

UNIT_OF_MEASURE_ISO_TO_SAP CALL FUNCTION 'UNIT_OF_MEASURE_ISO_TO_SAP' EXPORTING iso_code = lv_abap_iso IMPORTING sap_code = lv_abap_uom1 EXCEPTIONS not_found = 1 OTHERS = 2.

UNIT_OF_MEASURE_ISO_TO_SAP CALL FUNCTION 'UNIT_OF_MEASURE_ISO_TO_SAP' EXPORTING iso_code = lv_abap_iso IMPORTING sap_code = lv_abap_uom2 EXCEPTIONS not_found = 1 OTHERS = 2.

UNIT_OF_MEASURE_ISO_TO_SAP CALL FUNCTION 'UNIT_OF_MEASURE_ISO_TO_SAP' EXPORTING iso_code = lv_abap_iso IMPORTING sap_code = lv_abap_uom3 EXCEPTIONS not_found = 1 OTHERS = 2.

PRC_CNV_UNIT_CONV_ISO CALL FUNCTION 'PRC_CNV_UNIT_CONV_ISO' DESTINATION p_rfcdst EXPORTING it_iso_quantity_unit = lt_iso_quantity_unit IMPORTING es_profile = gs_profile et_mapping = lt_mapping et_message = lt_message EXCEPTIONS communication_failure = 1 MESSAGE gv_message system_failure = 2 MESSAGE gv_message OTHERS = 3. "#EC *



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