‎2007 Feb 07 3:19 PM
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
‎2007 Feb 07 3:49 PM
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?
‎2007 Feb 07 3:24 PM
Hi Alok,
In BAPI tables are export parameters. You need to pass all the mandatory tables to BAPI.
Is this information is useful?
Ashven
‎2007 Feb 07 3:25 PM
‎2007 Feb 07 3:38 PM
Hi,
From ourend the TABLE Parameters are Export Parameters. we need to pass the data to these table parameters.
Regards
Sudheer
‎2007 Feb 07 3:49 PM
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?
‎2007 Feb 07 3:56 PM
‎2007 Feb 07 6:39 PM
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