The Simple Worklist with global action Floorplan is a set of layouts that allows you to query and view data and offers the possibility of applying a certain action to a group of items (to select the items, a checkbox is offered for each line).
This article describes you how to apply it to a Transaction or Web Panel to obtain a page like the following:
You can see this sample running here. It has been created using this Knowledge Base (KB).
Note: The design guideline of this floorplan is at SAP's documentation.
Look at the Patterns tab of a Transaction in your KB. If you have never applied the Fiori for Web pattern in your KB yet, read here. Otherwise, being positioned on the Fiori for Web Pattern tab, check the "Apply this pattern on save" checkbox and select the offered link to choose a floorplan:
You can choose the Simple Worklist with global action floorplan from several offered floorplans:
This floorplan can be applied to a Transaction object or a Web Panel object.
Learn how to apply it to a Web Panel.
By default, the global action comes unset. To set it you have to right-click the ProcessItems User action on the Simple Worklist with global action tab, and select the 'Go to Event' option:
This would open the Simple Worklist with global action Web Panel, on its Events section and automatically created the Click event of the ProcessItems action:
The following section explains how to customize your Simple Worklist with global action.
You can add, modify or delete actions being positioned on the Simple Worklist with global action tab, but if you want to do this, you may prefer the GeneXus For SAP Systems List Report Floorplan
To add actions you have to right-click the GridActions node and then, select in the contextual menu Add / UserAction. The action will be added outside the grid (in the section where is located the button to insert).
To modify these actions you can right-click on the action node and select the 'Go to Event' option. Then, you can modify the event code, but remember to do it outside the code generated by GeneXus (to avoid being overwritten by GeneXus).
If you want to add an action inside the grid for every line, you have to right-click on the Grid node and select in the contextual menu Add / UserAction:
To modify these actions, you have to follow the next steps:
1. Right-click on the Simple Worklist with global action tab and select Open YourObjectNameSimpleWorklistwithglobalaction.
Note: Temporarily the Web Panel's name is not WebPanelNameSimpleWorklistwithglobalaction, but it is WebPanelNameListReport.
2. Being in the Simple Worklist with global action Web Panel, go to the Events Section.
3. Once there, you only have to create the Click event for your customized actions.
You can manage the filters being positioned on the Simple Worklist with global action tab.
To add filters, you have to right-click on the Table Filter node and then select in the contextual menu Add and select the kind of filter you want.
For more information see GeneXus For SAP Filters
You can manage the attributes to show being positioned on the Simple Worklist with global action tab.
To prevent attributes from being shown on the Simple Worklist with global action, you have to right-click the attribute and select Delete. Don't worry it will be deleted from the Web Panel, not from the Transaction.
To add attributes to be shown in the list, you have to right-click the Grid node, then select Add / GridAttribute:
Then, GeneXus will display a list of attributes for you to choose which ones you want to add.