/SAPMP/COWBF08 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 /SAPMP/COWBF08 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
CO_WB_READ_MARC_TO_BUFFER CALL FUNCTION 'CO_WB_READ_MARC_TO_BUFFER' EXPORTING i_matnr =
-matnr i_werks = -werks IMPORTING e_marc = l_marc EXCEPTIONS not_found = 1 wrong_call = 2 OTHERS = 3.
VB_CHECK_BATCH_NUMBER CALL FUNCTION 'VB_CHECK_BATCH_NUMBER' EXPORTING new_charg =
-charg x_bncom = lv_bncom check_customer = space EXCEPTIONS no_batch = 1 interval_not_found = 2 number_range_not_extern = 3 object_not_found = 4 error_check_batch_number = 5 no_external_number = 6 no_customer_number = 7 OTHERS = 8.
VB_CHECK_BATCH_NUMBER CALL FUNCTION 'VB_CHECK_BATCH_NUMBER' EXPORTING new_charg =
-charg x_bncom = lv_bncom check_external = space EXCEPTIONS no_customer_number = 1 OTHERS = 2.
VB_BATCH_READ_BUFFER_DB CALL FUNCTION 'VB_BATCH_READ_BUFFER_DB' EXPORTING MATNR = L_MCHA-MATNR CHARG = L_MCHA-CHARG WERKS = L_MCHA-WERKS LGORT =
-lgort READ_FROM_BUFFER = 'X' READ_FROM_DB = 'X' IMPORTING BATCH_BUFFER = LS_MCHA_BUFFER RC_BATCH_BUFFER = LS_RC_MCHA_BUFFER RC_BATCH_DB = LS_RC_MCHA_DB.
VB_CREATE_BATCH CALL FUNCTION 'VB_CREATE_BATCH' EXPORTING ymcha = l_mcha new_lgort =
-lgort message_when_auto = lv_message x_bncom = lv_bncom kzcla = lv_kzcla xkcfc = lv_xkcfc IMPORTING ymcha = l_mcha 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 OTHERS = 28.
VB_CHANGE_BATCH CALL FUNCTION 'VB_CHANGE_BATCH' EXPORTING ymcha = l_mcha X_BNCOM = lv_bncom KZCLA = lv_kzcla XKCFC = lv_xkcfc IMPORTING YMCHA = l_mcha EXCEPTIONS NO_MATERIAL = 1 NO_BATCH = 2 NO_PLANT = 3 MATERIAL_NOT_FOUND = 4 PLANT_NOT_FOUND = 5 LOCK_ON_MATERIAL = 6 LOCK_ON_PLANT = 7 LOCK_ON_BATCH = 8 LOCK_SYSTEM_ERROR = 9 NO_AUTHORITY = 10 BATCH_NOT_EXIST = 11 NO_CLASS = 12 ERROR_IN_CLASSIFICATION = 13 ERROR_IN_VALUATION_CHANGE = 14 OTHERS = 15.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
/SAPMP/COWBF08 - documentation and ABAP source code /SAPMP/COWBF07 - documentation and ABAP source code /SAPMP/COWBF06 - documentation and ABAP source code /SAPMP/COWBF05 - documentation and ABAP source code /SAPMP/COWBF04 - documentation and ABAP source code /SAPMP/COWBF03 - documentation and ABAP source code