/SAPMP/CA_UNIT_CONVERSION_SHOW 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 /SAPMP/CA_UNIT_CONVERSION_SHOW into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: IF_BREAK = Breakpoint
Selection Text: IF_CHARG = D Batch
Selection Text: IF_CREAT = Create New Batch
Selection Text: IF_KZCLA = D Batch Classification
Selection Text: IF_MATNR = D Material
Selection Text: IF_QTIES = Display Calculated Quantities
Selection Text: IF_QTY1 = Quantity in Unit of Entry 1
Selection Text: IF_QTY2 = Quantity in Unit of Entry 2
Selection Text: IF_SHKZG = D Direction
Selection Text: IF_UOM1 = Unit of Entry 1
Selection Text: IF_UOM2 = Unit of Entry 2
Selection Text: IF_UOMS = Display Units of Measure
Selection Text: IF_WERKS = D Plant
Title: Test Environment: Quantity Conversion
Text Symbol: 001 = Mast. Data
Text Symbol: 002 = Quants
Text Symbol: 003 = Result Display
Text Symbol: 004 = Fine-Tuned Control BT
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
/SAPMP/CA_GET_MATERIAL_UNITS CALL FUNCTION '/SAPMP/CA_GET_MATERIAL_UNITS' "#EC * EXPORTING if_matnr = if_matnr IMPORTING et_uoms = lt_uoms EXCEPTIONS no_product_uom = 1 no_sorting = 2 material_not_found = 3 OTHERS = 4.
VB_CREATE_BATCH CALL FUNCTION 'VB_CREATE_BATCH' "#EC * EXPORTING ymcha = ls_mcha xkcfc = abap_true kzcla = if_kzcla EXCEPTIONS no_material = 1 no_batch = 2 no_plant = 3 material_not_found = 4 plant_not_found = 5 stoloc_not_found = 6 lock_on_material = 7 lock_on_plant = 8 lock_on_batch = 9 lock_system_error = 10 no_authority = 11 batch_exist = 12 stoloc_exist = 13 illegal_batch_number = 14 no_batch_handling = 15 no_valuation_area = 16 valuation_type_not_found = 17 no_valuation_found = 18 error_automatic_batch_number = 19 cancelled = 20 wrong_status = 21 interval_not_found = 22 number_range_not_extern = 23 object_not_found = 24 error_check_batch_number = 25 no_external_number = 26 no_customer_number = 27 no_class = 28 error_in_classification = 29 inconsistency_in_key = 30 OTHERS = 31.
/SAPMP/CA_CALCULATE_ALL_QTIES CALL FUNCTION '/SAPMP/CA_CALCULATE_ALL_QTIES' "#EC * EXPORTING if_matnr = if_matnr if_werks = if_werks if_charg = if_charg if_shkzg_migo = if_shkzg if_xreturn_all_qties = abap_true CHANGING ct_quantities = lt_qties EXCEPTIONS decimal_error = 1 batch_not_existing_buffer_db = 2 no_product_uom = 3 no_sorting = 4 conversion_not_found = 5 material_not_found = 6 meinh_not_found = 7 meins_missing = 8 overflow = 9 OTHERS = 10.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.