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 Export a session ?
Explain what are the problems in processing batch input sessions? How is batch input process different from processing on line?
in bdcsome times we get the ok code for "enter" wrongly instead of '/00'.what is the reason.how we can exceed this problem.
What is the syntax for ‘call transaction’?
What is the Process to transfer IDOC from Outbound System to Inbound system.
What is bdc programming? : abap bdc
How do you Export a session ?
What is the structure of the bdc table? : abap bdc
What is an authorization in sap?
What are the differences between transparent tables, pooled tables & cluster tables? : abap data dictionary
what is difference between (internal table types)standard table and sorted table in sap abap....
what is a text table ?
What is constructor expression in nw abap 7.4?
What are the different types of the variable in the sap abap?
What is a logical database?