Message type: E = Error
Message class:  MDG_BS_ECC_CUST - Messages for Customer - MDG_APPL 
Message number: 004
Message text: Enter number range data or target account group
Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.
To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.
Unfortunately, there isn't any extra information in this error notice.
First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).
Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.
You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.
The SAP error message MDG_BS_ECC_CUST004 typically occurs in the context of Master Data Governance (MDG) when there is an issue related to number range data or the target account group during the creation or modification of master data. This error indicates that the system expects a number range to be defined for the specified account group, but it is either missing or not properly configured.
Cause: Missing Number Range: The number range for the specified account group is not defined in the system. Incorrect Configuration: The number range might be incorrectly configured or not assigned to the relevant account group. Authorization Issues: The user may not have the necessary authorizations to access or modify the number range settings. Data Model Issues: There may be issues with the data model or the configuration of the MDG system that prevent the number range from being recognized.
Solution: To resolve the error, you can follow these steps: Check Number Range Configuration: Go
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
MDG_BS_ECC_CUST003 Number range missing
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
MDG_BS_ECC_CUST002 Alternative payer &1 of customer &2 is not distributed
What causes this issue?  The alternative payer &v1& is not known in the target system. Therefore it is not distributed.System Response  The sy...
MDG_BS_ECC_CUST005 No DRF Customizing determined for client system &1
What causes this issue?  The IDoc processing could not determine DRF Customizing for the client system &v1&.System Response  The current IDoc ...
MDG_BS_ECC_CUST006 DRF Cust. is set to non-harmonized keys for customers of client system &1
What causes this issue?  You are processing the ALE IDoc Inbound for customers. The current IDoc is related to a customer. Possible IDoc types are: DE...
Click on this link to search all SAP messages.