SAP MDG · DATA MODEL UI

How do I implement a custom SAP MDG FPM list feeder with OVS for error-message lookup and user selection?

Implement the feeder in ZCL_MDGBP_ERROR_MESSAGE_LIST by redefining GET_DATA, GET_DEFINITION, PROCESS_EVENT, and the four OVS phase methods. Use GET_DATA to enrich rows, GET_DEFINITION to point USER_RESP to the custom OVS and hide actions, PROCESS_EVENT to force implicit edit mode, and HANDLE_PHASE_2 to build KEY/TEXT results from AGR_USERS, USR21, and ADRP.

Implement the feeder in ZCL_MDGBP_ERROR_MESSAGE_LIST by redefining GET_DATA, GET_DEFINITION, PROCESS_EVENT, and the four OVS phase methods. Use GET_DATA to enrich rows, GET_DEFINITION to point USER_RESP to the custom OVS and hide actions, PROCESS_EVENT to force implicit edit mode, and HANDLE_PHASE_2 to build KEY/TEXT results from AGR_USERS, USR21, and ADRP.

Implement the custom MDG feeder as a `CL_BS_BP_GUIBB_LIST` subclass and place the business logic in the redefined list and OVS methods. `GET_DATA` enriches the list rows from `zcl_mdg_suppl_utility=>gt_message` and support tables, `GET_DEFINITION` assigns the custom OVS for `USER_RESP`, and `HANDLE_PHASE_2` performs the lookup against `AGR_USERS`, `USR21`, and `ADRP` before sending the result table back to FPM.

Process flow

  1. Redefine `IF_FPM_GUIBB_LIST~GET_DATA` in `ZCL_MDGBP_ERROR_MESSAGE_LIST`.
  2. Call the superclass and enrich each row from `zcl_mdg_suppl_utility=>gt_message`.
  3. Read `ZMDG_ERROR_DOC` and `ZMDG_FIELD_PATH` to attach knowledge links and paths.
  4. Derive `USER_RESP` text from `AGR_USERS`, `USR21`, and `ADRP`.
  5. Set row style/color indicators and dynamic visibility flags.
  6. Set `ev_data_changed = abap_true`.
  7. Redefine `IF_FPM_GUIBB_LIST~GET_DEFINITION` and bind OVS for `USER_RESP` with `ovs_name = 'ZCL_MDGBP_ERROR_MESSAGE_LIST'`.
  8. Hide actions by setting `visible = '01'`.},{

Referenced tables

ObjectPurpose
ZMDG_ERROR_DOCStores matching knowledge links for error messages
ZMDG_FIELD_PATHStores field navigation path information
AGR_USERSMaps roles to users for OVS lookup
USR21Provides user-person assignment for name resolution
ADRPProvides person name text for readable user display

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

Related questions and keywords

Alternative questions

  • How can I build an MDG list feeder that enriches rows and provides OVS search help?
  • How do I implement GET_DATA, GET_DEFINITION, PROCESS_EVENT, and OVS phases in an MDG feeder class?
  • How do I add a custom OVS-based lookup to an SAP MDG FPM GUIBB list?

Possible questions

  • How do I implement a custom SAP MDG FPM list feeder with OVS for error-message lookup and user selection?
  • How do I enrich MDG list rows from utility messages and support tables?
  • How do I configure OVS for a custom list feeder in SAP MDG?
  • Which methods must be redefined for an MDG feeder class with OVS?
  • How do I populate KEY/TEXT output in IF_FPM_GUIBB_OVS~HANDLE_PHASE_2?

Keywords

SAP MDGFPM GUIBB LISTOVSIF_FPM_GUIBB_LIST~GET_DATAIF_FPM_GUIBB_LIST~GET_DEFINITIONIF_FPM_GUIBB_LIST~PROCESS_EVENTIF_FPM_GUIBB_OVS~HANDLE_PHASE_0IF_FPM_GUIBB_OVS~HANDLE_PHASE_1IF_FPM_GUIBB_OVS~HANDLE_PHASE_2IF_FPM_GUIBB_OVS~HANDLE_PHASE_3ZCL_MDGBP_ERROR_MESSAGE_LISTAGR_USERSUSR21ADRPZMDG_ERROR_DOCZMDG_FIELD_PATH