01-29-2008 2:55 PM
hi all,
hw can v pass diff internal tables to a single form.
4 internal tables with diff structures
each time i have to pass 1 internal table to that form.... hw can it possible, can anybody explian me with example.....
<REMOVED BY MODERATOR>
thanks
Edited by: Alvaro Tejada Galindo on Jan 29, 2008 9:59 AM
01-29-2008 2:57 PM
hi,
you can do something like:
PERFORM routine USING itab.
FORM routine USING l_itab TYPE TABLE.
here you can work with l_itab through field symbols
ENDFORM.
hope this helps
ec
01-30-2008 6:27 AM
hi all,
thanx for reply... but i did not understand hw to pass internal tables,
for expample i have 4 internal tables with diff structures.
it_mara
it_mard
it_vbrp
it_vbrk
1)in perform routine using it_mara.
in form routine it_mara type <table name>
........
........
endform.
2nd time in perform using it_mard.
in perfrom v cna change table but hw can v change in form.
kindly reply if u know the solution
thanks
01-30-2008 6:29 AM
01-29-2008 3:15 PM
Hi,
perform table_four using it_tab.
FORM table_four using it_table TYPE ANY TABLE.
...
...
endform.
Regards,
Karthick.
01-29-2008 3:28 PM
Hi Sap abap
The clause here for ur req is using perform with addition TABLES
PERFORM fr_add_tab_to_struct TABLES gt_hdr gt_all USING space CHANGING gv_count .
this will the order first tables , using , changing... if you are using all the three addition.