You can add buttons to your application, either by adding them to the Content Area
of the OVP configuration, so they appear at the top of the screen, or you can add them to a particular UIBB by adding them to the UIBB configuration.
In either case, you assign a Web Dynpro event to the button in the configuration, which you then catch and process during the event loop in GET_DATA
of your feeder class, see also Refining
Method GET_DATA.
Example
An example for buttons outside your GUIBB configuration (at the top of the screen) is the Salary Statement
reporting application. Here, there is a list of payroll periods and two buttons at the top of the screen (in the OVP configuration) entitled Previous
Statement
and Next Statement
. You wish to toggle along the sequence of periods, and at each click, the output for the correct period should be displayed in the lower window (Document Display UIBB).
Example
An example for a button inside your GUIBB is in the Salary Calculator
, where once the end user has made the appropriate entries for salary, tax class and so on, he or she chooses the Calculate
button inside the form. Then the output
should be displayed in the lower window (Document Display UIBB)
Example
A further example for a button in a UIBB is the Open in New Window
button in the Document Display UIBB. Once the end user has chosen the pay slip he or she wants to see, he or she chooses this button to get a separate and larger output of only the Document Display
output.