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

Tables Parameter Obsolete

Former Member
0 Likes
844

Hi Guru's ,

I have to take the data from R/3 to BI using generic data extraction using Function Module.

After refering SDN i got some details stating to create the copy of the standard FM 'RSAX_BIW_GET_DATA_SIMPLE' and change the name of the extract structure.

I have to take credit limit and credit exposure of the customer to BI.

I have created my Z structure "Zcredit_Exposure".

But when i try o change the name of the of the structure in the tables parameter (associated type) in the copy of FM " zrsax_biw_get_data_simple_1" from "Sflight " to "Zcredit_Exposure"

it gives me message "TABLES PARAMETER OBSOLETE" and i have to come out of that session..

Please tell me if my procedure is wrong.

Also i have to call the standard FM " Credit_Exposure" in the above z FM created and i have to tranfer the values from this function module to the zstructure.....

please suggest.

Regards,

Archana

6 REPLIES 6
Read only

Former Member
0 Likes
665

Hai

Do one thing, do not give the associated type in the TABLES parameter as ECC 6 says its obsolete .

Even if u give only the parameter name and not the associated type it wont throw an error.

Now when u call this func module the parameter against the

tables parameter give the parameter in the TABLES its structure (dynamic).

For eg: In the FM TABLES tab u r having

parameter: it_ekko (do not give associated type )

Now in calling program

data:t_ekko type table of ekko.

CALL FUNCTION FM

..

..

.

TABLES

it_ekko = t_ekko

here it_ekko gets the structure of t_ekko.

Hope this resloves ur problem.

Neeraj

Read only

0 Likes
665

Hi,

I tried with ur solution but when i write the statement it_ekk0 = t_ekk0.

it gives a error stating " EXPECTED "." after it_ekk0".

means it is not accepting any value after "it_ekk0".

I also tried for it_ekk0[] = t_ekko[].

please let me know if i am wrong.

Regards,

Archana

Read only

0 Likes
665

i also tried to define the int table in the global data but it is also not working.

data : itab type table of zstructure.

tables : itab.

i did the syntax check it gave an error stating " itab is either not active or does not exist."

please tell me whats wrong?

Regards

Archana

Read only

0 Likes
665

hi,

I have created the zstructure in the global data of the FM and defined the inetrnal table thr.

is this ok?

now the statement tables is not required.

i hope i have done correct.

reg,

archana

Read only

Former Member
0 Likes
665

Hi,

Check by giving LIKE instead of TYPE for table parameters.

Regards

Adil

Read only

Former Member
0 Likes
665

Problem is sorted out.

Regards,

Archana W.