Creating a Library Choose
Report Painter
→
Report Writer
→
Library
→
Create .
Create Library: Initial Screen
appears.
Enter the following information:
– Name of the library
– Table name for the library
This table contains the data you want to use in your report. You only need to enter a table in this field if you do not want to copy an existing table.
If you want to create a library by copying an existing library, enter the name of the library that you want to copy in the
Copy from - Library
field.
Choose
Header
.
The screen
Create Library: Header
appears.
Entering Header Information
Enter the following information:
– Description of the library
– Authorization group for the library (if required)
This authorization group is defined in the user's profile.
You can define an authorization group called COST . If you assign this authorization group to a report library, only users with this authorization group can use the reports in the library.
In the
Report/report interface
group box, choose
Configure
to define receiver reports that you want to call up when you output your report data.
The receiver reports you assign here are valid for all the reports that use this library. You can also assign reports for the report/report interface in the header of a report group. If you assign receiver reports in both the header of the library and the header of the report group, the system uses the reports you assigned to the report group.
The receiver reports you assign can be report portfolio reports, drilldown reports, transactions, Report Writer reports, Report Painter reports, and ABAP programs.
You must save the library before you can enter receiver reports for the report/report interface.
For more information, see Defining Reports for the Report/Report Interface .
You can use the following additional functions in this screen:
Additional Functions ( Create Library: Header Screen)
Choose |
Function |
|
Add characteristics |
|
Add key figures |
|
Add key figures |
|
Display list of reports and report groups that use the library |
|
Display list of libraries |
|
Transport libraries to an external file |
|
Import libraries from an external file |
To save the library, choose
Library
→
Save
.
The characteristics you assign to the library determine the characteristics you can use in the reports contained in the library. The system automatically adds the characteristics to the library that are needed in any case.
To add characteristics to a library:
From the
Create Library: Header
screen, choose
Goto
→
Characteristics
.
The screen
Create Library: Characteristics
appears.
Select the characteristics you want to add to the library.
If a characteristic is already selected, this means that it was selected by the system automatically.
To remove a characteristic from the library, deselect the characteristic. You cannot deselect the characteristics that are selected by the system automatically.
Enter the following information:
– If required, enter a standard selection set for the characteristic.
If all or most of the reports contained in the library use the same set as the selection set, you should enter this as the standard selection set. This standard selection set is then displayed when you create a report assigned to this library.
You enter the standard selection set
UN-LEDGER
(with the value
AB
) for the characteristic
Ledger
. When you create a report with this library, the set
UN-LEDGER
is displayed on the
Create Report: General Data Selection
screen.
When you create a report, you can change or delete the standard selection set.
If you delete a standard selection set from the report definition, this set is
not
automatically deleted from the library concerned. If you want to also delete the selection set from the library, go to the
Change Library: Characteristics
screen and delete the set from that screen. The reverse also applies: If you want to change the name of a standard selection set in a library, the set name in the reports assigned to the library are not automatically changed at the same time – you must also change the set name in each of the affected reports assigned to the library. There is no association between the set name you enter in a library and the value you enter in the report.
– Enter a consecutive number; this defines the order in which the characteristics defined in the library appear in the Report Painter selection lists.
This allows you to position the characteristics that you use regularly in your reports at the beginning of the selection lists.
In the following table are example entries entered in the
Pos
field for certain library characteristics.
Characteristic |
Pos field |
Ledger |
1 |
Company code |
2 |
Fiscal year |
3 |
Period |
4 |
Account |
5 |
If you create a report using the Report Painter, the characteristics will appear in the selection list in the following order:
Ledger
, followed by
Company code
, then
Fiscal year
,
Period
, and
Account
.
On this screen you can use the additional functions in the table for the
Create Library: Header
screen (see
Entering Header Information
), as well as the functions in the following table.
Additional Functions ( Create Library: Characteristics Screen)
Choose |
Function |
|
Select all the characteristics for the library |
|
Deselect all selected items |
|
Display standard default set for a characteristic |
To save the information entered, choose
Library
→
Save
.
When you define a library, you can also define the data types that can be used in the reports contained in the library.
Example
If you only want to create reports that use transaction currency, you can define your library so that the reports contained in the library can only use transaction currency.
To add basic key figures to a library:
On the
Create Library
screen, choose the pushbutton
Basic key figures
.
The
Create Library: Basic Key Figures
screen appears. All basic key figures are automatically assigned to the library.
Deselect the basic key figures that you do not want to add to the library.
If you want to reassign certain basic key figures to the library, you have to reselect the relevant key figures.
Enter a consecutive number. This number determines the order in which the basic key figures defined in the library appear in the Report Painter selection lists.
This allows you to position basic key figures that you use regularly in your reports at the beginning of the selection lists.
On this screen, you can use the additional functions in the table for the
Create Report: Header
screen as well as the functions in the following table.
Additional Functions ( Create Library: Basic Key Figures Screen)
Choose |
Function |
|
Select all key figures |
|
Deselect all selections |
To save the basic key figure information, choose
Library
→
Save
.
You can use the key figures you define for a library in the column definition of the reports contained n the library. Key figures are made up of a basic key figure and selection criteria for one or more characteristics.
Example
If you only want to create reports that use transaction currency, you can define your library so that the reports contained in the library can only use transaction currency.
To add key figures to a library:
On the
Create Library
screen, choose the pushbutton
Key figures
.
The
Create Library: Key Figures
screen appears. All key figures are automatically assigned to the library.
Deselect the key figures that you do not want to add to the library.
If you want to reassign certain key figures to the library, you must reselect the relevant key figures.
Enter a consecutive number. This number determines the order in which the key figures defined in the library appear in the Report Painter selection lists.
This allows you to position key figures that you use regularly in your reports at the beginning of the selection lists.
On this screen, you can use the additional functions in the table for the
Create Report: Header
screen as well as the functions in the following table.
Additional Functions ( Create Library: Key Figures Screen)
Choose |
Function |
|
Select all key figures |
|
Deselect all selections |
|
Display detailed information for the key figure, such as the basic key figure and the additional set used in the key figure |
To save the key figure information, choose
Library
→
Save
.
Note
You can create your own key figures. For more information, see Creating/Changing Key Figures .