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 / balabharathichandran
report ZBALA_TEST.
tables: mara,makt.
types: BEGIN OF st_mara,
matnr type mara-matnr,
END OF st_mara.
types: BEGIN OF st_makt,
matnr type makt-matnr,
maktx type makt-maktx,
END OF st_makt.
types:BEGIN OF st_out,
matnr type mara-matnr,
maktx type makt-maktx,
END OF st_out.
data it_mara type TABLE OF st_mara WITH HEADER LINE.
data it_makt type TABLE OF st_makt WITH HEADER LINE.
data it_out type TABLE OF st_out WITH HEADER LINE.
select matnr FROM mara into TABLE it_mara UP TO 50 ROWS.
select matnr maktx from makt into TABLE it_makt UP TO 50 ROWS.
loop at it_mara.
MOVE-CORRESPONDING it_MARA to it_MAKT.
append it_MAKT.
ENDLOOP.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the 3 methods that we use in sequence in a batch input session method? : abap bdc
What is the difference between getting and get late?
What are the different buffering methods?
visibility section for class level and attributes level
Difference between Read and Get cursor?
Explain how many types of tables exist and what are they in data dictionary?
What are the functional areas?
What is a badi?
What is asynchronous and synchronous update?
What is sapnet?
How will you define posting procedures?
What are domains and data element? : abap hr
Program for Prime numbers and Matrix plz explain me the procedural method with steps
Explain the call transaction method? : abap bdc
What are the disadvantages of different types of bdc's?