Monday, September 1, 2008

Oracle XML Publisher

why we are going for xml publisher insted we are having oracle reports beacause of these advantages
1) reduce complexity
2) reduced cost
3) development productivity
4) rich formatted reports


normally we go for layout in reports 6i but now we go for xml publisher and remaining is the same procedure

steps to develop a xml publisher report and register it as a concurrent program
1) develop the report as .rdf file as per the client requirement but no need of layout
go to data model and write the query
2) save the .rdf file
3) open the ms word application and design the layout enter the labels(boiler plate text )like


4)take the text formfield into the begin space , double click on it and enter the name,select the button called "add help text" and enter the following code
note: g_vendor_id nothing but report builder guery group name
5) take the text form field into the place,double click there and enter the name,select the button called "add help text" and enter the following code
< ? vendor_id ? >------to dispaly vendor_id
repeat the same process for the remaining columns
6) take the text formfield into the place and enter the following code for end
< ? end for-each ? > ---- to end the repeating frame
7) save the word fiel with extension as .rtf ( rich text format )
8) now we have to register both the .rdf and .rtf files
9) register the rdf file as a concurrent program by using standard process only change is the concurrent program format is XML
10) copy the concurrent program name
11) now go to xml publisher administrator
12) select the data definition form from the xml publisher responsibility
13) select the button called create data definition and enter the following fields
name : any name
application : oracle purchasing
code : concurrent program short name
start-date : today date
14) select apply button and remember the data definition name
15) select the template tab and select create template button enter the following
name : any name
code : concurrent program short name
data definition : data definition name what ever you have created
start date : today date
type : rtf
file : browse and select the .rtf that you developed
language : english
territory : united states
16) select the apply button
17) goto responsibility and submit the concurrent program from SRS window , when we select the program in SRS window it will automatically select the template we can find that in the field called layout
18) submit button --> find --> view report


1 comment:

Unknown said...
This comment has been removed by the author.