Skip to Content
0
Former Member
Jun 13, 2006 at 11:21 AM

Meaning of the below Routine

17 Views

IF COMM_STRUCTURE-recordmode EQ ' ' OR

COMM_STRUCTURE-recordmode EQ 'N'.

IF COMM_STRUCTURE-dlvieycr GT 0 AND COMM_STRUCTURE-dlvilecr GT 0.

RESULT = 1.

ENDIF.

ELSEIF COMM_STRUCTURE-recordmode EQ 'X'.

IF COMM_STRUCTURE-dlvieycr LT 0 AND COMM_STRUCTURE-dlvilecr LT 0.

RESULT = -1.

ENDIF.

ENDIF.

I have the above update routine, for field 'dlvlcr' in one cube of update rules.

here result = 1 and result = -1 ia there.

but it shows the output values only ' 1 and 0 '.

why -1 is not coming in to the output.

Please tell me how the routine is executing .