Neptune – Boon for ABAP developers!!! SAP HR – Employee Self Service Scenario – PART 3
In this Blog, I will explain in detail about “Two level page navigation”.
Also to remind, as I have mentioned in the Blog I, application Z_HTML5_ADDRESS_LIST will be modeled using NEPTUNE_FLIGHT02_LIST and Z_HTML5_ADDRESS_DETAILS will be modeled using NEPTUNE_FLIGHT02_DETAIL.
1) Since the Header has to be uniform, just copy the header section from the Z_HTML5_HOMEPAGE and replace in the App Z_HTML5_ADDRESS_LIST and Z_HTML5_ADDRESS_DETAILS.
2) Perform the steps 2 to Step 7 from Blog II, and complete developing the app Z_HTML5_ADDRESS_LIST.
3) Following are the delta changes that you need to carry out in the App Z_HTML5_ADDRESS_LIST.
- The link is added as the application has to call the second page with the highlighted key value and new internal table is introduced IT_0006 in the class attributes.
b. Title section under the link will display the descriptions fetched from the class and it will display as list view.
c. In the Class, call the method get_address_list whenever the application Z_HTML5_ADDRESS_LIST is called.
d. Logic to retrieve the address type for an Employee.
e. In the section 3.A, i have mentioned the key field and the application where it has to be navigated. This key field value can be accessed always in the handle_on_request method.
f. Information has to retrieved from table based on the key value.
4) Lets enhance the application that will display all the details based on the key value. Map all the new internal table values under the loop section and in the back button just call the Address list Application as mentioned in the below image.
5) Change, activate the application and preview in Wrapper.
a) Home page
b) Address List main page
c) Detailed page.