Entering content frameBackground documentation Prerequisites Locate the document in its SAP Library structure

The prerequisites described below apply both to the MiniALV and the MidiALV.

Prerequisites for the Report

In Web Reporting, the lists are displayed in the Web browser. Therefore, the proxy report must not create any frontend objects.

If the proxy report outputs lists in the fullscreen mode (application functions are located in the application toolbar), the application is not required to adapt the ABAP program for the proxy report.

If the proxy report uses the class CL_GUI_ALV_GRID , the report must determine whether it runs in the SAP GUI or in the Web. To allow the report to do this, you use the static method offline() which you call instead of reading the system field SY-BATCH . The instance of the ALV Grid Control can determine whether it runs offline or online, and does not generate a frontend object, if not appropriate. The container control to include the ALV Grid Control, however, is not able to recognize whether it runs in offline or online mode. You must therefore use the offline() method to prevent this control from being generated (for an example, see the method description for offline()). By contrast, an instance of the ALV Grid Control can be generated in the proxy report to call other methods of the instance later on.

If the proxy report then executes in batch mode and writes the results into the spool, this report is automatically suited for output as MiniALV or MidiALV. However, even if the report is not displayed in the Web, check that the report and the selection variants or layouts specified exist in the system (for queries, the user group must be available).

Caution

If you want to deliver the proxy report with a variant, you must ensure that the variant is transported together with the report. For mor information, see: Proxy Report Variants.

Releasing the Report for the Internet

To enable the report or query to be displayed in the Web, you must additionally make two settings:

  1. You must assign the report to an authorization group. Customers use the report RSCSAUTH to use their own authorization groups without making modifications to the standard system. Without this assignment, you cannot release the report in the Web Repository (step 2).
  2. You must release the report using the Web Repository (transaction SMW0 ) (see Structure link Releasing Objects for Web Reporting).

See the Prerequisites section for additional prerequisites you need to fulfill in order to use the MiniALV or MidiALV.

Note

For Workplace versions prior to 2.10, you must not only release the report, but also the function group SKBW for the MiniALV or for all MiniApps using ALV call for RFC. Starting with Workplace 2.10 this authorization is contained in the SAP_WPS_USER role which must be assigned to all Workplace end-users (see also note 0210785).

 

 

 

Leaving content frame