Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

@IF

Former Member
0 Likes
546

Whats the difference between:

IF var IS NOT INITIAL.

ENDIF

and

IF NOT var IS INITIAL.

ENDIF

2 REPLIES 2
Read only

Former Member
0 Likes
473

no diference

very minute

IF var IS NOT INITIAL.

ENDIF

this directly check whether it is not initial

and

IF NOT var IS INITIAL.

ENDIF

this first check first var is initial then not is added (opposite value is considere)

Read only

Former Member
0 Likes
473

The "if XXX is not initial" statement is not valid in 4.6c versions of SAP.

That is why these kind of statements were removed from the generated source code

+and changed to "if not XXX is initial".+