on ‎2010 Jul 19 7:45 AM
I want to build a report.
I found a reference to building a report but cant find any simple examples to work through.
I know how to setup a grid but how do i setup labels, Headers etc so that they are sourced from a query?
Basically I want to have a report that looks like this (all items in <> are from the database)
<RepotName> - <ReportDate>
<RepotNotes>
Table Header Row
<LineItems>
Table Foooter Row
Request clarification before answering.
Chris,
if you want to get the Report header content from a database, you may use a query that fetches all contents values in one query, and then use Javascript to get the values into the fields where you need them. E.g. use the function
document.applet.getGridObject().getCellValue(rownum,colnum); (see also [iGrid Component Methods|http://help.sap.com/saphelp_xmii120/helpdata/en/44/d1e7a599f3409fe10000000a11466f/frameset.htm])
to get a specific value from the grid. You can hide the grid by setting the width attribute in the applet to zero.
If the header values of your report do not change, you may also use the [MII Localization|http://help.sap.com/saphelp_xmii120/helpdata/en/44/21f2bb76691c9de10000000a11466f/frameset.htm] for those values.
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.