CHECK_BATCH_NUMBER SAP Method Check of New Batch Number
Below is documentation, parameters and attributes of ABAP Method CHECK_BATCH_NUMBER within SAP class IF_EX_BADI_BATCH_NUMBER_INT. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name IF_EX_BADI_BATCH_NUMBER_INT into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method CHECK_BATCH_NUMBER can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CHECK_BATCH_NUMBER
.| Name | Type | Data Type | Description | Default Value |
| I_BNCOM | Importing | TYPE BNCOM | Batch Number Allocation: Communication Block (Dialog) | |
| I_MATNR | Importing | TYPE MATNR | Material Number | |
| I_NEW_CHARG | Importing | TYPE MCHA-CHARG | Batch Number to Be Checked | |
| E_NOT_ALLOWED | Exporting | TYPE C | Batch number is not valid |
Exceptions of Method CHECK_BATCH_NUMBER
This method does not have any exceptionsExample ABAP coding
DATA: lv_E_NOT_ALLOWED TYPE C,
lv_I_BNCOM TYPE BNCOM,
lv_I_MATNR TYPE MATNR,
lv_I_NEW_CHARG TYPE MCHA-CHARG,
lv_other TYPE c.
CALL METHOD IF_EX_BADI_BATCH_NUMBER_INT=>CHECK_BATCH_NUMBER(
EXPORTING
I_BNCOM = lv_I_BNCOM
I_MATNR = lv_I_MATNR
I_NEW_CHARG = lv_I_NEW_CHARG
IMPORTING
E_NOT_ALLOWED = lv_E_NOT_ALLOWED ).
Links to Related Class(s)
IF_EX_BA...Full list of available SAP object classes
Search for further information about these or an SAP related objects