powl config - how to guide en de

46
8/13/2019 POWL Config - How to Guide en De http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 1/46 SAP ERP 6.0 EhP3 and EhP4 March 2010 English How to Develop POWER Lists SAP AG Dietmar-H!!-Allee 16 6"1"0 #alldr$ H%-t G&ide' Ena(lement )it $r SAP *et#ea+er ,&siness lient   /1.30

Upload: ashwindatta6819

Post on 04-Jun-2018

248 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 1/46

SAP ERP 6.0 EhP3

and EhP4March 2010

English

How to Develop POWERLists

SAP AGDietmar-H!!-Allee 166"1"0 #alldr$ 

H%-t G&ide'Ena(lement )it $r SAP *et#ea+er ,&siness lient

  /1.30

Page 2: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 2/46

German

Page 3: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 3/46

SAP Best Practices H% t De+el! P#ER ists

Copyright

2010 SAP AG. All rights reser+ed.

* !art $ this !&(licatin ma (e re!rd&ced r transmitted in an $rm r $r an !&r!se %ith&t the

e!ress !ermissin $ SAP AG. 5he in$rmatin cntained herein ma (e changed %ith&t !rir ntice.

Sme s$t%are !rd&cts mareted ( SAP AG and its distri(&trs cntain !r!rietar s$t%are cm!nents$ ther s$t%are +endrs.

Micrs$t7 #ind%s7 Ecel7 &tl7 and P%erPint are registered trademars $ Micrs$t r!ratin.

8,M7 D,27 D,2 9ni+ersal Data(ase7 Sstem i7 Sstem i:7 Sstem !7 Sstem !:7 Sstem 7 Sstem ;7Sstem ;107 Sstem ;"7 ;107 ;"7 iSeries7 !Series7 Series7 ;Series7 eSer+er7 ;</M7 ;<S7 i:<S7 S<3"07S<3"07 S<4007 AS<4007 S<3"0 Parallel Enter!rise Ser+er7 P%er/M7 P%er Architect&re7 P#ER6=7P#ER67 P#ER:=7 P#ER:7 P#ER7 !enP%er7 P%erP7 ,atchPi!es7 ,ladeenter7 SstemStrage7 GP>S7 HAMP7 RE5A8*7 D,2 nnect7 RA>7 Red(s7 S<27 Parallel Ss!le7 M/S<ESA7 A8?78ntelligent Miner7 #e(S!here7 *et$init7 5i+li and 8n$rmi are trademars r registered trademars $ 8,Mr!ratin.

in& is the registered trademar $ in&s 5r+alds in the 9.S. and ther c&ntries.

 Ad(e7 the Ad(e lg7 Acr(at7 PstScri!t7 and Reader are either trademars r registered trademars $ Ad(e Sstems 8ncr!rated in the 9nited States and<r ther c&ntries.

racle is a registered trademar $ racle r!ratin.

9*8?7 ?<!en7 S><17 and Mti$ are registered trademars $ the !en Gr&!.

itri7 8A7 Prgram *eigh(rhd7 Meta>rame7 #in>rame7 /ide>rame7 and M&lti#in are trademars rregistered trademars $ itri Sstems7 8nc.

H5M7 ?M7 ?H5M and #3 are trademars r registered trademars $ #3@7 #rld #ide #e(nsrti&m7 Massach&setts 8nstit&te $ 5echnlg.

a+a is a registered trademar $ S&n Micrsstems7 8nc.

a+aScri!t is a registered trademar $ S&n Micrsstems7 8nc.7 &sed &nder license $r technlg in+entedand im!lemented ( *etsca!e.

SAP7 R<37 SAP *et#ea+er7 D&et7 PartnerEdge7 ,Design7 lear Enter!rise7 SAP ,&siness(Bects E!lrer7and ther SAP !rd&cts and ser+ices mentined herein as %ell as their res!ecti+e lgs are trademars rregistered trademars $ SAP AG in German and ther c&ntries.

,&siness (Bects and the ,&siness (Bects lg7 ,&siness(Bects7 rstal Re!rts7 rstal Decisins7 #e(8ntelligence7 ?celsi&s7 and ther ,&siness (Bects !rd&cts and ser+ices mentined herein as %ell as theirres!ecti+e lgs are trademars r registered trademars $ SAP >rance in the 9nited States and in therc&ntries.

 All ther !rd&ct and ser+ice names mentined are the trademars $ their res!ecti+e cm!anies. Data

cntained in this dc&ment ser+es in$rmatinal !&r!ses nl. *atinal !rd&ct s!eci$icatins ma +ar.

5hese materials are s&(Bect t change %ith&t ntice. 5hese materials are !r+ided ( SAP AG and itsa$$iliated cm!anies CSAP Gr&! $r in$rmatinal !&r!ses nl7 %ith&t re!resentatin r %arrant $an ind7 and SAP Gr&! shall nt (e lia(le $r errrs r missins %ith res!ect t the materials. 5he nl%arranties $r SAP Gr&! !rd&cts and ser+ices are thse that are set $rth in the e!ress %arrantstatements accm!aning s&ch !rd&cts and ser+ices7 i$ an. *thing herein sh&ld (e cnstr&ed ascnstit&ting an additinal %arrant.

SAP AG Page 3 $ 46

Page 4: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 4/46

SAP Best Practices H% t De+el! P#ER ists

Icons

Icon Meaning

a&tin

Eam!le

*te r 5i!

Recmmendatin

Snta

Typographic Conventions

Type Style Description

Example text  #rds r characters that a!!ear n the screen. 5hese incl&de $ieldnames7 screen titles7 !&sh(&ttns as %ell as men& names7 !aths and!tins.

rss-re$erences t ther dc&mentatin.

Example text Em!hasi;ed %rds r !hrases in (d tet7 titles $ gra!hics and ta(les.

E?AMPE 5E?5 *ames $ elements in the sstem. 5hese incl&de re!rt names7

!rgram names7 transactin cdes7 ta(le names7 and indi+id&al e%rds $ a !rgramming lang&age7 %hen s&rr&nded ( (d tet7 $ream!le7 SEE5 and 8*9DE.

Example text Screen &t!&t. 5his incl&des $ile and directr names and their !aths7messages7 s&rce cde7 names $ +aria(les and !arameters as %ell asnames $ installatin7 &!grade and data(ase tls.

EXAMPLE TEXT )es n the e(ard7 $r eam!le7 $&nctin es Cs&ch as F2 r theENTER e.

Example text Eact &ser entr. 5hese are %rds r characters that & enter in thesstem eactl as the a!!ear in the dc&mentatin.

 <Example text>  /aria(le &ser entr. Pinted (racets indicate that & re!lace these%rds and characters %ith a!!r!riate entries.

 

SAP AG Page 4 $ 46

Page 5: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 5/46

SAP Best Practices H% t De+el! P#ER ists

Contents

1 P&r!se........................................................................................................................................ 6

2 PrereF&isites................................................................................................................................ 6

3 De+el!ment $ %n P#ER ists................................................................................... .......... 6

3.1 ,asic nce!t $ P#ER ists............................................................................................ 6

3.2 P#ER ist Design..............................................................................................................

3.3 P#ER ist 8m!lementatin.................................................................................................

3.3.1 reating a ne% P#ER ist...........................................................................................

3.3.2 Maintenance $ the >eeder lass methds...................................................... ............10

3.3.3 Register a P#ER ist and mae it +isi(le..................................................................12

3.3.4 reate a I&er $r a P#ER ist................................................................................14

3.3.: nnecting a P#ER ist t a Rle............................................................................ 13.3.6 Adding 5ransactins t Rle and De$ining ,* $r P#s.........................................1

3.3. P#ER ist ache and 9ser de$ined F&eries..............................................................1"

3.3. Pre-de$ined P#ER ists ........................................................................................... 20

3.4 Ad+anced techniF&es $r P#ER ist im!r+ement....................................................... ...20

4 Descri!tin $ the >eeder 8nter$ace............................................................................................21

4.1 Descri!tin $ the >eeder 8nter$ace 8>JP#J>EEDER....................................................21

4.1.1 Methd GE5JA58*S................................................................................................21

4.1.2 Methd GE5JA58*J*>...................................................................................... 24

4.1.3 Methd GE5JSEJR85ER8A......................................................................................2:

4.1.4 Methd GE5J>8EDJA5AG............................................................................. .....2"

4.1.: Methd GE5J,E5JDE>8*858*........................................................................... 3:

4.1.6 Methd GE5J,E5S............................................................................................... 36

4.1. Methd GE5JDE5A8JMP..................................................................................... .3

4.1. Methd HA*DEJA58*...........................................................................................40

SAP AG Page : $ 46

Page 6: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 6/46

SAP Best Practices H% t De+el! P#ER ists

How to Develop POWER Lists

1 Prpose5his g&ide descri(es the technical (acgr&nd as %ell as the cnce!t $ P#ER ists. 8n themain !art7 the de+el!ment $ %n P#ER ist is e!lained.

! Prere"isitesReF&ired A&thri;atins $r de+el!ment7 rle management and maintenance $ crss client+ie%s.

# Develop$ent o% own POWER Lists

#&1 'asic Concept o% POWER Lists

5he P#ER ist is (asicall a $rame%r that can list (&siness (Bects and all%s s!eci$icacti+ities Cactins (ased n these (&siness (Bects.

5he central idea is that all !r!erties $ a P#ER ist Cthe %hle sc!e descri(ed inH#J5J9SE can (e s!eci$ied +ia ne central7 standardi;ed class Cthe s called feeder class.5his %a an eas t handle th&gh !%er$&l tl is !r+ided t mdi$ !re-de$ined P#ER istsres!ecti+el de+el! %n nes.

The (ee)er Class

5he $eeder class cmm&nicates %ith the data(ase selecting s!eci$ic data7 $r%ards the data t a

P#ER istKs internal cache and re$reshes the P#ER ist n the &serKs client n demand.Mre+er the $eeder class incl&des the handling $ actins initiated ( the &ser %hile !ressing a(&ttn.

Em(edded int a %ell de$ined $rame%r the $eeder class is the central and mst im!rtant !lace%hile de+el!ing r mdi$ing P#ER ists. 5here$re de+el!ing an %n P#ER ist in!rinci!le means de+el!ing an %n $eeder.

,e$re %e can g int details n the $eeder class and its s!eci$ic methds7 anther as!ect $P#ER ists m&st (e mentined' the role dependency .

SAP AG Page 6 $ 46

POWER List(ra$ewor*

(ee)er Class

'ac*en)

Data+asePOWER List Cache

Page 7: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 7/46

SAP Best Practices H% t De+el! P#ER ists

Role Depen)ency

 As the cnnectin (et%een the &ser and the P#ER ists is dne +ia the rles7 it is !ssi(le tarrange se+eral di$$erent P#ER ists $rm SAP and<r Partners int ne r se+eral rles. 5herles are the access !int t all the P#ER ists in the sstem. #hile ece!tins ma a!!l7 inmst cases7 P#ER ists are la&nched as Lhme!ages %ithin the can+as area $ the SAP*et#ea+er ,&siness lient %hile ha+ing the na+igatin !anel n the le$t side.

>rm a technical !int $ +ie% a s called APP8D Ca!!licatin identi$ier determines7 %hichP#ER ist CP# A!!licatin %ill (e called. 5here$re the assignment $ APP8Ds t a!artic&lar rle determines %hich P#ER ist %ill (e a+aila(le $r the rle.

,eneath de+el!ment $ an %n $eeder the creatin $ a ne% P#ER ist reF&ires the de$initinand assignment $ an APP8D and assignment t a!!r!riate rles as %ell.

#&! POWER List Design

,e$re starting de+el!ing a $eeder Cand a ne% P#ER ists7 !lease als nte the $ll%ingas!ect $ the %hle cnce!t.

De+el!ing a P#ER ists des nt mean t de+el! sme $eeder cding7 nl. De+el!ing thecding is ne tas $ a seF&ence & need t d.

5he mst im!rtant ste! t highlight is the design !hase. ,e a%are that a gd design &!$rntcan nt nl s!eed &! the !rcess $ de+el!ing the cding (&t als t increase the e$$icienc $the $inal P#ER ist and the %a the &ser can %r %ith it.

>r a gd design & sh&ld at least ha+e a dra$t a+aila(le $r'

5he data & %ant t select. Mst cmmn F&estins' #here can 8 $ind the dataN#hat are the data t!esN #hich $&nctin md&les can (e &sedN D 8 need tde+el! %n $&nctin md&lesN

5he selectin criteria & %ant t $$er. Mst cmmn F&estins' #hich selectinmaes sense $r the &serN Are there !er$rmance im!acts t (e cnsideredN

5he (&ttns & %ant t incl&de. Mst cmmn F&estins' #hat are the actinsN,&ttn namesN an 8 &se $&nctin md&lesN #ill the (&ttns la&nchtransactinsN

SAP AG Page $ 46

,PPLID

POWER List(ra$ewor*

(ee)er Class

'ac*en)

Data+asePOWER List Cache

Page 8: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 8/46

SAP Best Practices H% t De+el! P#ER ists

Detailed cm!nent. Mst cmmn F&estins' D 8 need the detailedcm!nentN #hich data d 8 need t sh% &! in the detailed +ie%N

 A$ter de+el!ing the cding7 & als need t test &r P#ER ist. Mae s&re7 es!eciall $rthe !re-de$ined setting & might add t &r $eeder7 that & are testing in a real en+irnment7nt nl %ith real data7 (&t als %ith a &ser %hich desnKt hld SAPJA r similar a&thri;atin.

#&# POWER List I$ple$entationSAP shi!s !re-de$ined P#ER ists %ith the ne% Enhancement Pacages $r SAP ERP. 5heselists can (e &sed as tem!lates t de$ine ther P#ER ists7 r t slightl mdi$ them. Ac&stmer c&ld als &se them directl %ith&t mdi$icatin. H%e+er7 this needs t (e checed ine+er case7 as the (&siness (Bects in the sstem $r s&re de!end n the c&stmi;ing settings $the c&stmer. 8n sme cases7 a !re-de$ined P#ER ist cannt (e &sed as it is7 (eca&se $these c&stmer s!eci$ic settings and needs t (e adB&sted.

8n all cases7 SAP recmmends t c! the !re-de$ined P#ER ists int c&stmer names!aceCO r Q t a+id cn$licts in later sstem &!grades.

>r s&re7 als SAP Partners can !re-de$ine P#ER ists $r their c&stmers. 5he can le+erage$rm the SAP P%er ists r the can de+el! cm!letel ne% P#ER ists $rm scratch.

#&#&1 Creating a new POWER List

-se

#e %ill create a ne% $eeder +ia the Class Builder . H%e+er instead $ de+el!ing a ne% class$rm the scratch %e %ill &se the !re-de$ined inter$ace 8>JP#J>EEDER and mdi$ thecntained methds a$ter%ards.

Proce)re

1. Access the transactin chsing ne $ the $ll%ing na+igatin !tins'

S,P ERP $en Tools→  ABAP Workbench→ Development  → Class

Builder 

Transaction co)e SE24

2. n the Class Builder: nitial !creen7 mae the $ll%ing entries'

(iel) na$e -ser action an) vales

"b#ect Type S!eci$ the name $ &r ne% $eeder &sing the !re$i LZ r LY t ens&re &r

$eeder is de+el!ed in the c&stmer names!ace

3. hse Create.

4. 8n the dialg ( "b#ect Type lea+e the $ields $ame and the de$a&lt !tin Class as the areand chse Enter .

:. n the Create Class screen !r+ide an a!!r!riate descri!tin $r &r P#ER ist.

(iel) na$e -ser action an) vales

Description  A!!r!riate Descri!tin $r the ne% P#ER ist

SAP AG Page $ 46

Page 9: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 9/46

Page 10: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 10/46

SAP Best Practices H% t De+el! P#ER ists

3. hse Copy Class(nterface )CT*&+,-..

4. 8n the dialg ( Copy  !r+ide an a!!r!riate name $r the target $eeder class.

(iel) na$e -ser action an) vales

Copy to e.g. Z_MM_POWL_VENDOR_LIST

:. hse Continue )Enter..

 At this !int & ha+e created a 1'1-c! $ the $eeder class $r 'endors. Q& c&ld acti+ate thec!ied class ( chsing Activate Ctrl=>3 and !rceed %ith Register a P#ER ist and maeit +isi(le.

#&#&! Maintenance o% the (ee)er Class $etho)s

 A$ter creatin $ a ne% $eeder class Cdescri(ed in reating a ne% P#ER ist all necessarmethds $ the class are a+aila(le and can (e im!lemented. 8$ & ha+e B&st created a ne% classand are still n the screen Class Builder: Chan%e Class & can !rceed %ith s!eci$ing the cde

$r the methds reF&ired C4. ther%ise &se transactin SE24 t mdi$ the ne%l created $eeder.

1. Access the transactin ( chsing ne $ the $ll%ing na+igatin !tins'

S,P ERP $en Tools→  ABAP Workbench→ Development  → Class

Builder 

Transaction co)e SE24

2. n the Class Builder: nitial !creen7 mae the $ll%ing entries'

(iel) na$e -ser action an) vales

"b#ect Type S!eci$ the name $ the $eeder & %ant t mdi$.

3. hse Chan%e.

4. n the screen Class Builder: Chan%e Class chse ta( /ethods. 8$ & enter a methd +iad&(le-clic7 a ne% %ind% %ill !en &!. 8n this %ind%7 the methd s!eci$ic cding taes

!lace. Please see the !AP $etWeaver01elp on ABAP Workbench: Tools → Class Builder  $r

a general descri!tin h% t mae de+el!ments %ith the class (&ilder.

:. Acti+ate the $eeder class res!. the changes. 9se the Activate (&ttn r 5R=>3 $r this!&r!se.

*t all methds !r+ided ( the P#ER ist inter$ace need t (e &sed $rm the start there aremandatr methds and !tinal nes. Q& can start de+el!ing a sim!le $eeder7 %hich nl

sh%s (&siness (Bects. >rm there7 & can then im!r+e &r $eeder ste! ( ste!.

5he mandatr ste!s t tae t de+el! a sim!le $eeder are'

De$ine a data cntainer CMethd LGE5J,E5JDE>8*858*5his methd is &sed t de$ine the cntainer Ce.g. s!eci$ $ield t!es %here theselected data gets stred. aching and ther mechanisms $ the P#ER iststechnlg %ill (e handled a&tmaticall in the (acgr&nd (ased n thesesettings. S there is n need t e!licitl tae care n things lie caching dataand s n. Csee details and eam!le $r Methd GE5J,E5JDE>8*858* 

SAP AG Page 10 $ 46

Page 11: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 11/46

SAP Best Practices H% t De+el! P#ER ists

Retrie+e data $rm the (acend sstem CMethd LGE5J,E5SHere & need t de$ine the data retrie+al itsel$. 5his can (e either a +er sim!ledata(ase select Ce.g. select $rm ; r a cm!le selectin %here & &seeisting SAP $&nctin md&les r &r %n cding Csee details and eam!le $rMethd GE5J,E5S .

#ith maintaining nl these t% methds %ith cding7 a $eeder %ith minimal $&nctinalit is

a+aila(le. Since there is n de$a&lt F&er de$ined et7 the res&lting P#ER ist %ill (e mre rless &n&sa(le. H%e+er7 i$ & %ant t test the $eeder at this stage7 & can register the P#ERist as descri(ed in Registering a P#ER ist and mae it +isi(le and enhance it ste! ( ste!.

5he $ll%ing additinal methds are !art $ the standard $eeder inter$ace'

De$ine selectin criteria CMethd LGE5JSEJR85ER8A#ith this methd & can de$ine7 %hich selectin criteria is +isi(le and selecta(le( the &ser. Eam!le' Q& ha+e a P#ER ist sh%ing (illing dc&ments. Q&c&ld $$er the selectin criteria L(illing date s that the &ser can later retrie+ethe data directl the %a he searches $r it. Csee details and eam!le $r MethdGE5JSEJR85ER8A.

De$ine the $ield catalg CMethd GE5J>8EDJA5AGCsee details and eam!le $r Methd GE5J>8EDJA5AG

De$ine (&ttns and their actins CMethds LGE5JA58*S TLHA*DEJA58*, maintaining the t% methds GE5JA58*S and HA*DEJA58*7 &ha+e a h&ge +ariet $ !tins t im!r+e the P#ER ists signi$icantl. >irst& need t de$ine the (&ttns %ith name7 inde and mre CGE5 A58*S.Secnd & need t de$ine the actins %hich sh&ld (e initiated i$ the &ser!resses s&ch a (&ttn. 5he actin can sim!l (e la&nching a transactin and$r%arding the (&siness (Bect !arameters t it. r it c&ld (e &sed t sim!li$ a%hle !rcess ( &sing the (&ttns t call se+eral $&nctin md&les in aseF&ence a&tmating the !rcess in the (acgr&nd (ased n the selected

itemCs in the P#ER ist. Csee details and eam!le $r Methd GE5JA58*Sand HA*DEJA58*

De$ine a cn$irmatin dialg ( CMethd LGE5JA58*J*>9sing this methd all%s & t thr% a dialg ( %ith sme in$rmatin lie acn$irmatin. 5hin $ a (&siness (Bect & can delete +ia a (&ttn in theP#ER list. A cn$irmatin dialg ( c&ld as %hether the &ser is s&re tdelete this (Bect Csee details and eam!le $r Methd GE5JA58*J*>.

Ena(le the detail cm!nent $eat&re CMethd LGE5JDE5A8JMP5his methd can (e &sed in case & %ant t sh% a detailed +ie% $ a s!eci$ic(&siness (Bect (el% the P#ER ist. 5his c&ld (e hel!$&l i$ & ha+e largedata sets %here a hri;ntal scrlling is t time cns&ming r nt F&ite &sa(le.8n this case7 the detailed cm!nent $$ers a gd alternati+e as it !r+ides a

detailed +ie% area (el% the list7 %here & can sh% all the di$$erent $ields%ith&t the need $ hri;ntal scrlling. Csee details and eam!le $r MethdGE5JDE5A8JMP

 *t all $ the methds descri(ed a(+e need t (e maintained t get a %ringP#ER ist. H%e+er7 it is im!rtant t ntice that nne $ the standard feedermethods m&st (e deleted7 e+en i$ the are em!t. Mre+er & ha+e t ens&re thatall standard feeder methods are acti+ated (e$re the P#ER ist can (e &sed.ther%ise a shrt d&m! is liel t cc&r d&ring eec&tin.

SAP AG Page 11 $ 46

Page 12: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 12/46

SAP Best Practices H% t De+el! P#ER ists

#&#&# Register a POWER List an) $a*e it visi+le

 A$ter a $eeder is de+el!ed7 it needs t (e made +isi(le t the rles. ,asicall7 this means %eneed t register the $eeder &nder a s!eci$ic APP8D7 de$ine a P#ER ist t!e and intrd&ce itt the rles.

Creating an ,PPLID %or the POWER List

-se

>irst $ all7 & need t s!eci$ the s-called APP8D CA!!licatin 8D. 5his 8D %ill later (e &sed inthe rle t s!eci$ the target C&r $eeder %hich %ill then (e sh%n as P#ER ist hme!age inthe SAP *et#ea+er ,&siness lient. 5he APP8D is mre r less B&st a name t s!eci$.

Proce)re

1. Access the transactin chsing the $ll%ing na+igatin !tin'

Transaction co)e >P,JMA8*5A8*JH8ER

2. n the Display 'ie2 3Personali4ation 1ierarchy5: "vervie2  screen7 chse Display U-VChan%e Ctrl = >1.

3. 8n the dialg ( Caution Table is cross client6 chse "7 .

4. >rm the men& (ar chse $e2 Entries8

:. 8n the grid Personali4ation 1ierarchy 7 mae the $ll%ing entr'

(iel) na$e -ser action an) vales

Personali4ation Application

S!eci$ an APP8D $r the P#ER A!!licatin

Text  S!eci$ an a!!r!riate descri!tin.

6. hse !ave.

. S!eci$ a trans!rt rder in the &!cming dialg.

Speci%ying the POWER List Type

 As net ste!7 & need t s!eci$ the P#ER ist t!e. #e ha+e seen that a P#ER ist!r+ides 1 t n t!es $ (Bect t!es a &ser can select $rm. At this !int it (ecmes clear that thet!es are eactl the $eeders %e can de+el!. 8n ther %rds7 %e need t de$ine &r $eeder as!ssi(le P#ER ist t!e.

C>eeder lass m&st (e acti+ated

Proce)re

1. Access the transactin chsing the $ll%ing na+igatin !tin'

Transaction co)e P#J5QPE

2. 8n the dialg ( Caution Table is cross client6 chse "7 .

3. >rm the men& (ar chse $e2 Entries8

SAP AG Page 12 $ 46

Page 13: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 13/46

SAP Best Practices H% t De+el! P#ER ists

4. n the 'ie2: Type Definition screen7 mae the $ll%ing entr'

(iel) na$e -ser action an) vales

 Type S!eci$ an a!!r!riate name as >eeder 5!e. C9se the in!&t hel!7 nl i$& %ant t &se r change an eisting assignment ther%ise insert aname $ the t!e t (e created.

Description S!eci$ an a!!r!riate descri!tin

,eeder Class hse the $eeder class +ia in!&t hel!.

  A ne% $eeder %nKt (e a+aila(le in the dialg ( &ntil it is acti+ated.

!ync8 Call  5his chec( can (e set t en$rce snchrn&s F&er re$reshes.

$o /s%8Wrappin% 

>r P#ER ists a s-called /essa%e Wrappin%  taes !lace ( de$a&lt.5hat is7 in case $ errrs d&ring P#ER ist eec&tin7 the 98 des ntsh% the sstem-generated messages. 8nstead7 the errr messages areW%ra!!ed &!W int a generic ne7 %hich is mre meaning$&l t the end-&ser.>r de(&gging !&r!ses7 h%e+er7 it might (e &se$&l t disa(le thismessage %ra!!ing mechanism ( &sing this $lag.

:. hse !ave.

6. S!eci$ a trans!rt rder in the &!cming dialg.

Role assign$ent %or the POWER List Type

>inall7 %e cnnect the APP8D %ith the t!e and mae it +isi(le t the rle. 8n detail this meansthat 8 can n% select m APP8D in a rle item.

Proce)re

1. Access the transactin chsing the $ll%ing na+igatin !tin'

Transaction co)e P#J5QPER

2. >rm the men& (ar chse $e2 Entries8

3. n the $e2 Entries: Details of Added Entries screen7 mae the $ll%ing entr'

(iel) na$e -ser action an) vales

 Application hse APP8D de$ined in >P,JMA8*5A8*JH8ER +ia in!&t hel!

*ole !tinal $ield s!eci$ nl i$ a rle de!endent ma!!ing is reF&ired

Type hse the P#ER ist 5!e de$ined in P#J5QPE +ia in!&t hel!

4. hse !ave.

:. S!eci$ a trans!rt rder in the &!cming dialg.

8t might (e &se$&l t chec the ma!!ings that ha+e (een made s $ar. 5est a P#ER ist +iaSAP Men& descri(es an eas %a t test the ne%l created P#ER ist &sing the >a+rites$ SAP Men&. ,asicall the P#ER ist sh&ld %r at this !int h%e+er7 it %ill (e em!t7since there is n de$a&lt F&er de$ined et.

SAP AG Page 13 $ 46

Page 14: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 14/46

SAP Best Practices H% t De+el! P#ER ists

#&#&/ Create a 0ery %or a POWER List

De%ine the 0ery

-se

De$a&lt F&eries are de$ined &sing the transactin LP#JI9ERQ. Here & can de$ine a F&erCI9ERQ8D and cnnect it t a P#ER ists t!e. >inall7 & can set &! the F&er.

Proce)re

1. Access the transactin chsing the $ll%ing na+igatin !tin'

Transaction co)e P#JI9ERQ

2. >rm the men& (ar chse $e2 Entries8

3. n the /aintain Table 'ie2s: nitial screen7 mae the $ll%ing entr'

(iel) na$e -ser action an) vales

9uery D Pr+ide an a!!r!riate 8denti$ier $r the I&er

Description S!eci$ a descri!tin $r the I&er

Type hse the P#ER ist 5!e +ia in!&t hel!

!ync8 Call  5his chec( can (e set t en$rce snchrn&s F&er re$reshes. 8n casethe $lag is set7 the !tin a!!lies t all F&eries cnnected t the t!e andthen +errides the setting $r the F&er itsel$ 

&ayout  De$a&lt A/ a&t +ie% C!tinal

4. hse !ave.

:. S!eci$ a trans!rt rder in the &!cming dialg (es.

6. At this !int7 t% additinal (&ttns L9uery Parameters and L9uery !ettin%s sh&ld (ea+aila(le in the men& (ar Cin case the are nt re$resh the screen ( &sing the Back  (&ttnC>3 $rm the men& t lea+e the screen and re-enter it ( d&(le clicing n the ne%lcreated I&er 8D.

*% & can maintain the F&er !arameters and the F&er settings

,&ttn LI&er ParametersHere & can set the !arameters the same %a as & %&ld d it as a &ser creating ane% F&er. H%e+er7 the di$$erence here is that this setting is a+aila(le sstem-%ide andis there$re a+aila(le t e+er &ser. De$ine &r settings7 !ress the Check  (&ttn $ll%ed

( the Accept  (&ttn.CGE5JSER85ER8A s!eci$ies the !arameters a+aila(le. 8$ the methd is em!t7 there%ill (e n !arameters $r selectin.

,&ttn 9uery !ettin%s8n the &!cming %ind%7 & can s!eci$ se+eral attri(&tes ma!!ed t each singleselectin criteria.

SAP AG Page 14 $ 46

Page 15: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 15/46

SAP Best Practices H% t De+el! P#ER ists

Please ens&re that all standard feeder methods are acti+ated (e$re &&se the (&ttns Ces!. GE5JSER85ER8A. E+en th&gh the methds mightremain em!t7 the m&st (e im!lemented and acti+ated. ther%ise a shrtd&m!is liel t cc&r7

. hse !ave and s!eci$ a trans!rt rder in the &!cming dialgs (es.

Role assign$ent %or the 0ery Type

 As %ith the t!e7 the F&er needs t (e intrd&ced t the rles. 5here$re the APP8D and theI9ERQ8D get ma!!ed t each ther.

Proce)re

1. Access the transactin chsing the $ll%ing na+igatin !tin'

Transaction co)e P#JI9ERQR

2. >rm the men& (ar chse $e2 Entries8

3. n the $e2 Entries: Details of Added Entries screen7 mae the $ll%ing entr'

(iel) na$e -ser action an) vales

 Application hse APP8D de$ined in >P,JMA8*5A8*JH8ER +ia in!&t hel!

*ole !tinal $ield s!eci$ nl i$ a rle de!endent ma!!ing is reF&ired

9uery D hse the I&er 8D +ia in!&t hel!

Cate%ory  ategr Ccategr assignment $r lin matri mde & can assignde$a&lt categries t the P#s. 5he categries are meant t str&ct&rese+eral F&eries $r a P#ER ist in a lin matri. 5his dis!la mde can(e chsen d&ring !ersnali;atin in the SAP *et#ea+er ,&siness lientC*#,. 5he &ser can als create his %n categries in *#,. >r mre

in$rmatin see als the dc&mentatin 1o2 to ;se P"WE* &ists nthis D/D.

Cate%oryse<uence no

SeF&ence n&m(er $r P# F&er categr. Q& de$ine here theseF&ence $ the categries in the lin matri mde.

9uery se<uenceno

SeF&ence n $r a F&er $r lin matri mde. 8$ se+eral de$a&lt F&eriesha+e (een designed & can de$ine here the seF&ence $ theira!!earance in *#,.

Tab se<uenceno

SeF&ence n&m(er $r a F&er $r ta( stri! mde. E+er F&er is dis!laedas se!arate ta( !age in the *#, i$ the ta( stri! mde in the!ersnali;atin has (een chsen. Q& de$ine here the seF&ence $ theira!!earance.

 Activate >lag' F&er is acti+ated i$ &nset7 the &ser has t acti+ate it in the *#,&siness lient d&ring ist de$initin

4. hse !ave.

:. S!eci$ a trans!rt rder in the &!cming dialg.

Q&r P#ER ist sh&ld n% cme &! %ith a !rede$ined F&er.

SAP AG Page 1: $ 46

Page 16: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 16/46

SAP Best Practices H% t De+el! P#ER ists

#&#&/&1 Test a POWER List via S,P Men

,e$re a ne%l created P#ER ist is cnnected t the rles and the 98 $ the*et#ea+er ,&siness lient7 there is an eas %a t test the P#ER ist +ia the>a+rites $lder $ the SAP Men& $ the (ac-end sstem.

Prere"isites

Ens&re that the #e( Dn!r ser+ice is acti+ated. *rmall the acti+atin sh&ld ha+e (een dned&ring sstem set&! $r &sing the $etWeaver Business Client .

Per$rm the $ll%ing ste!s in case the ser+ice is inacti+e'

1. Access the transactin chsing the $ll%ing na+igatin !tin'

Transaction co)e S8>

2. n the /aintain !ervice screen lea+e the de$a&lt +al&es as the are and chse Execute),=..

3. 8n the 'irtual 1osts( !ervices tree cntrl lcate the nde sap(bc(2ebdynpro. Right clic nthe nde and chse Activate !ervice $rm the cntet men&.

Proce)re

1. *a+igate t the initial screen $ the SAP Eas Access Men&.

2. hse ,avorites -V Add other ob#ects in the men&.

3. hse Web Dynpro  Application $rm the &!cming dialg ( list.

4. n the Web Dynpro Application s&(screen7 mae the $ll%ing entries.

(iel) na$e -ser action an) vales Web Dynpro

 Applicat8

POWL

Description S!eci$ a descri!tin $r the >a+rite

Protocol  ea+e the chec( H55PS &ncheced. 8n the SAP *et#ea+er ,&sinesslient C*#, 7 & can de$ine %hich !rtcl is &sed. 8n case & maean settings here7 these %ill (e +er%ritten ( the settings in the *#,.

!tart /ode ea+e !tin Bro2ser 

Parameter    APPLID

 ,e s&re t select the !arameter +ia in!&t hel!.

'alue S!eci$ the APP8D de$ined $r the P#ER ist t test.

:. hse "7 .

Reslt

, d&(le-clic n the created $a+rite7 the s!eci$ied P#ER ist %ill (e dis!laed in a se!arate,r%ser %ind%. 5his %a the (asic $&nctinalities $ a ne% de+el!ment can (e tested

SAP AG Page 16 $ 46

Page 17: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 17/46

SAP Best Practices H% t De+el! P#ER ists

inde!endentl $rm the *et#ea+er ,&siness lient. Es!eciall the crrectness $ t!e ma!!ingand the standard F&er can (e checed in an eas %a.

>r a cm!lete $&nctinalit test h%e+er it is recmmended t mae the P#ER ista+aila(le in the ,&siness lient and test it %ith di$$erent &sers and rles. 9sing the SAP

men&7 ,* na+igatin cannt (e tested an%a7 since the target transactins m&st (es!eci$ied $r the s!eci$ic rles.

#&#& Connecting a POWER List to a Role

Prere"isites

Ens&re that the #e( Dn!r ser+ice is acti+ated. *rmall the acti+atin sh&ld ha+e (een dned&ring sstem set&! $r &sing the $etWeaver Business Client . Please &se transactin S8> incase the ser+ice is inacti+e Cas descri(ed in 5est a P#ER ist +ia SAP Men&.

Proce)re1. Access the transactin chsing ne $ the $ll%ing na+igatin !tins'

S,P ERP $en Tools→  Administration→ ;ser /aintenance → *ole

 Administration → *oles

Transaction co)e P>G

2. n the *ole /aintenance screen mae the $ll%ing entr'

(iel) na$e -ser action an) vales

 *ole S!eci$ the rle t (e maintained

3. hse Chan%e.

4. n the screen Chan%e *ole na+igate t ta( /enu.

:. *a+igate t the s!eci$ic $lder %ithin the rle men&.

6. hse "thers.

. hse entr Web Dynpro Application n the &!cming s&(screen Add additional ob#ects.

. n the Web Dynpro Application s&(screen7 mae the $ll%ing entries.

(iel) na$e -ser action an) vales

 Web Dynpro Applicat8

8nsert POWL

Description S!eci$ a descri!tin $r the >a+rite

Protocol  ea+e chec( H55PS &ncheced. 8n the SAP *et#ea+er ,&sinesslient C*#, 7 & can de$ine %hich !rtcl is &sed. 8n case & maean settings here7 these %ill (e +er%ritten ( the settings in the *#,.

!tart /ode ea+e !tin Bro2ser 

Parameter    APPLID

SAP AG Page 1 $ 46

Page 18: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 18/46

SAP Best Practices H% t De+el! P#ER ists

,e s&re t select the !arameter +ia in!&t hel!.

'alue S!eci$ the APP8D de$ined $r the P#ER ist t (e assigned

". hse "7 .

8$ the entr  Additional Details is nt +isi(le !lease chec nte "::2:.

10. hse !ave.

, de$a&lt7 a P#ER ist is nt re$reshed a&tmaticall %ithin the SAP *et#ea+er,&siness lient. 8$ a res&lt list cntains a lt $ entries7 !er$rmance iss&es macc&r. And i$ the cntent $ the dis!laed sets desnWt change +er $ten ana&tmatic re$resh is nt necessar.H%e+er7 in case an a&tmatic re$resh is reF&ired7 then it can (e achie+ed (

!r+iding an additinal !arameter *E,*E!19 $r the res!ecti+e P#. Please!rceed as descri(ed a(+e C and add !arameter *E,*E!19 in the !arametersectin $ the !!-&!' the +al&e sh&ld (e set t >?3 . C%ith&t the F&tes.

Reslt

5he P#ER ist is a+aila(le as ne% nde in the rle men& and can (e tested +ia Execute $rmthe cntet men& Cright clic.

Please remem(er t maintain a!!r!riate A&thri;atins $r the ne% entr as it is descri(ed in theg&ide 7-@1o2touideE$DE8doc .

8n case the P#ER ist $eeder &ses ,*-na+igatin Cmethd HA*DEJA58*and is s&!!sed t call a target transactin7 it is necessar t add it n the /enu ta(C(&ttn 5ransactins $ the Chan%e *ole screen. Here it it als !ssi(le t assignthe ,&siness (Bects-methd t the s!eci$ic transactin and t ma! the ,&siness(Bect-!arameters.

#&#&2 ,))ing Transactions to Role an) De%ining O'3 %orPOWLs

Proce)re

1. Access the transactin chsing ne $ the $ll%ing na+igatin !tins'

S,P ERP $en Tools→  Administration→ ;ser /aintenance → *ole Administration → *oles

Transaction co)e P>G

2. n the *ole /aintenance screen mae the $ll%ing entr'

(iel) na$e -ser action an) vales

 *ole S!eci$ the rle t (e maintained

SAP AG Page 1 $ 46

Page 19: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 19/46

SAP Best Practices H% t De+el! P#ER ists

3. hse Chan%e.

4. n the screen Chan%e *ole na+igate t ta( /enu.

:. *a+igate t the s!eci$ic $lder %ithin the rle men&.

6. hse .

. 8n the &!cming dialg ( Assi%n Transactions mae the $ll%ing entr'

(iel) na$e -ser action an) vales

 Transaction 5arget transactin t (e called

. hse Assi%n transactions.

". Right clic n the ne%l created entr and chse Details for $etWeaver Business Client ) r Additional Details $r SAP ERP EhP3 $rm the ntet Men&.

10. 8n the &!cming dialg ( Additional Details mae the $ll%ing entries'

(iel) na$e -ser action an) vales

Description  A!!r!riate descri!tin

nvisible hec nvisible and lea+e all ther chec(es &ncheced.

11. hse nsert /ethod  in gr&! ,&siness (Bect.

12. 8n the &!cming dialg ( !elect /ethod  mae the $ll%ing entries'

(iel) na$e -ser action an) vales

"b#8 Type Select the "b#ect Type t (e &sed $r ,*-na+igatin. 5hat is the (Bects!eci$ied in methd HA*DEJA58* $ the $eeder class.

/ethod  Select the ,&siness (Bect-methd t (e &sed $r ,*-na+igatin. 5hat isthe methd s!eci$ied in methd HA*DEJA58* $ the $eeder class

Please see Eam!le $r methd HA*DEJA58* $r details.

13. hse Enter .

14. 8n the &!cming dialg ( Parameter /appin%  mae the $ll%ing entries'

hse nsert Parameter  and s!eci$ the !arameter ma!!ing.

(iel) na$e -ser action an) vales

Transaction Screen $ield $ the transactin Ccan (e $&nd &t e.g. +ia >1Hel! in thetransactin screen.

'alue hse the !arameter t (e ma!!ed t screen $ield +ia in!&t hel!.

1:. Re!eat this actin $r each !arameter t (e ma!!ed.

16. n$irm all !en dialg (es %ith Enter .

1. hse !ave.

#&#&4 POWER List Cache an) -ser )e%ine) "eries

 As descri(ed in the dc&ment 7-1o2to;seuideE$DE8doc 7 the F&eries $ a P#ERist selectin are stred tem!raril in a s!ecial cache. D&ring the de+el!ment !hase $ ne%P#ER ist it might (e &se$&l t re$resh the cache7 es!eciall %hen the P#ER ist lgic r the

SAP AG Page 1" $ 46

Page 20: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 20/46

SAP Best Practices H% t De+el! P#ER ists

&nderling F&er has (een changed. Smetimes it might (e desired t delete all &ser de$inedF&eries.

>r this !&r!se the $ll%ing re!rts are !r+ided7 %hich can (e eec&ted +ia transactin SE3.

POWL5WLO,D6 re%resh POWL cache when changing POWERLIST logic )ring asession

POWL5D716 )elete all "eries per appli) an) ser 

POWL5WLO,D6 )e%ine re%resh interval %or cache) "eries8 set %lag 9Discard old

cached results

#&#&: Pre;)e%ine) POWER Lists

 As descri(ed earlier in 3.3.1 Creating a ne% P#ER ist7 it might (e hel!$&l t &se alreadeisting P#ER ists as (asis $r creating ne% nes.

8n rder t get an +er+ie% $ all P#ER ists a+aila(le in the sstem7 & can &se the Data,r%ser Ctransactin SE16 and sh% all entries $ ta(le P#J5QPE set an a!!r!riate +al&e$r /aximum $o8 of  1its C&se *&m(er $ Entries (e$rehand.

5he easiest %a t get a sim!le list %&ld (e t etract the res&lt list +ia Edit0Do2nload  int areF&ired $ile $rmat7 e.g. an Ecel S!readsheet. A$ter%ards it might (e re%red accrding t &rneeds.

#&/ ,)vance) techni"es %or POWER List i$prove$ent

#hile in the !re+i&s cha!ters the (asic ste!s $r de+el!ment $ P#ER ist ha+e (eendescri(ed7 there are additinal techniF&es $r enhancement res!. im!r+ement.

Dyna$ic Selection Criteria>r Date $ields it is !ssi(le t set dnamic +al&es $r selectin e.g. 5da =<- *&m(er $DasDetailed in$rmatin n this $&nctinalit is gi+en in dc&ment1o2ToDevelopand;seDynamic'ariables8pdf8als a+aila(le in the ena(lement it $r*#, /1.30.

<isi+le Col$ns availa+le to application at rnti$e5his is a !er$rmance enhancement $eat&re. 5he $rame%r !r+ides the latest list $+isi(le cl&mns t the a!!licatins at r&n time and the a!!licatins in t&rn c&ld d aselecti+e $etch (ased n this in$. >r detailed in$rmatin n this $&nctinalit !leasere$er t dc&ment 1o2To*eadonlyvisiblefieldsinP"W&8pdfals a+aila(le in theena(lement it $r *#, /1.30.

Re$ote ,PI Ena+le$ent o% POWLP# $rame%r !r+ides a set $ AP8Ws that ena(les &sage and cnslidatin $ $eedersin di$$erent remte sstems. Detailed in$rmatin n this $&nctinalit is gi+en indc&ment 1o2ToDevelop*emoteP"W&8pdf  als a+aila(le in the ena(lement it $r*#, /1.30.

SAP AG Page 20 $ 46

Page 21: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 21/46

SAP Best Practices H% t De+el! P#ER ists

/ Description o% the (ee)er Inter%ace

/&1 Description o% the (ee)er Inter%ace

I(5POWL5(EEDER

/&1&1 Metho) =ET5,CTIO3S

Prpose

Define buttons and their actins CMethds LGE5JA58*S T LHA*DEJA58"*, maintaining the t% methds GE5JA58*S and HA*DEJA58*7 & ha+e a h&ge+ariet $ !tins t im!r+e the P#ER ists signi$icantl. >irst & need t de$ine the (&ttns%ith name7 inde and mre CGE5 A58*S. Secnd & need t de$ine the actins %hichsh&ld (e initiated i$ the &ser !resses s&ch a (&ttn. 5he actin can sim!l (e la&nching atransactin and $r%arding the (&siness (Bect !arameters t it. r it c&ld (e &sed t sim!li$ a%hle !rcess ( &sing the (&ttns t call se+eral $&nctin md&les in a seF&ence a&tmating

the !rcess in the (acgr&nd (ased n the selected itemCs in the P#ER ist.

Para$eters

I$porting

8J9SER*AME the user ID the current portal user is mapped to

8JAPP8D A!!licatin 8D identi$ing the c&rrent P# 8+ie%

8J5QPE the POWL type ID as registered

8JSER85JPARA c&rrent selectin criteria assignments

8JA*G9 ang&age )e

E.porting

EJA58*SJHA*GED In case none of the action definitions supplied to the Feeder via

C_ACTION_DEFS had to be changed, you can leave this flag unset.

Otherwise, you have to set it to 'X' (set if uncertain)

Changing

JA58*JDE>S Supplies the current explicit action definitions for the query to the Feeder.

>r each actin t (e de$ined a recrd has t (e added t ta(le JA58*JDE>S. 5he $ll%ingta(le descri(es the str&ct&re and meaning $ s&ch a recrd.

(iel) na$e Description

 ACT"$D  A!!r!riate identi$ier $r the actin %hich can (ere$erenced t in Methd HA*DEJA58*

CA*D$A&T   Actin de!endenc $rm selectin cardinalitS  At least ne (Bect has t (e selected I  8gnre

selectin Ci.e. actin is al%as acti+e

P&ACE/E$T  Placement  5l(ar CC  ntet men& Xnt s&!!rted etY

E$AB&ED >lag' actin ena(led< disa(led

SAP AG Page 21 $ 46

Page 22: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 22/46

SAP Best Practices H% t De+el! P#ER ists

(iel) na$e Description

P&ACE/E$T$D?  8nde $ !lacement

/AE!";*CE  Path t an actin icn

TE?T   Actin descri!tin tet Ce.g. (&ttn tet

T""&TP   Actin tlti!

 ADD!EPA*AT"*  >lag t add a se!eratr a$ter the actin item

 ACTC1"CE!  Actin hice

>r la(els r hel! tets it is recmmended t de$ine tet elements Clang&agede!endenc instead $ &sing static literals.

 E.a$ple5he $ll%ing eam!le sh%s the GE5JA58*S methd $ standard $eeder class<)Q)<JP#J/E*DR. 5hree actin (&ttns are added t the tl(ar.

METHOD IF_POWL_FEEDER~GET_ACTIONS.

  DATA:  lstru_actio_!"# T$PE %o&l_act!"scr_st'(  lta)_actio_!"# T$PE %o&l_act!"scr_tt'.

  DATA:  lr"#_*'_)a!i T$PE REF TO )a!i_#""!"r_+"!or(  l_)&co"ct"! T$PE ,#la-.

  FIELDS$M/OLS:  0actio_!"#1 T$PE %o&l_act!"scr_st'.

2 i# #irst call a!! actio !"#iitios  IF c_actio_!"#s IS INITIAL.

2 !is%la' %art"r #uctios  lstru_actio_!"#actioi! 3 4DISPLA$4.  lstru_actio_!"#car!ialit' 3 c_#""!"r_actio_s"l_r"5.  lstru_actio_!"#%lac"*"t 3 c_#""!"r_actio_tool)ar.  lstru_actio_!"#"a)l"! 3 c_tru".

  lstru_actio_!"#%lac"*"ti!, 3 6.  lstru_actio_!"#t",t 3 t",t776.  lstru_actio_!"#a!!_s"%arator 3 484.  INSERT lstru_actio_!"# INTO TA/LE lta)_actio_!"#.

2 r"lat"! i#o r"cor!s  lstru_actio_!"#actioi! 3 4INFOREC4.  lstru_actio_!"#car!ialit' 3 c_#""!"r_actio_s"l_r"5.  lstru_actio_!"#%lac"*"t 3 c_#""!"r_actio_tool)ar.  lstru_actio_!"#"a)l"! 3 c_tru".

SAP AG Page 22 $ 46

Page 23: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 23/46

Page 24: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 24/46

SAP Best Practices H% t De+el! P#ER ists

/&1&! Metho) =ET5,CTIO35CO3(

Prpose

De$ine a cn$irmatin dialg ( CMethd LGE5JA58*J*>9sing this methd all%s & t thr% a dialg ( %ith sme in$rmatin lie a cn$irmatin.5hin $ a (&siness (Bect & can delete +ia a (&ttn in the P#ER list. A cn$irmatin dialg( c&ld as %hether the &ser is s&re t delete this (Bect. 5he cn$irmatin chice %ill (ea+aila(le in methd HA*DEJA58* +ia im!rt !arameter 8JA58*J*>.

Para$eters

I$porting

8J9SER*AME the user ID the current portal user is mapped to

8JAPP8D A!!licatin 8D identi$ing the c&rrent P# 8+ie%

8J5QPE the POWL type ID as registered

8JA58*8D Actin identi$ier Cde$ined in methd GE5JA58*S

8JRES95J5A, the current query results Cadhering t GE5J,E5JDE>8*858*

8JSEE5ED the table line indices of the query results currently selected (i.e. marked) by the

user

8JHA*GED only relevant for editable query results table-- change information on those

query results changed by the user since most recent enabling of POWL "dirty"

state (c.f. HANDLE_ACTION for details)

8JA58*J8*DE? result table line index for cell-based actions

8JA*G9 Language Key

E.porting

EJ*>JMESSAGE the confirmation message to be displayed before actual execution of the actionidentified by I_ACTIONID

 E.a$ple

5he $ll%ing eam!le eem!laril sh%s a sim!le message t (e sh%n (e$re (Bect deletin.5he actin m&st (e de$ined in GE5JA58*S.

*"t<o! IF_POWL_FEEDER~GET_ACTION_CONF.

!ata: l_t"st LI?E LINE OF E_CONF_MESSAGE.

CASE i_actioi!.

  WHEN DELETE.  l_t"st 3 R"all' !"l"t" s"l"ct"! li"s.  Is"rt l_t"st ito ta)l" "_co#_*"ssa-".

WHEN OTHERS.  R"tur.

SAP AG Page 24 $ 46

Page 25: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 25/46

SAP Best Practices H% t De+el! P#ER ists

/&1&# Metho) =ET5SEL5CRITERI,

Prpose

#ith this methd & can de$ine %hich selectin criteria are +isi(le and selecta(le ( the &ser.Eam!le' Q& ha+e a P#ER ist sh%ing (illing dc&ments. Q& c&ld $$er the selectincriteria L(illing date s that the &ser can later retrie+e the data directl the %a he searches $r it.

Para$eters

I$porting

8J9SER*AME the user ID the current portal user is mapped to

8JAPP8D A!!licatin 8D identi$ing the c&rrent P# 8+ie%

8J5QPE the POWL type ID as registered

8JA*G9 ang&age )e

E.porting

EJSER85JDE>SJHA*GED If none of the selection criteria definitions supplied to the Feeder via

C_SELCRIT_DEFS had to be changed, you can leave this flag unset.

Otherwise, you have to set it to 'X'. (set if uncertain)

EJDE>A95J/AJHA*GED If none of the selection criteria default values supplied to the Feeder via

C_DEFAULT_VALUES had to be changed, you can leave this f lag unset.

Otherwise, you have to set it to 'X'. (set if uncertain)

Changing

JSER85JDE>S Selection criteria meta description. Supplies the current selection criteria

definitions to the Feeder. Note that selection criteria definitions are cached on

database upon query refresh

JDE>A95J/A9ES Default values for selection criteria. Supplies the current selection criteria

default values to the Feeder. Note that selection criteria default values are

cached on database upon each query refresh.

>r each selectin criterin a recrd has t (e added t ta(le JSER85JDE>S in rder ts!eci$ the 98-!r!erties $ the res!ecti+e $ield. 5he $ll%ing ta(le descri(es the str&ct&re andmeaning $ s&ch a recrd.

(iel) na$e Description

!E&$A/E  8D $ the selectin criterin

7$D S!eci$ies7 i$ the criterin all%s single r m&lti +al&e range. All%ed +al&es are P and S. P stands $r Parameter and

de$ines a single +al&e in!&t7 S stands $r Select !tin and

!r+ides a m&lti +al&e in!&t res!. inter+als.

PA*A/TPE  Dis!la t!e $r sim!le !arametersI  8n!&t $ield7 C   hec(7 D  dr!d%n list7 T -

tetline

!E&"PTTPE  riteria t!e $r select !tins Cin case )8*D Z S

 A  - Select-!tin %ith inter+al and m&lti-selectin7 I -

Select-!tin %ith&t m&ltiselect M  - Select-!tin %ith&t

SAP AG Page 2: $ 46

Page 26: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 26/46

SAP Best Practices H% t De+el! P#ER ists

(iel) na$e Description

inter+al

 A&&"WAD/$C1A$E  5his $lag can (e set t all% the change $ !r!ertiesMA*DA5RQ7 READJ*Q and H8DDE*7 man&allC5ransactin P#JI9ERQ. ther%ise the settings

s!eci$ied in the cding cannt (e +erridden.

/A$DAT"*  >lag t set the $ield mandatr in the 98' !  $lag is set7

em!t means &nset.

*EAD"$&  >lag t set the $ield readnl in the 98' !  $lag is set7

em!t means &nset.

1DDE$ >lag t set the $ield hidden in the 98' !  $lag is set7 em!t

means &nset.

9;C7!EA*C1C*T  5his $lag determines i$ the criterin %ill (e a+aila(le asI&ic Search criterin' !  $lag is set7 em!t means &nset.

DATATPE  Datat!e *ame

*E,TAB&E  *ame $ the DD8 re$erence

*E,,E&D *ame $ the s!eci$ic $ield in the re$erence ta(le.

";TP;T&E$  &t!&t length

C*TTE?T  >ield la(el $ the criterin

T""&TP  5lti! $r the criterin

1EADE*   Additinal headline $r the criterin. 8$ n header iss!eci$ied the criterin %ill (e gr&!ed &nder the sameheader as the !receding criterin.

"'!1A$D&E*$A/E  /S handler class $r %n in!&t hel! Cm&st im!lement

inter$ace 8>JP#J/S. an (e mitted i$ standard is&sed.

'A&D'A&;E! , s!eci$ing this !arameter a +alidatin chec $r thein!&t can (e de$ined. 5he &nderling t!eP#J*AME/A9EJ55Q reF&ires data in $rm $)e</al&e !airs.

DDC!1&P  *ame $ the DD8 search hel!. an (e mitted in casethe de$a&lt hel! is t (e &sed.

DEC/A&! Decimals $r selcrits

5he eam!le (el% sh%s eem!laril h% the ta(le JSER85JDE>S is t (e &sed in this

methd.

>r la(els r hel! tets lie R855E?57 558P etc. it is recmmended t de$inetet elements Clang&age de!endenc instead $ &sing static literals.

SAP AG Page 26 $ 46

Page 27: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 27/46

SAP Best Practices H% t De+el! P#ER ists

8n this methd it is als !ssi(le t de$ine de$a&lt +al&es $r the selectin criteria Cr $r a s&(set$ them. 5he de$a&lt +al&es ha+e t (e added t ta(le JDE>A95J/A9ES a relatin(et%een the +al&e and the crres!nding criterin is esta(lished +ia $ield SE*AME.

(iel) na$e Description

!E&$A/E  8D $ the selectin criterin

7$D S!eci$ies7 i$ the criterin all%s single r m&lti +al&e range. All%d +al&es areP and S. P stands $r Parameter and de$ines a single

+al&e in!&t7 S stands $r Select !tin and !r+ides a m&lti +al&e in!&t

res!. inter+als

!$  Sign (e$re a criterin

I  incl&de +al&es7 E  ecl&de +al&es

"PT"$  Selectin !tin

E"  eF&al7 #E  greater r eF&al7 #T  greater 7 LE  less r eF&al7

LT- less7 NE  nt eF&al

&"W  # +al&e

11  H8GH +al&e

 E.a$ple

5he $ll%ing eam!le sh%s the GE5JSEJR85ER8A methd $ standard $eeder class<)Q)<JMMJP#J/E*DRJ8S5. 5he t% selectin criteria /endrK and P&rchasingrgani;atinK are de$ined as 8n!&t $ields C!aramJt!e Z 8 %ith&t m&ltiselect Csel!tJt!e Z 8.riterin SJ8>*R C/endr &ses re$erence $ield LIFNR  Acc&nt *&m(er  $ ta(le LFA6 C/endrMaster criterin S_E?ORG CP&rchasing rgani;atin &ses re$erence $ield E?ORG P&rchasingrgani;atin $ ta(le T79E CP&rchasing rgani;atins

METHOD i#_%o&l_#""!"r~-"t_s"l_crit"ria.

2 !"#i" s"l"ctio crit"ria a+aila)l" #or t<is #""!"r2 i t<is cas" corr"s%o!i- to r"%ort ERPSLS_C=STOMERS2 #ill %ri+at" o)J"ct attri)ut MT_SELCRITERIA K MT_CRITERIA_DEFA=LT

  DATA: ls_s"lcrit T$PE %o&l_s"lcrit_st'(  ls_crit"ria_!"#ault T$PE rs%ara*s.

  IF *t_s"lcrit"ria IS INITIAL.2 LFA6LIFNR  CLEAR ls_s"lcrit.  ls_s"lcrits"la*" 3 4S_LIFNR4.  ls_s"lcriti! 3 4S4. @ s"l"ct o%tio

  ls_s"lcrit%ara*_t'%" 3 4I4. @ i%ut #i"l!  ls_s"lcrits"lo%t_t'%" 3 4I4. @M K I @ S"l"cto%tio &it< it"r+al a! *ultis"l"ctio  ls_s"lcrit5uics"arc<_crit 3 484.  ls_s"lcrit!atat'%" 3 4LIFNR4.  ls_s"lcritr"#_ta)l" 3 4LFA64.  ls_s"lcritr"#_#i"l! 3 4LIFNR4.  ls_s"lcrit!!ic_s<l% 3 4?RED_C4.  ls_s"lcritallo&_a!*i_c<a-" 3 484.  APPEND ls_s"lcrit TO *t_s"lcrit"ria.

2

SAP AG Page 2 $ 46

Page 28: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 28/46

SAP Best Practices H% t De+el! P#ER ists

2 RF79?E?ORG2   CLEAR ls_s"lcrit.  ls_s"lcrits"la*" 3 4S_E?ORG4.  ls_s"lcriti! 3 4S4. @ s"l"ct o%tio  ls_s"lcrit%ara*_t'%" 3 4I4. @ i%ut #i"l!  ls_s"lcrits"lo%t_t'%" 3 4I4. @A( M K I @ S"l"cto%tio &it< it"r+al a! *ultis"l"ctio

  ls_s"lcrit5uics"arc<_crit 3 484.  ls_s"lcritr"#_ta)l" 3 4T79E4.  ls_s"lcritr"#_#i"l! 3 4E?ORG4.  ls_s"lcrit!!ic_s<l% 3 4H_T79E4.  ls_s"lcritallo&_a!*i_c<a-" 3 484.  APPEND ls_s"lcrit TO *t_s"lcrit"ria.

  "_s"lcrit_!"#s_c<a-"! 3 484.  "_!"#ault_+al_c<a-"! 3 484.  c_s"lcrit_!"#s 3 *t_s"lcrit"ria.  c_!"#ault_+alu"s 3 *t_crit"ria_!"#ault.  ELSE.

  c_s"lcrit_!"#s 3 *t_s"lcrit"ria.

  c_!"#ault_+alu"s 3 *t_crit"ria_!"#ault.  "_s"lcrit_!"#s_c<a-"! 3 484.

  ENDIF.

  CLEAR c_!"#ault_+alu"s.

ENDMETHOD.

Parameters *t_s"lcrit"ria  and *t_crit"ria_!"#ault  are de$ined in the !ri+ate sectin $ the class'

%ri+at" s"ctio.

  t'%"s:  /EGIN OF t'_ls_+"!or(  /=?RS T$PE /=?RS(  SPERR T$PE SPER/_/(  LOE>M T$PE LOE>M_/(  TERM T$PE DTERM.INCL=DE T$PE '+_l#a6*6. T$PES END OF t'_ls_+"!or .  t'%"s:  t'_lt_+"!or T$PE STANDARD TA/LE OF t'_ls_+"!or .  t'%"s:  /EGIN OF t'_ls_s"lta)( si- T$PE c<ar6( o%tio T$PE c<ar9(

 lo& T$PE c<ar7( <i-< T$PE c<ar7(END OF t'_ls_s"lta) .  t'%"s:  t'_lt_s"lta) T$PE STANDARD TA/LE OF t'_ls_s"lta) .

  costats GC_ACTION_DISPLA$ t'%" POWL_ACTIONID_T$ +alu" 4AN4. @EC NOTE8T  costats GC_ACTION_EDIT t'%" POWL_ACTIONID_T$ +alu" 4AEN4. @EC NOTE8T  costats GC_ACTION_CREATE t'%" POWL_ACTIONID_T$ +alu" 4ANL4. @EC NOTE8T  costats GC_ACTION_CREATE_REF t'%" POWL_ACTIONID_T$ +alu" 4REF4. @EC NOTE8T

SAP AG Page 2 $ 46

Page 29: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 29/46

SAP Best Practices H% t De+el! P#ER ists

costats GC_ACTION_E8TEND t'%" POWL_ACTIONID_T$ +alu" 4E8T4. @EC NOTE8T  costats GC_ACTION_DELETE t'%" POWL_ACTIONID_T$ +alu" 4DEL4. @EC NOTE8T  !ata MT_ACTIONS t'%" POWL_ACTDESCR_TT$ .  !ata MT_SELCRITERIA t'%" POWL_SELCRIT_TT$ .  !ata MT_FIELDCAT t'%" POWL_FIELDCAT_TT$ .  !ata MT_CRITERIA_DEFA=LT t'%" RSPARAMS_TT .

!ata MT_RES=LT t'%" T$_LT_>ENDOR .

/&1&/ Metho) =ET5(IELD5C,T,LO=

Prpose

This method describes the field catalog to be used for query results table and the UI properties of

the particular fields.

Para$eters

I$porting

8J9SER*AME the user ID the current portal user is mapped to

8JAPP8D A!!licatin 8D identi$ing the c&rrent P# 8+ie%

8J5QPE the POWL type ID as registered

8JA*G9 ang&age )e

8JSER85J/A9ES the selection criteria values of the current query

E.porting

EJ>8EDA5JHA*GED Flag: catalog in C_FIELDCAT changed (set if uncertain)

EJ/8S8,EJSJ9*5 number of concurrently visible table columns

EJ/8S8,EJR#SJ9*5 number of concurrently visible table rows

Changing

J>8EDA5 supplies the current field catalog to the Feeder.

Each entry in the field catalog is a reference to one column of the actual (internal) query results

table as delivered by GET_OBJECTS and defines the rendering of this column. The set of

available columns is defined by GET_OBJECT_DEFINITION. Note that each internal results

column not referenced by a field catalog entry will be rendered as text view per default.

There are passive cell renderers (as text views, input fields or checkboxes) and active ones

(button and link to action). If the user clicks on a table cell with active cell renderer, this will trigger

a call of HANDLE_ACTION, supplying the column ID as action ID. Such actions are defined as

"implicit actions". (Therefore, the column IDs in the field catalog and the action IDs receivable by

HANDLE_ACTION have the same domain).

Note that the field catalog is cached on database upon each queryrefresh. exporting

E_FIELDCAT_CHANGED: if none of the field catalog entries supplied to the Feeder via

C_FIELDCAT had to be changed, you can leave this flag unset. Otherwise, you have to set it to

'X'.

Parameter J>8EDA5 determines the cell renderer $r each &tta( cl&mn. 5he $ll%ing ta(ledescri(es the !r!erties that can (e set +ia J>8EDA5. >r se+eral $ the !r!erties sh%n(el%7 there are t% di$$erent %as t s!eci$ their (eha+ir' either a static +al&e is !r+ided7

SAP AG Page 2" $ 46

Page 30: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 30/46

SAP Best Practices H% t De+el! P#ER ists

%hich a!!lies $r the %hle cl&mn7 r a re$erence t a di$$erent cl&mn Cnrmall a technicalcl&mn is s!eci$ied in the latter case the (eha+ir $ the s!eci$ic cell is determined ( the cell-+al&e $ the crres!nding re$erence cl&mn Ce.g. 5E?5 as static tet and 5E?5JRE> asre$erence t di$$erent cl&mn.

(iel) na$e Description

C"&D 9niF&e re$erence t the cl&mn Cde$ined in methdGE5J,E5JDE>8*858*

C"&P"! Psitin $ the cl&mn %ithin the &t!&t grid

WDT1  &t!&t length $ the $ield

1EADE*  l&mn header tet

1EADE*BDDC  9se header tet $rm DD8

D!P&ATPE  Dis!la stle $r the cl&mnTV   tet+ie% IM   image CK  chec( DK - dr!d%n

( e IN - in!&t $ield L$ - lin t &rl LA  - lin t actin

T  (&ttn PI - !rgress indicatr 

1A&$  &t!&t B&sti$icatinL- e$t C  enter R   Right

,?ED The fixed columns will always be displayed in the ALV

(even if you reduce the number of displayed columns in

the layout settings; this restricts only the unfixed columns).

The ALV builds a block with the fixed and one with the

unfixed columns (the fixed columns will always be shown

as first in the table).

TE?T  Static 5et

TE?T*E,  &tta( cl&mn re$erence determining tet

EDTAB&E  >lag t set the cl&mn edita(le

EDTAB&E*E,  &tta( cl&mn re$erence determining cell edita(ilit

W*APP$ 5et %ra!!ing is ena(led

W*APP$*E,  &tta( cl&mn re$erence determining tet&al %ra!!ing

C"$!*C  S&rce $r icn dis!la

C"$!*C*E,  &tta( cl&mn re$erence determining icn s&rce

C"$,*!T  8cn !sitining

C"$,*!T*E,  &tta( cl&mn re$erence $r icn !sitining

CB"?C1EC7  hec( state

CB"?C1EC7*E,  &tta( cl&mn re$erence determining chec( state

C"&'!B&E  &tta( cl&mn is +isi(le

TEC1$CA&C"& >lag t s!eci$ the cl&mn as a technical cl&mn. 5hecl&mn is in+isi(le (&t in cntrast t a hiddenK cl&mn it isnt a+aila(le +ia &ser settings.

E$AB&ED >lag t ena(le the cl&mn

SAP AG Page 30 $ 46

Page 31: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 31/46

SAP Best Practices H% t De+el! P#ER ists

(iel) na$e Description

E$AB&ED*E,  &tta( cl&mn re$erence determining ena(led stat&s

T""&TP  5lti! 5et

T""&TP*E,  &tta( cl&mn re$erence determining tlti!

 A&&"W,&TE*  &tta( cl&mn can (e &sed as $ilter 

 A&&"W!"*T  Srt is all%ed $r the &tta( cl&mn

C9 5!e $ IJRE> $ieldC  c&rrenc7 "  I&antit

C9*E,  &tta( cl&mn re$erence $r c&rrenc<F&antit

!"*T*E,  &tta( cl&mn re$erence determining srt rder inde

,&TE**E,  &tta( cl&mn re$erence cntaining $ilter +al&e

"'!1A$D&E*$A/E  /S handler class $r %n in!&t hel! Cm&st im!lementinter$ace 8>JP#J/S. an (e mitted i$ standard is&sed.

'A&D'A&;E! , s!eci$ing this !arameter a +alidatin chec $r thein!&t can (e de$ined. 5he &nderling t!eP#J*AME/A9EJ55Q reF&ires data in $rm $)e</al&e !airs

DDC!1&P  *ame $ the DD8 search hel!. an (e mitted in casethe de$a&lt hel! is t (e &sed

P*"*PE*CE$T  Percentage $ !rgress indicatr 

P*"*PE*CE$T*E,  &tta( cl&mn re$erence determining !rgress !ercentage

C"&"*  Semantic cl&mn clr % t &'

C"&"**E,  &tta( cl&mn re$erence $r cell clr 

!ET$;&& >lag t set cell +al&e t n&ll

!ET$;&&*E,  &tta( cl&mn re$erence $r setting cell +al&e t n&ll

 E.a$ple

5he $ll%ing eam!le sh%s the GE5J>8EDJA5AG methd $ standard $eeder class<)Q)<JMMJP#J/E*DRJ8S5. l&mn MA*D5 Client is de$ined as a hidden cl&mnCclJ+isi(le Z K d&ring r&ntime it %ill (e a+aila(le in the Setting-dialg $ the P#ER ist %ithinthe 98.

METHOD i#_%o&l_#""!"r~-"t_#i"l!_catalo-.

2 !"#i" #i"l! catalo- corr"s%o!i- to MT_RES=LT 2 COLID 3 corr"s%o!i- #i"l! i MT_RES=LT structur" t'%" !"#iitio 2 s"" *"t<o! 4-"t_o)J"ct_!"#iitio42 4REF4attri)ut"s t<" sa*" .....

  DATA: ls_#i"l!cat T$PE %o&l_#i"l!cat_st'(  ls_!#i"s T$PE !#i"s(  ls_#cat T$PE l+c_s_#cat(

SAP AG Page 31 $ 46

Page 32: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 32/46

SAP Best Practices H% t De+el! P#ER ists

l_s"5r T$PE it.

  DEFINE a!!_col%os.  a!! 6 to l_s"5r.  ls_#i"l!catcol%os 3 l_s"5r.  ENDOFDEFINITION.

  CASE i_t'%" .  WHEN 4?$?_FI_>ENDOR_LIST_AP4.  WHEN 4?$?_FI_>ENDOR_LIST_MM4.  WHEN OTHERS.  ENDCASE.

  IF *t_#i"l!cat IS INITIAL.

2 6. MANDT  CLEAR ls_#i"l!cat.  ls_#i"l!catcoli! 3 4MANDT4.  a!!_col%os.  ls_#i"l!cat<"a!"r_)'_!!ic 3 484.  ls_#i"l!cat#i,"! 3 484.  ls_#i"l!cat<_ali- 3 4L4.

2 ls_#i"l!catallo&_sort 3 484.  ls_#i"l!catcol_+isi)l" 3 4 4.  ls_#i"l!cat"!ita)l" 3 4 4.  ls_#i"l!cat&i!t< 3 .  INSERT ls_#i"l!cat INTO TA/LE *t_#i"l!cat.

2 6. LIFNR  CLEAR ls_#i"l!cat.  ls_#i"l!catcoli! 3 4LIFNR4.  a!!_col%os.  ls_#i"l!cat<"a!"r_)'_!!ic 3 484.  ls_#i"l!cat#i,"! 3 484.  ls_#i"l!cat<_ali- 3 4L4.2 ls_#i"l!catallo&_sort 3 484.

  ls_#i"l!catcol_+isi)l" 3 484.  ls_#i"l!cat"!ita)l" 3 4 4.  ls_#i"l!cat&i!t< 3 .  INSERT ls_#i"l!cat INTO TA/LE *t_#i"l!cat.

2 9. E?ORG  CLEAR ls_#i"l!cat.  ls_#i"l!catcoli! 3 4E?ORG4.  a!!_col%os.  ls_#i"l!cat<"a!"r_)'_!!ic 3 484.  ls_#i"l!cat#i,"! 3 484.  ls_#i"l!cat<_ali- 3 4L4.2 ls_#i"l!catallo&_sort 3 484.  ls_#i"l!catcol_+isi)l" 3 484.  ls_#i"l!cat"!ita)l" 3 4 4.

  ls_#i"l!cat&i!t< 3 .  INSERT ls_#i"l!cat INTO TA/LE *t_#i"l!cat.

2 . NAME6  CLEAR ls_#i"l!cat.  ls_#i"l!catcoli! 3 4NAME64.  a!!_col%os.  ls_#i"l!cat<"a!"r_)'_!!ic 3 484.  ls_#i"l!cat#i,"! 3 484.  ls_#i"l!cat<_ali- 3 4L4.

SAP AG Page 32 $ 46

Page 33: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 33/46

SAP Best Practices H% t De+el! P#ER ists

ls_#i"l!catallo&_sort 3 484.  ls_#i"l!catcol_+isi)l" 3 484.  ls_#i"l!cat"!ita)l" 3 4 4.  ls_#i"l!cat&i!t< 3 67.  INSERT ls_#i"l!cat INTO TA/LE *t_#i"l!cat.

2 . LAND6

  CLEAR ls_#i"l!cat.  ls_#i"l!catcoli! 3 4LAND64.  a!!_col%os.  ls_#i"l!cat<"a!"r_)'_!!ic 3 484.  ls_#i"l!cat#i,"! 3 484.  ls_#i"l!cat<_ali- 3 4L4.  ls_#i"l!catallo&_sort 3 484.  ls_#i"l!catcol_+isi)l" 3 484.  ls_#i"l!cat"!ita)l" 3 4 4.  ls_#i"l!cat&i!t< 3 67.  INSERT ls_#i"l!cat INTO TA/LE *t_#i"l!cat.

2 . ORT76  CLEAR ls_#i"l!cat.  ls_#i"l!catcoli! 3 4ORT764.

  a!!_col%os.  ls_#i"l!cat<"a!"r_)'_!!ic 3 484.  ls_#i"l!cat#i,"! 3 484.  ls_#i"l!cat<_ali- 3 4L4.  ls_#i"l!catallo&_sort 3 484.  ls_#i"l!catcol_+isi)l" 3 484.  ls_#i"l!cat"!ita)l" 3 4 4.  ls_#i"l!cat&i!t< 3 .  INSERT ls_#i"l!cat INTO TA/LE *t_#i"l!cat.

2 Q. TELF6  CLEAR ls_#i"l!cat.  ls_#i"l!catcoli! 3 4TELF64.  a!!_col%os.

  ls_#i"l!cat<"a!"r_)'_!!ic 3 484.  ls_#i"l!cat#i,"! 3 484.  ls_#i"l!catallo&_sort 3 484.  ls_#i"l!catcol_+isi)l" 3 484.  ls_#i"l!cat"!ita)l" 3 4 4.  ls_#i"l!cat&i!t< 3 .  INSERT ls_#i"l!cat INTO TA/LE *t_#i"l!cat.

2 . MCOD6  CLEAR ls_#i"l!cat.  ls_#i"l!catcoli! 3 4MCOD64.  a!!_col%os.  ls_#i"l!cat<"a!"r_)'_!!ic 3 484.  ls_#i"l!cat#i,"! 3 484.  ls_#i"l!catallo&_sort 3 484.

  ls_#i"l!catcol_+isi)l" 3 484.  ls_#i"l!cat"!ita)l" 3 4 4.  ls_#i"l!cat&i!t< 3 7.  INSERT ls_#i"l!cat INTO TA/LE *t_#i"l!cat.

2 . INCO6  CLEAR ls_#i"l!cat.  ls_#i"l!catcoli! 3 4INCO64.  a!!_col%os.  ls_#i"l!cat<"a!"r_)'_!!ic 3 484.

SAP AG Page 33 $ 46

Page 34: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 34/46

SAP Best Practices H% t De+el! P#ER ists

ls_#i"l!cat#i,"! 3 4 4.  ls_#i"l!catallo&_sort 3 484.  ls_#i"l!catcol_+isi)l" 3 484.  ls_#i"l!cat"!ita)l" 3 4 4.  ls_#i"l!cat&i!t< 3 7.  INSERT ls_#i"l!cat INTO TA/LE *t_#i"l!cat.2

2 . >ER?F  CLEAR ls_#i"l!cat.  ls_#i"l!catcoli! 3 4>ER?F4.  a!!_col%os.  ls_#i"l!cat<"a!"r_)'_!!ic 3 484.  ls_#i"l!cat#i,"! 3 4 4.  ls_#i"l!catallo&_sort 3 484.  ls_#i"l!catcol_+isi)l" 3 484.  ls_#i"l!cat"!ita)l" 3 4 4.  ls_#i"l!cat&i!t< 3 .  INSERT ls_#i"l!cat INTO TA/LE *t_#i"l!cat.

  "_+isi)l"_cols_cout 3 66.  "_#i"l!cat_c<a-"! 3 484.  c_#i"l!cat 3 *t_#i"l!cat.

  ELSE.  c_#i"l!cat 3 *t_#i"l!cat.  ENDIF.22ENDMETHOD.

Parameter *t_#i"l!cat is de$ined in the !ri+ate sectin $ the class'

%ri+at" s"ctio.

  t'%"s:

  /EGIN OF t'_ls_+"!or(  /=?RS T$PE /=?RS(  SPERR T$PE SPER/_/(  LOE>M T$PE LOE>M_/(  TERM T$PE DTERM.INCL=DE T$PE '+_l#a6*6. T$PES END OF t'_ls_+"!or .  t'%"s:  t'_lt_+"!or T$PE STANDARD TA/LE OF t'_ls_+"!or .  t'%"s:  /EGIN OF t'_ls_s"lta)( si- T$PE c<ar6( o%tio T$PE c<ar9( lo& T$PE c<ar7( <i-< T$PE c<ar7(

END OF t'_ls_s"lta) .  t'%"s:  t'_lt_s"lta) T$PE STANDARD TA/LE OF t'_ls_s"lta) .

  costats GC_ACTION_DISPLA$ t'%" POWL_ACTIONID_T$ +alu" 4AN4. @EC NOTE8T  costats GC_ACTION_EDIT t'%" POWL_ACTIONID_T$ +alu" 4AEN4. @EC NOTE8T  costats GC_ACTION_CREATE t'%" POWL_ACTIONID_T$ +alu" 4ANL4. @EC NOTE8T  costats GC_ACTION_CREATE_REF t'%" POWL_ACTIONID_T$ +alu" 4REF4. @EC NOTE8T  costats GC_ACTION_E8TEND t'%" POWL_ACTIONID_T$ +alu" 4E8T4. @EC NOTE8T  costats GC_ACTION_DELETE t'%" POWL_ACTIONID_T$ +alu" 4DEL4. @EC NOTE8T

SAP AG Page 34 $ 46

Page 35: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 35/46

SAP Best Practices H% t De+el! P#ER ists

!ata MT_ACTIONS t'%" POWL_ACTDESCR_TT$ .  !ata MT_SELCRITERIA t'%" POWL_SELCRIT_TT$ .  !ata MT_FIELDCAT t'%" POWL_FIELDCAT_TT$ .  !ata MT_CRITERIA_DEFA=LT t'%" RSPARAMS_TT .

!ata MT_RES=LT t'%" T$_LT_>ENDOR .

/&1& Metho) =ET5O'>ECT5DE(I3ITIO3

PrposeDe$ine data cntainer CMethd LGE5J,E5JDE>8*858*5his methd is &sed t de$ine the cntainer Ce.g. s!eci$ $ield t!es %here the selected data getsstred. aching and ther mechanisms $ the P#ER ists technlg %ill (e handleda&tmaticall in the (acgr&nd (ased n these settings. S there is n need t e!licitl taecare n things lie caching data and s n.

Cde$ines the datat!e $ the act&al Cinternal F&er res&lts ta(le as t (e deli+ered (GE5J,E5S

Para$etersI$porting

8J5QPE the POWL type ID as registered

8JA*G9 ang&age )e

E.porting

EJ,E5JDE> The table type definition of the actual (internal) query results table as

instance of CL_ABAP_TABLEDESCR.

 E.a$ple

5he $ll%ing eam!le sh%s the GE5J,E5JDE>8*858* methd $ standard $eederclass <)Q)<JMMJP#J/E*DRJ8S5. Methd !"sci)"_)'_!ata $ classcl_a)a%_ta)l"!"sc   is an eas %a t assign the t!e de$initin t e!rt !arameterEJ,E5JDE>.

METHOD i#_%o&l_#""!"r~-"t_o)J"ct_!"#iitio.2 r"tur t<" ta)l" t'%" !"scri%tio #or t<" %ri+at" o)J"ct attri)ut" MT_RES=LT

  "_o)J"ct_!"# 3 cl_a)a%_ta)l"!"scr31!"scri)"_)'_!ata *t_r"sult .

ENDMETHOD.

Parameter *t_r"sult is de$ined in the !ri+ate sectin $ the class'

%ri+at" s"ctio.

  t'%"s:  /EGIN OF t'_ls_+"!or(  /=?RS T$PE /=?RS(  SPERR T$PE SPER/_/(

SAP AG Page 3: $ 46

Page 36: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 36/46

SAP Best Practices H% t De+el! P#ER ists

LOE>M T$PE LOE>M_/(  TERM T$PE DTERM.INCL=DE T$PE '+_l#a6*6. T$PES END OF t'_ls_+"!or .  t'%"s:  t'_lt_+"!or T$PE STANDARD TA/LE OF t'_ls_+"!or .  t'%"s:

  /EGIN OF t'_ls_s"lta)( si- T$PE c<ar6( o%tio T$PE c<ar9( lo& T$PE c<ar7( <i-< T$PE c<ar7(END OF t'_ls_s"lta) .  t'%"s:  t'_lt_s"lta) T$PE STANDARD TA/LE OF t'_ls_s"lta) .

  costats GC_ACTION_DISPLA$ t'%" POWL_ACTIONID_T$ +alu" 4AN4. @EC NOTE8T  costats GC_ACTION_EDIT t'%" POWL_ACTIONID_T$ +alu" 4AEN4. @EC NOTE8T  costats GC_ACTION_CREATE t'%" POWL_ACTIONID_T$ +alu" 4ANL4. @EC NOTE8T  costats GC_ACTION_CREATE_REF t'%" POWL_ACTIONID_T$ +alu" 4REF4. @EC NOTE8T  costats GC_ACTION_E8TEND t'%" POWL_ACTIONID_T$ +alu" 4E8T4. @EC NOTE8T  costats GC_ACTION_DELETE t'%" POWL_ACTIONID_T$ +alu" 4DEL4. @EC NOTE8T

  !ata MT_ACTIONS t'%" POWL_ACTDESCR_TT$ .  !ata MT_SELCRITERIA t'%" POWL_SELCRIT_TT$ .  !ata MT_FIELDCAT t'%" POWL_FIELDCAT_TT$ .  !ata MT_CRITERIA_DEFA=LT t'%" RSPARAMS_TT .

!ata MT_RES=LT t'%" T$_LT_>ENDOR .

/&1&2 Metho) =ET5O'>ECTS

PrposeRetrie+e data $rm the (acend sstem CMethd LGE5J,E5SHere & need t de$ine the data retrie+al itsel$. 5his can (e either a +er sim!le data(ase select

Ce.g. select $rm ; r a cm!le selectin %here & &se eisting SAP $&nctin md&les r&r %n cding.

CThis method is responsible for the actual query execution and delivery of the query results table

which must adhere to the type definition given by GET_OBJECT_DEFINITION

Para$eters

I$porting

8J9SER*AME the user ID the current portal user is mapped to

8JAPP8D A!!licatin 8D identi$ing the c&rrent P# 8+ie%

8J5QPE the POWL type ID as registered

8JA*G9 ang&age )e

8JSER85J/A9ES the selection criteria values of the current query

E.porting

EJRES95S the actual query results for the criteria values supplied to the Feeder via

I_SELCRIT_VALUES [selection result table (c.f

GET_OBJECT_DEFINITION)]

EJMESSAGES messages that occured during query execution/results determination and

SAP AG Page 36 $ 46

Page 37: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 37/46

SAP Best Practices H% t De+el! P#ER ists

are to be displayed to the user

 E.a$ple

5he $ll%ing eam!le sh%s the GE5J,E5S methd $ standard $eeder class<)Q)<JMMJP#J/E*DRJ8S5. 5he data retrie+al is !er$rmed +ia a SEE5-statementn ta(les <)Q)</J>A1M1 C/endr ist $r P&rchasing rganisatin and <)Q)</J>A1,1C/endr ist $r ma!an. Please nte h% the im!rt !arameter i_s"lcrit_+alu"s is &sed t(&ild lt_s"lta)_li#r  and lt_s"lta)_"or-  $r the #HERE-cla&se $ the selectin.

METHOD IF_POWL_FEEDER~GET_O/ECTS.

2 s"l"ct o)J"cts &it< crit"ria #ro* i_s"lcrit_+alu"s2 s"la*" &as !"#i"! i *"t<o! -"t_s"l_crit"ria

  DATA: lt_s"lcrit T$PE rs%ara*s_tt(  ls_s"lcrit T$PE rs%ara*s.

  DATA: ls_s"lta)_li#r T$PE t'_ls_s"lta)(  lt_s"lta)_li#r T$PE t'_lt_s"lta)(  ls_s"lta)_)urs T$PE t'_ls_s"lta)(  lt_s"lta)_)urs T$PE t'_lt_s"lta)(  ls_s"lta)_"or- T$PE t'_ls_s"lta)(  lt_s"lta)_"or- T$PE t'_lt_s"lta).

  DATA: lt_l#a6*6 T$PE t'_lt_+"!or(  lt_r"sult T$PE t'_lt_+"!or(  ls_r"sult T$PE t'_ls_+"!or.

  FIELDS$M/OLS: 0l#_l#a6*61 T$PE t'_ls_+"!or.

  LOOP AT i_s"lcrit_+alu"s INTO ls_s"lcrit.  CASE ls_s"lcrits"la*".  WHEN 4S_LIFNR4.  ls_s"lta)_li#rsi- 3 ls_s"lcritsi-. @4I4.  ls_s"lta)_li#ro%tio 3 ls_s"lcrito%tio. @4/T4.  ls_s"lta)_li#rlo& 3 ls_s"lcritlo&.  ls_s"lta)_li#r<i-< 3 ls_s"lcrit<i-<.  APPEND ls_s"lta)_li#r TO lt_s"lta)_li#r.  WHEN 4S_E?ORG4.  ls_s"lta)_"or-si- 3 ls_s"lcritsi-. @4I4.  ls_s"lta)_"or-o%tio 3 ls_s"lcrito%tio. @4/T4.  ls_s"lta)_"or-lo& 3 ls_s"lcritlo&.

  ls_s"lta)_"or-<i-< 3 ls_s"lcrit<i-<.  APPEND ls_s"lta)_"or- TO lt_s"lta)_"or-.  ENDCASE.  ENDLOOP.

  SELECT 2 FROM '+_l#a6*6 AS *6 INNER OIN '+_l#a6)6 AS )6 ON  *6~*a!t 3 )6~*a!t  AND *6~li#r 3 )6~li#r  INTO CORRESPONDING FIELDS OF TA/LE lt_l#a6*6 WHERE *6~li#r INlt_s"lta)_li#r

SAP AG Page 3 $ 46

Page 38: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 38/46

SAP Best Practices H% t De+el! P#ER ists

AND *6~"or- IN lt_s"lta)_"or-.

  LOOP AT lt_l#a6*6 ASSIGNING 0l#_l#a6*61.  MO>ECORRESPONDING 0l#_l#a6*61 TO ls_r"sult.  INSERT ls_r"sult INTO TA/LE *"1*t_r"sult.  ENDLOOP.

  "_r"sults 3 *"1*t_r"sult.

ENDMETHOD.

>ll%ing t!e de$initins are ass&med in the attri(&tes sectin $ the class'

%ri+at" s"ctio.

  t'%"s:  /EGIN OF t'_ls_+"!or(  /=?RS T$PE /=?RS(  SPERR T$PE SPER/_/(

  LOE>M T$PE LOE>M_/(  TERM T$PE DTERM.INCL=DE T$PE '+_l#a6*6. T$PES END OF t'_ls_+"!or .  t'%"s:  t'_lt_+"!or T$PE STANDARD TA/LE OF t'_ls_+"!or .  t'%"s:  /EGIN OF t'_ls_s"lta)( si- T$PE c<ar6( o%tio T$PE c<ar9( lo& T$PE c<ar7( <i-< T$PE c<ar7(END OF t'_ls_s"lta) .  t'%"s:  t'_lt_s"lta) T$PE STANDARD TA/LE OF t'_ls_s"lta) .

  costats GC_ACTION_DISPLA$ t'%" POWL_ACTIONID_T$ +alu" 4AN4. @EC NOTE8T  costats GC_ACTION_EDIT t'%" POWL_ACTIONID_T$ +alu" 4AEN4. @EC NOTE8T  costats GC_ACTION_CREATE t'%" POWL_ACTIONID_T$ +alu" 4ANL4. @EC NOTE8T  costats GC_ACTION_CREATE_REF t'%" POWL_ACTIONID_T$ +alu" 4REF4. @EC NOTE8T  costats GC_ACTION_E8TEND t'%" POWL_ACTIONID_T$ +alu" 4E8T4. @EC NOTE8T  costats GC_ACTION_DELETE t'%" POWL_ACTIONID_T$ +alu" 4DEL4. @EC NOTE8T  !ata MT_ACTIONS t'%" POWL_ACTDESCR_TT$ .  !ata MT_SELCRITERIA t'%" POWL_SELCRIT_TT$ .  !ata MT_FIELDCAT t'%" POWL_FIELDCAT_TT$ .  !ata MT_CRITERIA_DEFA=LT t'%" RSPARAMS_TT .

!ata MT_RES=LT t'%" T$_LT_>ENDOR .

/&1&4 Metho) =ET5DET,IL5COMP

PrposeEna(le the detail cm!nent $eat&re CMethd LGE5JDE5A8JMPK

5his methd can (e &sed in case & %ant t sh% a detailed +ie% $ a s!eci$ic (&siness (Bect(el% the P#ER ist. 5his c&ld (e hel!$&l i$ & ha+e large data sets %here a hri;ntalscrlling is t time cns&ming r nt F&ite &sa(le. 8n this case7 the detailed cm!nent $$ers a

SAP AG Page 3 $ 46

Page 39: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 39/46

Page 40: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 40/46

SAP Best Practices H% t De+el! P#ER ists

4. create &r Wc&stmW detail /ie%s C#D A,AP

:. insert &r +ie%s int the inter$ace %ind% WP#JDE5A8W

6. !ass the name $ the a(+e created #D cm!nent thr&gh &r $eeder class methdWGE5JDE5A8JMPW &sing the !arameter WEJDE5A8JMPW

Hint: as the POWL query data is cached it makes sense to have the detailed data also cached(synchronous) e.g. nested table structure in your POWL line data

/&1&: Metho) H,3DLE5,CTIO3

Prpose

De$ine (&ttns and their actins CMethds LGE5JA58*S T LHA*DEJA58*, maintaining the t% methds GE5JA58*S and HA*DEJA58*7 & ha+e a h&ge+ariet $ !tins t im!r+e the P#ER ists signi$icantl. >irst & need t de$ine the (&ttns%ith name7 inde and mre CGE5 A58*S. Secnd & need t de$ine the actins %hich

sh&ld (e initiated i$ the &ser !resses s&ch a (&ttn. 5he actin can sim!l (e la&nching atransactin and $r%arding the (&siness (Bect !arameters t it. r it c&ld (e &sed t sim!li$ a%hle !rcess ( &sing the (&ttns t call se+eral $&nctin md&les in a seF&ence a&tmatingthe !rcess in the (acgr&nd (ased n the selected itemCs in the P#ER ist.

Para$eters

I$porting

8J9SER*AME the user ID the current portal user is mapped to

8JAPP8D  A!!licatin 8D identi$ing the c&rrent P# I()e*

8J5QPE the POWL type ID as registered

8JA*G9 ang&age )e

8JA58*8D Action identifier; the ID of the action triggered by the user (i.e. either the ID

of one of the explicit actions as defined by GET_ACTIONS or the results

table column ID of an implicit action as defined by the field catalog by an

active cell renderer).

8JHA*GED --only relevant for editable query results table-- change information on those

query results changed by the user since most recent enabling of POWL

"dirty" state.; outtab change infos (changes by the user) for Feeder

8JA58*J8*DE? in case an implicit action, this parameter will supply the results table line

index where the action was triggered to the Feeder.; result table line index

for cell-based actions

8JA58*J*> in case there was an action confirmation message defined by

GET_ACTION_CONF, this parameter supplies the confirmation result (i.e. Y

for Yes or N for No) to the Feeder. The default value (which is also supplied

in case there was no confirmation message) is Yes.; action confirmationresult (c.f. GET_ACTION_CONFIRMATION)

Y - Yes (Execute action (default))

N - No (Don't execute action)

E.porting

EJMESSAGES messages to be displayed to the user

EJDJRE>RESH if this flag is set, a refresh of the query will be enforced upon the

SAP AG Page 40 $ 46

Page 41: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 41/46

SAP Best Practices H% t De+el! P#ER ists

HANDLE_ACTION call.; trigger a complete query refresh

EJRES95J8*ESJHA*GED if none of the results supplied to the Feeder via C_RESULTS had to be

changed, you can leave this flag unset. Otherwise, you have to set it to 'X'.;  

result table C_RESULTS changed (set if uncertain)

EJHA*GESJPRESSED --only relevant for editable query results table-- if all results changes done

by the user have been processed by the Feeder, you can set th is flag to 'X'

in order to tell the POWL to suppress data loss confirmation messages (like"Unsaved data will be lost. Continue?"), i.e. to reset the POWL "dirty state".

A typical action which would set this flag is something like "Save data".;

user changes processed by Feeder (reset POWL "dirty" state)

EJSEE5EDJHA*GED if none of the selected result l ine indices supplied to the Feeder via

C_SELECTED had to be changed, you can leave this flag unset. Otherwise,

you have to set it to 'X'.; selected results in C_SELECTED changed by

Feeder

EJA58*SJHA*GED if none of the action definitions supplied to the Feeder via

C_ACTION_DEFS had to be changed, you can leave this flag unset.

Otherwise, you have to set it to 'X'.; flag: actions in C_ACTION_DEFS

changed (set if uncertain)

EJPR5AJA58*S Supplies a portal action to be performed upon the HANDLE_ACTION call.

Currently, the following portal actions are supported:

Absolute navigation: just set the component PORTAL_PATH to the

respective navigation target. Note that all parameters supplied in

component PARAMETERS will be transported as URL-encoded value string

of URL parameter 'DynamicParameter'. Object based navigation: all

components with prefix BO_ are to be filled according to the business object

operation to be triggered. If you want to fire the default operation of the

resp. business object, you may omit the component BO_OP_NAME. Portal

client-side event: all components with prefix CS_ have to be fi lled

accordingly.

Changing

JSEE5ED supplies the indices of all results table lines selected/marked by the user to

the Feeder. The first entry of this table corresponds to the lead selection

index.; result table indices of selected results.

JRES95J5A, supplies the current query results table (including all changes done by the

user if the results table is editable) to the Feeder.; current result table

(adhering to GET_OBJECT_DEFINITION)

JA58*JDE>S supplies the current explicit action definitions for the query to the Feeder.; 

POWL action definitions

J>8RS5J/8S8,EJR# supplies the index of the first visible results table row to the Feeder (i.e. the

current scroll position of the results table). Normally, you will only have to

adapt this index if result table lines were added and/or deleted.; index of

first visible results table row

J>8RS5J/8S8,EJSRJ Name of first scrollable column

>r each actin de$ined in methd GE5JA58*S a recrd has t (e added t ta(leE_PORTAL_ACTION. 5he $ll%ing ta(le descri(es the str&ct&re and meaning $ s&ch a recrd.

Please nte that the res!ecti+e A58*8D t (e handled is !assed +ia !arameter 8JA58*8D.

(iel) na$e Description

P"*TA&PAT1  Path $r a(sl&te !rtal na+igatin t $i target Cnt t (e&sed in A1*

SAP AG Page 41 $ 46

Page 42: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 42/46

SAP Best Practices H% t De+el! P#ER ists

(iel) na$e Description

P"*TA&$A'/"DE  *a+igatin mde+alid +al&es'8>J#DJPR5AJ8*5EGRA58*ZVJSH#JUV

Cnt t (e &sed in A1*

B"!!TE/  Sstem alias $r (Bect ,ase *a+igatin C,*

B"$A/E  *ame $ ,* (&siness (Bect

B""P$A/E  *ame $ an !eratin $ the s!eci$ied (&siness (Bect

B"*E!"&'E/"DE  Sc!e $ rle resl&tin: =SER_SET_OF_ROLES(SO=RCE_ROLE

C!E'E$T$A/E!PACE  lient side e+ent name s!ace

C!E'E$T  *ame $ a client side e+ent

PA*A/ETE*! *ame</al&e set

,*EWDE'E$T  >r %ra!!ed P# $eeder classes t $ire the e+ent

&t%ards. ADDWDE'E$TDATA  Additinal data $r the e+ent

 E.a$ple5he $ll%ing eam!le sh%s the HA*DEJA58* methd $ standard $eeder class<)Q)<JSSJ8S5J9S5MERSJ>8. Here it sh&ld (ecme clear7 h% ,&siness (Bects are&sed $r ,* na+igatin. /ia ls_%ortal_actios)o_a*"  the s!eci$ic ,&siness (Bect iss!eci$ied7 +ia ls_%ortal_actios)o_o%_a*"  the ,&siness (Bect-methd.5he Cls_a*"+alu""'

( ls_a*"+alu"+alu"!airs !r+ide the !artic&lar ,&siness (Bect !arameters %ith +al&es7res!ecti+el.

  8t is im!rtant t nte that the ,* na+igatin reF&ires an a!!r!riate5ransactin assignmentK $r the s!eci$ic rle C+ia transactin P,C. 5hat %a thecnnectin (et%een the ,&siness (Bect-methd and the transactin t (e eec&tedis esta(lished - $&rthermre the ma!!ing (et%een the ,&siness (Bect-!arametersand the screen $ields.

>r eam!le the handling $ actin HA*K ret&rns ,&siness (Bect 4?$?_C=STOMER_/LOC?4

and its methd 4C<a-"4 +ia !arameter E_PORTAL_ACTION.

*%7 letKs ha+e a l at the men& entr Customers $ rle SAPJA8JSAESPERS*-S7 %herea P#ER ist (ased n the rele+ant $eeder is assigned.

SAP AG Page 42 $ 46

Page 43: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 43/46

Page 44: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 44/46

SAP Best Practices H% t De+el! P#ER ists

ls_%ortal_actios)o_s'st"* 3 s%ac".  ls_%ortal_actios)o_a*" 3 4?$?_C=STOMER_/LOC?4.

  !"scri)" ta)l" c_s"l"ct"! li"s l+_li"s.  c<"c l+_li"s 3 6. @111111111111111111111111111111111111111

  r"a! ta)l" c_s"l"ct"! assi-i- 0#s_s"l"ct"!1 i!", 6.

  r"a! ta)l" c_r"sult_ta) assi-i- 0#s_r"sult1 i!", 0#s_s"l"ct"!1ta)i,.

  cas" i_actioi!.  &<" 4DISP4 or 4CHAN4 or 4AACC4.2 #ill "_%ortal_actios to a+i-at"  ls_a*"+alu""' 3 4Custo*"r4. @EC NOTE8T  ls_a*"+alu"+alu" 3 0#s_r"sult1ur.  is"rt ls_a*"+alu" ito ta)l" ls_%ortal_actios%ara*"t"rs.

  ls_a*"+alu""' 3 4Sal"s_Or-aiVatio4. @EC NOTE8T  ls_a*"+alu"+alu" 3 0#s_r"sult1+or-.  is"rt ls_a*"+alu" ito ta)l" ls_%ortal_actios%ara*"t"rs.

  ls_a*"+alu""' 3 4Distri)utio_C<a"l4. @EC NOTE8T  ls_a*"+alu"+alu" 3 0#s_r"sult1+t&"-.

  is"rt ls_a*"+alu" ito ta)l" ls_%ortal_actios%ara*"t"rs.

  ls_a*"+alu""' 3 4Di+isio4. @EC NOTE8T  ls_a*"+alu"+alu" 3 0#s_r"sult1s%art.  is"rt ls_a*"+alu" ito ta)l" ls_%ortal_actios%ara*"t"rs.

  ls_a*"+alu""' 3 4Co*%a'_Co!"4. @EC NOTE8T  ls_a*"+alu"+alu" 3 0#s_r"sult1)urs.  is"rt ls_a*"+alu" ito ta)l" ls_%ortal_actios%ara*"t"rs.

  &<" 4CLIT4.  ls_a*"+alu""' 3 4AG?ON4. @EC NOTE8T  ls_a*"+alu"+alu" 3 0#s_r"sult1ur.  is"rt ls_a*"+alu" ito ta)l" ls_%ortal_actios%ara*"t"rs.

  ls_a*"+alu""' 3 4/=?RS4. @EC NOTE8T  ls_a*"+alu"+alu" 3 0#s_r"sult1)urs.  is"rt ls_a*"+alu" ito ta)l" ls_%ortal_actios%ara*"t"rs.  "!cas".

  cas" i_actioi!.  &<" 4DISP4.  ls_%ortal_actios)o_o%_a*" 3 4Dis%la'4. @EC NOTE8T

2 #ill"! )' !"#ault222 ls_a*"+alu""' 3 4CHANGE4.222 ls_a*"+alu"+alu" 3 s%ac".222 is"rt ls_a*"+alu" ito ta)l" ls_%ortal_actios%ara*"t"rs.

  "_%ortal_actios 3 ls_%ortal_actios.

  &<" 4CHAN4.  ls_%ortal_actios)o_o%_a*" 3 4C<a-"4. @EC NOTE8T

2 s%ac" caot )" #ill"! )' !"#ault  ls_a*"+alu""' 3 4CHANGE4. @EC NOTE8T  ls_a*"+alu"+alu" 3 s%ac".  is"rt ls_a*"+alu" ito ta)l" ls_%ortal_actios%ara*"t"rs.

SAP AG Page 44 $ 46

Page 45: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 45/46

SAP Best Practices H% t De+el! P#ER ists

"_%ortal_actios 3 ls_%ortal_actios.

  &<" 4COP$4.2 co%' custo*"r  ls_%ortal_actios)o_o%_a*" 3 4Co%'4. @EC NOTE8T

  ls_a*"+alu""' 3 4R"#"r"c"_Custo*"r4. @EC NOTE8T

  ls_a*"+alu"+alu" 3 0#s_r"sult1ur.  is"rt ls_a*"+alu" ito ta)l" ls_%ortal_actios%ara*"t"rs.

  ls_a*"+alu""' 3 4R"#"r"c"_Co*%a'4. @EC NOTE8T  ls_a*"+alu"+alu" 3 0#s_r"sult1)urs.  is"rt ls_a*"+alu" ito ta)l" ls_%ortal_actios%ara*"t"rs.

  ls_a*"+alu""' 3 4R"#"r"c"_Sal"s_Or-4. @EC NOTE8T  ls_a*"+alu"+alu" 3 0#s_r"sult1+or-.  is"rt ls_a*"+alu" ito ta)l" ls_%ortal_actios%ara*"t"rs.

  ls_a*"+alu""' 3 4R"#"r"c"_Distr_C<a4. @EC NOTE8T  ls_a*"+alu"+alu" 3 0#s_r"sult1+t&"-.  is"rt ls_a*"+alu" ito ta)l" ls_%ortal_actios%ara*"t"rs.

  ls_a*"+alu""' 3 4R"#"r"c"_Di+isio4. @EC NOTE8T  ls_a*"+alu"+alu" 3 0#s_r"sult1s%art.  is"rt ls_a*"+alu" ito ta)l" ls_%ortal_actios%ara*"t"rs.

  "_%ortal_actios 3 ls_%ortal_actios.

  &<" 4E8T4.2 ",t"! custo*"r  ls_%ortal_actios)o_o%_a*" 3 4E,t"!4. @EC NOTE8T

  ls_a*"+alu""' 3 4Custo*"r4. @EC NOTE8T  ls_a*"+alu"+alu" 3 0#s_r"sult1ur.  is"rt ls_a*"+alu" ito ta)l" ls_%ortal_actios%ara*"t"rs.

  "_%ortal_actios 3 ls_%ortal_actios.

  &<" 4AACC4.2 aal'V" accout  ls_%ortal_actios)o_o%_a*" 3 4Aal'V"_Accout4. @EC NOTE8T2 4Custo*"r4 a! 4Co*%a'_Co!"4 alr"a!' %ro+i!"!( 4Fiscal_'"ar4 to )" "t"r"! *auall'

  "_%ortal_actios 3 ls_%ortal_actios.  &<" 4CLIT4.  ls_%ortal_actios)o_o%_a*" 3 4Cl"ar_It"*s4. @EC NOTE8T  "_%ortal_actios 3 ls_%ortal_actios.  "!cas".

2 t<is ca*" #ro* -""ral list

  cas" i_actioi!.  &<" 4/LOC4 or  4DELE4 or  4EDCL4.

  cl"ar ls_%ortal_actios.  ls_%ortal_actios)o_a*" 3 4?$?_C=STOMER_/LOC?4. @EC NOTE8T

  cas" i_actioi!.  &<" 4/LOC4.

SAP AG Page 4: $ 46

Page 46: POWL Config - How to Guide en De

8/13/2019 POWL Config - How to Guide en De

http://slidepdf.com/reader/full/powl-config-how-to-guide-en-de 46/46

SAP Best Practices H% t De+el! P#ER ists

2 )locu)loc  ls_%ortal_actios)o_o%_a*" 3 4/loc4. @EC NOTE8T  &<" 4DELE4.2 !"l"tio #la-  ls_%ortal_actios)o_o%_a*" 3 4D"l"t"4. @EC NOTE8T  &<" 4EDCL4.2 "!it cr"!it li*it

  ls_%ortal_actios)o_o%_a*" 3 4CRC_E!it4. @EC NOTE8T

  ls_a*"+alu""' 3 4??/ER4. @EC NOTE8T  ls_a*"+alu"+alu" 3 0#s_r"sult1)"r.  is"rt ls_a*"+alu" ito ta)l" ls_%ortal_actios%ara*"t"rs.

  ls_a*"+alu""' 3 4NAME64. @EC NOTE8T  ls_a*"+alu"+alu" 3 0#s_r"sult1a*".  is"rt ls_a*"+alu" ito ta)l" ls_%ortal_actios%ara*"t"rs.

  "!cas".

  ls_a*"+alu""' 3 4?=NNR4. @EC NOTE8T  ls_a*"+alu"+alu" 3 0#s_r"sult1ur.  is"rt ls_a*"+alu" ito ta)l" ls_%ortal_actios%ara*"t"rs.

  "_%ortal_actios 3 ls_%ortal_actios.

  "!cas".

"!*"t<o!.

 [

5he Business "b#ect Builder can (e &sed t ins!ect the methds $ a ,&siness (Bects res!. tcreate %n nes.

S,P ERP $en Tools → Business Workflo2  → Development  → Definition

tools→  Application nte%ration→ Business "b#ect Builder  

Transaction co)e S#1

See the A!!licatin Hel! $r general in$rmatin a(&t sc!e and &sage $ the Business "b#ectBuilder .