2007 Apr 27 7:45 AM
Hi,
I want to display internal table columns having contents and hide remaining columns which are empty. Is it possible through FM or using CONCATENATE statement or I have to go for dynamic internal table.
Thanks in Advance,
Vipin.
2007 Apr 27 7:48 AM
hi,
u can do it in ALV.
in the field caatlog, chk whthere the particular field has data.
if inly data is there, display it in ALV.
Regards
Reshma
2007 Apr 27 7:48 AM
hi,
u can do it in ALV.
in the field caatlog, chk whthere the particular field has data.
if inly data is there, display it in ALV.
Regards
Reshma
2007 Apr 27 7:56 AM
Hi Vipin,
try like below...
before genarating the field catalog check whether the contents of that particular columns and if the contents is not empty populate the field catalog else not.
Regards,
Satya.
2007 Apr 27 7:57 AM
Vipin pls reframe ur question.. . but whtevr we can get from it , Check in the loop of internal table whther field IS initial or not. IF initial , then dont display it.
Reward if helpful or let me know ur exact query.
Kartavya
2007 Apr 27 8:01 AM
Hi,
if you are using ALV..
Then check the internal table where the column is empty..
In the fieldcatalogue for that cloumn give
"let suppose your matnr column is empty then
If columnname = 'matnr' .
ls_fieldcat-no_out = 'X'.
append ls_fieldcat to it_fieldcat.
endif.
Hope this solves your problme..
reward if useful
regards,\
nazeer.