Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Issue while generating Field catalog using LVC_VARIANT_SELECT

Former Member
0 Kudos

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.

1 REPLY 1

Former Member
0 Kudos

Got the Solution ... Passes Ref-table and Ref-field ... it gives totals for currency and quantity fields