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
Can a transparent table exist in the data dictionary but not in the database physically?
what are Hana Basics
Why do we use Abstract classes give an example from your project?
Explain the advantages and disadvantages of different types of bdc's?
What are logical databases? What are the advantages of logical databases?
List the various components of the enterprise structure in systems, applications, and products (sap) in human capital management (him)? : sap abap hr
What are aggregated objects : abap data dictionary
What are the three hierarchical levels of data types and objects?
How do you write manual bdc session method? : abap bdc
What is pnp-sw-found ? : abap hr
What are the events in classical reports?
Difference between sap script and report?
What is sap abap data dictionary?
What is amdp (abap managed data procedures)?
What is the syntax for call transaction? : abap bdc