SAP MDG · DATA MODEL UI

How do I create or redefine a UI feeder class in SAP MDG and assign it to an existing UIBB?

Create a custom feeder class in SE24 by inheriting from the SAP standard feeder, then replace the feeder class in the UIBB customizing and verify execution with an external breakpoint. For form UIBBs use CL_BS_BP_GUIBB_FORM as the base pattern; for list UIBBs use CL_BS_BP_GUIBB_LIST.

Create a custom feeder class in SE24 by inheriting from the SAP standard feeder, then replace the feeder class in the UIBB customizing and verify execution with an external breakpoint. For form UIBBs use CL_BS_BP_GUIBB_FORM as the base pattern; for list UIBBs use CL_BS_BP_GUIBB_LIST.

Create the custom feeder in SE24, inherit from the standard MDG feeder, and assign it to the existing UIBB in customizing. For form UIBBs, the guide uses CL_BS_CU_GUIBB_GENERAL_DATA as the superclass for ZCL_BS_CU_GUIBB_GENERAL_DATA and replaces the feeder in configuration BS_CU_GEN_ADDITIONAL after enabling expert configuration with FPM_CONFIG_EXPERT = A.

Process flow

  1. 1. Identify whether the UIBB is a Form or List UIBB.
  2. 2. Create the customer class in SE24.
  3. 3. Set the correct superclass: CL_BS_BP_GUIBB_FORM for Form UIBBs or CL_BS_BP_GUIBB_LIST for List UIBBs, or inherit from the relevant SAP feeder class if you are extending existing behavior.
  4. 4. Activate the class and transport it if required.
  5. 5. Set user parameter FPM_CONFIG_EXPERT = A.
  6. 6. Open the UIBB in technical help and switch to customizing.
  7. 7. Replace the feeder class in General Settings -> Feeder Class -> Feeder Class.
  8. 8. Save the UIBB customizing and activate it if needed in your process flow settings.","9. Redefine a feeder method such as GET_ENTITY_DATA and set an external breakpoint.","10. Run the MDG UI and confirm the debugger stops in the custom Z*
SE24

Create class and set superclass in the ABAP Class Builder

Create the custom feeder class in the customer namespace and inherit from the standard MDG feeder

FPM_CONFIG_EXPERT

User parameter must be set to A

Enable expert customizing for the UIBB configuration

GENIL_MODEL_BROWSER

Create the custom genIL enhancement and assign the implementation class

Create custom genIL enhancement logic when feeder logic alone is not enough

SM30

Maintain view/table USMD_TXT_FLD_EXC

Exclude fields from generic text determination when value-help generation is too slow

USMD_TXT_FLD_MAP_DELETE

Report to refresh mapping after changes to USMD_TXT_FLD_EXC

Rebuild the text-field mapping after excluding a field from generic text determination

Referenced tables

ObjectPurpose
USMD_TXT_FLD_EXCExcludes fields from generic text determination
TVKGGCustomizing table used in the KDKG1 search-help example
TVKGGTLanguage-dependent text table used in the KDKG1 search-help example

The remaining configuration, implementation details, and testing guidance continue from this answer more…

Related questions and keywords

Alternative questions

  • What is a UI feeder class in SAP MDG?
  • Which superclass should be used for a form UIBB?
  • Which superclass should be used for a list UIBB?

Possible questions

  • How do I create ZCL_BS_CU_GUIBB_GENERAL_DATA in transaction SE24?
  • How do I replace an SAP feeder class in an existing UIBB configuration?
  • How can I verify that a custom feeder class is being executed?
  • Why is an external breakpoint required for UI debugging?
  • When is a custom genIL enhancement needed?
  • How do I create Z_CUSTOM_GENIL in GENIL_MODEL_BROWSER?

Keywords

MDGUI feeder classFPMUIBBForm UIBBList UIBBSE24FPM_CONFIG_EXPERTCL_BS_BP_GUIBB_FORMCL_BS_BP_GUIBB_LISTCL_BS_CU_GUIBB_GENERAL_DATAZCL_BS_CU_GUIBB_GENERAL_DATABS_CU_GEN_ADDITIONALgenILCL_BS_CUSTOMER_GENILZCL_BS_GENIL_CUSTOMBUPABUPA_CUSPGENIL_MODEL_BROWSERZ_CUSTOM_GENILKDKG1KDKG1__TEXTOVS search helpGET_DEFINITIONOVS_HANDLE_PHASE_2GET_ENTITY_DATAGET_JOIN_ENTITY_DATAGET_FIELD_UI_PROPUSMD_TXT_FLD_EXCUSMD_TXT_FLD_MAP_DELETE