0% found this document useful (0 votes)
244 views5 pages

Locking Activity (Exclusive Late Shared)

The document discusses different types of locking activities (exclusive, late, shared) that can occur for goods movements, material master data, and invoice verification in SAP. It explains how each locking type works and how they can be configured using customization settings.

Uploaded by

Pavilion
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
244 views5 pages

Locking Activity (Exclusive Late Shared)

The document discusses different types of locking activities (exclusive, late, shared) that can occur for goods movements, material master data, and invoice verification in SAP. It explains how each locking type works and how they can be configured using customization settings.

Uploaded by

Pavilion
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

04/02/2016

Lockingactivity(exclusive/late/shared)forgo...|SCN

GettingStarted Newsletters

Hi,Guest

LogOn

JoinUs

Products

Services&Support

AboutSCN

Downloads

Industries

Training&Education

Partnership

DeveloperCenter

Activity

LinesofBusiness

UniversityAlliances

Events&Webinars

Innovation

Browse

Lockingactivity(exclusive/late/shared)for
goodsmovement/materialmaster/invoice
verification

Store

SearchtheCommunity

Communications

Actions

Version2

createdbyDibyenduPatraon14Feb201513:20,lastmodifiedbyDibyenduPatraon14Feb201513:47

Share

Tweet

Like

Sometimeswegettheseerrormessagenumbers:M3022Thegroupdataforthe
material&islockedby&,M3023Plantdataislockedbytheuser&,M3024Valuation
dataformaterial&islockedbytheuser&,M3897Theplantdataofthematerial&is
lockedbytheuser&.Thatdoesmeansomeotheruseriscurrentlyworkingonthesame
material.youcan'tmakethesemessagesaswarningoryoucan'tswitchoffthese
messagesfromcustomization.Letsexplainhowsystemworksinternallyastheresultof
thesemessagesexternallyandhowtocontrolthesemessages.

ExclusiveLock:

Exclusiveblockisquitelikeimmediateblock.Whenyouuseamaterialmasterduringa
goodsmovementtransaction,thensystemwillblocktheparticularmaterialmasterforany
othergoodsmovementtransactionuntilyoupostorleavethecurrenttransaction.That
meansyouonlycanabletopostothermovementorchangemasterdataifthematerialis
notusedinanyothergoodsmovementtransaction.Inthatcase,onlyoneusercanposta
goodsmovement,anotherusercan'tusethematerialmasterforanygoodsmovement
transaction.Itisusedtoposttheallgoodsmovementcorrectly,sothatthevaluationdata
areupdatedcorrectlyinthematerialmasterandtherearenoinconsistentduringupdate
thequantityandvalue.Buthereisadisadvantage:Onlyoneusercanpostagoods
movementtransactionatatime,hencethiscanbeabigissueforthesetypesof
organizationswhereahugeofgoodsmovementsarepostedperday.
Inthatcase,systemwillissuetheseabovemessagesaserror.

LateLock:

Lateblockdoesmeansystemwillnotblockimmediatelyorexclusivelythematerialmaster
whenanotheruserisusingagoodsmovementtransactionforthesamematerial.Itwilltry
toblockexclusivelyonlywhenyouwillgotosavethedata,sothatthismaterialwillbe
blockedforacertainpointoftime(shorttime).Youneedtoenterawaitingtimetousethe
lateblock(bydefaultsystemwilltake10)anditwillbeassecond.Waitingtimeisacertain
numberoflockingattemptswhichwillcreatedbysystembeforethegoodsmovement
posted.Ittriestolockthematerialmasterdatabeforethepostinggoodsmovement,so
thatallpostingwouldbeconsistent(correct).Ifanyotheruseruseagoodsmovementfor
thematerialmaster,thensystemwillwaitforacertaintimeandthenagaintriestosetthe
block.

SharedLock:

Sharedlockdoesmeantosharethelockingactivitybetweengoodsmovementand
materialmaster.Suppose,anuserisprocessingagoodsmovementtransaction,thenyou
canabletochangethematerialmasterdatawithoutvaluationrelatedandinventory
http://scn.sap.com/docs/DOC61966

1/5

04/02/2016

Lockingactivity(exclusive/late/shared)forgo...|SCN

managementrelateddata(suchasmaterialprice,valuationcategory,unitofmeasure,
indicatorforbatchdeterminationetc).Ifyougoforchangeamaterialmasterandyouhave
donesomechangesandbeforepressingsaveanotheruserhaspostedagoods
movementinthemeantime,thensystemwillrefuseyourentryandsystemwillthrougha
message"MM628Thefieldcannotbechangedatthemomentduetoagoods
movement",andyouneedtoleavethetransactionanddoitagain.Ifanotheruseris
postingagoodsmovementtransactionandduringthetimeyouaretryingtochangesome
datarelatedtothevaluationorinventorymanagement,thensystemwillissuethe
message"M3024Valuationdataformaterial&islockedbytheuser&".Butyoucanstill
abletosavethechangesofotherdata(likeasmaterialdescription,materialgroup,
division,tickoptionofautomaticPO,sourcelist.Anythingnotrelatedtovaluationor
inventorymanagement).Theonlydisadvantageofthesharelock,youcan'tchangethese
fieldswhosearerelatedtovaluationandinventorymanagementlevel.
Sharedlockwillworkwhenyouareusingthelatelock.Systemwillrefusethesharelockif
yousetthethelockingactivityas"LockExclusively"incustomization.

Customization:

Therearetwocustomizationstousetheseabovefacilities.Inonecustomization,youhave
tosetthelockingactivityaseither"LockExclusively"or"LateLock",andinother
customizationyouneedtosetthe"SharedLock".
IntheIMGpathSPROIMGMaterialsManagementGeneralSettingsforMaterials
ManagementSetmaterialblockforgoodsmovements,youcansetthelockingactivity
forgoodsmovementtransactionoryoucanusethetcodeOMJI.Hereyoucanchoose
yourdesireoption:

(Note:YoumaycanseedifferentscreenforIMGpathandtransactionOMJI,butthese
botharesame)
Tousethesharedlockfunction,youneedtogototheIMGpathSPROIMGLogistics
GeneralMaterialMasterBasicSettingsMakeGlobalSettingsoryoucanusetcode
OMT0.Hereyoucansettheindicatorasperyourdesirerequirement:

MaterialblockduringInvoiceposting:

Youcanalsoblockmaterialmasterrecordduringinvoiceverification,youcanuse3
methodsforthisblockingactivity:
1.Allmaterialswillbeblockedduringinvoiceposting(Materialisblockedatfirstread):
Inthisactivity,ifyouwillchooseapurchasingdocumentforinvoicepostingwithregardsto
http://scn.sap.com/docs/DOC61966

2/5

04/02/2016

Lockingactivity(exclusive/late/shared)forgo...|SCN

somematerials,thenthesematerialswillbeblockedforanychangesrelatedtovaluation
datalevel.
Suppose,youareprocessinganinvoicewhichcontainsamaterial,thenthismaterialwill
beblockedforvaluationdatalevel.Youwillreceiveanerrormessage"M3024Valuation
dataformaterial&islockedbytheuser&".

2.Particularmaterialblockedduringinvoiceposting(Materialisblockedwheninvoiceis
simulated/posted):
Inthisactivity,onlythesematerialswillbeblockedwhosestockstobeupdated(forthe
reasonofanyvarianceofGRvalueandinvoicevalue).
Suppose,youareprocessinganinvoicewhichcontainsamaterial,andduringsimulation,
therearesomevaluegoestothematerialaccount(inventoryaccount),thensystemwill
blockthematerialatvaluationdatalevel.Systemwillissuethemessage"M3024
Valuationdataformaterial&islockedbytheuser&".

3.Materialblockduringdirectposting:
Inthiscase,whenyouwillusethetabmaterialinMIROduringpostingtheinvoice,then
systemwillblockthematerialatvaluationlevelimmediately.
Ifyouareusingtheinvoiceandgoodsmovementtransactionparallel,thenyoushould
choosetheoption"Materialisblockedwheninvoiceissimulated/posted".
ConfigurationcanbecontrolledbythepathSPROIMGMaterialsManagement
GeneralSettingsforMaterialsManagementSetUpMaterialBlockforInvoiceVerification
:

Selectyoudesireoptionfromthese3methods.
Referencehelpdocuments:
LateExclusiveMaterialBlock(Enqueue)forGoodsReleasenotesforrelease3.0D
SAPLibrary
MaterialBlock(MaterialEnqueue)forGoodsMovementsInventoryManagementand
PhysicalInventory(MMIM)SAPLibrar

SAPNotes:
322989Lateblock:Numberofblockingattempts
1166612Lockingerrorformaterialduringparallelgoodsmovements
1985306Performanceguideforgoodsmovements
1766569VL02Nlockingissue:M3024raised
KBA
1744780ErrormessageM3024duringInvoiceVerificationprocess

1947Views
Products:sap_erp_logistics_materials_managementTopics:enterprise_resource_planningTags:material,goods,
materials_management,mm,material_master_data,material_master,valuation

AverageUserRating
(8ratings)

http://scn.sap.com/docs/DOC61966

3/5

04/02/2016

Lockingactivity(exclusive/late/shared)forgo...|SCN
0

Share

Tweet

Like

5Comments
NarendraKonnipati14Feb201518:48

NicedocumentDP.

Inmysystem,int.codeOMJI,Iamabletoseeanothercheckmark(ActivatelateDBUpdate)
also.SAPistellingthatifwetickthischeckboxthenindatabaseforgoodsmovements,willupdate
lately.

BR
KNR
Like(0)

MehmetOzgurUnal14Feb201519:42(inresponsetoNarendraKonnipati)

Hiall

Wepreferexclusiveblocksoimmediatelyblock.Thereasonisthatwedonotwantto
negativestockincustomizing.Lastyear,wegetnegativestockafterthatwefindrootof
problem:Weusebapitopostmovementsinproductionandtransfermovements
automatically.Ossadvisethatupdateproblemcanbesolvedtorestrictmovementsin
paraleltime.

Regards.

M.OzgurUnal
Like(0)

MohsinAbbasi15Feb201513:59

DearDev,
Niceone.....:D
Like(0)

PradeepMani15Feb201515:43

Thanksforsharing..
Like(0)

amirarashed16Feb201510:26

niceblogDev,
Like(0)

http://scn.sap.com/docs/DOC61966

4/5

04/02/2016

SiteIndex
Privacy

Lockingactivity(exclusive/late/shared)forgo...|SCN

ContactUs
TermsofUse

http://scn.sap.com/docs/DOC61966

SAPHelpPortal
LegalDisclosure

Copyright

FollowSCN

5/5

You might also like