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

Rgarding functionmodule creating

Former Member
0 Likes
489

Hi Every body,

I need to create a fucntion module , here i need to pass...table, which is with header line..I could pass using tables using TABLES tab but, as Tables is obsolete..so i want to know other way os passing tables ..or creating tables option for passing tables to a function mofule, so, how could we get..thid done

Please

vinesh.

4 REPLIES 4
Read only

Former Member
0 Likes
468

Use SE11 to create the table type. You can pass the table using the import parameters with reference to the table type you have created.

Regards,

John.

Read only

Former Member
0 Likes
468

Hi,

You can pass the table using the import parameters with reference to the same structure,

Reward points

Read only

Former Member
0 Likes
468

Hi!!

Using Table types is a better option as it comparetively improves performance.

U can create table type usinf se11.

Read only

Former Member
0 Likes
468

Hi Sidhu,

You can do so by using two different ways.

One is you can create a table type which is of the structure if the table which you want to pass to this FM. This helps improve performance also.

The other is you can use the structure as a IMPORT parameter, but this can be done if you are creatung a RFC FM only.

Otherwise, it is better to use the tables as it is is and pass it to the TABLE via body, as itab1[] = itab2[].

This will help pass the data . But, as a whole your query can be better answered if you present it more clearly.

Hope this is helpful to you. If you need further information, revert back.

Reward all the helpful answers.

Regards

Nagaraj T