SAP MDG · MDG FINANCE

How do I extend SAP MDG for FI Contract Account with Charges and Discounts?

Extend MDG data model BP with FKKCHGDIS, FKK_CD_VF, and FKK_CHGKY; add FKK_DATET; create the HAS_CHG, QLF_DATEF, and QLF_CHGKY relationships; generate structures; then build the FPM list UIBB and wire it into the Contract Account UI.

Extend MDG data model BP with FKKCHGDIS, FKK_CD_VF, and FKK_CHGKY; add FKK_DATET; create the HAS_CHG, QLF_DATEF, and QLF_CHGKY relationships; generate structures; then build the FPM list UIBB and wire it into the Contract Account UI.

Extend data model BP in MDGIMG, create the three entity types FKKCHGDIS, FKK_CD_VF, and FKK_CHGKY, add attribute FKK_DATET with data element CHGDISC_DATE_TO_KK, and define the relationships HAS_CHG, QLF_DATEF, and QLF_CHGKY. After activation and staging adjustment, generate the BP-specific structures, create an FPM list configuration, and add it to the Contract Account page.

Process flow

  1. Use MDGIMG to edit data model BP.
  2. Create entity types FKKCHGDIS, FKK_CD_VF, and FKK_CHGKY.
  3. Add attribute FKK_DATET with data element CHGDISC_DATE_TO_KK and No Existence Check.
  4. Create HAS_CHG, QLF_DATEF, and QLF_CHGKY relationships with cardinality 1:N.
  5. Activate the model and adjust the staging area of linked change requests.
  6. Generate data model-specific structures for BP.
  7. Create FPM_LIST_UIBB_ATS configuration ZMDG_FICA_CHARGES_DISCOUNTS in SE80.
  8. Configure feeder CL_MDG_FICA_GUIBB_CHARGES_DISC with MDGFKK and FKKCHGDIS, editable enabled.
MDGIMG

Master Data Governance → Central Governance → General Settings → Data Modeling → Edit Data Model

Extend data model BP with entity types, attributes, and relationships

Structure
MDGIMG
Master Data Governance
Classic Mode in SAP MDG
Central Governance
General Settings
Data Modeling
Edit Data Model
MDGIMG

Master Data Governance → Central Governance → General Settings → Data Modeling → Generate Data Model-Specific Structures

Generate BP-specific structures after activation

Structure
MDGIMG
Master Data Governance
Classic Mode in SAP MDG
Central Governance
General Settings
Data Modeling
Generate Data Model-Specific Structures
SE80

Create → Web Dynpro → FPM GUIBB Configuration

Create the FPM list GUIBB configuration ZMDG_FICA_CHARGES_DISCOUNTS

NWBC

SAP_MDGFICA_MENU → Search Contract Account → Configure Page

Add the Charges and Discounts UIBB to page MDG_FICA_PARTNER

SM30

Maintain view MDG_FICA_FLDGRPC

Maintain mandatory-field checks for FKK_CD_VF, FKK_CHGKY, and FKK_DATET

Referenced tables

ObjectPurpose
FKKCHGDISMain Charges and Discounts entity
FKK_CD_VFQualifying entity for the date-from relationship QLF_DATEF
FKK_CHGKYQualifying entity for the charge-key relationship QLF_CHGKY
FKK_DATETDate-to attribute on FKKCHGDIS
FKKVKPContract Account entity used in the leading relationship HAS_CHG
MDG_FICA_FLDGRPCMandatory-field maintenance for the FI Contract Account Charges and Discounts UI

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

Related questions and keywords

Alternative questions

  • How do I extend MDG FI Contract Account with Charges and Discounts?
  • What is the purpose of the Charges and Discounts extension?
  • Which MDG object is enhanced in this guide?

Possible questions

  • Which data model is used for FI Contract Account Charges and Discounts?
  • Which entity represents Charges and Discounts?
  • How do I configure the Charges and Discounts list UIBB?
  • Which relationships are required for FKKCHGDIS?
  • What mandatory fields are maintained for Charges and Discounts?

Keywords

MDGFI Contract AccountCharges and DiscountsBusiness PartnerCentral GovernanceBPMDGIMGFPMFKKCHGDISFKK_CD_VFFKK_CHGKYFKK_DATETHAS_CHGQLF_DATEFQLF_CHGKY