Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Appliesto:
SAPABAP
Summary
CreatingaBackgroundJobinSAPR/3.
TableofContents
MainSteps:
Changescreenlayoutofstockreportaspertherequirement.
Createvarianttorunthestockreport(MB52)viaJob.
AccesstransactioncodeSM36tocreatetheJob.
MonitortheJobandcheckthespoolAccessSAPBusinessWorkplacetochecktheSpool.
Header1
ConfigureabackgroundjobinSAPR/3.Thisdocumentintendstoprovidestepswhichcanbedonebyanend
usertoprepareaJob.
Header2
BusinessUserhaspassedontherequirementthattheyshouldreceivetheStockreportformaterialinthere
SAPInbox.
Header3
Step1:CreateScreenlayout
Assumption:UserhasloggedintransactioncodeMB52andhasusedaselectioncriteriasuchasPlantwitha
valueof1000.
Step2:Clickonthechangelayoutbuttontoselectonlytherequiredfieldswhichshouldbeconsideredinthe
backgroundjob.Refertothethescreenshotbelow.
Step3:Selectthefieldswhicharenotrequiredinthereportandclickonthebuttontomovethemtorightoryou
mayselectthefieldsfromlefttoincludetheminyourreport.Refertothescreenshot.3.jpg
Step:Pressenterandclickonsavevariantbutton.Rrefertothebelowscreenshot.
Step:Saveyourlayoutasvaraintsothatyoucanusethisvariantinyourjob.
Step:Insertthelayoutvariantintheinitialscreen.clickonthelayoutfieldandpressF4toselectthelayout
createdinabovestep.
Clickonsaveafterselectingthelayouthere.
Step:Afterclickingonsavebuttonyouwillgetthefollowingscreen.Nowenterthevariantnameasperyour
choiceandalsothedescription.
Youmayalsomarkthecheckboxprotectvariantforthefieldplantandlayoutthoughit'snotmandatoryas
doneinabovescreenshot.
Clickonsavebutton.
Step:FindingtheprogramnamefortransactioncodeMB52toprepareabackgroundjobforthisprogram
whichwillsendthereporttobusinessusers.
STEP:NowpleasenoticetheProgramname,"RM07MLBS".
Step:LogintotransactioncodeSM36.AlsoMentiontheJobnameasZDaliystk_MB52_1000.
AftergivingjobnamePressentertogetthebelowscreen
ClickontheABAPprogramandmentiontheprogrambuttonandmentiontheprogramnamealongwiththe
variantname(notthelayoutvariantbutthejobvariant)whichwascreatedininitialsteps.
Clickoncheckandsave
Step:Nowclickonthestartconditionbutton.
Inthisstepwearegivingthefrequencyofrunningthejob.AsalreadymentionedtheJobneedstorundaily
basis.
Step:ClickonImmediateandthenclickonperiodiccheckbox.
Step:clickontheperiodvaluesbuttonandalsomarktheperiodcheckboxasthejobhastoruneveryday.
Youcanalsogivethespecifictimeonwhichthejobneedstorunandinrealtimescenariothatwillbeused
mostlybutrightnowmyobjectiveistogiveyouafairideaofbackgroundjob.
2.Clickonsave
Step:Clickonspoolrecipientbutton.Thisisdonetomentionthebusinessuseridwhowishtoreceivethe
report.
Step:Justpressenterandsavetogetthemessagethatjobisinreleasestatus
Step:Monitorandchecktheoutputofjob.AccesstransactioncodeSM37.
AlsomentiontheJobname
Step:executeandcheckthespool.
Step:clickonthetype
Step:Herearetheresultswhichislistofstockinourcase
Pleasefreetowritebacktomewithyoursuggestionstyagirahul@hotmail.com