cancel
Showing results for 
Search instead for 
Did you mean: 

ALE - error in custom message type creation

srajendran
Explorer
0 Kudos

HAI friends,

I am new to ALE IDOC, i am creating custom message type for custom table . i created segment, idoc, message type and executed outbound program . in outbound client, status is dispatch ok. so problem in outbound.

my problem is in inbound . i created one function module idoc_input_zmsg. In test tool for idoc processing ie. TCODE WE19, i clicked my segment and then i clicked the inbound function module button . In function module text box my own function module idoc_input_zmsg is available. but when i click ok button, i am getting the following error.

"INTERFACE FOR FUNCTION IDOC_INPUT_ZMSG IS INCORRECT".

PLS HELP ME . THANKS IN ADVANCE.

WITH REGARDS,

SENTHIL KUMAR.R

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

All the IDOC processings FMs should have similar interface like this.

*" IMPORTING

*" VALUE(INPUT_METHOD) LIKE BDWFAP_PAR-INPUTMETHD

*" VALUE(MASS_PROCESSING) LIKE BDWFAP_PAR-MASS_PROC

*" EXPORTING

*" VALUE(WORKFLOW_RESULT) LIKE BDWFAP_PAR-RESULT

*" VALUE(APPLICATION_VARIABLE) LIKE BDWFAP_PAR-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

Check if you have different one. Even if the name of variables is not as above you may get the error message .

Cheers

srajendran
Explorer
0 Kudos

hai,

thanks for your reply.

my interface is like this,

*"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_DON) 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

i think both are same. but still getting same error.

Former Member
0 Kudos

See the parameter CALL_TRANSACTION_DON.

You are missing the "E".

Cheers

srajendran
Explorer
0 Kudos

HAI SANJAI,

GREAT , THANK YOU SO MUCH SANNJAI.

WITH REGARDS,

SENTHIL KUMAR.R

Answers (0)