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: 

Function module export??

Former Member
0 Kudos

Can we pass an internal table through the export parameters?If yes then what should be the type spec. and asoociated type.....??

Regards,

Shashank.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Shashank,

To acheive this you will have to create a table type with the structure simlar to the IT you want to send to the FM.

Then specify this as the type when you define the parameters.

Regards

Arun

9 REPLIES 9

Former Member
0 Kudos

Internal table are always passed by refrence.

regards,

ruchika

reward if useful.

Former Member
0 Kudos

Hi,

Why did you want to pass table to export, is there any reasons?

For pass internal table, you could use tables field, but not import or export.

Hopes this helps

Bob

former_member223537
Active Contributor
0 Kudos

You can pass it through TABLES parameters

Data : itab type standard table of mara.

Message was edited by:

Prashant Patil

Former Member
0 Kudos

just leave it blank and try out..

Former Member
0 Kudos

Hi,

Yes..you have to create a table type in SE11..

Then use that in type specification..

Go to SE12..Choose the radio button data type..search in table type..to look for a sample table type..

Thanks,

Naren

Former Member
0 Kudos

Hi,

You can pass your internal Table through Tables parameter in Function module.

Reward points if it is helpful.

Regards,

Sangeetha.a

Former Member
0 Kudos

Hi Shashank,

Create a Structure and table Type in data dictionary ....... and u can use that table type for export parameter.

Thanks & Regards

Bhaskar Rao.M

Former Member
0 Kudos

Hi,

If u wantto pass/get the internal table to FM , u have to use TABLE parameter.

Table parmeter will import aswell as export the internal table from/to the function module.

Revert back if any issues.

Reward with points if helpful.

Regards,

Naveen.

Former Member
0 Kudos

Hi Shashank,

To acheive this you will have to create a table type with the structure simlar to the IT you want to send to the FM.

Then specify this as the type when you define the parameters.

Regards

Arun