Application Development and Automation 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: 

ABAP report example

former_member683694
Discoverer
3,411

hi everybody ;

I am a student and I want to train on making  alv reports, but I do not know the reporting requirements in real work i want alv report requirement.
thanks; 
1 ACCEPTED SOLUTION

michael_piesche
Active Contributor
1,645

There are lots of demo reports available for ALV. You can access them through transaction SE38. Run those programms, play around, and analyse the coding. Use those reports as a starting point to build your own ALV reports:

  • Demo Reports starting with SALV_DEMO* are using the "Simple ALV for simple Tables" with class CL_SALV_TABLE
    Look for instance at report SALV_DEMO_TABLE_SIMPLE, which gives you three examples how to use SALV
    In order to get actual data for the demo reports, run function module BCALV_GENERATE_ALV_T_T2 (SE37)
  • Demo Reports starting with BCALV* are using the more sophisticated "ALV List Viewer" with class CL_GUI_ALV_GRID
    Look for instance at report BCALV_GRID_DEMO.
    Use report BC_DATA_GENERATORTOP (SE38) to fill the example SFLIGHT tables with data

There are many more examples for very specific ALV functionalities.

4 REPLIES 4

shivamshukla12
Contributor
0 Kudos
1,645

You can check out this thread similar question I see - https://answers.sap.com/questions/4401178/abap-oo-example.html


thanmd

bpawanchand
Active Contributor
1,645

Hi

You should also check the new ALV IDA ( Integrated Data Access) framework. You can find ample examples and demo reports under package "SALV_IDA_TEST" .

Thanks

Pavan Bhamidipati

michael_piesche
Active Contributor
1,646

There are lots of demo reports available for ALV. You can access them through transaction SE38. Run those programms, play around, and analyse the coding. Use those reports as a starting point to build your own ALV reports:

  • Demo Reports starting with SALV_DEMO* are using the "Simple ALV for simple Tables" with class CL_SALV_TABLE
    Look for instance at report SALV_DEMO_TABLE_SIMPLE, which gives you three examples how to use SALV
    In order to get actual data for the demo reports, run function module BCALV_GENERATE_ALV_T_T2 (SE37)
  • Demo Reports starting with BCALV* are using the more sophisticated "ALV List Viewer" with class CL_GUI_ALV_GRID
    Look for instance at report BCALV_GRID_DEMO.
    Use report BC_DATA_GENERATORTOP (SE38) to fill the example SFLIGHT tables with data

There are many more examples for very specific ALV functionalities.

Szczerbowski
Active Participant
1,645

You could also try Core Data Services CDS + UI Annotations for Fiori Elements, I think it has more future than SAPGUI based stuff.