01.02.2013 Views

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Using XML Files at Runtime<br />

DTDVersion="9.0.2.0.0">');<br />

IF :HILITE_SALES 'None' THEN SRW.ADD_DEFINITION('');<br />

SRW.ADD_DEFINITION('');<br />

SRW.ADD_DEFINITION('');<br />

SRW.ADD_DEFINITION('');<br />

SRW.ADD_DEFINITION('');<br />

SRW.ADD_DEFINITION('');<br />

SRW.ADD_DEFINITION('');<br />

SRW.ADD_DEFINITION('');<br />

SRW.ADD_DEFINITION('');<br />

END IF;<br />

SRW.ADD_DEFINITION('');<br />

SRW.APPLY_DEFINITION;<br />

SRW.ADD_DEFINITION('');<br />

IF :HILITE_PROFITS 'None' THEN SRW.ADD_DEFINITION('');<br />

SRW.ADD_DEFINITION('');<br />

SRW.ADD_DEFINITION('');<br />

SRW.ADD_DEFINITION('');<br />

SRW.ADD_DEFINITION('');<br />

SRW.ADD_DEFINITION('');<br />

SRW.ADD_DEFINITION('');<br />

SRW.ADD_DEFINITION('');<br />

SRW.ADD_DEFINITION('');<br />

END IF;<br />

SRW.ADD_DEFINITION('');<br />

SRW.APPLY_DEFINITION;<br />

return (TRUE);<br />

end;<br />

16.4.2 Running an XML Report Definition by Itself<br />

To run an XML report definition by itself, you send a request with an XML file<br />

specified in <strong>the</strong> REPORT (or MODULE) option. The following command line sends a job<br />

request <strong>to</strong> <strong>Oracle</strong>AS <strong>Reports</strong> Services <strong>to</strong> run a report, emp.xml, by itself:<br />

rwclient userid=username/password@my_db<br />

report=c:\corp\myreports\emp.xml<br />

destype=file desname=emp.pdf desformat=pdf<br />

server=server_name<br />

When you use rwrun, <strong>the</strong> <strong>Reports</strong> Runtime command, <strong>the</strong> equivalent command line<br />

would be:<br />

rwrun userid=username/password@my_db<br />

report=c:\corp\myreports\emp.xml<br />

destype=file desname=emp.pdf desformat=PDF<br />

When you run an XML report definition in this way, you must specify an XML file<br />

extension. You could also apply an XML cus<strong>to</strong>mization file <strong>to</strong> this report using <strong>the</strong><br />

CUSTOMIZE option.<br />

16.4.3 Performing Batch Modifications<br />

If you have a large number of reports that need <strong>to</strong> be updated, <strong>the</strong>n you can use <strong>the</strong><br />

CUSTOMIZE command line keyword with RWCONVERTER <strong>to</strong> perform modifications in<br />

batch. Batch modifications are particularly useful when you must make a repetitive<br />

change <strong>to</strong> a large number of reports (for example, changing a field's format mask).<br />

16-16 <strong>Oracle</strong> Application Server <strong>Reports</strong> Services <strong>Publishing</strong> <strong>Reports</strong> <strong>to</strong> <strong>the</strong> <strong>Web</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!