03-15-2010 10:12 AM
Hi! All
While testing IDOC in WE19 (Start Inbound) able to confirm the Partner and create the IDOC. when i check the status in WE02 status is 51 - Function module not allowed:"Function Module Name"
i have used the following code in Function Module.
read table idoc_control index 1.
LOOP AT idoc_data WHERE docnum EQ idoc_control-docnum.
wa_segment = idoc_data-sdata.
MOVE-CORRESPONDING wa_segment TO it_jitdet.
INSERT INTO zsdt_jit_det VALUES it_jitdet.
ENDLOOP.
Created Inbound Process code in WE42
Assignedd Function Module and Basic type in WE57
Assigned Function Module in BD51.
How to clear this.
Regards
Kv
03-15-2010 10:39 AM
Hi
Please use FM IDOC_INBOUND_SINGLE to test idoc.
Regards,
Narendra
03-15-2010 10:34 AM
HIi,
you need to :
- BD82 assign message type to idoc basic type (if not already done )
- BD51 FM
- WE57 FM asignment to basic type
- WE42 process code
If it still doesnt work maybe you ae using the wrong FM..
03-15-2010 10:39 AM
Hi
Please use FM IDOC_INBOUND_SINGLE to test idoc.
Regards,
Narendra
03-15-2010 10:42 AM
Hi...
From the error it is clearly understood , the FM you are using for inbound is not the correct one.
try with " IDOC_INPUT_DEBITOR".
Regards,
Lokeswari
03-15-2010 11:26 AM
Thanks for your reply.
while executing the FM : IDOC_INPUT_DEBITOR getting the Exception as "WRONG_FUNCTION_CALLED"
whats the mistake i have done. kindly help me top solve this issue.
Regards
Kv
03-16-2010 3:21 AM
hi! All
while creating IDOC through WE19 - Start Inbound it creates IDOC with Status - 64."IDoc ready to be transferred to application" "No filters , No conversion , No version change ."
Thus try to re-send the IDOC through the Program - RBDAPP01 it troughs DUMP error
Incorrect parameter with CALL FUNCTION
This parameter was "MASSAVEINFOS".
but i have Included this parameter in my Function module.
INPUT_METHOD TYPE INPUTMETHD
MASS_PROCESSING TYPE MASS_PROC
NO_APPLICATION_LOG LIKE SY-DATAR
MASSAVEINFOS LIKE MASSSAVINF
whats the mistake i have done.
Regards
Kv