Vous êtes sur la page 1sur 13

01/08/2016 HowtoCrossApplicationMassMaintenan...

|SCN

GettingStarted Newsletters Store

Hi,Guest LogOn JoinUs SearchtheCommunity

Products Services&Support AboutSCN Downloads


Activity Communications Actions
Industries Training&Education Partnership DeveloperCenter

LinesofBusiness UniversityAlliances Events&Webinars Innovation Browse

HowtoCrossApplicationMass Version5

MaintenanceinSAP
createdbyParagParikhonMar24,20128:49AM,lastmodifiedbyVamsiKrishnaParepallionMar5,20138:42AM

Share 1 Tweet
Like 1

Appliesto:
Summary
Prerequisites
OverviewofMASSMaintenanceTool
SampleScenario:UpdatingPurchaseRequisition
ScenarioDescription:
ExpectedOutcome:
UsefulCustomizing:
FrequentlyAskedQuestions:
RelatedContent
Copyright

Appliesto:

SAPECC6.0EHP4

Summary

Imagineyourprojectincutoverphase.Youneedtomakechangestoalargevolumeofmasterortransactiondata.
ForExample,
1.Deleteallthelineitemsinmultiplepurchaserequisition(PR)
2.OrcloseallthelineitemsinaPR

3.OrUnfixallthelineitemsinaPR

EventhoughwehaveoptionsofusingBAPI/BDCandthiscanbedoneprogrammatically,suchapproachwould
requireadditionaldevelopmentandtestingefforts.
HowaboutusingastandardSAPtransactiontoachievethisfunctionality?
ThisdocumentdescribestheusageofstandardSAPtransactionMASSformasschangeinmaster/transactiondata.
Wewillconsiderexampleofupdatingpurchaserequisitiondetailsusingmasstransaction.Weconcludewitha
discussiononwhenitwouldnotberecommendedtouseMASStransaction.
Author:ParagParikh
Company:DeloitteConsultingLLP

ParagParikhisanSAPABAP,SAPworkflowconsultantwith4.5yearsofexperience.Hehasextensivelyworkedon

http://scn.sap.com/docs/DOC25758 1/13
01/08/2016 HowtoCrossApplicationMassMaintenan...|SCN
SAPABAPandSAPworkflow.ParagalsohasfunctionalskillsforSAPFSCDsolution.HehasworkedonmanySAP
modulesincludingSAPFI/CO,SD,MM,QM,PP,PLMRM,SRM,HCM,ESS/MSSandEH&S.Paragisworkingwith
DeloitteConsultingLLPasWorkflowSpecialist.
Author:VamsiKrishnaParepalli(SCNID:E1106724)
Company:DeloitteConsultingLLP

VamsiParepallihasover6yearsofexperienceinSAPABAP,SAPOOABAP.HehasextensivelyworkedonObject
OrientedABAP.VamsiisatechnofunctionalexpertinSAPRetail,SAPSDandSAPMMmodules.Hisexperience
inlcudesReports,Enhancements,Forms,InterfacesandWorkflowdevelopment.VamsiisalsoaniRiseexpertandhas
developedmanypresalesdemousingiRiseVisualSimulator.HeiscurrentlyworkingwithDeloitteConsultingLLPas
SAPTechnicalConsultantincapacityofaprocessleadandistechnicallyleadingiRiseinitiative.
DocumentCreatedon:6thMarch2012

Prerequisites

1.KnowledgeofmasterandtransactiondataconceptinSAP

2.KnowledgeofnavigatingandworkingonSAPtransactions

3.KnowledgeofbasicABAPandBusinessObjectswouldbeadvantageousforcustomizeddevelopment
underMASSframework

4.KnowledgeofvarioustermsinSAPmoduleslikeMMorSDisdesirabletounderstandexample
presentedinthisdocument

5.Inmassmaintenance,manyobjectscanbechangedatthesametime.Forthisreason,themass
maintenancetoolmustbeusedonlybyexperiencedpersons.

OverviewofMASSMaintenanceTool

Massmaintenanceisageneric(crossapplication)toolthatcanbeusedforthefollowingPurposes:
Tochangelargequantitiesofdata
Here,therearethefollowingdifferencesfortheindividualmaintenanceofobjectsinaSpecificapplication:
Theuserselectsthefieldtobechangedfromalist.

Theconsistencychecksoccurcollectivelywhensavingthechangesandnotsimplywhenenteringor
changingavalue.

Changescanbemadesimultaneouslytoseveralobjects.

Massmaintenanceisthereforeparticularlyusefulifyouhavetoadaptexistingdatastockstoachanged
situation.
Example:Apurchasinggroupistakenoverbyanother,andinaparticularplant,youhavetoassignall
materialsthatwereassignedtotheoldpurchasinggroup,tothenewpurchasinggroup.
Tocreatenewdata
Insomesituationsitisnotpossibletochangeexistingvalues,buttocreatenewdatainstead(suchasifyou
wanttodetermineanadditionalunitofmeasureforamaterial).

SampleScenario:UpdatingPurchaseRequisition

ScenarioDescription:


Considerthebelowrequirementsthatistobeaccomplishedaspartofcutoveractivities.
1.Deleteallthelineitemsinmultiplepurchaserequisition(PR)
2.OrcloseallthelineitemsinaPR

3.OrUnfixallthelineitemsinaPR

Weneedtoupdatebelowfieldstoattainthedesiredresultsaspertherequirement.
TableName FieldName FieldDescription Usage
EBAN LOEKZ DeletionIndicatorin TodeletethePO/PR
PurchasingDocument orderorItem.
EBAN EBAKZ PurchaseRequisition Tocloseanylineitemof
Closed thePR
EBAN FIXKZ PurchaseRequisition Toupdatethelineitemas
isFixed Fixedlineitem.

RunTransactionMASS.

http://scn.sap.com/docs/DOC25758 2/13
01/08/2016 HowtoCrossApplicationMassMaintenan...|SCN

WeneedtoknowBOtypeforPurchaseRequisition.IfyoudonotknowtheBOnumber,usetransaction
SWO3tosearchforappropriateBOfromBusinessObjectRepository.

Inpresentcase,BOnumberis2105.
PressF8toruntransaction.

Asshownabove,systemdisplaysaninformationmessagenotifyingaboutupdateofmultipletablesatthe
sametime.
Accepttheinformationandproceed.WeseeonlyonetableislistedforthisBO.

TablesthatcanbeupdatedusingMASSforgivenobjectaremaintainedintableMASSTAB.Thistablecanbe
maintainedusingSM30transaction.

http://scn.sap.com/docs/DOC25758 3/13
01/08/2016 HowtoCrossApplicationMassMaintenan...|SCN

Inourcase,weneednotalterstandardSAPcustomizing.

NowselecttableEBANandpressfieldstab.

Weseefieldsallowedformassmaintenanceinthefollowingscreen.

Wedonotseethefieldsthatareneededforcurrentrequirementslistedinscreenabove.Wecanmaintainthe
fieldsrequiredformassmaintenanceintableMASSFLDLST.
GotoSM30transaction.

http://scn.sap.com/docs/DOC25758 4/13
01/08/2016 HowtoCrossApplicationMassMaintenan...|SCN

MaintainfieldsdatainMASSFLDLSTtable.

Savethechangeswehavemade.
NowgobacktoMASSandrepeattheentireproceduretillselectionoffieldsandpressF8.Wemayfindthey
eventhoughsomefieldsaremaintainedinstepabove,wedonotseetheminselectioncriterialist.
Insuchcases,checktableMASSAPPEXtoseewhichFunctionModuleisusedforlimitfieldsandlimit
selectionoffieldsactivity.

Limitselectionfieldsrestrictsomefieldstoberemovedfromselectioncriteriaandlimitfieldsallowscertain
fieldstoberemovedfrommaintenance.WecanattachourcustomFMcopiedusingexistingSAPFMto
furtherrestrictsomefieldsorremoverestrictionfromsomefields.
IfeverythingisOKtillthisstage,wecanpressF8inMASSandacceptwarning.

http://scn.sap.com/docs/DOC25758 5/13
01/08/2016 HowtoCrossApplicationMassMaintenan...|SCN

Nextscreenallowsustorestrictourselection.

SelectthePurchaseRequisitionnumberwhichisneededtomodify.

http://scn.sap.com/docs/DOC25758 6/13
01/08/2016 HowtoCrossApplicationMassMaintenan...|SCN

ThiswilldisplayallthedatamaintainedinthestandardtableEBAN.

Selectalltherequiredfieldswhichweneedtochangehere.

http://scn.sap.com/docs/DOC25758 7/13
01/08/2016 HowtoCrossApplicationMassMaintenan...|SCN

Updateallthedatafieldswhichweneedtoupdateinthetableandsavethedata.

Statusoftheoperationwillbeshownafterthatasmessagesfromupdatetask.Thislogprovidesuswiththe
detailsoferrorsoccurredinany.

http://scn.sap.com/docs/DOC25758 8/13
01/08/2016 HowtoCrossApplicationMassMaintenan...|SCN

ExpectedOutcome:

FortheaboveexampleofchangeonlineitemsofaPurchaseRequisition0010000000,belowdataisupdated
intableEBAN.

AlltheUpdateddataisalsoshowninME53Ntransaction:

Intheabovescreenshot,itemnumber3and5arefixedandtheitem4issetfordeletioninpurchase
requisition.

UsefulCustomizing:

IntableMASSFUNCwecanmaintainFMwhichisusedforupdatingthedatausingMASSmaintenance.This
isusefulifyouneedtocreatesimilarfunctionalityforyourcustombusinessobject.
ForthisfirstyouneedtocreateanentryintableMASSNAMEforyourcustomBO.

http://scn.sap.com/docs/DOC25758 9/13
01/08/2016 HowtoCrossApplicationMassMaintenan...|SCN

InsteadofmaintainingeachofabovecustomizingtableindividuallyyoumayusetransactionMASSOBJto
completeallcustomizing.Youwouldbeabletofindoutapplicationexitpointsandtableslistedinthis
transaction.

FrequentlyAskedQuestions:

1.ArethereanycustomizedvariantsforMASStransaction?

Somecustomizedtransactions(variationofMASStoolonly)areprovidedbySAPforspecificobjects.
1.

Belowislistofsomeofthesetransactions.
2.

Transaction Description
MASS_EKKO POmassmaintenance
MASS_MARC Logistic/ReplenishmentMassMaintenance
MASS_VENDOR VendorMassMaintenance
MEMASSCONTRAC MassChangingofContracts
MEMASSIN MassChangingofPurchaseInfoRecord
MEMASSPO MassChangeofPurchaseOrders
MEMASSRQ MassChangingofPurchase.Requisition
MEMASSSA MassChangingofSchedulingAgreements
MMSC_MASS MaintainStorageLocationsColl.

http://scn.sap.com/docs/DOC25758 10/13
01/08/2016 HowtoCrossApplicationMassMaintenan...|SCN


2.InwhichscenariosMASSmaintenanceusingMASSframeworkisnotrecommended?
1.

1.Inmassmaintenance,manyobjectscanbechangedatthesametime.Forthisreason,themass
maintenancetoolmustbeusedonlybyexperiencedpersons.

2.MASSupdatedoesnotcarryoutexplicitconversionsandvalidationsondata.Soeventhoughyou
cancreatenewdatausingthistool,itshouldnotbeusedasanalternativetoLSMWtoloadnew
dataintosystem.
3.Ifyouneedtodeleteorchangerecordsbasedoncertaincriteriaandvalidations,youshould
developanABAPprogramratherthanmodifyingtheupdateFMusedforrespectivebusiness
object.

3.DoallSAPapplicationareassupportMASSmaintenance?
YoucanonlyuseMASStoolinapplicationthatsupportsit.
CurrentlyasperSAPdocumentation,onlybelowapplicationssupportMASSmaintenance.
Application AdditionalInformation
Appropriationrequest IMInvestmentManagementunderMass
maintenance
MaterialMaster(Retail) LOSAPRetailunderMaterialmasterdata
BusinessPartner LOBusinesspartnermasterdata
CustomerMaster LOBusinesspartnermasterdata
G/LAccounts FIGeneralledgeraccountingunderG/Laccount
masterdata
MaterialMaster(Industry) LOMaterialmaster
ProfitCenter CProfitCenterAccountingunderDisplay/change
profitcenter
(Collectiveprocessing)
PurchaseOrders MMPurchasingunderMassmaintenanceof
purchaseorders
PurchaseRequisitions MMPurchasingunderMassmaintenanceof
purchaserequisitions
PurchasingInformationRecord MMPurchasingunderMassmaintenanceofinfo
records
RentalUnits RERealestatemanagementunderMass
maintenanceofrental
units
SalesOrder SDSalesanddistributionunderSalesorder
VendorMaster LOBusinesspartnermasterdata

RelatedContent

http://help.sap.com/SAPHELP_470/Helpdata/EN/d9/02dea320f2408385fa91ef7a0bb78a/frameset.htm
SAPdocumentationonMASStransactiononlinkabovedescribesstepsrequiredtocreatenewrecordsusing
MASS.Variousmodesfortransactionrunarediscussedhere.Italsodescribesusageofvariantsandusage
ofaformulatocalculatenewvalueofafield.

Copyright

Copyright2012SAPAG.Allrightsreserved.
Nopartofthispublicationmaybereproducedortransmittedinanyformorforanypurposewithouttheexpress
permissionofSAPAG.Theinformationcontainedhereinmaybechangedwithoutpriornotice.
SomesoftwareproductsmarketedbySAPAGanditsdistributorscontainproprietarysoftwarecomponentsofother
softwarevendors.
Microsoft,Windows,Excel,Outlook,andPowerPointareregisteredtrademarksofMicrosoftCorporation.
IBM,DB2,DB2UniversalDatabase,Systemi,Systemi5,Systemp,Systemp5,Systemx,Systemz,Systemz10,
Systemz9,z10,z9,iSeries,pSeries,xSeries,zSeries,eServer,z/VM,z/OS,i5/OS,S/390,OS/390,OS/400,AS/400,
S/390ParallelEnterpriseServer,PowerVM,PowerArchitecture,POWER6+,POWER6,POWER5+,POWER5,
POWER,OpenPower,PowerPC,BatchPipes,BladeCenter,SystemStorage,GPFS,HACMP,RETAIN,DB2Connect,
RACF,Redbooks,OS/2,ParallelSysplex,MVS/ESA,AIX,IntelligentMiner,WebSphere,Netfinity,TivoliandInformix
aretrademarksorregisteredtrademarksofIBMCorporation.
LinuxistheregisteredtrademarkofLinusTorvaldsintheU.S.andothercountries.
Adobe,theAdobelogo,Acrobat,PostScript,andReaderareeithertrademarksorregisteredtrademarksofAdobe
SystemsIncorporatedintheUnitedStatesand/orothercountries.
OracleisaregisteredtrademarkofOracleCorporation.
UNIX,X/Open,OSF/1,andMotifareregisteredtrademarksoftheOpenGroup.
Citrix,ICA,ProgramNeighborhood,MetaFrame,WinFrame,VideoFrame,andMultiWinaretrademarksorregistered
trademarksofCitrixSystems,Inc.
HTML,XML,XHTMLandW3CaretrademarksorregisteredtrademarksofW3C,WorldWideWebConsortium,
MassachusettsInstituteofTechnology.
JavaisaregisteredtrademarkofOracleCorporation.

http://scn.sap.com/docs/DOC25758 11/13
01/08/2016 HowtoCrossApplicationMassMaintenan...|SCN
JavaScriptisaregisteredtrademarkofOracleCorporation,usedunderlicensefortechnologyinventedand
implementedbyNetscape.
SAP,R/3,SAPNetWeaver,Duet,PartnerEdge,ByDesign,SAPBusinessByDesign,andotherSAPproductsand
servicesmentionedhereinaswellastheirrespectivelogosaretrademarksorregisteredtrademarksofSAPAGin
Germanyandothercountries.
BusinessObjectsandtheBusinessObjectslogo,BusinessObjects,CrystalReports,CrystalDecisions,Web
Intelligence,Xcelsius,andotherBusinessObjectsproductsandservicesmentionedhereinaswellastheirrespective
logosaretrademarksorregisteredtrademarksofBusinessObjectsS.A.intheUnitedStatesandinothercountries.
BusinessObjectsisanSAPcompany.
Allotherproductandservicenamesmentionedarethetrademarksoftheirrespectivecompanies.Datacontainedin
thisdocumentservesinformationalpurposesonly.Nationalproductspecificationsmayvary.
Thesematerialsaresubjecttochangewithoutnotice.ThesematerialsareprovidedbySAPAGanditsaffiliated
companies("SAPGroup")forinformationalpurposesonly,withoutrepresentationorwarrantyofanykind,andSAP
Groupshallnotbeliableforerrorsoromissionswithrespecttothematerials.TheonlywarrantiesforSAPGroup
productsandservicesarethosethataresetforthintheexpresswarrantystatementsaccompanyingsuchproductsand
services,ifany.Nothinghereinshouldbeconstruedasconstitutinganadditionalwarranty.

9530Views Topics:master_data_managementTags:mass_change,cross_application_mass_maintenance,mass_trancation

AverageUserRating

(3ratings)

Share 1 Tweet Like 1

6Comments

JuergenLMay3,20122:27PM

inthemessagesfortheupdatetaskyoucanseegreenmessagesME664tellingyouthat"changefor
LOEKZcouldnotbeeffected".
Isthismessagerightorwrong?

Like(0)

ParagParikhMay4,20127:50AM(inresponsetoJuergenL)

Hi,

ThemessagesarerightbecauseforsomelineitemsinPRchangeswerenotappliedand
forsomelineitemsdeletionindicatorwasnotset.

Like(0)

PavanivjOct12,20126:28AM(inresponsetoParagParikh)

HiParag,

Thisdocumentisveryhelpful.Thanksforsharing.
Ihavealittledifferentkindofissue.
Iamtryingtochangematerialgroupforalineitemofcontractorderfrom
MEMASSCONTRACT.Infirstattemptitgivesmeerror'ChangeforMATKLcould
notbeeffected',Butifwegobacksavethesamedatainsecondattempt,itis
workingfine.
Iwouldliketoknowisthereanypossibilitytosupressthe664errorinfirstattempt
itself.
ittriedtocheckindebugmode,iamjustwonderingsomethingcanbedonefrom
configuration.Yourreplywouldbegratefultome.

Thanks,
Pavani.

Like(0)

ParagParikhOct24,20124:23PM(inresponsetoPavanivj)

HiPavani,

Iamhappytoknowthatthedocumenthelpedyou.

UnfortunatelyIamcurrentlyworkingonanHRprojectandmysystem
doesnothavedatawhereIcanreplicatethis.Butbasedontheinputs
yourinputsIcheckedcode.

CouldyoupleaseexplorefurtherthemethodCREATE_FS_MAPSof
CL_MFS_MMandfindoutfromwhereitreadsthefieldconfiguration
details.Ibelievethatithassomethingtodowithfieldstatusconfiguration
forMATKLfieldandifyourfieldstatusisdisplayonlyi.e.'*'itgivesthat
message.

IreachedthisclassfromlookingintocodeofFM
MASS_CHANGE_CONTRACTusingconfigurationofMASSOBJforBO
BUS2014.

http://scn.sap.com/docs/DOC25758 12/13
01/08/2016 HowtoCrossApplicationMassMaintenan...|SCN
Like(0)

PavanivjOct27,20126:18AM(inresponsetoParagParikh)

HiParag,

Evenwearetryingtofix/checkthisatfieldconfiguration
level.WilltakehelpoftheFMsyoumentioned.Willupdatehere
onceigetthesolution.

Thankyou
Pavani

Like(0)

MohsinAbbasiMay26,201410:08AM

ExcellentJob............



BestRegards
MohsinAbbasi

Like(0)

SiteIndex ContactUs SAPHelpPortal


FollowSCN
Privacy TermsofUse LegalDisclosure Copyright

http://scn.sap.com/docs/DOC25758 13/13