cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to build a "Report"

Former Member
0 Likes
656

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

View Entire Topic
Former Member
0 Likes

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