this is my question.
i have this print
CID POSITION
- 01 010
01 010
01 010
01 020
01 020
02 020
02 020
02 020
in this moment my print:
CID POSITION
01 010
020
02
gw_fieldcat-tabname = 'GT_DETTAGLIO'.
gw_fieldcat-fieldname = 'CID'.
gw_fieldcat-seltext_l = 'Cid'.
APPEND gw_fieldcat TO gt_fieldcat.
CLEAR gw_fieldcat.
lw_sort-fieldname = 'CEDOLA'.
APPEND lw_sort TO lt_sort.
CLEAR lw_sort.
gw_fieldcat-tabname = 'GT_DETTAGLIO'.
gw_fieldcat-fieldname = 'POSITION'.
gw_fieldcat-seltext_l = 'Position.
APPEND gw_fieldcat TO gt_fieldcat.
CLEAR gw_fieldcat.
lw_sort-fieldname = 'POS'.
APPEND lw_sort TO lt_sort.
CLEAR lw_sort.
I want that when I make the sort, it must sort to me therefore
CID POSITION
01 010
01 020
02 020
___________
this is possible ?