on 12-13-2007 2:30 PM
Hi All,
SELECT EKGRP EKNAM FROM T024 INTO TABLE IT_T024 WHERE EKGRP = S_EKGRP AND EKNAM NE 'NOT VALID%'.
My requirement is to eliminate the EKNAM (Purchasing Group Name) starting with NOT VALID string.
Any hint...
Thanks,
Kal Chand
Use NOT LIKE instead of NE
...EKNAM NOT LIKE 'NOT VALID%'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Kal,
create a range for EKNAM and insert one line:
sign = 'E'.
option = 'CP'.
low = 'NOT VALID*'.
SELECT EKGRP EKNAM FROM T024 INTO TABLE IT_T024 WHERE EKGRP = S_EKGRP AND EKNAM <b>IN range_eknam</b>
hope this helps
ec
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try like this:
RANGES: R_EKNAM FOR T024-EKNAM.
R_EKNAM-SIGN = 'E'.
R_EKNAM-OPTIONS = 'CP'.
R_EKNAM-LOW = 'NOT VALID*'.
APPEND R_EKNAM.
CLEAR R_EKNAM.
SELECT EKGRP EKNAM FROM T024
INTO TABLE IT_T024
WHERE EKGRP = S_EKGRP AND EKNAM IN R_EKNAM. " <<
Regards,
Naimesh Patel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
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.