Skip to Content
0
Former Member
Mar 15, 2010 at 10:12 AM

Error - Function module not allowed

1456 Views

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