07-13-2005 6:57 AM
07-13-2005 6:59 AM
You can use <b>ON CHANGE</b>. Before using this <b>sort your internal table</b> according to the field name.
SORT ITAB BY <fieldname>.
LOOP AT ITAB.
ON CHANGE OF ITAB-<FieldName>.
value-text = ITAB-<fieldname>.
APPEND value TO list.
ENDON.
ENDLOOP.
07-13-2005 6:59 AM
You can use <b>ON CHANGE</b>. Before using this <b>sort your internal table</b> according to the field name.
SORT ITAB BY <fieldname>.
LOOP AT ITAB.
ON CHANGE OF ITAB-<FieldName>.
value-text = ITAB-<fieldname>.
APPEND value TO list.
ENDON.
ENDLOOP.
07-13-2005 7:04 AM
hi amit!
welcome to you. i think this will solve your problem.
sort <TableName> by <fieldname>.
loop at <TableName>.
on change of <TableName>-<FieldName>.
value-text = <TableName>-<fieldname>.
append value to list.
endon.
endloop.
with thanx and regards:
saroj kumar
Message was edited by: saroj kumar
Message was edited by: saroj kumar
Message was edited by: saroj kumar