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: 
Read only

ALV - two tables

Former Member
0 Likes
518

How to use two output tables in ALV.

i have to get ouput like

(FROM TABLE 1 )

user item

abc 123

def 123

(FROM TABLE 2)

auditnumber store

1234 111

1313 222

thanks

How to use two output tables in ALV.

i have to get ouput like

(FROM TABLE 1 )

user item

abc 123

def 123

(FROM TABLE 2)

auditnumber store

1234 111

1313 222

thanks

3 REPLIES 3
Read only

Former Member
0 Likes
478

Hi,

Use the ALV function module REUSE_ALV_BLOCK_LIST_APPEND.

Thanks,

Naren

Read only

Former Member
0 Likes
478

Hai,

This cannot be done through Simple ALV Function Module, ie) REUSE_ALV_GRID_DISPLAY. For this you have to use REUSE_ALV_BLOCK_LIST_DISPLAY. Call the function modules in the specified order.

REUSE_ALV_BLOCK_LIST_INIT

REUSE_ALV_BLOCK_LIST_APPEND(Depending upon the number of tables ie) 2 tables - twice call)

REUSE_ALV_BLOCK_LIST_DISPLAY.

Read only

Former Member
0 Likes
478

Have a look at the programs BALVBT01 and BALVBT02.

1- REUSE_ALV_BLOCK_LIST_INIT

2- REUSE_ALV_BLOCK_LIST_INIT_APPEND

3- REUSE_ALV_BLOCK_LIST_DISPLAY

Check this thread for sample code:

Message was edited by: Sid