In this recipe, we will see how we can develop and configure Guided Activity Floorplan (GAF) applications. By default, one single step is automatically added to the component configuration. We will create one main step (step 2) that will comprise of one substep. We will write coding that will display the substep after the Next button of the step 2 is clicked. There is no ticket area for a GAF application.
In this recipe, we will focus on the steps relevant to GAF applications.
We create a component by the name ZST8_GAF
that comprised of views and windows shown in the following screenshot for the steps and substep:
The defined application is based upon the component FPM_GAF_COMPONENT
and interface view is FPM_WINDOW
.
Follow these steps:
STEP2_NEXT
in the Event ID field.PROCESS_EVENT
method of the component controller.CASE
statement to make sure our added code runs for the Next button click of the MAINSTEP_2
.CREATE_BY_ID
method of the CL_FPM_EVENT
class in order to create an event object.SET_VALUE
method is called in order to specify the event parameters. The method is called three times, for specifying the main step, the next active substep, and the substep variant having the values MAINSTEP_2, SUBSTEP_2_1
and SUBSTEPVARIANT_1
respectively.RAISE_EVENT
method. The MY_EVENT
object is passed for the parameter IO_EVENT
.We created the GAF application configuration and component configuration. We created two main steps and one substep. By default, the substep is not active. We wrote the code for activating the substep at runtime. We also added a toolbar button Return to Main Step for returning from the substep to the main step.
Running the application configuration will display the GAF application. You may use the Next button to go to the next step.
52.15.55.18