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
- Redefine `IF_FPM_GUIBB_LIST~GET_DATA` in `ZCL_MDGBP_ERROR_MESSAGE_LIST`.
- Call the superclass and enrich each row from `zcl_mdg_suppl_utility=>gt_message`.
- Read `ZMDG_ERROR_DOC` and `ZMDG_FIELD_PATH` to attach knowledge links and paths.
- Derive `USER_RESP` text from `AGR_USERS`, `USR21`, and `ADRP`.
- Set row style/color indicators and dynamic visibility flags.
- Set `ev_data_changed = abap_true`.
- Redefine `IF_FPM_GUIBB_LIST~GET_DEFINITION` and bind OVS for `USER_RESP` with `ovs_name = 'ZCL_MDGBP_ERROR_MESSAGE_LIST'`.
- Hide actions by setting `visible = '01'`.},{
Referenced tables
| Object | Purpose |
|---|---|
ZMDG_ERROR_DOC | Stores matching knowledge links for error messages |
ZMDG_FIELD_PATH | Stores field navigation path information |
AGR_USERS | Maps roles to users for OVS lookup |
USR21 | Provides user-person assignment for name resolution |
ADRP | Provides 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?