powl queries

Upload: vasu-kaluvalapudi

Post on 03-Jun-2018

254 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/12/2019 powl queries

    1/13

    SAP ERP 6.0 EhP3

    March 2010

    English

    How to Use Reports

    SAP AGDietmar-Hopp-Allee 16610 !all"or#German$

    Ho%-to G&i"e'Ena(lement )it #or Enhancement Pac*age 3 #orSAP ERP

  • 8/12/2019 powl queries

    2/13

    SAP Best Practices Ho% to +se Reports

    Copyright

    , 2010 SAP AG. All rights resere".

    o part o# this p&(lication ma$ (e repro"&ce" or transmitte" in an$ #orm or #or an$ p&rpose %itho&t thee/press permission o# SAP AG. he in#ormation containe" herein ma$ (e change" %itho&t prior notice.

    Some so#t%are pro"&cts mar*ete" ($ SAP AG an" its "istri(&tors contain proprietar$ so#t%are componentso# other so#t%are en"ors.

    Microso#t !in"o%s E/cel &tloo*an" Po%erPointare registere" tra"emar*s o# Microso#t orporation.

    45M D52 D52 +niersal Data(ase S$stem i S$stem i S$stem p S$stem p S$stem / S$stem 7S$stem 710 S$stem 7 710 7 iSeries pSeries /Series 7Series eSerer 789M 78S i8S S830S830 S8:00 AS8:00 S830 Parallel Enterprise Serer Po%er9M Po%er Architect&re P!ER6;P!ER6 P!ER; P!ER P!ER penPo%er Po%erP 5atchPipes 5la"eenter S$stemStorage GP

  • 8/12/2019 powl queries

    3/13

    SAP Best Practices Ho% to +se Reports

    Icons

    Icon Meaning

    a&tion

    E/ample

    ote

    Recommen"ation

    S$nta/

    Typographic Conventions

    Type Style Description

    Example text !or"s or characters that appear on the screen. hese incl&"e #iel"names screen titles p&sh(&ttons as %ell as men& names paths an"options.

    ross-re#erences to other "oc&mentation.

    E/ample te/t Emphasi7e" %or"s or phrases in (o"$ te/t titles o# graphics an" ta(les.

    E=AMP>E E= ames o# elements in the s$stem. hese incl&"e report namesprogram names transaction co"es ta(le names an" in"ii"&al *e$%or"s o# a programming lang&age %hen s&rro&n"e" ($ (o"$ te/t #ore/ample SE>E an" 4>+DE.

    Example text Screen o&tp&t. his incl&"es #ile an" "irector$ names an" their pathsmessages so&rce co"e names o# aria(les an" parameters as %ell asnames o# installation &pgra"e an" "ata(ase tools.

    EXAMPLE TEXT )e$s on the *e$(oar" #or e/ample #&nction *e$s Bs&ch as F2 or theENTER*e$.

    Example textE/act &ser entr$. hese are %or"s or characters that $o& enter in thes$stem e/actl$ as the$ appear in the "oc&mentation.

    9aria(le &ser entr$. Pointe" (rac*ets in"icate that $o& replace these%or"s an" characters %ith appropriate entries.

    , SAP AG Page 3 o# 13

  • 8/12/2019 powl queries

    4/13

    SAP Best Practices Ho% to +se Reports

    Contents

    1 P&rpose..................................................................................................................................

    2 Prere&isites...........................................................................................................................6

    3 Set +p Reporting....................................................................................................................6

    3.1 onnect to P!ER >ist ist 9ie%s............................................................................................12

    , SAP AG Page : o# 13

  • 8/12/2019 powl queries

    5/13

    SAP Best Practices Ho% to +se Reports

    1 Purposehe p&rpose o# this "oc&ment is to o&tline an" e/plain ho% to &se the reporting #&nction in the

    ersion o# SAP ERP Enhancement Pac*age 03 an" 0:. he "oc&ment %ill o&tline the #o&rnecessar$ steps to con#ig&re the reporting #&nction properl$.

    Introduction to the Enhanced Reporting

    4n the reporting area as %ell SAP has starte" to conse&entl$ ma*e &se o# P!ER >ists themain ne% +4 element "eliere" %ith the enhancement pac*ages. Here the P!ER >ists are notonl$ &se" to sho% (&siness o(ects relate" to the naigation str&ct&re (&t also to integratereports in a ne% loo* an" #eel. !ith this the &ser receies at the same time all (ene#its o# theP!ER >ist incl&"ing its personali7ation capa(ilit$. n top the P!ER >ist o##ers some more#&nctionalit$ i# it is "e#ine" as a p&re reporting P!ER >ist. 4n this case the personali7ation also

    allo%s $o& to a"" graphics li*e pie (ar or other charts to the list.All P!ER >ists no matter %hether the$ are p&re reporting lists or %or* item lists li*e a ie% onsales or"ers al%a$s proi"e the e/port to the 5&siness E/plorer Anal$7er B5E/. his ena(lesthe &ser to slice an" "ice the gien "ata aggregate it an" #inall$ p&t it into charts. As 5E/ e/portis part o# eer$ P!ER >ist it (ecomes clear that reporting is not onl$ limite" to those lists"e#ine" #or p&re reporting. Also a list on (illing "oc&ments open sales or"ers an" so on can (econsi"ere" as reporting an" there#ore #&rther anal$7e" &sing the 5E/ Anal$7er. h&s thereporting P!ER >ists are a starting point #or "ata reie% an" the 5E/ Anal$7er #or #&rtheranal$sis.

    he technical (asis #or the ne% so-calle" streamline" reporting is the 4n#oSet F&er$ an" its&n"erl$ing 4n#oSet.

  • 8/12/2019 powl queries

    6/13

    SAP Best Practices Ho% to +se Reports

    Prere!uisiteso& are &sing the SAP ERP 6.0 Enhancement Pac*age 03 or Enhancement Pac*age : an" $o&hae access to the SAP et!eaer 5&siness lient.

    " Set Up Reporting

    Purpose

    he p&rpose o# this actiit$ is to set &p the elements necessar$ #or a report to (e generate" inSAP ERP.

    Process #low

    o set &p the reporting the #ollo%ing t%o steps nee" to (e "one1 onnect to P!ER >ist ist 9ie%s

    "$1 Connect to P%&ER 'ist #ra(ewor)

    Use

    he Personali7a(le (ect !or*list BP!> is &se" as &ser inter#ace #or the 4n#oSet F&eries.he P!> o##ers a +4 #or (oth the "e#inition o# &eries (ase" on a set o# select options an" the

    list #or "ispla$ing the res&lts o# the &eries.

    Prere!uisites

    he (&siness "ata is "eliere" to the P!> #rame%or* ia c&stomi7ing an" ia so calle" #ee"erclasses. he P!> c&stomi7ing has to contain the in#ormation a(o&t the aaila(le P!> o(ectt$pes an" the in#ormation a(o&t %hich #ee"er class "eliers %hich P!> o(ect t$pe. A genericreporting #ee"er class %as "eelope" in or"er to aoi" "eeloping a #ee"er class #or each &er$.he nee"e" r&ntime in#ormation a(o&t selection criteria #iel" catalog e/ec&ta(le actions or&er$ res&lts is retriee" "$namicall$.

  • 8/12/2019 powl queries

    7/13

    SAP Best Practices Ho% to +se Reports

    Procedure

    1. Access the transaction choosing one o# the #ollo%ing naigation options'

    S*P ERP (enu Tools ABAP Workbench'e(elopment ABAP E)itor

    Transaction code SE3I

    2. n theAPAP E)itor* Initial Screen enter the name o# the reportW'+,E.E%ATE,P$W&,/USTin the #iel" Pro0raman" choose Execute.

    #ield na(e Description User action and values Co((ent

    Pro0ram A5AP Program ame Enter

    W'+,E.E%ATE,P$W&,/UST in this #iel"

    3. n the screen %e0ister InoSet 1uery 2 P$W&enter the #ollo%ing al&es.

    #ield na(e Description User action and values Co((ent

    .amespace Releant namespace Enter $o&r namespace +se c&stomernamespaceJ m&st(egin %ith 8 an" en"%ith 8

    User roup ame o# +ser Gro&p Select the name o# theappropriate &ser gro&p

    InoSetQuery I'

    ame o# 4n#oSet &er$ Enter the name o# thereleant 4n#oSet &er$ or

    he inp&t help sho%sall F&er$ 4Ds that are

    , SAP AG Page K o# 13

  • 8/12/2019 powl queries

    8/13

    SAP Best Practices Ho% to +se Reports

    #ield na(e Description User action and values Co((ent

    alternatiel$ &se the #iel"inp&t help to select #rom alist.

    aaila(le #or theselecte" &ser gro&p. 4#+ser Gro&p is notselecte" $et the list%ill (e empt$

    :. Deci"e ia the /reate transport re1uest#lag %hether the report shall create transportre&ests #or the ne% ta(le entries or not. hen choose Execute.

    e/t the 'isplay lo0sscreen %ill appear %here the application log sho%s in#ormation pertainingto the generate" ta(le entries.

    P!> o(ect t$pe'

    Entr$ 8))F8L&er$i"N in ta(les P!>PE an" P!>PE. +setransaction P!>PE to chec*8e"it.

    Application i"'Entr$ O8))F8L&er$i"N in ta(les an" .+se transaction (ect $pe'

    Entr$ O8))F8L&er$i"N 88 OL&er$i"N in ta(le !D)FPES. +setransaction SE16 to chec*8e"it.

    P!> De#a&lt F&er$'

    Entr$ O8))F8L&er$i"N in ta(le P!>F+ER. +se transactionP!>F+ER to chec*8e"it.

    Mapping o# Application 4D an" P!> De#a&lt F&er$'

    Entr$ O8))F8L&er$i"N 88 O))FL&er$i"N in ta(le P!>F+ERR>.+se transaction P!>F+ERR to chec*8e"it.

    Mapping o# P!> (ect $pe Application 4D an" P!> De#a&lt F&er$'

    Entr$ O8))F8L&er$i"N 88 O))F-L&er$i"N in ta(le !D)FAPP>4D. +setransaction SE16 to chec*8e"it.

    Mapping o# Application 4D an" P!> (ect $pe'

    Entr$ O8))F8L&er$i"N 88 O))FL&er$i"N in ta(le P!>PER>.+se transaction P!>PER to chec*8e"it.

    . 4# necessar$ 4n#oSet &er$ speci#ic P!> #ollo% &p actions can (e "e#ine" ia the P!>

    #rame%or* #or o(ect t$pes. his can (e "one ia separate Reporting c&stomi7ing. o la&nchthe preio&sl$ mentione" c&stomi7ing start the transaction !D)FA4REG.

    Transaction code !D)FA4REG

    6. n the 3aintain Actions o %eportin0 P$W&screen enter the name o# the 4n#oSet &er$ an"choose Execute.

    #ield na(e Description User action and values

    Select InoSetQuery P$W& Type

    P!> t$pe 4D

    Enter the name o# the releant 4n#oSet &er$ oralternatiel$ &se the #iel" inp&t help to select #roma list.

    , SAP AG Page I o# 13

  • 8/12/2019 powl queries

    9/13

    SAP Best Practices Ho% to +se Reports

    K. o& %ill no% (e promote" to the 'isplay9ie% P$W& Type4 InoSet-Query* $(er(ie#screen.he #irst step is to "e#ine the actions %hich is "one ($ #irst selecting the P!> $pe 84n#oSet F&er$. n the right han" si"e o# the screen select the t$pe ($ highlighting it.

    I. e/t select the action t$pe. +n"er the 'ialo0 Structureselect theActions#ol"er ($ "o&(le

    clic*ing it.

    . on#irm the in#ormation (o/ 'o not make any chan0es 5SAP )ata6%ith /ontinue.

    10. n the /han0e 7ie# Actions* $(er(ie# page press the (&tton .e# Entriesto a"" a ne%entr$.

    11. Enter the name %hich is to (e assigne" to the action t$pe in the #iel" Action 4D.

    #ield na(e Description User action and values Co((ent

    Action I' Action i"enti#ier

    Enter ($ %hich the actionsho&l" (e i"enti#ie".

    12. e/t theActionType#iel" nee"s to (e "e#ine" #rom a "rop"o%n men&.

    #ield na(e Description User action and values Co((ent

    ActionType 4n#oSet F&er$ P!>action t$pe

    he options are either' >in*Jthe action %hich %ill (etriggere" ($ a lin* in acertain P!> col&mn.5&tton8ool(ar' the action%ill (e triggere" ($ a (&ttonin the P!>.

    4MPRA' Actionso# the t$pe &inkal%a$s hae to haethe car"inalit$ Sin0leSelection

    13. o% the car"inalit$ nee"s to (e "etermine" in the #iel" /ar)inal.

    #ield na(e Description User action and values Co((ent

    /ar)inal ar"inalit$ #orSelections in P!>

    o& hae the #ollo%ingoptions #or entr$.Ignore Selection+he amo&nt o# selecte"P!> entries is ignore".Single Selection+E/actl$ one entr$ has to (eselecte" %hen the &ser

    triggers the action.Multi Selection+At least one entr$ has to (eselecte" %hen the &sertriggers the action.

    1:. he 5 B(ect (ase" aigation o(ect no% nee"s to (e "e#ine" in the #iel" $B. $b8ect.

    #ield na(e Description User action and values Co((ent

    $B. $b8ect 5 (ect +se the inp&t help selectionoption to ie% list o# 5

    o(ects alternatiel$ enterthe name "irectl$.

    e.g. 8!M8Q.. or8))8Q.

    (ects can also (ecreate" ia the

    , SAP AG Page o# 13

  • 8/12/2019 powl queries

    10/13

    SAP Best Practices Ho% to +se Reports

    transaction S!01.

    1. he 5 B(ect (ase" aigation operation no% nee"s to (e "e#ine" in the #iel" $B.$peration!

    #ield na(e Description User action and values Co((ent

    $B.$peration

    5 peration +se the inp&t help selectionoption to ie% list o# 5operationsJ alternatiel$enter the name "irectl$.

    e.g. o"eMaintain oroi

    16. De#ine a target &er$ i# the action sho&l" la&nch another 4n#oSet F&er$ P!>.

    #ield na(e Description User action and values Co((ent

    Tar0et Query Drill Do%n arget +se the inp&t help selectionoption to ie% list o# target&eries alternatiel$ enterthe name "irectl$.

    his col&mn has tocontain the

    correspon"ing 4n#oSetF&er$ speci#ic P!>$pe. E.g. 8))8Q..or ))F4SF.....

    1K. De#ine a P!> lin* col&mn in the #iel" /olumn I'. +se this col&mn in or"er to "e#ine %hichP!> col&mn sho&l" (e ren"ere" as lin*.

    #ield na(e Description User action and values Co((ent

    /olumn I' &tta( col&mn +se the inp&t help selectionoption to ie% list o# target&eries alternatiel$ enterthe name "irectl$.

    4MPRA' Action$pe has to (e &inkJother%ise the col&mnis ignore" ($ the

    #rame%or*.

  • 8/12/2019 powl queries

    11/13

    SAP Best Practices Ho% to +se Reports

    the selection criteriao# the c&rrent 4n#oSetF&er$. ther%ise theinp&t help o##ers a list

    %ith the maintaine"parameters o# theselecte" 5&siness(ect peration.

    22. e/t "e#ine the parameter t$pe in the #iel" Param Type!

    #ield na(e Description User action and values Co((ent

    Param Type 4n#oSet F&er$ P!>speci#ic actionparameter t$pe

    +se this col&mn to "e#ine%here the al&e %hichsho&l" (e passe" to the

    target parameter sho&l" (e"erie" #rom. he al&escan (e #o&n" &sing the "rop"o%n men&.

    4MPRA'Param$pe /olumnisinali" in case thecar"inalit$ o# theaction %as set toI0nore Selection.hat means themapping8targetparameter is ignore".

    23. De#ine P!> col&mn #or parameter mapping in the /olumn I'#iel".

    #ield na(e Description User action and values Co((ent

    /olumn I' &tta( col&mn 4n case parameter t$pe/olumn%as selecte" thiscol&mn can (e &se" to"e#ine the P!> col&mn%hich sho&l" (e mappe" tothe correspon"ing targetparameter. he inp&t helpo##ers a list %ith all aaila(leP!> col&mns o# thec&rrent 4n#oSet F&er$.

    4MPRA' Do not&se (oth col&mn 4Dan" selection criteria4D in one entr$.

    2:. De#ine P!> selection criteria #or parameter mapping in the Selection criteria I'#iel".

    #ield na(e Description User action and values Co((ent

    Selectioncriteria I'

    4D o# a selectioncriteria

    4n case parameter t$peOselcritN %as selecte" thiscol&mn can (e &se" to"e#ine the P!> selcrit%hich sho&l" (e mappe" tothe correspon"ing targetparameter. he inp&t helpo##ers a list %ith all aaila(leP!> selection criteria.

    4MPRA' Do not&se (oth col&mn 4Dan" selection criteria4D in one entr$.

    2. hoose Sa(eto sae the ne% entries.

    , SAP AG Page 11 o# 13

  • 8/12/2019 powl queries

    12/13

    SAP Best Practices Ho% to +se Reports

    Result

    he P!ER list con#ig&ration is no% generate".

    +ser G&i"e +9:,"o#,to,ui)e,E.,'E!)oc"escri(es an eas$ %a$ to test theP!ER >ist ia the "e#a&lt &er$ o# $o&r 4n#oSet F&er$ speci#icP!> t$pe.

    3. he screen 3aintain Table 7ie#s* Initial Screen%ill no% open here $o& choose p&sh(&tton

    Query Settin0s.

    :. A "ialog (o/ %ill appear calle" Selection criteria settin0s. he list sho%s $o& all aaila(leselection criteria. All o# them are #lagge" as &ic* search criteria ($ "e#a&lt.

    Here $o& can select %hich criteria %ill (e man"ator$ rea"-onl$ an" %hat %ill (e hi""en.

    +nchec* those selection criteria %hich are not nee"e" as &ic* search criteria an" press the(&ttonAccept.

    ote' o contin&e the personali7ation o# P!> see the g&i"e "o# to use P$W&.

    o a"apt P!ER lists #or all &sers &se the #ollo%ing'

    1.Press the 'Layout variant' button.

    2.A browser window for the POWL_MASTER_QUERY will start up.

    3.Change the sap-config-mode from "X" to "config" within the URL.

    4.Now you can define your layout variant and save your changes.

    5.Logon to customizing client and start transaction POWL_QUERY.

    6.Assign your created layout variant in selection field 'Layout'.

    , SAP AG Page 12 o# 13

    http://var/www/apps/conversion/tmp/scratch_2/K50_How_to_Guide_EN_DE.doc#TestPOWLhttp://var/www/apps/conversion/tmp/scratch_2/K50_How_to_Guide_EN_DE.doc#TestPOWL
  • 8/12/2019 powl queries

    13/13

    SAP Best Practices Ho% to +se Reports

    o a"apt P!ER list o&tp&ts at the en" &ser leel &se the #ollo%ing proce"&re'

    1. pen the P!ER list in the !5 Bet!eaer 5&siness lient an" allo% #or the report to(e generate" %hich $o& %o&l" li*e to change the "ispla$ options.

    2. Press the te/t la(ele" Settin0sin the &pper right han" corner o# the P!ER list.

    3. A "ialog (o/ %ill appear calle" Settin0s in this %in"o% there %ill (e #ie ta(s col&mnselection sort calc&lation #ilter an" "ispla$.

    :. +n"er the col&mn selection ta( it is possi(le to a"" "ispla$e" col&mns #rom 'isplaye)/olumnsto "i))en /olumns($ selecting a col&mn an" pressing the (&tton %emo(e. o"ispla$ a hi""en col&mn highlight the selecte" col&mn ($ clic*ing on it an" pressing the(&ttonA)).

    . 4t is also possi(le to sort col&mns in ascen"ing or "escen"ing or"er &n"er the Sortta(.ol&mns m&st #irst (e ta*en #rom the Unsorte) /olumnsan" moe" to the Sorte) /olumnsarea. his is "one ($ highlighting the col&mn there($ selecting it an" then pressing the(&ttonA)).

    6. o total an" s&(total #irst select the /alculationta( &n"er the Settin0s"ialog (o/. hecol&mns aaila(le #or calc&lation %ill then (e "ispla$e". 4t is no% possi(le to select thecalc&lation metho" s&ch as total minim&m ma/im&m an" mean al&e. hoose Applyan"$) to go (ac* to the report an" see the res&lts.

    K. +n"er the 'isplayta( it is possi(le to #ill in the #ollo%ing #iel"s 'isplaye) %o#s 'isplaye)/olumns Table 'esi0n an" ri) &inesto alter the appearance o# the report. nce "one%ith the settings or to see the e##ect o# the settings chooseApply#ollo%e" ($ $+.

    #ield na(e Description User action and values Co((ent

    'isplaye)%o#s

    &m(er o# Displa$e"Ro%s in a(le

    Enter a n&meric al&e.

    'isplaye)/olumns

    &m(er o# Displa$e"ol&mns in a(le

    Enter a n&meric al&e an"select #rom the "rop"o%nmen& (et%een .umber oan"All.

    Table 'esi0n hoose #rom the "rop"o%nmen& (et%een Stan)ar)Alternatin0or Transparent.

    ri) &ines he manner in %hichgri" lines %ill (e"ispla$e" in ta(le.

    hoose #rom the "rop "o%nmen& (et%eenAll .one7erticallyan" "ori;ontally.

    Result

    he report ta(le la$o&t sho&l" no% (e "ispla$e" accor"ing to the settings ma"e in the prece"ingsteps.

    , SAP AG Page 13 o# 13