hi Geeks,
in a smartform output, there are five line items.
slno desc qty
1. RAW MATERIALS 100
2. RAW MATERIALS 100
3. RAW MATERIALS 100
4. ENGINEERING SPARES 50
5. PACKING MATERIALS 200
i hav coded like tis,
if w_lips-mtart = 'ROH'.
move 'RAW MATERIALS' to DESC.
ELSEIF w_lips-mtart = 'ERSA'.
move 'ENGINEERING SPARES' to DESC.
ELSEIF w_lips-mtart = 'VERP'.
move 'PACKING MATERIALS' to DESC.
ENDIF.
now, i want to ignore repeated desc, i mean Raw Materials is appearing for 3 times, i want it 2 come only once.
can anybody pls help me out.
thanks,
Kallu.