14
1.1 Install Source Code via SAPlink The ABAP R eport Wizard was developed on NetWeaver 7.0. It leverages the ALV O!e"t #odel whi"h was introd$"ed in NetWeaver %00&' so it sho$ld wor( on that release as well. )n*ort$natel+ ' this sol$tion will not wor( on releases prior to NetWeaver %00&. The *irst step is to i,port t he -APlin( n$gget *il e into +o$r s+ste,. I* +o$ do not have -APlin( installed on +o$r s+ste,' +o$ "an download it *ro, http//"ode.google."o,/p/saplin(/ . o$ will also need the *ollowing pl$g1ins whi"h "an e downloaded *ro, http//"ode.google."o,/p/saplin(1 pl$gins/. Re2$ired Pl$g1ins 3$n"tion 4ro$ps #essage 5lasses 6i"tionar+ O!e"ts 6o"$,entation On"e +o$ have -APlin( and the re2$ired pl$g1ins installed' +o$ "an r$n the ee"$tale progra,' 8-APLIN9 . -ele"t the radio$tton *or :I,port N$gget; ' and sele"t the n$gget *ile *ro, the *ile lo"ation. Lastl+' "li"( the :<e"$te; $tton' or h it 3=. >ope*$ll+ ' the *ollowing s"reen will +ield all s$""ess ,essages' signi*ied + the green lights. Noti"e that ,ost o* the i,ported o!e"ts *ollow a si,ilar na,ing "onvention' and hope*$ll+ these o!e"ts do not "on*li"t with eisting o!e"ts in +o$r s+ste,.

ABAP Report Wizard - ReadMe.doc

Embed Size (px)

Citation preview

Page 1: ABAP Report Wizard - ReadMe.doc

8/12/2019 ABAP Report Wizard - ReadMe.doc

http://slidepdf.com/reader/full/abap-report-wizard-readmedoc 1/14

Page 2: ABAP Report Wizard - ReadMe.doc

8/12/2019 ABAP Report Wizard - ReadMe.doc

http://slidepdf.com/reader/full/abap-report-wizard-readmedoc 2/14

1.2 Activation of Imported Objects

Ne t' +o$ need to a"tivate all o !e"ts whi"h have een i,ported. O* "o$rse' there are a *ew wa+sto do this' $t in order to ins$re a "lean a"tivation' *ollow these steps.

?@ 4o to SE8 ' and sele"t :Ina"tive O !e"ts; *ro, the o !e"t navigator drop down.

Page 3: ABAP Report Wizard - ReadMe.doc

8/12/2019 ABAP Report Wizard - ReadMe.doc

http://slidepdf.com/reader/full/abap-report-wizard-readmedoc 3/14

%@ Open the 6ata <le,ents node o* the o !e"t tree elow. -ele"t all data ele,ents +"li"(ing on the *irst one' holding down ->I3T and "li"(ing the last' then right1"li"( and"hoose' :A"tivate;.

@ Ne t' do the sa,e *or the -tr$"t$res and Ta le T+pes at the sa,e ti,e' + sele"tingIn the sa,e wa+' "li"( the *irst' hold ->I3T and "li"( the last' then right1"li"( and:A"tivate;.

Page 4: ABAP Report Wizard - ReadMe.doc

8/12/2019 ABAP Report Wizard - ReadMe.doc

http://slidepdf.com/reader/full/abap-report-wizard-readmedoc 4/14

&@ Lastl+' +o$ "an now a"tivate the 3$n"tion 4ro$p and the 5lasses' si,pl+ sele"t all'and a"tivate as +o$ did with the other o !e"ts.

>ope*$ll+' all o !e"ts are now a"tivated with o$t errors.

Page 5: ABAP Report Wizard - ReadMe.doc

8/12/2019 ABAP Report Wizard - ReadMe.doc

http://slidepdf.com/reader/full/abap-report-wizard-readmedoc 5/14

1.! Creatin" t#e Pattern

In SE8 ' "hoose $tilities %& 'ore $tilities %& Edit Pattern %& Create Pattern . In the dialogenter' ()*EPO*+),I(A*- and "li"( the green "he"(. In the pattern editor' enter*$&$MUSTER and "li"( :-ave; and then the :Ba"(; $tton.

Page 6: ABAP Report Wizard - ReadMe.doc

8/12/2019 ABAP Report Wizard - ReadMe.doc

http://slidepdf.com/reader/full/abap-report-wizard-readmedoc 6/14

2.1 Startin" t#e ,i ard

Now that the pattern has een "reated' +o$ "an now $se the wizard. In SE8 ' p$t +o$r "$rsor onan e,pt+ line within the so$r"e "ode editor' and "li"( the pattern $tton.

In the dialog' sele"t the radio $tton *or :Pattern; and enter the na,e o* the pattern as()*EPO*+),I(A*- and "li"( the green "he"(. The wizard will then e triggered.

Page 7: ABAP Report Wizard - ReadMe.doc

8/12/2019 ABAP Report Wizard - ReadMe.doc

http://slidepdf.com/reader/full/abap-report-wizard-readmedoc 7/14

2.2 $sin" t#e A/AP *eport ,i ard

This *irst s"reen o* the wizard is si,pl+ *or in*or,ation p$rposes' "li"( "ontin$e to go to the *irststep o* the wizard. In this step' +o$ will de*ine the title o* the report and the data so$r"e. o$ "aneither do a single ta le read' or a ta le !oin. I* +o$ sele"t :Ta le;' +o$ will e as(ed to enter thena,e o* the ta le. I* +o$ sele"t :Ta le oin;' +o$ will e as(ed to de*ine the ta le !oin + "li"(ingthe :6e*ine; $tton.

When +o$ "li"( the :6e*ine; $tton' +o$ will e presented with a graphi"al !oin editor. 5li"( the:Insert Ta le; i"on on the appli"ation tool ar. <nter the na,e o* the *irst ta le in the !oin.

Page 8: ABAP Report Wizard - ReadMe.doc

8/12/2019 ABAP Report Wizard - ReadMe.doc

http://slidepdf.com/reader/full/abap-report-wizard-readmedoc 8/14

The ta le will then e added to the displa+.

Page 9: ABAP Report Wizard - ReadMe.doc

8/12/2019 ABAP Report Wizard - ReadMe.doc

http://slidepdf.com/reader/full/abap-report-wizard-readmedoc 9/14

Ne t' "li"( the :Insert Ta le; i"on on the appli"ation tool ar again to add the se"ond ta le in the !oin. Again' give the na,e o* the ta le and hit enter. The graphi"al editor will then displa+ othta les as well as the !oin "ondition etween the two. 5li"( the :Ba"(; $tton to leave the editor.

Page 10: ABAP Report Wizard - ReadMe.doc

8/12/2019 ABAP Report Wizard - ReadMe.doc

http://slidepdf.com/reader/full/abap-report-wizard-readmedoc 10/14

5ontin$ing to the ne t step o* the wizard' +o$ will need to de*ine the sele"tion "riteria. This iswhere +o$ will de*ine what -<L<5T1OPTION- or PARA#<T<R- will e "reated in +o$r *inalprogra,. B+ de*a$lt' the sele"tions' will e -<L<5T1OPTION-' +o$ ,$st "he"( the "he"( o *or:Para,eters; in order to swit"h to a PARA#<T<R- state,ent. o$ "an also de*ine the, aso ligator+. 5li"( :5ontin$e; when *inished de*ining +o$r sele"tion s"reen.

Page 11: ABAP Report Wizard - ReadMe.doc

8/12/2019 ABAP Report Wizard - ReadMe.doc

http://slidepdf.com/reader/full/abap-report-wizard-readmedoc 11/14

The ne t step o* the wizard is to de*ine the o$tp$t *ields in +o$r report. Open the node o* thespe"i*i" ta le an sele"t the *ields that +o$ want to e displa+ed in the ALV O$tp$t. 5li"(:5ontin$e; when *inished sele"ting +o$r o$tp$t *ields.

Page 12: ABAP Report Wizard - ReadMe.doc

8/12/2019 ABAP Report Wizard - ReadMe.doc

http://slidepdf.com/reader/full/abap-report-wizard-readmedoc 12/14

Page 13: ABAP Report Wizard - ReadMe.doc

8/12/2019 ABAP Report Wizard - ReadMe.doc

http://slidepdf.com/reader/full/abap-report-wizard-readmedoc 13/14

The last s"reen is a :5o,pletion; s"reen. -i,pl+ "li"( the "o,plete $tton.

Page 14: ABAP Report Wizard - ReadMe.doc

8/12/2019 ABAP Report Wizard - ReadMe.doc

http://slidepdf.com/reader/full/abap-report-wizard-readmedoc 14/14

The re2$ired so$r"e "ode will then e written to +o$r progra,' save' a"tivate and r$n +o$rprogra,. The o$tp$t will rese, le the i,age elow.