2008 Feb 28 7:57 PM
Dear Experts,
I am working on creating a function module for generic extraction. When I am working on my function module using
RSAX_BIW_GET_GET_DATA_SIMPLE as a template, I have run into an error "TABLE parameters are obsolete!"
when I have clicked on Table tab to specify the following:
Parameter Name: E_T_DATA
Typing: LIKE
Associated Type: <the structure name which I have created for this FM>
Optional check: checked
I got stucked with my function module and have to abort it before exit.
Could anyone help me to resolve this problem?
If you could, could you also explain to me how E_T_DATA and the structure I have created related in the above setting?
Thanks and appreciated.
Arthur
2008 Feb 28 8:20 PM
You must create a table line on SE11 and then create an IMPORT parameter pointing to that table line...TABLES are obsolete and shouldn't be used...
Greetings,
Blag.
Dear Experts,
I am working on creating a function module for generic extraction. When I am working on my function module using
RSAX_BIW_GET_GET_DATA_SIMPLE as a template, I have run into an error "TABLE parameters are obsolete!"
when I have clicked on Table tab to specify the following:
Parameter Name: E_T_DATA
Typing: LIKE
Associated Type: <the structure name which I have created for this FM>
Optional check: checked
I got stucked with my function module and have to abort it before exit.
Could anyone help me to resolve this problem?
If you could, could you also explain to me how E_T_DATA and the structure I have created related in the above setting?
Thanks and appreciated.
Arthur
2008 Feb 28 8:20 PM
You must create a table line on SE11 and then create an IMPORT parameter pointing to that table line...TABLES are obsolete and shouldn't be used...
Greetings,
Blag.
2008 Feb 28 9:19 PM
Thanks for your reply.
Could you be more specific? Idealy with one example.
Arthur
2008 Feb 28 9:38 PM
se11> select data type> enter the table type name--> from next popup select 3rd radio button as table type
a®
2008 Feb 28 9:47 PM
Thanks for your second reply.
Could you also explain how to create an IMPORT parameter pointing to that table line?
Thanks and appreciated.
Arthur
2008 Feb 28 9:52 PM
Hi,
In the tables tab give E_T_DATA TYPE
a®s
Edited by: a®s on Feb 28, 2008 4:54 PM
2008 Feb 29 2:15 PM
I have created a table type as per your suggestion (SE11 -> select data type -> enter the table type name -> from the next pop up select 3rd radio button as table type (I entered the structure name on the table line field).
After that I went to tables tab, gave E_T_DATA, TYPE, <the name of the table type I have just created> as per your suggestion.
But I still get the problem that "Table parameters are obsolete!".
Any further suggestion?
Thanks.
Arthur
2008 Mar 03 1:34 PM
I have followed the example FKK_NR_ITEMS_GE and particularly FKKNRP_T to do the following:
- go to the Changing Tab
- assign E_T_DATA to Parameter Name
- assign TYPE to Typing
- assign: <the table line I have created as per your previous suggestion>
The problem has been resolved.
I am able to create my FM which has met most of my need.
Thanks and appreciated.
Arthur
2008 Mar 04 1:39 PM
Hi Blag,
The information you have provided is helpful.
Thanks.
Arthur
2008 Mar 04 3:24 PM
I have created a function module based on your suggestions/hint.
The function module name is ZMP_BW_DFC03.
When I use this FM to create a datasource, I run into the problem as below:
TABLE-parameter E_T_DATA for extractor ZMP_BW_DFC03 is missing.
This has occurred when I hit the save icon for the datasource I am going to create.
Could you provide some suggestion as to how to resolve this problem?
You either answer me to this email or to the new question I have just posted.
Thanks and appreciated.
Arthur
2008 Oct 15 12:51 PM
Is there any proof (a piece of documentation or something) for this fact (TABLE parameters are obsolete)?
Thanks, Johannes
2011 May 05 7:49 PM
2008 Feb 28 8:23 PM
Instead of declaring as structure please use as table type
for reference check fm FKK_NR_ITEMS_GET and type FKKNRP_T
a®
2008 Feb 28 8:35 PM
The correct name is RSAX_BIW_GET_DATA_SIMPLE.
Please see ABAP Help on CALL FUNCTION command, it explains the new syntax in 6.10:
"Use additions parameter_list or parameter_tables (as of release 6.10) to statically or dynamically assign actual parameters to the formal parameters of the function module and return values to the non-class-based exceptions."
"CALL FUNCTION - parameter_tables
Syntax
... [PARAMETER-TABLE ptab]
[EXCEPTION-TABLE etab]... . "
In your example the function module will have a parameter (structure) E_T_DATA with the same fields as "<the structure name which I have created for this FM>". In the FM code you will be able to refer to those fields as E_T_DATA-<field name>.
2008 Feb 28 9:08 PM
I faced the same problem some time back, are u on ecc 6.00?
normally when u click once after creating the impor export struc it says TABLE parameters are obsolete!
Click on it once or twice more and it lets you create the table structure.
Rgds
Sameer
2008 Mar 04 9:35 PM
Thanks for your helpful answer.
I ignore the error message and press <RT>, the system allow me to proceed further.
Thanks.
Arthur
2008 Mar 04 10:37 PM
2010 Jul 28 9:10 AM
Hi,
I followed all the above steps. But, my function module source code works properly if the parameters are in TABLES not CHANGING, so I cut the rows from CHANGING and pasted it in TABLES, and now it doesnt give the OBSOLETE PARAMETERS error and works fine. And the ironic thing is, cut and paste from CHANGING to TABLES works without the table types too.
I donot find a sense as to how it works this way, but anyways it works.
-Disha.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |