Symptom
You are facing the below error message when attempting to perform a save on any business transactional document or master data object:
- Severity: X is not allowed. PDI Solution: YABCDEFGY_. (where "X" is the given severity and "YABCDEFGY_" is the custom solution namespace ID)
- Business Object: BO1, Node: Node1, Method: DETERMINE_AFTER_MODIFY. (where "BO1" is the business object name, "Node1" is the node name and "DETERMINE_AFTER_MODIFY" is the event name)
Environment
- SAP Cloud for Customer
- SAP Business ByDesign
- SAP Cloud Applications Studio
Reproducing the Issue
-
Cause
The error occurs due to an event of type AfterModify or BeforeSave in the specified Business Object and Node, where a message is raised with a severity parameter that is not allowed.
The severity parameter allows the following values:
- "E" for errors
- "W" for warnings
- "S" for success messages
- "I" for information messages
Resolution
- Verify the severity parameter in the event of type AfterModify or BeforeSave in the specified Business Object and Node.
- Ensure the severity message parameter is supplied only with the allowed values: E (error), W (warning), S (success), or I (information).
See Also
Keywords
PDI, SDK, error, script, message, severity, allowed, logic, AfterModify, BeforeSave, warning message, event , KBA , AP-RC-BDS-SCR , ByDesign Studio Scripting (ABSL) , How To
Product
SAP Business ByDesign all versions ; SAP Cloud Applications Studio all versions ; SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions
SAP Knowledge Base Article - Public