Skip to Content
0
Former Member
Oct 18, 2011 at 06:54 AM

Question about use constants instead of using hard coded strings

1881 Views

sorry for my poor english.

recently, we've been forced by project development leader to use constants

instead of using hard coded strings.

for instance,

IF GR_ALV->IS_READY_FOR_INPUT( ) EQ 'X'. <------WRONG(X)

IF GR_ALV->IS_READY_FOR_INPUT( ) EQ C_X. <------CORRECT(O)

I know exactly what CONSTANTS meaning

but why should we use constants like C_X????

thanks.

Edited by: Tae-Hwan Shin on Oct 18, 2011 8:58 AM