You are on page 1of 6

27/09/2016

GuidelinesToCreateQuickviewerandSAPQuery|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

GuidelinesToCreateQuickviewerandSAP
Query

Communications

Actions

Version3

createdbyMrpatchalaon18Apr201216:02,lastmodifiedbyMrpatchalaon27Sep201220:20

Share

Tweet

Like 7

DearAll,

FirstijustgiveyouabriefintroductionaboutQuickviewerandSAPQuery

Quickviewer:QuickViewerisasimpletooltodesigncustomreportswithouttheneedforany
programming.YoucanuseittodesignandrunQuickViews(reportsdesignedusingQuickViewer)andexport
themtospreadsheets.Notethatthesereportsareuserspecificandcannotbesharedwithotherusers.

SAPQuery:SAPQueryisanothertooltocreatereportswithoutanyprogramming.Queryhasmorefeatures
thanQuickView.Themainadvantageisthataquerycanbesharedwithagroupofusers.

Nowthebusinessrequirementistocreateareportwhichconsistsoffollowingtables
VBAP
VBAK
VBKD
LIKP

Hereiwilltrytoexplainhowtolinkthistableinonereport.youcancreatethisspecialreportwith
QuickviewerandSAPQuery.
Creatingreportswiththequickviewer:
Toaccessthistool,thepathisSAPMenu>Tools>ABAPWorkbench>Utilities>QuickViewer(SQVI)
1.GototcodeSQVIandspecifydesiredquickviewernameandcreate.
2.Apopupwillappearthanselect"tablejoin"optionindatasourcefieldandenter.
3.Gotomenubaredit>inserttables.maintaintablenameandenter
4.Ifyouwanttoinsertaonemoretablefollowthestep3.
5.Gobackandselectthefieldwhichyouwantinavailablefields.
6.finallysavetherecordandexecute.
7.youcanchangethereportlayoutbyusing"layoutmode"pushbuttonbeforesavingthequickviewr.

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

1/6

27/09/2016

GuidelinesToCreateQuickviewerandSAPQuery|SCN

CreatingreportswithSAPQuery:
Step1Infosets:
1.CreateinfosetswithtcodeSQ02andspecifydesiredinfosetnameandcreate.
2.Apopupwillappearthanselect"tablejoinusingbasistable"radiobuttonandmaintainonetablenamein
whitebox

.
3.Gotomenubaredit>inserttables.maintaintablenameandenter
4.Ifyouwanttoinsertaonemoretablefollowthestep3.
5.Gobackandselect"createemptyfieldgroups"radiobuttononpopup.
6.selecttherequiredfieldsindatafieldstabanddropintofieldgroups.
7.clickonGeneratebuttonontopleft.

Step2UserGroups:
8.createtheusergroupswithtcodeSQ03andspecifydesiredusergroupnameandcreate.
9entertheusergroupnameonpopupandsavethegroup.
10.onthesamescreenclickon"assignusersandinfosets"
11,entertheusernameswhoisgoingtobeusethisparticularrecordandclickassigninfosetsontopleft.

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

2/6

27/09/2016

GuidelinesToCreateQuickviewerandSAPQuery|SCN

12,selectyourinfosetandsavetheusergroup.
Step3Queries:
13createQuerywithtcodeSQ01andspecifydesiredquerynameandcreate.
14selectyourinfosetandclickcopy.
15enterthetitle/notesandclick"Nextscreen(f6)button.
16selectallyourtablesandclicksamenextscreen(f6)button.
17selectallthefieldwitchyouwantandagainclicksamenextscreen(f6)button.
18selecttheallfieldsandenter.sonowyoucanassignthenumbersequencetothefield

Note:ThefieldsSVand1Zallowyoutofurthercontroltheselectionparameters.IfyouselecttheSVboxnexttoa
selectionfield,youcannotspecifyarangeofvaluesintheselectionscreenforthatfield(thatistosay,theToValuebox
issuppressed).Ontheotherhand,ifyouselectthe1Zbox,youcannotspecifymultiplevaluesintheselectionscreen.
19.nowyoucanchangethelayoutdesignbyselecting"Basiclist"button.

20.Intheselectionbasiclistwhileweenterwegettheabovescreen,whichenablesyoutoaddcolourstoyour
report,andthecolumnadjustments,etc.Donotforgettoseethewholeviewondatafieldsontoplefthandside
soastoentertickmarksfinallytoselectfieldswhichshouldcome,inwhatprioritycomeetc.Youalsoneedto
addheadertextandfootertextintheabovepane,whichispresentaspushbuttons.

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

3/6

27/09/2016

GuidelinesToCreateQuickviewerandSAPQuery|SCN

21savethequeryandyoucantestthequerybyselecting'Test"buttonontopleft.

22.Nowyouarereadytogeneratethereportdependsonyourselectioncriteriaasabove.

Hopeyoulikethedocument.

Regards,
Patchala.

84567Views

Products:sap_erp_sales_and_distributionTopics:enterprise_resource_planningTags:quickviewer,sap_query

AverageUserRating
(20ratings)

Share

Tweet

Like 7

21Comments
SridharVijjhalwar18Apr201217:40

Keepthegoodworkgoingon...Ilikedit.
Like(1)

JannetGupta21Apr201207:12(inresponsetoSridharVijjhalwar)

Goodone
Like(1)

Mrpatchala15Jun201209:46(inresponsetoJannetGupta)

Thankujaneet..

Regards
Patchala..
Like(0)

Mrpatchala21Apr201211:01(inresponsetoSridharVijjhalwar)

Thankyousridhar.....
Like(0)

SteveSinclair09May201206:12

AwordofwarningalthoughSAPQueryisoftendescribedas"atooltocreatereportswithoutany
programming"itneedstoberememberedthatinSQ02itispossibletoinsertABAPcodeintoinfosets.
Thiscreatesasecurityrisksoyouneedtobecarefulaboutwhohasaccesstocreateandmaintain
infosets.

Regards
Steve

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

4/6

27/09/2016

GuidelinesToCreateQuickviewerandSAPQuery|SCN
Like(3)

SPRO09May201206:23

ToaddsomeABAPcodepleaserunSQ02foryourInfoSet,hit'Change'andgotoExtras
thefollowingpicturereflectsthestandardtechnicaltabs:
Extras
Selections
Code
Enhancements

pleasebecarefuldonotbuilda"heavy"codehere,testitstepbystep...

goodluck

p.s.ican'tpasteapicture(anewSCNbug??)theInsertImagebuttonisdisabled
Like(1)

VittalSainath29Nov201217:31

Goodandeasysteps.Helpful.Thankyou.
Like(0)

NavaneethaKrishnan04Jan201305:36

Hi,
Thisisagooddocumentforthebeginners.Itmaypleasebeaddedwiththefollowinginformationas
thetoolitselfisveryperformanceintensiveandcritical.

SometipsontheuseofSAPQueryInfosetsaswedontgetalltheinformationdirectlyfrom
transparenttables.

Importanceofusingonlythekeyfieldsasselectionfields.Otherwisetheperformancewillbeseverely
hampered.

Notadvisableforthebeginnerstousethistool!asitisverycriticalonthesystemperformance.
Like(1)

SanthanakrishnanArumugam19Jul201308:49

Hi,
Itsreallygoodwork,hatsofftoyou!!!
Pleasekeepongohead.

Thanksalotfromallbeginnersside.
Like(0)

DanieleMartis09Oct201317:46

Thanksalot!Usefull
Like(1)

JittimaNishimoto15Nov201302:51

UsefulGuide
Thankyou
Like(0)

JomyMathew15Nov201312:18

Veryuseful.Thanksforsharing!!
Like(0)

Ketan.18Feb201416:11

Awesomepost,reallyhelpful.Keepitup.
Like(0)

RupeshDhiwar02Jul201413:57

thanksitshelpful.
Like(0)

AbhinavPattenwal13Aug201407:18

goodone...

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

5/6

27/09/2016

GuidelinesToCreateQuickviewerandSAPQuery|SCN

Like(0)

venugopal13Aug201407:33

ThanksalotForsharingaGoodDocument
Like(0)

FrancescoCasoloGinelli21Jan201513:41

UsefulGuide!!!
but,somebodycantellmehowtoputobligatoryafieldinselection?
tks
Like(0)

ArindamBasu28Apr201621:25

ThanksPatchala,foryournicedocument.Appreciated!

Justaaddin,onecanalsoaddacustomizetcodetooforthereportyoucreatedbyusingQuick
viewerorSAPQuery,whichmayhelptogettheeasyaccessofthatparticularreport.GotoSE93and
createtcodewiththeprogramnameasgeneratedduringcreationofReportandattachtothat(With
2ndoptionselectionProgram&SelectionScreen(reporttransaction).Itmayhelpusertoaccess
thereportinfuturewithoutgoingtoSQVIorSQ02tcodeanddirectlyhitthereport.

Thanksagainforthenicedocumentation!

Arindam.
Like(0)

SIVAPRAKASH05May201608:42

Nicework...
Like(0)

NirmalKuruwita22May201607:43

NicePost.

IsthereanywaywecoulddoaCalculationin"SQVI"?

Regards,
Nirmal
Like(0)

HARISHB14Jul201612:35

Niceexplanation
Like(0)

SiteIndex
Privacy

ContactUs
TermsofUse

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

SAPHelpPortal
LegalDisclosure

Copyright

FollowSCN

6/6

You might also like