GeneXus For SAP Systems List Report Floorplan

Official Content

The List Report Floorplan is a set of layouts that allows you to query, view, insert, update, and delete data.

This article describes you how to apply it to a Transaction or Web Panel to obtain a page like the following:

GeneXusForSAPSystems_ListAndReportPattern_Image3

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.

How to apply it

Look at the Patterns tab of the Country Transaction. If you have never applied the Fiori for Web pattern in your Knowledge Base 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:

GeneXusForSAPSystems_ListAndReportPattern_Image83

You can choose the List Report floorplan from several offered floorplans:

GeneXusForSAPSystems_ListAndReportPattern_Image84

As you can see, when applied to a Transaction, all is analogous to when applying the traditional Work With GeneXus (but with more power), automatically creating all the necessary objects and functionalities.

When the pattern is applied to a Web Panel, you have to select a Transaction to set which is the data to navigate. In that case, only the Web Panel's Form (a List form) and its events (to manipulate the data) will automatically be defined.

How to customize it

The following section explains how to customize your List Report.

Add/Modify/Delete Actions

You can add, modify or delete actions being positioned on the List Report tab.

CountryListReport

To add actions you have to right click the GridActions node and then, select from 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:

RightClickGrid_png

In order to modify these actions, you have to follow the next steps:

1. Right-click on the List Report tab and select Open YourObjectNameListReport.RightClickListReport_png

2. Being in the List Report Web Panel, go to the Events Section.ListReportWebPanelEvents_png

3. Once there, you only have to create the click events for your customized actions.

ListReportWebPanelEventClick_png

Manage Filters

You can manage the Filters being positioned on the List Report tab.

To add filters you have to right-click on the Header Content node and then select in the contextual menu Add and select the kind of filter you want.

ListReportPositionFilterNode_png

For more information see GeneXus For SAP Filters

Customize the information to be shown in the list

You can manage the attributes to show being positioned on the List Report tab.

To prevent attributes from being shown on the list report 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.

ListReportPositionManageAttr_png

To add attributes to be shown in the list, you have to right-click the Grid node, then select Add / GridAttribute:

AddAttr_2018416135411_1_png

Then, GeneXus will display a list of attributes for you to choose which ones you want to add. 

ListReportAttrList_png

 

Other Functionalities

There are other functionalities generated by GeneXus when you apply the floorplan.

  • Pin the Header
    • By clicking the pin button you prevent the header from collapsing when you scroll.
       
  • Save as Tile
    • By clicking the Save as Tile button, you create a new tile for the Web Panel generated by GeneXus with the List Report Floorplan. It will be always at the beginning of the Launchpad, keeping it handier.

 

See Also

 

Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.