2010 Feb 11 5:09 AM
Hi Experts,
Iam creating a Functional Module in ecc 6.0. It is accepting import and export parameters properly. Once I provide the tables parameter with " material " as parameter name , "type" as typing and ztable as Associated type and after pressing enter key, it is giving error saying that
" TABLES parameters are obsolete! ".
Please tell me where it is going wrong.
Your suggestions are appreciated.
Thanks and Regards,
Murali Krishna T
2010 Feb 11 5:18 AM
H Muralii,
SAP does not reccomend use of Tables, since it has high memory consumption and poorer performance.
Alternative : Create an exporting/changing parameter of the Table type/ztable.
If it's a structure you are using, create a Table type for the structure and use.
Least case : You can still use Tables, since it is a warning & make sure you use LIKE instead of TYPE.
Press Enter twice to ignore the message.
Cheers,
Remi
Hi Murali,
Tables statement is Absolete now.Instead of using tables you can use Internal table in Import(or) Export statement of FM.
For this you need to Decalre a strcture in database for which you need to pass a table parameter.
For Example , If you want to pass VBAK as Internal table, Declare a Table type of VBAK and Use that in FM
EX
Importing
IT_VBAK = ztt_vbak
here ZTT_VBAK is table type of VBAK
If you want to use your own strcture for internal table, Declare that strcture in Database and create a table type for it and use that
in FM.
Hope this will helpful to you.
Regards,
Narendra.Somarouthu
2010 Feb 11 5:18 AM
H Muralii,
SAP does not reccomend use of Tables, since it has high memory consumption and poorer performance.
Alternative : Create an exporting/changing parameter of the Table type/ztable.
If it's a structure you are using, create a Table type for the structure and use.
Least case : You can still use Tables, since it is a warning & make sure you use LIKE instead of TYPE.
Press Enter twice to ignore the message.
Cheers,
Remi
2010 Feb 11 5:27 AM
Hi Murali,
You will get a warning, you can still go ahead and use it.
Second option is :
Create a table type for structure and use the table type in Import or Export parameters instead of Tables paramter.
This willl not give you any warning.
Thanks & Regards,
Komal
2010 Feb 11 5:28 AM
Hi Murali,
Tables statement is Absolete now.Instead of using tables you can use Internal table in Import(or) Export statement of FM.
For this you need to Decalre a strcture in database for which you need to pass a table parameter.
For Example , If you want to pass VBAK as Internal table, Declare a Table type of VBAK and Use that in FM
EX
Importing
IT_VBAK = ztt_vbak
here ZTT_VBAK is table type of VBAK
If you want to use your own strcture for internal table, Declare that strcture in Database and create a table type for it and use that
in FM.
Hope this will helpful to you.
Regards,
Narendra.Somarouthu
2010 Feb 11 6:44 AM
Thanks All for your views.
Problem solved. I pressed enter key twice.
thanks and regards
Murali Krishna T
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |