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
How do you read files from the application server ? : abap bdc
What are the check tables and value tables?
What is tcode se16? For what is it used.
What are the types of views? : sap abap data dictionary
How will you define posting procedures?
What is bdc? : abap bdc
How can a lock object be called in the transaction?
What is direct input method ?
What are user exits? What is involved in writing them? What precations are needed?
What is the use of the statement leave to list-processing?
How do you Export a session ?
Fallback class
What was the requirement of IDoc in your project? How it was working?
What is lock objects? : sap abap data dictionary
How to know if the value entered contains records or not?