Menu

SAP Function Module COPF_DETERMINE_BATCH

Durchführung einer Chargenfindung oder Chargenprüfung

The Function Module COPF_DETERMINE_BATCH (Durchführung einer Chargenfindung oder Chargenprüfung) is a standard Function Module in SAP ERP and is part of the function group COPF within the package COCB.

Technical Information

Function Module COPF_DETERMINE_BATCH
Short Text Durchführung einer Chargenfindung oder Chargenprüfung
Function Group COPF
Package COCB
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
IM_BATCH TYPE BDPIS-CHARG Charge
IM_MATERIAL TYPE BDPIS-MATNR Material
IM_MATERIAL_QUANTITY TYPE BDPIS-ERFMG Menge
IM_NUMBER_OF_SPLITS TYPE I '1' maximale Anzahl Chargensplits
IM_PHASE TYPE CLIKE Vorgang/Phase
IM_PLANT TYPE BDPIS-WERKS Werk des Materials
IM_PROCESS_INSTRUCTION TYPE CLIKE Prozeßvorgabe
IM_RESERVATION TYPE BDPIS-RSNUM Reservierung
IM_RESERVATION_ITEM TYPE BDPIS-RSPOS Reservierungsposition
IM_STORAGE_LOCATION TYPE BDPIS-LGORT Lager
IM_UNIT_OF_MEASURE TYPE BDPIS-ERFME Maßeinheit

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
EX_BATCH TYPE BDBATCH-CHARG Erste Charge
EX_MATERIAL_QUANTITY TYPE BDBATCH-ERFMG Erste Menge
EX_STORAGE_LOCATION TYPE BDBATCH-LGORT Erster Lagerort
EX_UNIT_OF_MEASURE TYPE BDBATCH-ERFME Erste Mengeneinheit

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
TAB_BATCH TYPE BDPIS_CHARG_TAB Chargen
TAB_MATERIAL_QUANTITY TYPE BDPIS_ERFMG_TAB Mengen
TAB_STORAGE_LOCATION TYPE BDPIS_LGORT_TAB Lagerorte
TAB_UNIT_OF_MEASURE TYPE BDPIS_ERFME_TAB Mengeneinheiten

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
BATCH_OK Geprüfte Charge ist in Ordnung
DATA_INCOMPLETE Daten sind unvollständig
DETERMINATION_ERROR Fehlerwährend der Bestimmung/Prüfung