You are on page 1of 4

TASK: Dynamic FPM List and Color Cells Depending on their Values

Display all the TOR documents that were created the current week. Freight Bookings cell will be colored red, Freight
Orders yellow and Freight Units blue. Our list will show the following information and we want to be built with dynamic
configuration.
 TOR ID
 TOR Category
 Creation Date
 Created By
Step 1: Build the Feeder Class

ZCL_TM_FEEDER_DYN_LIST with super class /BOFU/CL_FBI_GUIBB_BASE. For dynamic configuration we need to add
interface IF_FPM_GUIBB_DYNAMIC_CONFIG and for list the interface IF_FPM_GUIBB_LIST.

Methods:

 IF_FPM_GUIBB_DYNAMIC_CONFIG~HAS_DYNAMIC_CONFIGURATION – we specify the dynamic configuration

  METHOD if_fpm_guibb_dynamic_config~has_dynamic_configuration.
    rv_has_dynamic_configuration = abap_true.
  ENDMETHOD.
 IF_FPM_GUIBB_LIST~GET_DEFAULT_CONFIG – we build the default configuration structure

If the

Step 2: Build the UI


A) Create LIST Configuration:

 ID: ZZ_WDCC_DYN_LIST

 Type: FPM_LIST_UIBB_ATS

 Feeder Class: ZCL_TM_FEEDER_DYN_LIST

Because it has a dynamic configuration nothing else needs to be done here.

A) Create OVP Application, Application Configuration and Component Configuration


SE80 and choose Web Dynpro Comp with FPM_OVP_COMPONENT.

Now the OVP Application is created and you can see it under the Web Dynpro Application Tree (left side). To create the
application configuration right click on OVP application name and choose Create/Change Configuration.
Application configuration links the FPM OVP Application to the Component Configuration.

Once application configuration is created we need to create the component configuration too – ZZ_CONFIG_DYN_LIST.
After you press SAVE a warning message will popup saying that the Component Configuration does not exist. Click on the
new Component Configuration name and create it.
Now in this component configuration we add the list configuration that was created previously ZZ_WDCC_DYN_LIST.

FPM OVP Component: ZZ_OVP_DYN_LIST


Application Configuration: ZZ_APP_CONFIG_DYN_LIST

Component Configuration: ZZ_CONFIG_DYN_LIST


List UIBB Configuration: ZZ_WDCC_DYN_LIST

To launch the application press execute in FPM OVP Component: ZZ_OVP_DYN_LIST.

You might also like