‎2008 Jul 22 5:42 AM
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
‎2008 Jul 22 5:56 AM
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
‎2008 Jul 22 6:14 AM
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
‎2008 Jul 22 6:35 AM
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
‎2008 Jul 22 7:12 AM
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
‎2008 Jul 22 6:20 AM
Hi,
Check by giving LIKE instead of TYPE for table parameters.
Regards
Adil
‎2009 Mar 26 4:34 AM