Application Development and Automation 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: 
Read only

passing diff internaltables in single perform statement

Former Member
0 Likes
898

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
Read only

JozsefSzikszai
Active Contributor
0 Likes
861

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

Read only

0 Likes
861

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

Read only

0 Likes
861

and hw can i use tables addition for my requirement

thaks

Read only

Former Member
0 Likes
861

Hi,

perform table_four using it_tab.

FORM table_four using it_table TYPE ANY TABLE.

...

...

endform.

Regards,

Karthick.

Read only

former_member156446
Active Contributor
0 Likes
861

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.