SAP MDG · DATA MODEL UI
How do I implement a custom MDG feeder class and connect it to an FPM List UIBB for a custom object?
Use the standard MDG pattern: subclass the SAP feeder class, redefine only the needed GUIBB methods, keep superclass delegation, and then bind the feeder to a copied FPM list configuration. For a custom dependent object, also maintain the genIL enhancement in GENIL_MODEL_BROWSER and the MDG-to-genIL mapping in VC_MDG_BS_GENIL_C.
Use the standard MDG pattern: subclass the SAP feeder class, redefine only the needed GUIBB methods, keep superclass delegation, and then bind the feeder to a copied FPM list configuration. For a custom dependent object, also maintain the genIL enhancement in GENIL_MODEL_BROWSER and the MDG-to-genIL mapping in VC_MDG_BS_GENIL_C.
Use the MDG standard pattern: do not build the feeder from scratch. Start from the SAP feeder class, redefine only the methods you need, and keep `super->` delegation so standard MDG behavior remains intact. For a list UIBB, the core runtime methods are `GET_DEFINITION`, `GET_DATA`, and optional `PROCESS_EVENT`; for value help, use `IF_FPM_GUIBB_OVS`. After the class is ready, copy the list UIBB configuration in `SE80` from `FPM_LIST_UIBB_TEMPLATE`, assign the feeder class, component name, object name, and editability, then place the UIBB into the relevant OVP or page configuration.
Process flow
- Create the feeder class inheriting from the standard MDG feeder.
- Redefine `GET_DEFINITION` and `GET_DATA`; add `PROCESS_EVENT` if needed.
- Call `super->` to preserve standard behavior.
- Read MDG context safely via `CL_USMD_APP_CONTEXT=>GET_CONTEXT` when needed.
- Adjust field and action usage in `GET_DATA`.
- If the object is custom, maintain the genIL enhancement and MDG model mapping.
- Copy `FPM_LIST_UIBB_TEMPLATE` in `SE80` and assign feeder parameters.
- Activate and place the UIBB in the target page or overview page configuration.
Referenced tables
| Object | Purpose |
|---|---|
ct_data | Runtime list data returned by the feeder |
ct_field_usage | Controls field visibility/editability at runtime |
ct_action_usage | Controls action/button enablement at runtime |
et_messages | Carries framework messages and validation feedback |
The remaining configuration, implementation details, and testing guidance continue from this answer more…
Related questions and keywords
Alternative questions
- How do I create a custom MDG GUIBB feeder class?
- Which feeder methods do I redefine for an MDG List UIBB?
- How do I configure a custom FPM List UIBB in MDG?
Possible questions
- How do I create a custom MDG GUIBB feeder class?
- Which feeder methods do I redefine for an MDG List UIBB?
- How do I configure a custom FPM List UIBB in MDG?
- How do I add fields and actions to an MDG List UIBB?
- How do I connect a custom genIL object to MDG UI?