on 03-13-2009 9:05 PM
Hi,
I get this error when I try to call FM from WDA application.
FM has 1 import parameter:
A Type TableA.
TableA has 2 fields.
F1 char 8
F2 char100.
In WDA custom method, I defined a itable and wa.
data: i_data type standard table of TableA,
wa_data like line of i_data.
After I populate internal table, I call the FM like below.
CALL FUNCTION ZFM
EXPORTING
A = i_data.
When this line executes, I get the error : Type conflict when calling a function module.
How do I resolve this?
Thanks
Thruna Shanmuga
Hi Thruna,
Double click on the FM name, go to source code tab and check how its importing parameter is being declared and then declare the table in the same way in your code.
Regards
Arjun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arjun,
Thanks for your quick reply.
I declared as you said.
Data: T Type TableA.
Data: wa like line of T.
I get the followin error when compile the code.
Field "T" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement.
How do I populate records into T?
Thanks
Thruna
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.