Escolar Documentos
Profissional Documentos
Cultura Documentos
LocationSupplyChainManagement(SCM)SCNWiki
GettingStarted Newsletters
Welcome,Guest
Login
Register
Store
SearchtheCommunity
Products
Services&Support
AboutSCN
Downloads
Industries
Training&Education
Partnership
DeveloperCenter
LinesofBusiness
UniversityAlliances
Events&Webinars
Innovation
SupplyChainManagement(SCM) / / SCMMasterData
Location
CreatedbyAdemolaOlajideAjayi,lastmodifiedbyGergelyKocseonSep24,2015
Purpose
ThepurposeofthispageistoprovideusefulinfoonLocationwithintheSAPMasterDatacontextandonhowtomanage/maintainsame.
Overview
Alocationisaplaceororganizationalunitatwhichquantitiesofproductsorresourcesaremanaged.
LocationistheotheressentialmasterdataelementinAPOplanning.Aswellasproductitisalsousedbyalltheadvancedprocesseslikelocationproduct(orproductlocation),model,planningversion,
transportationlanes.
Everylocationhasaddressdatatoo:AddressdataisnotstoredtogetherwithAPOlocationintheAPOdatabaselayerbutintheSAPBasislayer.APOlocationsuseupaddressdatafromthere.
IftheLocationisnotcreateddirectlyinAPObuttransferredviaCIFfromR/3thentheERPVendor,ERPCustomer,ERPPlantwillbeconvertedtoanAPOLocation(withaspecificLoc.Type).
TransactionforLocationmasterdatamaintanance:/N/SAPAPO/LOC3
Therearethefollowingstandardlocationtypes:
Productionplant
Distributioncenter
Transportationzone
Stocktransferpoint
StoragelocationMRParea
Customer
Vendor(externalsupplier)
Subcontractor
Transportationserviceprovider
Terminal
Geographicalarea
Store
MaintainLocationsinAPO:
Therearevariouswaystocreate/maintainlocationsintheAPOsystem:
1. YoucanusetheAPOtrasaction:/N/SAPAPO/LOC3.Pleaseseethefollowing:TESTCASE
2. YoucantransferlocationviatheCrossInterfaceFunction(CIF)fromECC(ERP)system.ItisrelatedtoBusinessPartnerandLocationCIFtransfer.
3. YoucanuseMASSDtransactionforbatchprocessingoflocations
LocationMasterdatabasetables:
/SAPAPO/LOC:Locations
Fields:
LOCID:LocationID(Primarykey,cannotbechanged)
LOCNO:LocationNumber
LVORM:DeletionFlag
XPOS,YPOS(Loc.Coordinates)
/SAPAPO/LOCMAP:LocationmappingbetweenERPandAPO.
Thistableisusedfordisplayingthemappingbetweendifferentlocations(vendor,customer)raisedinECC(R/3)andsentthroughCIFthenlandedasLocationinsidetheSCMAPOsystem.Theselocations
canstillbefoundinthe/SAPAPO/LOCtable.
EXT_LOCNO:LocationNumberinECCsystem
LOCID:LocationIDinAPO
http://wiki.scn.sap.com/wiki/display/SCM/Location
1/3
10/15/2015
LocationSupplyChainManagement(SCM)SCNWiki
LOCNO:LocationNumberinAPO
LOGSYS:NameandClientofthesystemwheretheLocationisoriginated(ECCsys).
In/SAPAPO/LOCand/SAPAPO/LOCMAPtheremustalwaysbethesamenumberofentries.Inconsistenciesbetween/SAPAPO/LOCand/SAPAPO/LOCMAPoccurpossiblybecauseofcustomer
createdreports.Theycanberemovedwithreport/SAPAPO/CHECK_LOC.
/SAPAPO/LOCVER:VersionDependentLocationdataisstored
ChangeDocuments:
Youcancheckthechangelogofthelocationspleasevisit:ChangeDocumentSCMAPOMasterData
LocationandSCU(SupplyChainUnit):
SCUtransaction:/N/SCMB/SCUMAIN
WhenalocationiscreatedinSAPSCMeithermanuallyorbytransferviathecoreinterface(CIF),thesystemautomaticallycreatesanSCUwithidenticalgeneralandaddressdataandthebusiness
characterplanninglocation.
Conversely,ifyoucreateanSCUwiththebusinesscharacterplanninglocation,thesystemautomaticallycreatesalocationwithidenticalgeneralandaddressdata.
DependencywithLocation:IfthetheSupplyChainunithasaBusinessAttribute:PlanningLocation,thentheSCUisdependentwithitslocationpair(/N/SAPAPO/LOC3).TheSCUcannotbedeletedifthe
Locationstillexists.Howeverifthelocationmasterisdeleted,thepairedSCUwillbedeletedaswell(regardlessofdeletionflagissetornot).StandaloneSCUscanbedeletedbythedeletionflagisseton
thecorrespondingSCU(viaTransaction/SCMB/SCUMAIN>GeneralTab>DeletionFlag).Aftersettingtheflagthedeletionbackgroundreportcanbescheduledfromthemainscreenof/n/scmb/scumain
transaction.Note1:ExecutingthereportwilldeleteallstandaloneSCUswhicharemarkedfordeletion.
Table:
/SCMB/TOENTITY
UsefulReportsandUserExits
Report/SAPAPO/CHANGE_LOCTYPEforchanginglocationtype.However,thisreportcomeswithacaveat(seenote912025)
Itisonlypermissibletousethe/SAPAPO/CHANGE_LOCTYPEtochangethelocationtypeafteradequateTESTINGintheTESTSYSTEMandwhere
thefollowingPrerequisitesholdtrue:
1. ThecustomerdoesnotuseMRP
2. Ifordersinthelocationexistthenewortheoldlocationtypemustnotbe(1010)(customer)!!
3. itisnotpossibletodeletethelocationinAPO
PopulatingadditionalfieldsinLocation
Youcanreviewtheadditionalfieldsattransaction./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_LOCCUSparameterandthe
IncludestructureCI_LOCCUS.
**ChangeLogsforlocationDisplayedin/SAPAPO/LOC_CD_READ
Deletingalocation
Ifyouwishtodeletealocation,firstsetthedeletionflagbeforefinallydeletingthelocationinasecondstep.
Deletionreport:/SAPAPO/DELETE_LOCATIONS
Youhaveeliminatedanystillexistentdependenciesinvolvingthislocation.PossibledependentobjectsincludeATPassignmentsoraproduct,model,orresourceassignment,forexample.
lDependencyoflocationproducts
lDependencyofresources
lDependencyofmodels
lDependencyoflocationproductindependentATPorders
lDependencyofsetupmatrixes
lDependencyofexternalprocurement
lDependencyoftransportationlanes
lDependencyofhierarchies(transportationzones)
lDependencyofcustomerspecificdataincustomerdatabasetables(ckeckviaBADI)
lItisnotcheckedifthelocationthatshouldbedeletedisstillusedinintegrationmodelsonR/3side
Descriptionhowthecustomershouldproceedtodeletedependentobjects:documentationinnote572579
http://wiki.scn.sap.com/wiki/display/SCM/Location
2/3
10/15/2015
LocationSupplyChainManagement(SCM)SCNWiki
Toclarifyexistingdependencies,youcangenerateawhereusedlistforthelocationthatistobedeleted(transactionWUF)whenyoudeletealocationawhereusedcheckisdoneautomatically
MoreabouttheuseofWUF:WUFWhereUsedFramework
RelatedContent
RelatedSAPNotes/KBAs
Note912025
RelatedTopics:
ChangeDocumentSCMAPOMasterData
KeyMasterDatafieldmappingbetweenAPOandERP(ForLocation!)
WUFWhereUsedFramework
change_loctype
location
1ChildPage
[TESTCASE]CreateLocationsinAPO
ContactUs
Privacy
SAPHelpPortal
TermsofUse
LegalDisclosure
http://wiki.scn.sap.com/wiki/display/SCM/Location
Copyright
FollowSCN
3/3