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: 

ALV

Former Member
0 Kudos

Hi Friends,

How to create ALV report without using Function Modules.

Kindly explian with a simple example.

TIA.

MarK K

6 REPLIES 6

Former Member
0 Kudos

hi Mark,

ALV report creation without using FM is Normal Report with write statements for displaying ..

Regards,

Santosh

Former Member
0 Kudos

You have to use either FM or OOPS to create ALV

0 Kudos

You mean using OO controls thne pl check this

~Suresh

Former Member
0 Kudos

Hi Mark,

You can use the FM 'REUSE_ALV_LIST_DISPLAY'

Its pretty straight forward. see the documentation for that. I think you just need to pass internal table.

Regards.

Shabbar

Former Member
0 Kudos

Hi,

Without Function modules, you can make use of the classes/methods to build ALV,

Refer the following code,

CREATE OBJECT LV_ALV_GRID

EXPORTING

I_PARENT = CL_GUI_CONTAINER=>SCREEN0.

CALL METHOD LV_ALV_GRID->SET_TABLE_FOR_FIRST_DISPLAY

EXPORTING

IS_LAYOUT = LT_LAYOUT

CHANGING

IT_OUTTAB = LT_FINAL[]

IT_FIELDCATALOG = LT_FIELDCAT[].

CALL SCREEN 500.

After constructing the field catalog, this will be called to display the output,

Hope this helps,

Rgds,

former_member188685
Active Contributor
0 Kudos

Hi,

Then use cl_gui_alv_grid class.

Check the help on the class.

http://help.sap.com/saphelp_47x200/helpdata/en/c5/3bd1369f2d280ee10000009b38f889/frameset.htm

and also refer the sample Programs BCALV_EDIT_01 to BCALV_EDIT_06.

Regards

vijay