Do you have any question about this error?
Message type: E = Error
Message class: 5R - HR-SG: Messages for HR Module SG, China, Hongkong and Taiwan
Message number: 138
Message text: 'Exceptional cases option' is for SAPSCRIPT only!
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.
5R138
- 'Exceptional cases option' is for SAPSCRIPT only! ?The SAP error message 5R138, which states "'Exceptional cases option' is for SAPscript only," typically occurs when there is an attempt to use a feature or functionality that is specific to SAPscript in a context where it is not applicable, such as in Smart Forms or other output forms.
Cause:
- Incorrect Form Type: The error arises when you try to use the "Exceptional cases option" in a Smart Form or another output format that does not support this feature, as it is specifically designed for SAPscript.
- Configuration Issues: There may be a misconfiguration in the output settings or the form type being used for printing or output generation.
Solution:
- Check Form Type: Ensure that you are using the correct form type. If you need to use the "Exceptional cases option," switch to using SAPscript instead of Smart Forms.
- Modify Output Settings: If you are using Smart Forms and do not need the "Exceptional cases option," remove any references to it in your output settings or form configuration.
- Review Documentation: Consult the SAP documentation for both SAPscript and Smart Forms to understand the differences and limitations of each format.
- Testing: After making changes, test the output to ensure that it works as expected without triggering the error.
Related Information:
If the problem persists after trying the above solutions, it may be beneficial to consult with your SAP Basis or ABAP team for further investigation.
Get instant SAP help. Start your 7-day free trial now.
5R137
The appendix only print option is for SAPSCRIPT only!
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
5R136
Declaration date cannot be blank.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
5R141
Please enter a date as qualifying date for ex-employee!
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
5R142
Please enter a valid teilmonth pro-rate rule.
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.