Hi i am surya, i have faced this questions plz give me the
answer.
I have requirement like this, i have two internal tbale like
itab and itab1 in itab i have 50 records, in itab1 100
records are there. When execute this question what will be
the output a]50 b]100 c]150? And how to join two internal
tables what is the syntax for that?

Answer Posted / sivaramakrishna

hai surya it is very simple a
append lines of itab from n1 to n2 to itab1.
now sort itab1.
or
appen lines of itab to itab1.
sort itab1.

select with joins is use to join multiple data base tables
to get the data from multiple db tables.
syntax.
select tab1~fields
tab2~fields
into table <body>
from <tab1> inner join <tab2>
on <tab1~field1> = <tab2~field1>.
or instead of using select with joins we can also use
select for all entries for better performence at run time.
or
use
loop at itab into wa_itab.
append wa_itab to itab1. ***but here two table must be of
same type.
end loop

sivasayini@yahoo.com
to transfer data from one itab to another itab.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are internal tables? : abap hr

559


What is meant by performance analysis? Have done anything to improve the performance?

548


What is payroll driver

1643


Can you create an internal table dynamically?(at run time)

1427


Explain how to create any functions?

589






How the at-user command serves mainly in lists?

611


Why cant we use Normal function module for data transfer?

1695


Can we include customizing include or an append structure with pooled or cluster tables? : abap data dictionary

761


How many tables are there in sap?

642


What is the difference between skip and new-line?

792


What is an Open Item in SAP? How will you find an Open Item in SAP?

613


Have you printed any report?

1736


What is the difference between a structure and a table?

545


What is database utility? : abap data dictionary

592


Difference between sy-tabix and sy-index? Where it is used?

527