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 indexes? : abap hr
What is the difference between internal tables and extract datasets? : abap modularization
Difference between sy-tabix and sy-index? Where it is used?
What is the significance of the memory table ‘screen’?
What is dynpro? what are its components ?
What are the pooled and cluster tables?
What are logical data bases used in hr module? : abap hr
Explain the session method? : abap bdc
What are secondary indexes. How can we know which index is being used in a select query?
What is alv programming in abap?
Difference between Field groups and internal tables?
What are the techniques involved in using SAP supplied programs? Do you prefer to write your own programs to load master data? Why?
What are the different types of sapscript symbols?
What are system fields for secondary lists?
Explain what is the difference between primary key and unique key?