Menu

SAP Function Module COPF_DETERMINE_BATCH

Durchführung einer Chargenfindung oder Chargenprüfung

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

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