You are on page 1of 5

Activating Data Transfer for Batches in ERP and EWM

YoucanusethisoptionalproceduretogainanoverviewoftheintegrationofbatchesinERPandEWMandtoactivatethetransferofbatchesandbatchclassificationdatabetween
ERPandEWM.ThisprocedureisonlynecessaryifyouusebatchmanagedproductsinEWM.
SincethebatchmanagementrequirementindicatorissetonproductlevelinEWM,batchnumbersmustbeuniqueatclientormateriallevelinERP.
YoucancreatebatcheseitherinERPorinEWM:
IfyoucreateabatchinERP,itistransferredimmediatelytoEWMusingCoreInterface(CIF)
IfyoucreateabatchinEWM,EWMcommunicatessynchronouslywithERPtocreatethebatchinERPfirstandtransferitimmediatelytoEWMusingCIF.Incaseofa
communicationerroritispossibletocreatethebatchlocallyinEWMfirst(exceptifitisthefirstbatchofaproductYoumustalwayscreatethefirstbatchofaproductinERPfirstto
connectthebatchtoaclass).
Ifyouuseinternalnumberrangesforbatches,youmustcheckthattheinternalnumberrangesdefinedinERPandEWMdonotoverlap.
EWMusesclassificationdatatomanagethefollowingbatchrelevantdata:
Standardbatchattributessuchasshelflifeexpirationdate,countryoforigin,orbatchstatus,whicharemanagedinthebatchmasterrecordinERP.TousetheseattributesinEWM,
youmustdefinethemascharacteristicsinabatchclassinERP.WhenyoumaintainastandardattributeinthebatchmasterrecordinERP,itiscopiedautomaticallytothe
correspondingcharacteristicofthebatchclass.ThestandardcharacteristicsusedinERPfortheEWMintegrationbeginwithLOBM_* .
Customerspecificbatchattributes,whicharemanagedasbatchclassificationdatainERP
Selectioncriteriaforbatchdeterminationinoutbounddeliveries
BatchrelevantclassesmustbelongtopredefinedclasstypesinERPandEWM:
ClassTypeUsedFor

ERP

EWMasanAddOntoERP

EWMonOwnServer

Batchattributes

023

023

230

Selectioncriteriainoutbounddeliveries

023

231

231

YouassigntheclassesandclasscharacteristicsusedinEWMtoanorganizationalarea.Theorganizationalareaisusedforthefollowingpurposes:
AsselectioncriterionintheCIFintegrationmodel
Intheauthorizationcheckforthemaintenanceofclassificationdata:AllEWMandERPusersmaintainingclassificationdataforbatchesneedanauthorizationfortheauthorization
objectC_TCLS_BER forthemaintainedclasstypeandorganizationalarea.Formoreinformation,seeSAPNote1073116.
YouuseCIFintegrationmodelstotransferthefollowingbatchrelevantdatafromERPtoEWM:
DataTransferredbyCIF

Comment

Characteristicsandclasses

YouactivatetheCIFintegrationmodelmanuallyforthetransferofcharacteristicsandclasses.
Sincenoautomaticchangetransferexistsforcharacteristicsandclasses,youmustgenerateandactivatetheintegrationmodelmanuallyaftereachchange.

DataTransferredbyCIF

Comment

Batchesandbatchclassificationdata

YouactivatetheCIFintegrationmodelmanuallyfortheinitialtransferofbatches.
ThesystemtransfersnewbatchesandchangestoexistingbatchesimmediatelytoEWMiftheyarecontainedinanactiveintegrationmodel.
IfyouchangetheattributesofabatchwithexistingstockinEWM,thesystemnotonlyadaptsthebatchclassificationdatabutalsoupdatesthestockattributes.

SelectioncriteriaforbatchdeterminationinoutbounddeliveriesaretransferredtogetherwiththedeliverydatafromERPtoEWM.YoudonotcreateaCIFintegrationmodelforthis
transfer.

Recommendation
Useoneintegrationmodelforthetransferofcharacteristicsandclassesandoneintegrationmodelforthetransferofbatchesandbatchclassificationdata.

Note
ThetransferofcharacteristicsandclassesisnotnecessaryincaseEWMisinstalledasaddontoERPasbothapplicationsusethesameclassificationdata.

Note
Ifyouusebatcheswithoutattributes,youdonotneedclassificationdataforbatches.InthiscaseyouonlycreateanintegrationmodelforthebatchesbutyoudoNOTtransfer
classesandcharacteristicsviaCIF.Youcanskipsteps49intheprocedure.

Procedure
Carryoutthefollowingsteps:
1.CheckbatchlevelinERPasfollows:
1.InCustomizingforLogisticsGeneral,choose BatchManagement SpecifyBatchLevelandActivateStatusManagement .
2.ChooseBatchLevelandcheckthatbatchnumbersareuniqueonmateriallevelorclientlevelforamaterial.Ifyoumanagebatchnumbersonplantlevel,seeSAPNote
533377fortheconversionofbatchlevel.
Ifyouchangethebatchlevel,aconversionisalwaysnecessary,evenifyouhavenotcreatedabatchinyoursystemyet.
2.CheckinternalnumberrangesforbatchesinERPandEWM.
1.InCustomizingforLogisticsGeneralunder BatchManagement BatchNumberAssignment ,checkifyouuseinternalbatchnumberassignmentandhowtheinternal
numberrangeisdefined.
2.InCustomizingforExtendedWarehouseManagementunder CrossProcessSettings BatchManagement DefineNumberRangeforBatch ,checkthattheinternal
numberrangeforbatches(ifexisting)doesnotoverlapwiththeinternalnumberrangeinERP.ChangeifnecessarytheinternalnumberrangeinEWM.
3.SetupdatecontrolforbatchesinEWM.Thisisanoptionalstep.

InCustomizingforExtendedWarehouseManagementunder CrossProcessSettings BatchManagement SetUpdateControl(Centralized,Decentralized) ,checkhow


EWMshouldreacttoacommunicationerrorduringthecreationofbatchestriggeredinEWM.IfnoentryexistsfortheERPbusinesssystem,EWMusesthedefaultvalue
Synchronous,CancelUpdateIfErrorsOccur.
4.CopystandardcharacteristicsLOBM_* fromclient000totheERPclient.CarryoutthisstepinallERPclientslinkedtoEWM.
1.InCustomizingforLogisticsGeneralunder BatchManagement BatchValuation UpdateStandardCharacteristics ,executetheupdate.
2.OntheSAPEasyAccessscreenunder CrossApplicationComponents ClassificationSystem MasterData ,usethevaluehelpoffieldCharacteristictocheckthat
characteristicsbeginningwithLOBM_* nowexistintheERPclient.
5.Createanorganizationalareaforthebatchclasstype023inERP.TheorganizationalareaisneededfortheCIFintegrationmodel.ThisstepisnotnecessaryincaseEWMis
installedasaddontoERP.
1.InCustomizingforCrossApplicationComponents,choose ClassificationSystem Classes MaintainObjectTypesandClassTypes .
2.SelecttableMCHAandinthedialogstructurechooseOrganizationalAreas.
3.Createanewentryforclasstype023andorganizationalareaWforEWM.IforganizationalareaWisalreadyusedbyanotherapplication,enteranothercharacteras
organizationalarea.
4.Saveyourentries.
6.Createanorganizationalareaforthebatchclasstype230inEWM.ThisstepisnotnecessaryincaseEWMisinstalledasaddontoERP.
1.InCustomizingforCrossApplicationComponents,choose ClassificationSystem Classes MaintainObjectTypesandClassTypes .
2.Selecttable/SAPAPO/VERSKEY andinthedialogstructurechooseOrganizationalAreas.
3.Createanewentryforclasstype230andorganizationalareaWforEWM.
4.Saveyourentries.
7.CreateorchangeabatchclasswithstandardcharacteristicsinERP.CarryoutthisstepinallERPclientslinkedtoEWM.
Ifyoudonotuseclassesforbatchesyet,createaclassinERP.
1.OntheSAPEasyAccessscreen,choose CrossApplicationComponents ClassificationSystem MasterData Classes .
2.Createaclassinclasstype023containingthecharacteristicsyouwanttouseinEWM.
3.IncaseEWMisnotinstalledasaddontoERP:OntheBasicDatatab,assigntheorganizationalareaWtotheclass.OntheChar.tab,assigntheorganizationalareaWtoall
characteristicsyouwanttouseinEWMtoo.
Ifyoualreadyuseaclassofclasstype023inERP,addifnecessarystandardcharacteristicsbeginningwithLOBM_* totheclass.IncaseEWMisnotinstalledasaddonto
ERP,assigntheorganizationalareaWtotheclassandtotheclasscharacteristics.
4.Saveyourentries.
8.CreateanintegrationmodelfortheclassesandcharacteristicsinERP.ThisstepisnotnecessaryincaseEWMisinstalledasaddontoERP.CarryoutthisstepinallERPclients
linkedtoEWM.
1.OntheSAPEasyAccessscreen,choose Logistics CentralFunctions SupplyChainPlanningInterface CoreInterfaceAdvancedPlannerandOptimizer Integration
Model Create .
2.IntheModelNamefield,enteranamefortheintegrationmodel,forexample,IMEWMCLASS.
3.IntheLogicalSystemfield,enterthenameofthetargetsystem,forexample,EWMCLNT001.
4.IntheAPOApplicationfield,enter,forexample,EWM.

5.IntheMaterialIndependentObjectsscreenarea,selecttheClasses/Charactcheckbox.
6.IntheClassesandCharacteristicsscreenarea,entertheorganizationalareaWandtheclasstype023.
7.ChooseExecute.
8.Onthenextscreen,chooseGenerateIM.
9.ActivatetheintegrationmodelfortheclassesandcharacteristicsinERP.ThisstepisnotnecessaryincaseEWMisinstalledasaddontoERP.ExecutethisstepinallERP
clientslinkedtoEWM.
1.OntheSAPEasyAccessscreen,choose Logistics CentralFunctions SupplyChainPlanningInterface CoreInterfaceAdvancedPlannerandOptimizer Integration
Model Activate .
2.IntheSelectionCriteriascreenarea,enterthemodelname,thelogicalsystem,andtheAPOapplicationyouusedtocreatetheintegrationmodel.
3.ChooseExecute.
TheActivateorDeactivateIntegrationModelscreenappears.
4.Inthescreenareaontheleft,choosetheAPOapplication,forexample,EWM.
Yourintegrationmodelappearsinthescreenareaontheright.
5.Inthescreenareaontheright,selecttherelevantlineandchooseActive/Inactive.
ThestatusofyourintegrationmodelisdisplayedintheNewStatusfield.
6.Inthescreenareaontheright,selecttherelevantlineandchooseStart.
Thesystemconfirmstheactivationofthemodelinadialogbox.
10.CreateanintegrationmodelforthebatchesinERP.ExecutethisstepinallERPclientslinkedtoEWM.
1.OntheSAPEasyAccessscreen,choose Logistics CentralFunctions SupplyChainPlanningInterface CoreInterfaceAdvancedPlannerandOptimizer Integration
Model Create .
2.IntheModelNamefield,enteranamefortheintegrationmodel,forexample,IMEWMBATCH.
3.IntheLogicalSystemfield,enterthenameofthetargetsystem,forexample,EWMCLNT001.
4.IntheAPOApplicationfield,enter,forexample,EWM.
5.IntheMaterialDependentObjectsscreenarea,selecttheBatchescheckbox.
6.IntheGeneralSelectionOptionsforMaterialsscreenarea,enterforthebatchesthesameselectioncriteriaasintheintegrationmodelcontainingthematerials.
7.ChooseExecute.
8.Onthenextscreen,chooseGenerateIM.
11.ActivatetheintegrationmodelforthebatchesinERP.CarryoutthisstepinallERPclientslinkedtoEWM.
Proceedasdescribedinstep9fortheintegrationmodelIMEWMBATCH .

Note
Sinceitisnotpossibletoactivateanemptyintegrationmodel,atleastonebatchmustexistwithintheselectioncriteriadefinedinthemodelbeforeyoucancarryoutthisstep.

MoreInformation

FormoreinformationabouttheintegrationofbatchesinERPandEWM,seeSAPNotes1305698and1305605.

You might also like