on 05-30-2007 3:39 PM
Hi All.
I have one internal table like itab.
data:itab like ekpo with header line.
i have to delete some records from Itab which records have EKPO_WERKS is blank.
help me.
Thanks.
jay
Hi Jay,
Please try this.
DELETE ITAB WHERE ( WERKS IS INITIAL OR WERKS EQ SPACE ) AND
( AUFNR IS INITIAL OR AUFNR EQ SPACE ).
Regards,
Ferry Lianto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ferry.
I have one more doubt.I have one internal table.i need to find number of records .if it has more then one ,i need fetch that record based on EBELN.
please help me.
Thanks.
Jay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please try this.
DELETE ITAB WHERE WERKS IS INITIAL OR
WERKS EQ SPACE.
Regards,
Ferry Lianto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ferry.
I have one internal table it has number of field referd from diffrent table .
data:begin of wa,
EBELN type EKPO-EBELN
BUKRS type EKPO-BUKRS
WERKS type EKPO-WERKS
AUFNR type EKKN-AUFNR
end of wa.
data:itab like WA with header line.
now i need to delete records from itab which records with blank in EKPO_WERKS
and records with blank in EKKN_AUFNR.
please help me.
Thanks.
Jay
hi,
do this way ..
delete it_marc where werks = SPACE.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try
Delete <internal table> where WERKS IS initial.
Regards
Tushar Mundlik
Message was edited by:
Tushar Mundlik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
delete itab where werks is initial.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.