07-22-2011 9:09 AM
Hello Folks,
When i passed the default field catalog to the function module LVC_VARIANT_SELECT... for which the field name that is passed is standard field and the table name i was passing is Internal table ( Which is mandatory for my Req). As i am not passing the table name that exists at the DB level to the default field catalog .. this function module LVC_VARIANT_SELECT is returning all the field types as CHAR ( Irrespective of the field). This is causing me a problem in calculating totals ( standard functionality - throwing me message 'Column cannot be calculated' ) in my ALV_tree.
I have to use the Function Module LVC_VARIANT_SELECT ( Since i have a variant logic associated) and the Internal table to generate the field catalog .and i want to achieve the functionality of total,Avg ,,,,etc.. Any idea is appreciated.
07-22-2011 12:48 PM
Got the Solution ... Passes Ref-table and Ref-field ... it gives totals for currency and quantity fields