Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8501

Re: Configure navigation buttons in Guided Activity Floorplan (GAF)?

$
0
0

http://help.sap.com/saphelpiis_studio_1502/KTP/Products/bf889ebdf45d4dd19d4a0e0bd39a07fb/LibraryStructure/SAP_BBD_Studio.htmlHi Daniel

 

I know we already solved this together. I'm just placing the solution here for others who might be searching for it.

 

I'll just briefly cover the initial steps in creating a GAF before I explain the ruby script.

1. Right click on the Solution Explorer or folder where you want to create the GAF.

2. Select Add > New Item > Guided Activity Floorplan

3. There will be a prompted to select the Business Object that the GAFwill be on.

 

Once created, the GAF will require configuration in the UI designer. The view in the GAF is changed by setting the value in ViewSwitchSelectedItem to the name of the view that should be focused on.

targetvar.png

 

This value should be set by events attached to the "previous" & "next" buttons.

These events are created the same way as any other button events.

 

The ruby script for this demo is shown below. In this demo the views are named "Step", "Review" and "Confirmation". SAP Ruby supports code completion using CTRL + SPACE and a guide to front end scripting can be found here:

http://help.sap.com/saphelpiis_studio_1502/KTP/Products/bf889ebdf45d4dd19d4a0e0bd39a07fb/LibraryStructure/SAP_BBD_Studio.html

 

scriptscreen.png



It is also possible to create these actions exclusively through DataOperations and Conditions for those who prefer or require a code free front end.

 

I hope this helps anybody who has the same issue,

Pierce 


Viewing all articles
Browse latest Browse all 8501

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>