‎2010 Jun 05 7:15 AM
Hi,
I am facing this issue, can anyone tell me how to correct it?
Short text
Type conflict when calling a function module (field length).
Internal notes
The termination was triggered in function "FuncParams"
of the SAP kernel, in line 3166 of the module
"//bas/700_REL/src/krn/runt/abfunc.c#16".
The internal operation just processed is "FUNC".
Internal mode was started at 20100605085803.
Name of function module...............: "MBW_CREATE_RESERVATION"
Name of formal parameter..............: "IRKPF"
Technical type of actual parameter....: "h"
Technical length of actual parameter..: 8 bytes
Technical type of formal parameter....: "u"
Technical length of formal parameter..: 271 bytes
Name of formal parameter at caller....: "IRKPF"
Thanks
Karthi
‎2010 Jun 05 8:33 AM
Hi,
Still the same issue i am facing after changing also..
Thanks
Karthi
‎2010 Jun 05 7:29 AM
Hi Karthi,
Such Type conflict dump happens when the there is a structure mismatch between the parameters of function module and the data passed.
You need to ensure that there is no mismatch between these two..
Post the structure type so that we can analyse what exactly is causing the issue..
Thanks
Ajay
‎2010 Jun 05 7:35 AM
Hi,
DATA: it_IRKPF type STANDARD TABLE OF IRKPF WITH NON-UNIQUE DEFAULT KEY,
it_ERKPF type STANDARD TABLE OF ERKPF.
DATA: WA_IRKPF type IRKPF.
WA_IRKPF-werks = wa_resv-werks.
WA_IRKPF-RSDAT = wa_resv-bdter.
WA_IRKPF-USNAM = sy-uname.
WA_IRKPF-BWART = wa_resv-bwart.
APPEND WA_IRKPF to it_IRKPF.
CALL FUNCTION 'MBW_CREATE_RESERVATION'
EXPORTING
IRKPF = it_IRKPF
XALLP = ' '
IMPORTING
ERKPF = it_ERKPF
E_RSNUM = res_no
TABLES
ERESB = ZRETURN
IRESB = it_recr.
This is my code.
Whethere i did in correct way?
‎2010 Jun 05 7:50 AM
Hi
Can you check and make sure that the strcucture of the following parameters are compatible or not.
E_RSNUM = res_no
ERESB = ZRETURN
IRESB = it_recr
IRKPF = it_IRKPF and ERKPF = it_ERKPF seems to be fine.
Thanks
Ajay
‎2010 Jun 05 8:03 AM
Hi,
i checked the structure's are all correct.
Its telling me like this error,
Technical type of actual parameter....: "h"
Technical length of actual parameter..: 8 bytes
Technical type of formal parameter....: "u"
Technical length of formal parameter..: 271 bytes
Name of formal parameter at caller....: "IRKPF"
What is h and u here, i cant understand?
Thanks
Karthi
‎2010 Jun 05 8:10 AM
Hi,
Try this.
EXPORTING
IRKPF = wa_IRKPF
XALLP = ' '
IMPORTING
ERKPF = wa_ERKPF
Exporting parameters are expecting structure and not table which you are passing right now..
Let me know if you have any issues.
Thanks
Ajay
‎2010 Jun 05 8:11 AM
Hi
Change the declaration part as
DATA: it_IRKPF type IRKPF,
it_ERKPF type ERKPF.Regards
Vinod
‎2010 Jun 05 8:33 AM
Hi,
Still the same issue i am facing after changing also..
Thanks
Karthi
‎2010 Jun 05 8:36 AM
Hi,
See SAP standard program LMEWBF01 for reference.
Regards
Vinod
‎2010 Jun 05 10:01 AM