cancel
Showing results for 
Search instead for 
Did you mean: 

URGENT.

praveen_kumar132
Participant
0 Kudos

please tell me how to write code for the below lines using RANGE.

If AFVC-STEUS in (PP01, PP02, PP03, PP04, ZCPO, ZP01, ZP02, ZP03, ZRU1, ZRUP, ZTR1, ZTRP then print label else exit.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

If AFVC-STEUS in (PP01, PP02, PP03, PP04, ZCPO, ZP01, ZP02, ZP03, ZRU1, ZRUP, ZTR1, ZTRP then print label else exit.

define declaration like.

RANGES :R_STEUS FOR AFVC_STEUS.

maintain in intialization event.

INITIALIZATION.

REFRESH R_STEUS.

R_STEUS-SIGN = 'I'.

R_STUES-OPTION = 'EQ'.

R_STUES-LOW = 'PP01'.

APPEND R_STEUS.

R_STEUS-SIGN = 'I'.

R_STUES-OPTION = 'EQ'.

R_STUES-LOW = 'PP02'.

APPEND R_STEUS.

R_STEUS-SIGN = 'I'.

R_STUES-OPTION = 'EQ'.

R_STUES-LOW = 'PP03'.

APPEND R_STEUS.

....

....

etc.. untill your criteria.

Best Regards,

KSK.

Note : If above info is useful then assign points. thanks.

Answers (0)