Entering content frame

 Procedure documentation Defining Reports for the Report/Report Interface Locate the document in its SAP Library structure

Use

The report/report interface allows you to call reports from other SAP application components when you output your report data. You can call up report portfolio reports, drilldown reports, transactions, receiver reports, Report Writer reports, Report Painter reports, and ABAP programs.

Note

If you define reports for the report/report interface in both the report group header and in the report group’s library, the system uses the reports that you have defined specifically for the report group.

Example

Your system is delivered with an ABAP program called RGGD1300, which displays line items for the FI-SL summary tables. The program reads the data from the FI-SL line item table and outputs a list of the line items.

You can call up program RGGD1300 directly (System ® Services ® Reporting) or from the report/report interface if it is defined as a receiver report for another Report Writer report.In a report that displays totals, you can then display the line items for a specific totals record.

To call program RGGD1300 as a receiver report to display line items for totals data in a report:

Procedure for Example

...

       1.      In the application menu, choose Information Systems ® Accounting ® Financial Accounting ® Special Purpose Ledger ® Report Painter ® Report Writer ® Report Group ® Change. Choose the symbol This graphic is explained in the accompanying text Header.

The screen Change Report Group: Header appears.

       2.      The group box Report/report interface contains information on the current assignment of the reports in this report group to the library of the report group. To assign a report to the report group, choose Configure.... The Assign Reports dialog box appears.

       3.      To enter a receiver report for the report/report interface, choose Insert row This graphic is explained in the accompanying text.

The Report Writer Report Selection dialog box appears.

       4.      To enter program RGGD1300 as the receiver report, choose Other Report Type.

A dialog box appears, listing the possible report types.

Note

The receiver reports you assign can be report portfolio reports, drilldown reports, transactions, Report Writer reports, and ABAP programs. This enables you to call receiver reports from other SAP application components once you have output your report data.

Recommendation

You should normally assign receiver reports to the report group.

 

In this example, we are using the ABAP program RGGD1300 as the receiver report.

       5.      Position the cursor on ABAP Report and choose This graphic is explained in the accompanying text. The Add ABAP/4 Report dialog box appears.

       6.      Enter RGGD1300 as the receiver report and choose This graphic is explained in the accompanying text.

The default text of program RGGD1300 is displayed in the Assign Reports dialog box.

       7.      You can use the following additional processing functions in this dialog box:

Additional Processing Functions - Dialog Box for Report/Report Interface

Function

Choose

Save receiver report for report/report interface

This graphic is explained in the accompanying text Save

Add receiver report to report/report interface definition

This graphic is explained in the accompanying text Insert row

Delete entry in report/report interface definition

This graphic is explained in the accompanying text Delete row

Insert report from another system (cross-system report assignment). You log on to the other system, select a receiver report, and transfer it to the sender system.

This graphic is explained in the accompanying text Add external report

Select one or more receiver reports for further processing (for example, to move the selected report to another position in the list)

This graphic is explained in the accompanying text Select line

Move selected receiver report to another position in the list. If the cursor is positioned on a receiver report, the selected report is inserted before this receiver report. If the cursor is not positioned on a receiver report, the selected report is inserted at the end of the list.

This graphic is explained in the accompanying text Move

Display default text of a receiver report if you have previously overwritten the default text of the report. Note: when you first enter a receiver report, the default text for this report is automatically displayed.

This graphic is explained in the accompanying text Default text

Display all reports to which the specified sender report is assigned as the receiver report. If you activate this function again, the original list is displayed.

Sender <-> Receiver

Display technical information on the receiver report(s) (for example, the report tool and the technical report name)

Technical names on/off

Documentation on displaying and maintaining the report assignment in the report/report interface

This graphic is explained in the accompanying text Help

       8.      Choose This graphic is explained in the accompanying text to save your entries.

Example

The Report Writer uses ABAP program RGGD1300 as shown in the following graphic:

This graphic is explained in the accompanying text

The report in the graphic displays accounts by periods. This report is assigned to report group TD00. Report group TD00 has been defined such that ABAP program RGGD1300 is a receiver report in the report group (on the Create Report Group: Header screen).

Program RGGD1300 is called up with the Report Writer as follows:

...

                            a.      After selecting the report data for the report, the system displays the report.

You can select part of the displayed report and have the system display the associated line items.

                            b.      Select amount 600 for account 4000020 in period 1 from the report.

                            c.      When you choose Reports, the system generates a list of the reports that are defined as receiver reports in report group TD00 (Create Report Group: Header screen).

                            d.      Select program RGGD1300.

                            e.      The Report Writer adopts the selection criteria from the report (such as the company code, ledger, account, and period) and starts the ABAP program RGGD1300. This program displays the line items that meet the selection criteria (company code TD11, ledger D2, account 4000020, period 1).

For more information on calling receiver reports, see Functions in the Report Output.

 

 

Leaving content frame