Do you have any question about this error?
Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now →
Message type: E = Error
Message class: SRV - Service specific messages
Message number: 036
Message text: Both 'Modify Only' flag and 'DB Only' flag are not set
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.
SRV036
- Both 'Modify Only' flag and 'DB Only' flag are not set ?The SAP error message SRV036, which states "Both 'Modify Only' flag and 'DB Only' flag are not set," typically occurs in the context of data service operations, particularly when working with data models or service definitions in SAP systems.
Cause:
This error arises when a data service is configured in such a way that neither the "Modify Only" nor the "DB Only" flags are set. This can happen in scenarios where:
- Service Configuration: The service is expected to either modify data or interact with the database directly, but neither option is enabled.
- Inconsistent Settings: The settings for the service may be inconsistent or not properly defined, leading to ambiguity about how the service should behave.
Solution:
To resolve this error, you need to ensure that at least one of the flags is set correctly in the service configuration. Here are the steps to do that:
- Access the Service Definition: Go to the relevant service definition in the SAP system where the error is occurring.
- Check Flags: Look for the "Modify Only" and "DB Only" flags in the service configuration.
- Set the Appropriate Flag:
- If the service is intended to modify data, set the "Modify Only" flag.
- If the service is intended to interact with the database without modifying data, set the "DB Only" flag.
- Save Changes: After making the necessary adjustments, save the changes to the service definition.
- Test the Service: Execute the service again to ensure that the error is resolved.
Related Information:
By ensuring that the service configuration is correctly set up with at least one of the required flags, you should be able to resolve the SRV036 error and proceed with your operations.
Get instant SAP help. Sign up for our Free Essentials Plan.
SRV035
&1 &2 cannot be deleted (record does not exist)
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SRV034
Error when posting &1
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SRV037
Long text cannot be updated (outline number &1 does not exist)
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SRV038
Error in external header data. Please enter &1
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.