Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
AllaboutI_STEPvariable:|SCN
GettingStarted Newsletters
Hi,Guest
LogOn
JoinUs
Store
SearchtheCommunity
Products
Services&Support
AboutSCN
Downloads
Industries
Training&Education
Partnership
DeveloperCenter
Activity
LinesofBusiness
UniversityAlliances
Events&Webinars
Innovation
Browse
Communications
Actions
SAPBusinessExplorer(SAPBEx)
AllaboutI_STEPvariable:
PostedbyTankaRaviChandrainSAPBusinessExplorer(SAPBEx)on13Dec201307:24:51
Share
Tweet
Like
Hi...
AllaboutI_STEP
WhenweexecutetheBExquery,thesequenceofexecutionstartswiththevariableselectionscreenbeingpopped
upifanyvariableispresentinthequery,andthentheoutputwillbedisplayedbasedonthevalueswhichpassedin
thevariableselectionasperbelowsequence.
I_STEPisavariable,generallyusedinABAPCustomerexit,whichcantakethevalues0,1,2or3.
I_STEP=1:
Insomeofthereports,wemayhaveaneedtodisplaydefaultvaluesinthevariableselectionscreenevenbeforeits
execution. For example, to display the execution date, time. In such cases we need to write /execute some of the
ABAPcustomerexitcodebeforethevariableselectionscreenstarts.
InCustomerExits,ifthevariableI_STEP=1,itmeansABAPcustomerexitcodewillbeexecutedbeforethevariable
selectionscreenpopsup.
I_STEP=1isbeforetheprocessingofthevariableandhencethiswecanbeusedfordefaultselectionscreenvalues.
I_STEP=2:
Insomeofthereports,wemayhaveaneedtocalculateMTD(MonthtoDate),YTD(YeartoDate).Insuchcasesthe
reportoutputisbasedontheinputvalueintheselectionscreenandABAPCustomerexitcalculation.Insuchcases
theABAPcustomerexitcodehastobeexecutedaftertheinputscreen.
http://scn.sap.com/community/businessexplorer/blog/2013/12/13/allaboutistepvariable
1/7
06/02/2016
AllaboutI_STEPvariable:|SCN
TheabovescreenindicatesthesequencefollowedwhenweexecutetheMTD,YTDetal.reports.
1.Theinputvaluesarepassedtothevariableselectionscreen.
2.ABAPCustomerexitisexecutedbasedontheinputselectionscreen.
3.TheoutputisdisplayedbasedontheABAPCustomerexitcode.
I_STEP=2isusefultofindtheYTD,MTD,rollingquarter,etc
InareportwecanhaveI_STEP=1andI_STEP=2dependingontherequirementasshownbelow.
Hopeyougotit,
Thanx&Regards,
RaviChandra.
6007Views
AverageUserRating
(21ratings)
Share
Tweet
Like
40Comments
GaneshBothe13Dec201307:29
HiRavi,
Usefulinformationthanksforsharing..manytimesnewpeopleconfusedaboutthis
http://scn.sap.com/community/businessexplorer/blog/2013/12/13/allaboutistepvariable
2/7
06/02/2016
AllaboutI_STEPvariable:|SCN
Like(3)
TankaRaviChandra13Dec201307:42(inresponsetoGaneshBothe)
ThanxGanesh...
Like(0)
jagadeeshwardasari13Dec201307:47
Hiravi,goodexplanationCanuprovideSamplecode....
Like(1)
TankaRaviChandra13Dec201307:50(inresponsetojagadeeshwardasari)
Hijagdesh,
Thanx,surelyiwillprovidecodeinthenextblog.
Regards,
RaviChandra.
Like(0)
seshuP13Dec201307:52
HelpfulDocument,ThanksForSharing
Like(0)
RaghavendraBellam13Dec201307:57
Oneofthemajorareaforbexrelateduserexits.Goodblogwithnicepresentation.
Thanksforsharingravi
Like(0)
HendrikBrandes13Dec201308:46
HelloRavi,
ThanksforyourgoodBlog.Ilikeit.In EasyimplementationofBExUserexitVariablesIhave
proposedaframework,whichhandlesthevariableprocessing.Additional,Iencapsulatethei_step
variable,sonodeveloperneedstohandlewithitdirectly.
Kindregards,
Hendrik
Like(3)
RamanKV13Dec201309:15
GoodblogandniceexplanationRavi.Thanksformakingandsharingwithus.
Like(1)
KrishnaChaitanya13Dec201309:24
Nicelyexplained.Goodone.Thanksforsharing.
Like(1)
VenkateswarluRavula13Dec201309:38
VerynicepostRavi.Goodillustration,easytounderstand.Thankyouforsharing.
Regards
Venkat...
Like(1)
VenuGopalBoddapati13Dec201312:00
Thanksravi,verydetailedexplanation,gudeffort.
BestRegards,
VenuGopal
Like(0)
LoedDespuig14Dec201301:40
greatdocumentmate!
http://scn.sap.com/community/businessexplorer/blog/2013/12/13/allaboutistepvariable
3/7
06/02/2016
AllaboutI_STEPvariable:|SCN
mayiaskthei_step=0and3?
also,kindlyprovidesampleforeachi_step..
thankyou!
loed
Like(1)
TankaRaviChandra14Dec201314:16(inresponsetoLoedDespuig)
HiLoed,
Thanxalot,yasurelyiwillwriteanotherblogonI_STEP=0and3withcode.
Regards,
Tanka
Like(0)
HendrikBrandes24Jan201412:41(inresponsetoLoedDespuig)
HelloLoed,
lookheretofindadescriptionofhowtodealwithi_step0andi_step3:
BExUserexitsreloaded
Kindregards,
Hendrik
Like(2)
maheshbondula14Dec201315:19
HiRavi,
Excellentpresentationofconceptwithgoodscreens.
Ithankyouforthegreatwork...
Regards,
Mahesh.
Like(1)
TankaRaviChandra18Dec201309:48(inresponsetomaheshbondula)
Thanxmahesh...
Like(0)
BenedictVenmani14Dec201318:06
Yourblogtitleis"AllaboutI_STEP",butyouhavenotevenmentionedaboutistep0and3.Thisisa
littlemisleading.Alearnermightthinkthereareonlytwoistepvariables.Pleaseupdateyourblog
withallistepvariableorchangetheblogtitle.
Thanks,
Benedict
Like(0)
TankaRaviChandra15Dec201305:17(inresponsetoBenedictVenmani)
HiVasanth
IhaveclearlymentionedthatI_STEPwillhavevalueslike0,1,2and3withbold
letters.pleaseoncecheckitandsurelyiwillwriteanotherblogfor0and3values.
Regards
Tanka.
Like(0)
SushantTiwarekar15Dec201318:29
Thanksforsharing.
Regards,
Sushant
Like(1)
TankaRaviChandra16Dec201307:51(inresponsetoSushantTiwarekar)
Thanxtiwarekar...
http://scn.sap.com/community/businessexplorer/blog/2013/12/13/allaboutistepvariable
4/7
06/02/2016
AllaboutI_STEPvariable:|SCN
Like(0)
SatendraMishra16Dec201306:16
Hi,
reallyveryniceinformation.
Regards,
SM
Like(1)
TankaRaviChandra16Dec201307:51(inresponsetoSatendraMishra)
Thanxsatendra...
Like(0)
PurushothamaReddy30Dec201309:21
ReallyNiceone...:)
Thanks,
Purushotham.
Like(0)
MohammedNaveed07Jan201413:40
HiRavi,
Niceinfo.AmeagerlywaitingforyournextblogwhichwillhavethiskindofdetailedinfoonI_step0
and3values.
Thanksforsharing.
Like(0)
PhaniKV07Jan201415:22
Thanksforsharing
Phani.
Like(0)
AnshuLilhori10Jan201418:54
Nicegraphicalrepresentationofi_stepsequence.Asmentionedbyothersitwouldhavebeengoodif
youhadaddedi_step3aswellwhichindeedjustifiesthetitle.
Regards,
AL
Like(1)
HendrikBrandes24Jan201412:43(inresponsetoAnshuLilhori)
HelloAnshu,
perhapsyoucangettheinformationonthis:
BExUserexitsreloaded
Kindregards,
Hendrik
Like(0)
JalinaVincent23Mar201415:11
VeryGooddoc.
Like(0)
SaikatPal04Apr201410:27
Veryusefulblog.Manythanks.Happytoread
.
Like(0)
SakthikumarJayaraman16Jun201409:13
VeryUsefulInformation!!!
Regards,
http://scn.sap.com/community/businessexplorer/blog/2013/12/13/allaboutistepvariable
5/7
06/02/2016
AllaboutI_STEPvariable:|SCN
J.Sakthikumar
Like(0)
MeghanaKuppa16Jun201410:33
Thankyousomuch!
Like(0)
TankaRaviChandra01Jul201410:43(inresponsetoMeghanaKuppa)
ThanksMeghanaandSakthikumar...
Like(0)
dibyajotibiswal14Oct201412:56
Hi,
Niceblogbutincomplete.Asithasbeenmentionedthatallaboutistepvariablebutdetailsabout
i_step0and3missing.AndanewBWusermightexpecttoseetheinformationthatwhilewriting
customerexithowweassigni_step.Soifaboveinformationsareaddedthenitthiswillbereally
informative.
Like(2)
G.SRamanjaneyulu28Oct201411:55
HiRavi,
Thisisagooddocumentandgoodtry,Itwillbebestifyouexplainaboutstep0,3also.Ifpossibletry
tosharesomeexamplescreens,soitlooksbetterandbetter,
Regards,
GSRamanjaneyulu.
Like(0)
SuchetaBabar28Oct201412:03
HiRavi,
Verygoodgraphicalillustration.
Regards,
Sucheta
Like(0)
RajeshRamakrishnan28Jan201512:46
Excellentpost.
Thanks.
Rajesh
Like(0)
keithdoley01Feb201611:54
Verygoodone.
Although,IunderstoodtheconceptbyreadingfromtheSAPSCNwebsite,stillIhaddoubtsifmy
understandingwerecorrect.
Ireadmanyotherblogsandhelpdocumentbutnoneofthemwerethissimpletounderstandas
yours.
Thisisanexcellentdocument.Itclearedmydoubtsandconfirmedthatmyinitialunderstandingwas
correct.
WishSAPofficialsiteproducessimpledocumentsasyours.
Thanks
Keith
Like(0)
TankaRaviChandra01Feb201612:06(inresponsetokeithdoley)
ThanksKeith.
Regards,
RaviChandra.
Like(0)
keithdoley01Feb201612:23(inresponsetoTankaRaviChandra)
http://scn.sap.com/community/businessexplorer/blog/2013/12/13/allaboutistepvariable
6/7
06/02/2016
AllaboutI_STEPvariable:|SCN
HIRavi,
CouldyoupleasealsoshareonI_Step=3?Thatwouldbegreat.
Like(0)
TankaRaviChandra01Feb201616:06(inresponsetokeithdoley)
Willshareit..
Thanksforreadingmyblog...
Regards,
RaviChandra.
Like(0)
SiteIndex
Privacy
ContactUs
TermsofUse
SAPHelpPortal
LegalDisclosure
Copyright
http://scn.sap.com/community/businessexplorer/blog/2013/12/13/allaboutistepvariable
FollowSCN
7/7