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 convert abap report into alv report

Former Member
0 Kudos

Hi,

Can anyone tell me how to convert the existing abap report into alv report. what r the steps involved ?

Thanks in advance.

1 ACCEPTED SOLUTION

former_member188685
Active Contributor
0 Kudos

Hi,

1. create the final internal table with all the fields in output display

2. fill the fieldcat manually or using the FM to populate the fieldcat

3.populate final internal table

4. edit the fieldcat labels if at all you want

5. pass fieldcat, internal table to ALV FM.

Regards

vijay

10 REPLIES 10

Former Member
0 Kudos

Hi,

The data fetch & the processing of the program wont change, only the display part would change, you can refer the standard programs starting with BALV, this might help,

Rgds,

0 Kudos

sample example---

0 Kudos

Hi,

You can write your ALV programs in 2 methods by making use of classes or by making use of reuse function modules.

You can go through the following standard programs.

BCALV_FULLSCREEN_DEMO

BCALV_FULLSCREEN_DEMO_CLASSIC

regards,

Sangram

former_member188685
Active Contributor
0 Kudos

Hi,

1. create the final internal table with all the fields in output display

2. fill the fieldcat manually or using the FM to populate the fieldcat

3.populate final internal table

4. edit the fieldcat labels if at all you want

5. pass fieldcat, internal table to ALV FM.

Regards

vijay

0 Kudos

Hi,

thanks for your reply. Could u please be elaborate as i am new to alv reports.

0 Kudos

Hi,

Show your Normal report, then i will give the steps in details.

Regards

vijay

0 Kudos

Hi,

Please give me your email id i will send the code.

thanks.

0 Kudos

you can reach me

vijay_bits2000@yahoo.com

regards

vijay

0 Kudos

Hi Vijay,

i send the code to your id. Please check it.

Former Member
0 Kudos

Hi Prasad,

the most important thing is the fieldcatalog table, this is the table which will have each column attributes like column position and length and whether it is key field or not. You can all attributes in the type pools:SLIS. Just see "slis_fieldcat_alv".

Hope it is usefull,

Rgds,

Mohan