Hello Shek,
follow my code:
DATA : IT_MARA TYPETABLEOF MARA,
IT_MARC TYPETABLEOF MARC.
select * from mara intoTABLE it_mara UPTO10rows.
SELECT * FROM marc INTOTABLE it_marc UPTO10rows.
PERFORM SUB USING IT_MARA it_marc.
*&---------------------------------------------------------------------*
*& Form SUB
*&---------------------------------------------------------------------*
FORM SUB using P_IT_MARA LIKE IT_MARA
p_it_marc like it_marc.
ENDFORM. " SUB
debugg this code and get your answer.......
Hope it will be helpfull.....
Thanks
Sabyasachi