2009 Apr 13 8:36 AM
Hi,
My Querry is ...
For eg-
loop at itab.
write: /28 itab-abc.
write: /28 itab-123.
endloop.I need the above in ALV grid ie I need two different fields to diplay in single column...is dis possible,
if so plz advice me ...."
Thanks
Karthikeyan
2009 Apr 13 8:52 AM
CONCATNATE ITAB-ABC ITAB-123 INTO ITAB-TEXT
AND USE ITAB-TEXT TO DISPLAY
CONCATNATE ITAB-ABC ITAB-123 INTO ITAB-TEXT
AND USE ITAB-TEXT TO DISPLAY
2009 Apr 13 8:39 AM
Hi Kartik ,
You can concatenate the two internal table fields into one and then can display the same in the ALV grid.
regards ,
Anuj
2009 Apr 13 8:40 AM
Hi,
You can CONCATENATE the two values and display the concatenated value
Regards,
Ivan
2009 Apr 13 8:44 AM
hi,
use Concatenate 'IT_FINAL-field1' 'it_final-field2' into w_fld.
w_fldcat-Fieldname = w_fld.
w_fldcat-coltext = 'XXX'.
Append w_fldcat.
thanks
2009 Apr 13 8:48 AM
Hi,
Create one final internal table having fields whose
fields catalog will be maintained and in one
of its fields you can put value by concatenating
two internal table fields into that one field and then
pass that field into the field catalog.
Hope it helps
Regards
Mansi
2009 Apr 13 9:29 AM
Hi ,
I don't want to concatenate two fields nor display it in a single field, but I want to diplay two fields 1 below the other...
ie..If I am using write statement I would prefer,
loop at itab.
wirte: /2 itab-abcd,
/2 itab-1234.
endloop.my output will be:
abcd
1234.
If need to use da same logic in ALV how would I use ?? hope I am little more clear now..
Please advice
Karthik.
2009 Apr 13 9:48 AM
2009 Apr 13 9:51 AM
2009 Apr 13 8:52 AM
CONCATNATE ITAB-ABC ITAB-123 INTO ITAB-TEXT
AND USE ITAB-TEXT TO DISPLAY
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |