SAP MDG · COMMUNITY

How can I enhance the SAP MDG Change Request UIBB with a custom field such as Requesting Business Area?

Enhance the Change Request UIBB by storing the custom field outside the MDG master-data model in a Z-table, exposing it through a custom GenIL dependent object and Form UIBB, and wiring it into the Change Request General Data tab with a GenIL relation and FPM wire schema.

Enhance the Change Request UIBB by storing the custom field outside the MDG master-data model in a Z-table, exposing it through a custom GenIL dependent object and Form UIBB, and wiring it into the Change Request General Data tab with a GenIL relation and FPM wire schema.

To enhance the SAP MDG Change Request UIBB with a custom field, keep the field outside the governed master-data model, store it in a Z-table with the Change Request ID, expose it via a GenIL dependent object, and display it on the General Data tab using a copied Form UIBB configuration. In the example guide, the field is Requesting Business Area, based on GSBER with value help from TGSB and TGSBT.

Process flow

  1. Create DDIC structure ZCR_BUSINESS_AREA with BUS_AREA typed GSBER.
  2. Create transparent table ZUSMD_CR_BUSAREA with MANDT, CREQUEST, and BUS_AREA.
  3. Create enhanced root handler ZCL_USMD_CR_GIL_ROOT_ENHANCED inheriting from CL_USMD_CR_GIL_ROOT.
  4. Create dependent-object handler ZCL_CR_GIL_REQ_BUS_AREA inheriting from CL_GENIL_NODE_HANDLER_TX.
  5. Create feeder class ZCL_USMD_CR_GUIBB_REQ_BUS_AREA inheriting from CL_GUIBB_BOL_FORM.
  6. Enhance GenIL component CR in GENIL_MODEL_BROWSER and create ZMDG_CR_ADDITIONAL_FIELDS.
  7. Assign ZCL_USMD_CR_GIL_ROOT_ENHANCED to CR_Root.
  8. Create dependent object ZCR_REQ_BUSINESS_AREA with key structure BSS_CRIL_ROOT_KEY and attribute structure ZCR_BUSINESS_AREA at root object CR_Root, handled by ZCL_CR_GIL_REQ_BUS_AREA; create relation ZCR_ReqBusAreaRel as Aggregation with 1
SE11

Dictionary objects

Create structure ZCR_BUSINESS_AREA and transparent table ZUSMD_CR_BUSAREA

GENIL_MODEL_BROWSER

Change Request component CR

Create enhancement ZMDG_CR_ADDITIONAL_FIELDS, dependent object ZCR_REQ_BUSINESS_AREA, and relation ZCR_ReqBusAreaRel

SE80

Web Dynpro application FPM_FORM_UIBB_GL2 using template FPM_FORM_UIBB_GL2_TEMPLATE

Copy and configure the Form UIBB ZUSMD_CR_REQ_BUS_AREA

CUSTOMIZE_COMPONENT

Shift-F5 in Object Navigator, General tab, Form Component UIBB and Wire Schema

Add the new UIBB to the Change Request UI and wire it to USMD_CR_MASTER

Referenced tables

ObjectPurpose
ZUSMD_CR_BUSAREAStores Change Request ID and Requesting Business Area
TGSBBusiness Area Customizing/value source
TGSBTLanguage-dependent Business Area text

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

Related questions and keywords

Alternative questions

  • Modify Change Request UIBB
  • Capture which Business area does the Change Request belong
  • Add a new field for MDG CR

Possible questions

  • How can I add a custom field to the SAP MDG Change Request header/UI?
  • How can I add a Requesting Business Area to a Change Request?
  • How can I store a CR-specific field without extending the MDG master-data model?
  • How can I add a dropdown field to the General Data tab of a Change Request?
  • How can I make a custom Change Request field read-only in display mode?

Keywords

SAP MDGChange RequestUIBBFPMRequesting Business AreaBusiness AreaGSBERTGSBTGSBTGeneral Datacustom CR fieldprocess control parameterZ-tableGenILBOL