on 01-25-2008 10:18 AM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.