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

Papulate data in FM

Former Member
0 Likes
413

Hi guys,

can any one send me how to populate the data into the internal table using the Function Moduless i have one requirment it calls the function module and get the relevent data.... i want papulate this data into the ITab...plz help me about this isusse.....

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
372

Hi ,

In case you are using a function module which has a parameter in the tables tab the then you have to make an internal table of same type as in the function module and then pass it to the function module as table parameter.

This would populate the data returned by the function module directly in the internal table.

Reward if useful.

Regards,

Suruchi

2 REPLIES 2
Read only

Former Member
0 Likes
373

Hi ,

In case you are using a function module which has a parameter in the tables tab the then you have to make an internal table of same type as in the function module and then pass it to the function module as table parameter.

This would populate the data returned by the function module directly in the internal table.

Reward if useful.

Regards,

Suruchi

Read only

varma_narayana
Active Contributor
0 Likes
372

Hi.

In the calling program you have to declare an internal table with the same data type as the formal parameter in the definition of the FM.

Pass this internal table to the FM as actual parameter.

After the call function statement display the internal table.

Reward if useful.

Regards,

Varma