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

Table Parameters

Former Member
0 Likes
806

Hello,

I am very new to SAP and I am trying to develop a code generation tool based on BAPI meta data. I was wondering is there an automatic way to distinguish if a table parameter is for import or export?

I am using the SAPJCO but I think the problem is more focused around the ABAP side of SAP.

Can anyone help me, Thank you for any help in advance

Alan

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
739

So is it correct to assume that all table parameters are exported?

What I mean is that one never uses a table to import values for use with a BAPI?

Or can a developer use a table but it is bad practise?

6 REPLIES 6
Read only

Former Member
0 Likes
739

Hi Alok,

In BAPI tables are export parameters. You need to pass all the mandatory tables to BAPI.

Is this information is useful?

Ashven

Read only

Former Member
0 Likes
739

table parameter in a BAPI is <b>export</b> parameter

Read only

Former Member
0 Likes
739

Hi,

From ourend the TABLE Parameters are Export Parameters. we need to pass the data to these table parameters.

Regards

Sudheer

Read only

Former Member
0 Likes
740

So is it correct to assume that all table parameters are exported?

What I mean is that one never uses a table to import values for use with a BAPI?

Or can a developer use a table but it is bad practise?

Read only

0 Likes
739

So is it correct to assume that all table parameters are exported?

Absolutly NOT. TABLES paraemters inside function module signatures are by-directional, so of like CHANGING parameters, you can pass data in, modify it and pass it right back out.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
739

Hi

As Rich Heilman says, Tabel parameters are Bi-Directional.

You can treat them as export or import parameters or even you can consider it as change parameters(Export&Import).

Assume that an internal table has two columns and only the first column has values.now you nedd to get values for the second column then export this table to Function module and fill data for the second column.

when you return from the function table contains values for both columns.

Thanks