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: 

how to take all columns of a standar table without write any clumn to ALV

Former Member
0 Kudos
97

hello dear expert.

I have a requirement of a customer

I need to write seven alv report one report for a standar table and I would like to know if there is a way that not to write all the columns in each report to show my alv because the tables have a lot of fields and there is an other way to take fields with out write every column for repor ALV.

thanks

2 REPLIES 2

Former Member
0 Kudos
69

You don't need a report. In SE11 or SE16 change your controls to ALV output, select your data, then do choose fields, and select only the columns you want displayed. It's all right there in your Settings drop-down menu.

Former Member
0 Kudos
69

You can display the data using SE16. If you dont want to give authorization to SE16, use the below code to display the table in ALV Grix

data: gr_table   type ref to cl_salv_table.
call method cl_salv_table=>factory
          importing
            r_salv_table = gr_table
          changing
            t_table      = <Internal table>.

Regards

Vinod