Message type: E = Error
Message class:  /IWBEP/CM_MGW_RT -  
Message number: 079
Message text: Set a new main service necessary before unassign the old one
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 /IWBEP/CM_MGW_RT079 typically occurs in the context of SAP Gateway and OData services. This error indicates that there is an attempt to unassign a main service without first setting a new main service. This situation can arise when you are trying to modify the service configuration in the SAP Gateway.
Cause: The error is caused by the following scenarios: Service Configuration Issue: You are trying to unassign a main service from a service group or a service configuration without assigning a new main service first. Service Dependencies: The system requires that a main service is always assigned to ensure that there is a fallback or a primary service available for processing requests.
Solution: To resolve this error, follow these steps: Assign a New Main Service: Go to the SAP Gateway Service Builder (transaction code SEGW). Open the service group or the service configuration where the error occurred. Assign a new main service by selecting the appropriate service
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
/IWBEP/CM_MGW_RT078 Vocabulary annotation '&1' version '&2' not assigned to service
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/IWBEP/CM_MGW_RT077 Vocabulary annotation '&1' version '&2' already assigned to service
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/IWBEP/CM_MGW_RT080 Vocabulary '&1' version '&2' already exists
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/IWBEP/CM_MGW_RT081 Create vocabulary '&1' version '&2' failed
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.