Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

passing diff internaltables in single perform statement

Former Member
0 Kudos
100

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

5 REPLIES 5

JozsefSzikszai
Active Contributor
0 Kudos
63

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

0 Kudos
63

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

0 Kudos
63

and hw can i use tables addition for my requirement

thaks

Former Member
0 Kudos
63

Hi,

perform table_four using it_tab.

FORM table_four using it_table TYPE ANY TABLE.

...

...

endform.

Regards,

Karthick.

former_member156446
Active Contributor
0 Kudos
63

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.