SAP Reports / Programs | Logistics - General | Batches | Active Ingredient Management(LO-BM-AI) SAP LO

VBAIMAT1 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

VBXU_DEFINITIONS_GET CALL FUNCTION 'VBXU_DEFINITIONS_GET' EXCEPTIONS batch_spec_uom_not_active = 1 OTHERS = 99.

VBXU_APO_UOM_CONVERT CALL FUNCTION 'VBXU_APO_UOM_CONVERT' EXPORTING i_matnr = lv_matnr i_r3_2_apo = 'X' i_apo_2_r3 = space CHANGING c_meins = pt_cif_matkey-meins EXCEPTIONS batch_spec_uom_not_active = 1 OTHERS = 99.

CONVERT_TO_FRACT5 CALL FUNCTION 'CONVERT_TO_FRACT5' EXPORTING nomin = lv_umrez_flp denomin = lv_umren_flp IMPORTING nomout = lv_umrez_dec denomout = lv_umren_dec EXCEPTIONS conversion_overflow = 1.

VBXU_APO_UOM_CONVERT CALL FUNCTION 'VBXU_APO_UOM_CONVERT' EXPORTING i_matnr = lv_matnr i_werks = lv_werks i_r3_2_apo = 'X' i_apo_2_r3 = space CHANGING c_quan13_1 = pt_cif_matloc-bstfe c_quan13_2 = pt_cif_matloc-bstmi c_quan13_3 = pt_cif_matloc-bstma c_quan13_4 = pt_cif_matloc-bstrf c_quan15_1 = lv_safty_p15 EXCEPTIONS batch_spec_uom_not_active = 1 OTHERS = 99.



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