cancel
Showing results for 
Search instead for 
Did you mean: 

IF statement in SAPscript

Former Member
0 Kudos

I'm probably making a really simple mistake, but I've got the following code in a SAPscript window:

/: IF &REGUD-WRBTR& GT 0

HE <S>DR></>

/: ELSE

HE <S>CR></>

/: ENDIF

I've debugged through the print program and REGUD-WRBTR is 1175.00 but it still prints CR.

Any ideas?

Gill

Accepted Solutions (1)

Accepted Solutions (1)

Pawan_Kesari
Active Contributor
0 Kudos

use

IF REGUD-WRBTR GT 0 

without &

Answers (0)