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
What are internal tables? : abap hr
What is meant by performance analysis? Have done anything to improve the performance?
What is payroll driver
Can you create an internal table dynamically?(at run time)
Explain how to create any functions?
How the at-user command serves mainly in lists?
Why cant we use Normal function module for data transfer?
Can we include customizing include or an append structure with pooled or cluster tables? : abap data dictionary
How many tables are there in sap?
What is the difference between skip and new-line?
What is an Open Item in SAP? How will you find an Open Item in SAP?
Have you printed any report?
What is the difference between a structure and a table?
What is database utility? : abap data dictionary
Difference between sy-tabix and sy-index? Where it is used?