Skip to Content

Creating Tree UIBB in FPM application and displaying hierarchical records.

 

Scenario:

This document explains the step by step procedure to create Tree UIBB and display employee to manager relationship in tree or hierarchical form.

Final expected output:-

 

Prerequisite:

Knowledge on Object Oriented ABAP and ABAP WebDynpro.

Step by step Procedure: there are three development. 1. Creating Z table 2. Creating Z feeder class 3. Creating FPM WD application with tree UIBB.

 

  1. Create a Z table zrs_testThis table is simply a Z table which will store employees and its manager related information in following form.

 

 

  1. Creating feeder class –

1. Go to transaction SE24 and create class ZCL_TREE_UIBB_DEMO.

 

  1. Enter interface IF_FPM_GUIBB_TREE.

  1. Go to each method individually and add one or two blank row to re-implement it. If you don’t do so then once you enter feeder class in FPM configuration editor then the editor will dump.
  2. Add below code to private section of the class and methods.

 

 

 

 

  1. Activate the whole class and method.

 

  1. Create FPM Tree application and configuring it:

1.Go to SE80 transaction and enter FPM WD component FPM_OVP_COMPONENT. Expand Web-DynPro application node.

 

  1. Right click on web-dynpro application node and create a new WD application.

 

  1. Enter Component as ‘FPM_OVP_COMPONENT’ , interface view as FPM_WINDOW and plug name as default.

 

  1. Right click on newly created WD application and go to ‘Create/Change Configuration’. it will open configuration editor in browser window.

  1. Enter application configuration ID name for WD application and click on Create button.

 

  1. Click on Goto Compoment Configuration.

  1. Click on Create.

 

  1. Save to your package.

 

  1. Configuration editor will show component configuration.

 

  1. Create a Tree UIBB as below.

 

  1. Enter component name, configuration ID and view as below

 

  1. Component configuration does not exist. Click on configuration UIBB.

 

  1. Click on Create button.

 

  1. Save to your package.

 

  1. Enter the feeder class which you created in above steps.

 

  1. Below screen will be displayed.

 

  1. Click on Configure Columns and choose columns which you want to display in tree display.

 

 

  1. Enter column header names.

 

  1. Finally, save it and test it. Employee records are display in hierarchy.

 

 

 

 

 

 

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply