07-18-2007 6:43 AM
HI,
What is the difference between CHECK & IF statements and at what postion they can be useful for good performance point...explain please
Thanks.
07-18-2007 8:48 AM
Hi,
CHECK :
If the condition fails, it simply ignores the remaining lines and exit out of the module where the CHECK command exists.It has only two options for processing true or false.
IF :
It is a kind of modularization technique, i mean we can do different actions depending on the condition.Here only the condition is visible inside the IF..Endif structure.
07-18-2007 6:48 AM
After check, if the condition is not satisfying, remaining code will not work.
After IF, if the condition is not satisfying, remaining code after endif will work.
07-18-2007 8:48 AM
Hi,
CHECK :
If the condition fails, it simply ignores the remaining lines and exit out of the module where the CHECK command exists.It has only two options for processing true or false.
IF :
It is a kind of modularization technique, i mean we can do different actions depending on the condition.Here only the condition is visible inside the IF..Endif structure.
07-25-2007 5:53 AM
10-19-2021 6:59 PM
08-01-2022 8:57 AM
08-01-2022 8:59 AM
Hi David,
Thank you for visiting SAP Community to get answers to your questions. Since you're asking a question here for the first time please note that:
You are adding a comment to an old post that is not likely to get an answer.
I suggest starting a new question and following these guidelines:
I recommend that you familiarize yourself with: https://community.sap.com/resources/questions-and-answers, as it provides tips for preparing questions that draw responses from our members.
For example, you can:
- outline what steps you took to find answers (and why they weren't helpful)
- share screenshots of what you've seen/done
- make sure you've applied the appropriate tags
- use a more descriptive subject line
The more details you provide, the more likely it is that members will be able to respond. Feel free to also take our Q&A tutorial at: https://developers.sap.com/tutorials/community-qa.html
Should you wish, you can revise your question by selecting Actions, then Edit.
By adding a picture to your profile you encourage readers to respond: https://developers.sap.com/tutorials/community-profile.html
Regards,
Dedi