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 are obsolete!

Former Member
0 Likes
7,875

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
4,736

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

17 REPLIES 17
Read only

Former Member
0 Likes
4,737

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.

Read only

0 Likes
4,736

Thanks for your reply.

Could you be more specific? Idealy with one example.

Arthur

Read only

0 Likes
4,736

se11> select data type> enter the table type name--> from next popup select 3rd radio button as table type

Read only

0 Likes
4,736

Thanks for your second reply.

Could you also explain how to create an IMPORT parameter pointing to that table line?

Thanks and appreciated.

Arthur

Read only

0 Likes
4,736

Hi,

In the tables tab give E_T_DATA TYPE

a®s

Edited by: a®s on Feb 28, 2008 4:54 PM

Read only

0 Likes
4,736

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

Read only

0 Likes
4,736

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

Read only

0 Likes
4,736

Hi Blag,

The information you have provided is helpful.

Thanks.

Arthur

Read only

0 Likes
4,736

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

Read only

0 Likes
4,736

Is there any proof (a piece of documentation or something) for this fact (TABLE parameters are obsolete)?

Thanks, Johannes

Read only

0 Likes
4,736

Hello

Thk Arthur its work.

Read only

former_member194669
Active Contributor
0 Likes
4,736

Instead of declaring as structure please use as table type

for reference check fm FKK_NR_ITEMS_GET and type FKKNRP_T

Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
4,736

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>.

Read only

Former Member
0 Likes
4,736

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

Read only

0 Likes
4,736

Thanks for your helpful answer.

I ignore the error message and press <RT>, the system allow me to proceed further.

Thanks.

Arthur

Read only

0 Likes
4,736

No problem.

Read only

Former Member
0 Likes
4,736

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.