location - supply chain management (scm) - scn wiki
TRANSCRIPT
-
10/15/2015 LocationSupplyChainManagement(SCM)SCNWiki
http://wiki.scn.sap.com/wiki/display/SCM/Location 1/3
GettingStarted Newsletters Store
SearchtheCommunity
Welcome,Guest Login Register
Products Services&Support AboutSCN Downloads
Industries Training&Education Partnership DeveloperCenter
LinesofBusiness UniversityAlliances Events&Webinars Innovation
SupplyChainManagement(SCM) / / SCMMasterData
CreatedbyAdemolaOlajideAjayi,lastmodifiedbyGergelyKocseonSep24,2015
Location
PurposeThepurposeofthispageistoprovideusefulinfoonLocationwithintheSAPMasterDatacontextandonhowtomanage/maintainsame.
OverviewAlocationisaplaceororganizationalunitatwhichquantitiesofproductsorresourcesaremanaged.
LocationistheotheressentialmasterdataelementinAPOplanning.Aswellasproductitisalsousedbyalltheadvancedprocesseslikelocationproduct(orproductlocation),model,planningversion,transportationlanes.
Everylocationhasaddressdatatoo:AddressdataisnotstoredtogetherwithAPOlocationintheAPOdatabaselayerbutintheSAPBasislayer.APOlocationsuseupaddressdatafromthere.
IftheLocationisnotcreateddirectlyinAPObuttransferredviaCIFfromR/3thentheERPVendor,ERPCustomer,ERPPlantwillbeconvertedtoanAPOLocation(withaspecificLoc.Type).
TransactionforLocationmasterdatamaintanance:/N/SAPAPO/LOC3
Therearethefollowingstandardlocationtypes:
ProductionplantDistributioncenterTransportationzoneStocktransferpointStoragelocationMRPareaCustomerVendor(externalsupplier)SubcontractorTransportationserviceproviderTerminalGeographicalareaStore
MaintainLocationsinAPO:Therearevariouswaystocreate/maintainlocationsintheAPOsystem:
1. YoucanusetheAPOtrasaction:/N/SAPAPO/LOC3.Pleaseseethefollowing:TESTCASE2. YoucantransferlocationviatheCrossInterfaceFunction(CIF)fromECC(ERP)system.ItisrelatedtoBusinessPartnerandLocationCIFtransfer.3. YoucanuseMASSDtransactionforbatchprocessingoflocations
LocationMasterdatabasetables:/SAPAPO/LOC:Locations
Fields:
LOCID:LocationID(Primarykey,cannotbechanged)LOCNO:LocationNumberLVORM:DeletionFlagXPOS,YPOS(Loc.Coordinates)
/SAPAPO/LOCMAP:LocationmappingbetweenERPandAPO.
Thistableisusedfordisplayingthemappingbetweendifferentlocations(vendor,customer)raisedinECC(R/3)andsentthroughCIFthenlandedasLocationinsidetheSCMAPOsystem.Theselocationscanstillbefoundinthe/SAPAPO/LOCtable.
EXT_LOCNO:LocationNumberinECCsystemLOCID:LocationIDinAPO
-
10/15/2015 LocationSupplyChainManagement(SCM)SCNWiki
http://wiki.scn.sap.com/wiki/display/SCM/Location 2/3
LOCNO:LocationNumberinAPOLOGSYS:NameandClientofthesystemwheretheLocationisoriginated(ECCsys).
In/SAPAPO/LOCand/SAPAPO/LOCMAPtheremustalwaysbethesamenumberofentries.Inconsistenciesbetween/SAPAPO/LOCand/SAPAPO/LOCMAPoccurpossiblybecauseofcustomercreatedreports.Theycanberemovedwithreport/SAPAPO/CHECK_LOC.
/SAPAPO/LOCVER:VersionDependentLocationdataisstored
ChangeDocuments:Youcancheckthechangelogofthelocationspleasevisit:ChangeDocumentSCMAPOMasterData
LocationandSCU(SupplyChainUnit):SCUtransaction:/N/SCMB/SCUMAIN
WhenalocationiscreatedinSAPSCMeithermanuallyorbytransferviathecoreinterface(CIF),thesystemautomaticallycreatesanSCUwithidenticalgeneralandaddressdataandthebusinesscharacterplanninglocation.
Conversely,ifyoucreateanSCUwiththebusinesscharacterplanninglocation,thesystemautomaticallycreatesalocationwithidenticalgeneralandaddressdata.
DependencywithLocation:IfthetheSupplyChainunithasaBusinessAttribute:PlanningLocation,thentheSCUisdependentwithitslocationpair(/N/SAPAPO/LOC3).TheSCUcannotbedeletediftheLocationstillexists.Howeverifthelocationmasterisdeleted,thepairedSCUwillbedeletedaswell(regardlessofdeletionflagissetornot).StandaloneSCUscanbedeletedbythedeletionflagissetonthecorrespondingSCU(viaTransaction/SCMB/SCUMAIN>GeneralTab>DeletionFlag).Aftersettingtheflagthedeletionbackgroundreportcanbescheduledfromthemainscreenof/n/scmb/scumaintransaction.Note1:ExecutingthereportwilldeleteallstandaloneSCUswhicharemarkedfordeletion.
Table:
/SCMB/TOENTITY
UsefulReportsandUserExitsReport/SAPAPO/CHANGE_LOCTYPEforchanginglocationtype.However,thisreportcomeswithacaveat(seenote912025)
Itisonlypermissibletousethe/SAPAPO/CHANGE_LOCTYPEtochangethelocationtypeafteradequateTESTINGintheTESTSYSTEMandwherethefollowingPrerequisitesholdtrue:
1. ThecustomerdoesnotuseMRP2. Ifordersinthelocationexistthenewortheoldlocationtypemustnotbe(1010)(customer)!!3. itisnotpossibletodeletethelocationinAPO
PopulatingadditionalfieldsinLocationYoucanreviewtheadditionalfieldsattransaction./N/SAPAPO/LOC3>Additionaltab.ATTLO01ATTLO05(Theyareintable/SAPAPO/LOC)Tothesametabyoucancreatemorefields,ifrequiredusingtheEasyEnhancementWorkbenchtool.
PleasecheckBadiSMOD_APOCF001(InterfaceIF_EX_SMOD_APOCF001)methodEXIT_/SAPAPO/SAPLCIF_LOC_001.ThisBADIiscalledinSCMInboundfunctionmodule/SAPAPO/CIF_LOC_INBOUND.UsefulparametershereincludetheT_LOCCUSparameterandtheIncludestructureCI_LOCCUS.**ChangeLogsforlocationDisplayedin/SAPAPO/LOC_CD_READ
DeletingalocationIfyouwishtodeletealocation,firstsetthedeletionflagbeforefinallydeletingthelocationinasecondstep.Deletionreport:/SAPAPO/DELETE_LOCATIONSYouhaveeliminatedanystillexistentdependenciesinvolvingthislocation.PossibledependentobjectsincludeATPassignmentsoraproduct,model,orresourceassignment,forexample.lDependencyoflocationproductslDependencyofresourceslDependencyofmodelslDependencyoflocationproductindependentATPorderslDependencyofsetupmatrixeslDependencyofexternalprocurementlDependencyoftransportationlaneslDependencyofhierarchies(transportationzones)lDependencyofcustomerspecificdataincustomerdatabasetables(ckeckviaBADI)lItisnotcheckedifthelocationthatshouldbedeletedisstillusedinintegrationmodelsonR/3sideDescriptionhowthecustomershouldproceedtodeletedependentobjects:documentationinnote572579
-
10/15/2015 LocationSupplyChainManagement(SCM)SCNWiki
http://wiki.scn.sap.com/wiki/display/SCM/Location 3/3
Toclarifyexistingdependencies,youcangenerateawhereusedlistforthelocationthatistobedeleted(transactionWUF)whenyoudeletealocationawhereusedcheckisdoneautomaticallyMoreabouttheuseofWUF:WUFWhereUsedFramework
RelatedContent
RelatedSAPNotes/KBAsNote912025
RelatedTopics:
ChangeDocumentSCMAPOMasterData
KeyMasterDatafieldmappingbetweenAPOandERP(ForLocation!)
WUFWhereUsedFramework
1ChildPage[TESTCASE]CreateLocationsinAPO
change_loctype location
FollowSCNContactUs SAPHelpPortalPrivacy TermsofUse LegalDisclosure Copyright