GET_BATCH SAP Method Propose Batch









Below is documentation, parameters and attributes of ABAP Method GET_BATCH 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 directly

The following technical details of method GET_BATCH can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method GET_BATCH

.

NameTypeData TypeDescriptionDefault Value
I_DM07MImportingTYPE
DM07M
Dialog Control Fields for Module Pool SAPMM07M
I_MATNRImportingTYPE
MATNR
Material Number
I_MKPFImportingTYPE
MKPF
Header: Material Document
I_MSEGImportingTYPE
MSEG
Document Segment: Material
I_OBJECTImportingTYPE
INRI-OBJECT
Name of Number Range Object
I_RANGE_NRImportingTYPE
INRI-NRRANGENR
Number Range Number
I_TRANSFERImportingTYPE
KZUML
Stock transfer/transfer posting
I_VM07MImportingTYPE
VM07M
Fields: Update Control of Module Pool SAPMM07M
E_CHARGExportingTYPE
MCHA-CHARG
Batch Number



Exceptions of Method GET_BATCH

This method does not have any exceptions

Example ABAP coding


DATA: lv_E_CHARG TYPE MCHA-CHARG,
lv_I_DM07M TYPE DM07M,
lv_I_MATNR TYPE MATNR,
lv_I_MKPF TYPE MKPF,
lv_I_MSEG TYPE MSEG,
lv_I_OBJECT TYPE INRI-OBJECT,
lv_I_RANGE_NR TYPE INRI-NRRANGENR,
lv_I_TRANSFER TYPE KZUML,
lv_I_VM07M TYPE VM07M,
lv_other TYPE c.

CALL METHOD IF_EX_BADI_BATCH_NUMBER_INT=>GET_BATCH(
EXPORTING
I_DM07M = lv_I_DM07M
I_MATNR = lv_I_MATNR
I_MKPF = lv_I_MKPF
I_MSEG = lv_I_MSEG
I_OBJECT = lv_I_OBJECT
I_RANGE_NR = lv_I_RANGE_NR
I_TRANSFER = lv_I_TRANSFER
I_VM07M = lv_I_VM07M
IMPORTING
E_CHARG = lv_E_CHARG ).

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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!