- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Negation logic in SAP ABAP
You can use BOOLC to sort out your requirement. It should be like this
Varbool= BOOLC( NOT Logical operation)
But be clear in your implementation, as ABAP does not have true bool type. It does not store true or false in bool type rather it stores ‘X’ or ‘’ for true and false respectively.
You can also try to use XSDBOOL instead of BOOLC.
- Related Articles
- Using logarithm in SAP ABAP
- Declare dynamically in SAP ABAP
- What is SAP ABAP?
- Create database view in SAP ABAP
- Getting unauthorized exception in SAP ABAP
- Sort Datetime Type in SAP ABAP
- Equivalent for Row_Number() in SAP ABAP
- Debugging an Asynchronous RFC in SAP ABAP
- Defining a variable reference in SAP ABAP
- Form a dynamic Query in SAP ABAP
- Information for obsolete functions in SAP ABAP
- Using real Boolean type in SAP ABAP
- Replace Tab with space in SAP ABAP
- Combining fields in CDS view in SAP ABAP
- Use decimal in where clause in SAP ABAP

Advertisements