2011 Jan 06 3:51 AM
Hi,
I have created a "Z FM" to update the confirmation of Process order in the system. It is an Inbound IDoc. When I am about to test in WE19, using Inbound Function Module - it gives an error that "Interface for the 'Z FM' is incorrect".
I have assigned the process code correctly and I have checked all sort of possibilities. I can't trace this. Can anyone help?
Hi,
I have created a "Z FM" to update the confirmation of Process order in the system. It is an Inbound IDoc. When I am about to test in WE19, using Inbound Function Module - it gives an error that "Interface for the 'Z FM' is incorrect".
I have assigned the process code correctly and I have checked all sort of possibilities. I can't trace this. Can anyone help?
2011 Jan 06 4:24 AM
Hi Shrividhya,
The signature (Parameters) of your Z FM is wrong.
Change the parameters to the ones below and try. Im Assuming that the name too matters.
*"----------------------------------------------------------------------
*"*"Local interface:
*" IMPORTING
*" VALUE(INPUT_METHOD) LIKE BDWFAP_PAR-INPUTMETHD
*" VALUE(MASS_PROCESSING) LIKE BDWFAP_PAR-MASS_PROC
*" EXPORTING
*" VALUE(WORKFLOW_RESULT) LIKE BDWF_PARAM-RESULT
*" VALUE(APPLICATION_VARIABLE) LIKE BDWF_PARAM-APPL_VAR
*" VALUE(IN_UPDATE_TASK) LIKE BDWFAP_PAR-UPDATETASK
*" VALUE(CALL_TRANSACTION_DONE) LIKE BDWFAP_PAR-CALLTRANS
*" TABLES
*" IDOC_CONTRL STRUCTURE EDIDC
*" IDOC_DATA STRUCTURE EDIDD
*" IDOC_STATUS STRUCTURE BDIDOCSTAT
*" RETURN_VARIABLES STRUCTURE BDWFRETVAR
*" SERIALIZATION_INFO STRUCTURE BDI_SER
*" EXCEPTIONS
*" WRONG_FUNCTION_CALLED
*"----------------------------------------------------------------------Regards,
Jovito.
2011 Jan 06 8:08 AM
When I am about to use the parameters you have mentioned I am getting a message that" Reference parameters are not allowed with RFC".
Kindly guide me to resolve this.
2011 Jan 06 8:18 AM
Hi,
In the FM,
Click on Attributes tab : Choose the Radio Button : Normal Function Module.
If you want this to be an RFC enabled FM.
Go the the Parameter (Import , Export and Tables)
There is a checkbox called Pass Value. Tickmark this checkbox for All the fields.
Regards,
Jovito.