2007 Nov 19 9:35 AM
Hi
i have itab fields as below, all are key fields
aaa 38 xxx-01
aaa 38 xxx-02
aaa 38 xxx-03
aaa 38 xxx-04
aaa 38 xxx-05
aaa 38 xxx-06
i need to concatenate 01and 02 and 03 and 04 and 05 and 06 into one field for display purpose.
how to achieve this
2007 Nov 19 9:42 AM
Hi
SRING TYPE STRING .
Describe table itab lines lin .
DO lin times .
READ TABLE ITAB INTO string INDEX SY_INDEX .
CONCATENATE FINAl string+11(2) INTO final .
ENDDO .
HOPE THIS HELPS .
Praveen
Hi,
string : str.
Loop at itab into wa_itab.
concatenate str wa_itab-field+5(2) into str.
endloop.
regards,
Santosh Thorat
2007 Nov 19 9:38 AM
loop at itab.
clear l_disp.
concatenate itab-f01 itab-f02itab-f03 ....itab-f06 into l_disp seperated by space.
write: l_disp.
endloop.
2007 Nov 19 9:38 AM
Hi,
string : str.
Loop at itab into wa_itab.
concatenate str wa_itab-field+5(2) into str.
endloop.
regards,
Santosh Thorat
2007 Nov 19 9:42 AM
Hi
SRING TYPE STRING .
Describe table itab lines lin .
DO lin times .
READ TABLE ITAB INTO string INDEX SY_INDEX .
CONCATENATE FINAl string+11(2) INTO final .
ENDDO .
HOPE THIS HELPS .
Praveen
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |