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

Sending Function Module Exporting fields into Tables

Former Member
0 Likes
509

I have created a custom function module that takes Personal Number, EEGroup and EE subgroup in IMPORTING, and in EXPORTING it has fields First Name, Last Name and Address.

I have to send First Name and Last Name into one table and Address into another table. How can I do that?

Thank you.

3 REPLIES 3
Read only

Vijay
Active Contributor
0 Likes
423

hi

you just assign the fields returned by fm to wa of type table and append that work area to that table.

regards

vijay

reward points if helpful

Read only

Former Member
0 Likes
423

Sending the data into the tables should be the functionality of the Function Module.

So do I have write the code in the source code tab of the function module?

Read only

Former Member
0 Likes
423

Hi,

create the table in tables refering to ur work area.

other wise goto se11 create the type pool which consists ur table type and then declare it in ur function group top and then refer it in ur function module in export or import parameters .

Plzz reward points if it helps.