SAP ABAP Function Module VB_CREATE_BATCH (Create Batch)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM-BF (Application Component) Basic Functions
     VB (Package) Application Development R/3 Batches
Basic Data
Function Module VB_CREATE_BATCH Create Batch  
Function Group V01Z   Create, change and check batches  
Program Name SAPLV01Z    
INCLUDE Name LV01ZU03    
Parameters
Type Parameter Name Typing Associated Type Default value Optional Pass Value Short text
Exporting YMCHA TYPE MCHA Workarea der zu anzulegenden Charge
Importing YMCHA TYPE MCHA Workarea der zu anzulegenden Charge
Importing NEW_LGORT TYPE MCHB-LGORT Storage location of batch
Importing BYPASS_LOCK TYPE AM07M-XSELK SPACE Communication Structure
Importing MESSAGE_WHEN_AUTO TYPE AM07M-XSELK SPACE Popup, wenn automatische Nummernvergabe
Importing X_BNCOM TYPE BNCOM Communication Structure
Importing QM_ZUSTD TYPE DM07M-QM_ZUSTD Zustand (nur von QM zu setzen)
Importing REF_MATNR TYPE MCHA-MATNR Reference Material
Importing REF_CHARG TYPE MCHA-CHARG Referenzcharge
Importing REF_WERKS TYPE MCHA-WERKS Reference Plant
Importing KZCLA TYPE T156-KZCLA Kennzeichen: Charge klassifizieren
Importing XKCFC TYPE T156-XKCFC Erweiterte Klassifizierung JA/NEIN
Importing CLASS TYPE KLAH-CLASS
Importing NO_CHECK_OF_QM_CHAR TYPE AM07M-XSELK SPACE Keine Prüfung gegen QM-Merkmale
Importing BUFFER_REFRESH TYPE AM07M-XSELK SPACE
Importing NO_CHANGE_DOCUMENT TYPE AM07M-XSELK SPACE
Importing CHECK_EXTERNAL TYPE AM07M-XSELK X
Importing CHECK_CUSTOMER TYPE AM07M-XSELK X
Importing NO_CFC_CALLS TYPE AM07M-XSELK SPACE
Importing NO_CHANGE_OF_BWTAR TYPE AM07M-XSELK SPACE Checkbox
Tables CHAR_OF_BATCH TYPE CLBATCH
Tables NEW_BATCH TYPE MCHA Tabelle der neuen Chargen
Tables NEW_BATCH_STOLOC TYPE MCHB Tabelle der neuen Lagerortchargen
Tables RETURN TYPE BAPIRET2 Return Parameter(s)
Exception NO_MATERIAL TYPE
Exception NO_BATCH TYPE
Exception NO_PLANT TYPE
Exception MATERIAL_NOT_FOUND TYPE
Exception PLANT_NOT_FOUND TYPE
Exception STOLOC_NOT_FOUND TYPE
Exception LOCK_ON_MATERIAL TYPE
Exception LOCK_ON_PLANT TYPE
Exception LOCK_ON_BATCH TYPE
Exception LOCK_SYSTEM_ERROR TYPE
Exception NO_AUTHORITY TYPE
Exception BATCH_EXIST TYPE
Exception STOLOC_EXIST TYPE
Exception ILLEGAL_BATCH_NUMBER TYPE
Exception NO_BATCH_HANDLING TYPE
Exception NO_VALUATION_AREA TYPE
Exception VALUATION_TYPE_NOT_FOUND TYPE
Exception NO_VALUATION_FOUND TYPE
Exception ERROR_AUTOMATIC_BATCH_NUMBER TYPE
Exception CANCELLED TYPE
Exception WRONG_STATUS TYPE
Exception INTERVAL_NOT_FOUND TYPE
Exception NUMBER_RANGE_NOT_EXTERN TYPE
Exception OBJECT_NOT_FOUND TYPE
Exception ERROR_CHECK_BATCH_NUMBER TYPE
Exception NO_EXTERNAL_NUMBER TYPE
Exception NO_CUSTOMER_NUMBER TYPE
Exception NO_CLASS TYPE
Exception ERROR_IN_CLASSIFICATION TYPE
Exception INCONSISTENCY_IN_KEY TYPE
Exception REGION_OF_ORIGIN_NOT_FOUND TYPE
Exception COUNTRY_OF_ORIGIN_NOT_FOUND TYPE
               
Processing Type
Normal Function Module  
Remote-Enabled Module BaseXML supported
Update Module Start immediately
Immediate Start, No Restart
Start Delayed
Coll.run
JAVA Module Callable from ABAP  
Remote-Enabled JAVA Module  
Module Callable from JAVA  
History
Last changed by/on SAP  19950404 
SAP Release Created in