After you have created the initial screen in Step 6, you can directly proceed to create you main screen:
In the Hierarchy on the left, in the element list, choose the OvpApplication
, then select Add Content Area
.
Enter the ID and a title for the main screen, which will contain all your visible
screen elements.
Recommendation
SAP recommends that you use MAIN_SCREEN
as the ID
for this content area.
In the Hierarchy on the left, in the element list, open the ContentArea
, then choose UIBB
below it.
Note
The system will not allow you to save at this moment, because the tool adds the UIBB automatically, but you have not yet configured it. To do so, proceed to add the Document Display UIBB
in the following steps.
Choose the ContentArea
MAIN_SCREEN
, then choose UIBB
below it.
In field Component
, enter the reuse UIBB HRGRT_FC_DOCUMENT_DISPLAY
and its view FVS_OUTPUT
.
In the Title
field, enter a text for your Document Display
window, e.g. Result.
Choose Save
.
Note
In this simple case it is not required to create a configuration of this component because we use the component as it is and need no adaptation. However, if you have a case where you have two or more concurrent outputs for one reporting scenario, configuration would be necessary for each output – this is not the same as whether you have either a PDF or an office document, which may depend on the Customizing you have in the backend processing of your reporting scenario. The Salary Statement is such an example. In such ‘either-or’ cases, the reuse component displays the one output, as it can deal with whatever format it was given by your feeder class.
Note
In section Add Buttons to (G)UIBB 'Open in New Window' you can find information on how to implement the Display in New Window
button for the form output. This is not
described here, as it is not essential to getting your application running.
Up to this point, the configuration steps have been the same, regardless of whether your reporting scenario has a list or a form GUIBB. Of the following two sections, you need only carry out one, according to your example: