05-16-2006 7:53 AM
hi
in my requirement
it is an alv report there r 2 coloumns customer name and sales order number
if customer name is there then it should not display so number
if customer name is not there then it should display so numebr
how to do this
Thanks in advance
05-16-2006 7:57 AM
Hi Ravi,
If the 2 columns are separately on its own, then there is nothing special you need to code. Just a simple IF..ELSE will do.
Pls explain in detail should I have not answered you correctly
Rgds,
ET
05-16-2006 7:57 AM
Hi Ravi,
If the 2 columns are separately on its own, then there is nothing special you need to code. Just a simple IF..ELSE will do.
Pls explain in detail should I have not answered you correctly
Rgds,
ET
05-16-2006 7:58 AM
This is done using regular <b>initial CONDITION</b> check.. NOTHING TO BE ALTERED IN ALV AS FAR AS I KNOW
05-16-2006 8:01 AM
hi ravi,
before passing ur internal table to FM REUSE_ALV_GRID_DISPLAY modify ur internal table accordingly,
loop at itab.
if itab-custname is initial.
clear itab-salesno.
modify itab index sy-tabix.
endif.
endloop.
if u dont want to disturb ur first internal table , declare another internal table and do the modifications
Message was edited by: Chandrasekhar Jagarlamudi
05-16-2006 8:27 AM
Hi ravi,
it depends on your data in your itab. you cannot control this. But what if you have both the columns customer name and SO number. when data is there it will be shown else it will be balnk. can you make it clear
Regards
vijay