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: UJK_EXCEPTION -
Message number: 079
Message text: *CASE statement is incomplete
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.
UJK_EXCEPTION079
- *CASE statement is incomplete ?The SAP error message UJK_EXCEPTION079, which indicates that a CASE statement is incomplete, typically arises in ABAP programming when the syntax of a CASE statement is not properly structured. This can happen for several reasons, such as missing the
ENDCASE
statement, not providing all necessary branches, or having an incorrect logical structure.Cause:
- Incomplete Syntax: The CASE statement is not properly closed with
ENDCASE
.- Missing Branches: Not all possible conditions are covered, or there are no
ELSE
orWHEN
branches defined.- Logical Errors: The conditions defined in the CASE statement may not be logically sound or may lead to ambiguity.
Solution:
To resolve the UJK_EXCEPTION079 error, you can follow these steps:
Check Syntax: Ensure that the CASE statement is correctly structured. A typical CASE statement should look like this:
CASE <expression>. WHEN <value1>. " statements WHEN <value2>. " statements WHEN OTHERS. " statements ENDCASE.
Add Missing Parts: If you have a CASE statement that is missing the
ENDCASE
or anyWHEN
branches, add them accordingly.Review Logic: Ensure that the logic of your CASE statement is sound. If you are using multiple conditions, make sure they are mutually exclusive or properly handled.
Testing: After making changes, test the program to ensure that the error is resolved and that the logic behaves as expected.
Related Information:
By following these steps, you should be able to identify and fix the issue causing the UJK_EXCEPTION079 error in your ABAP code.
Get instant SAP help. Sign up for our Free Essentials Plan.
UJK_EXCEPTION078
No *ENDSELECT is found
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
UJK_EXCEPTION077
line &1: No *SELECTCASE is defined
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
UJK_EXCEPTION080
Empty member found in statement "&1"
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
UJK_EXCEPTION081
Empty *CASE statement
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.