‎2007 Jan 12 10:27 AM
Hi Experts,
I want to print two different internal tables data into one ALV report. I am having one data base table and i am having one Ztable with same data elements but ztable every fields is starting with Z.
like data base table : PERNR
ztable fields : ZPERNR
‎2007 Jan 12 10:45 AM
so and what is the problem. you define a structure for you're alv with the same fields as you're tables and you append them to you're internal table with format you're defined alv structure
something like this
select * from pernr into corresponding fields of table zalvpernr.
select * from zpernr into corresponding fields of table zalvpernr.
or use append otherwise
‎2007 Jan 12 10:53 AM
Hello,
Join these two table into a single tablle like this.
SELECT APERNR ...... into table itab from table as a inner join ZPERNR as b on apernr = b~zpernr.
If useful reward.
Vasanth
‎2007 Jan 12 10:53 AM
sorry i cant get your proper requirement but as you told you cant print 2 itab in single alv list or grid display.
you have to use alv block list for that.
if there any situation that you can take the data from two tables to single itab then try it in simple list or grid display.
regards
shiba dutta
‎2007 Jan 12 10:59 AM
tell me ur exact requirement.....
>> u want to show in separate 2 table in output or
>> u want to show both table contents in one single table ???
pls explain clearly...
Ramesh.