Yesterday, November 1st, was Halloween, and Jerry was busy researching product master data management in the SAP Commerce Cloud. Go home at night to SAP foreign social media look, very lively ah. SAP workers abroad celebrate Halloween in a variety of ways.

Halloween in the West is also a long history of the holiday: as early as more than two thousand years ago, the European Church of Christ on November 1 as “All Hallows’ Day” (All Hallows’ Day). It is seen as the official end of summer, the beginning of the New Year and the first day of the harsh winter. At that time, people believed that the spirits of the dead would return to their former homes on this day, looking for life in the living, so as to regenerate. And the living are afraid of the dead soul to seize the life, so people in this day put out the fire and candlelight, so that the dead soul can not find the living, at the same time dressed as ghosts and ghosts frighten the dead soul away.

Therefore, foreign ABAP developers are not lonely on this day, one brother proposed to Scare with ABAP theme to add some festive atmosphere for Halloween.

The proposal was echoed by everyone.

This use of ABAP string templates and string embedded functions is certainly not going to make ABAP veterans tremble.

This level of ABAP code is obviously not enough to scare ABAP veterans either:

So what about Jerry’s ABAP code? It can be successfully activated and executed without any syntax errors.

Source code is as follows:

REPORT Wang Zixi’s REPORT, scared the dead!!!!! .

INCLUDE NOT.

IF NOT NOT NOT NOT NOT NOT NOT NOT NOT NOT NOT NOT NOT NOT NOT NOT NOT NOT NOT NOT NOT NOT ! NOT OR NOT NOT NOT ! NOT OR NOT NOT NOT NOT NOT=>NOT( NOT ) AND NOT NOT NOT ! NOT OR NOT NOT ! NOT AND NOT ! NOT … NOT.

Are you all shivering after reading this ABAP code?

To prove that Jerry didn’t photoshop the syntactic screenshot above, let’s step through it in the ABAP debugger:

The key to this wacky ABAP program is the self-developed ABAP include called NOT in line 3. What ABAP code is needed to make the report pass the ABAP syntax check and execute smoothly?

Want to know the secret to Include NOT? Follow Jerry’s public account “Wang Zixi” to get the answer.

For more of Jerry’s original articles, please follow the public account “Wang Zixi “: