2012 Oct 16 7:23 AM
During inbound IDOC processing of message INCIDENT, I receive the following error message: ‘Function module not allowed: BAPI_IDOC_INPUT1’, the IDOC status is set to status: 51 and cannot be processed.
I have checked the following settings;
a) Logical message INCIDENT is assigned to Process Code BAPI
b) IDOC assignment of FM BAPI_IDOC_INPUT1 to logical message: INCIDENT , Basic Type: INCIDENT01 and Object Type: BUS1240 (defined direction: inbound).
c) Table: TBDBE, entry for message INCIDENT exist.
d) Transaction BDBG, all recorsd already exist.
Functional area: SAP EH&S - Industrial Hygiene and Safety
Which settings am I missing or are incorrect?
Thank you in advance.
Kind regards, Roy
2012 Oct 23 7:51 AM
Hi R.,
When looking at your settings and also to the SAP coding of BAPI_IDOC_INPUT1 this should work. The error message is given when an entry is missing in TBDBE for the message type.
Next to that also table TBDBA could be used. TBDBA is used both for outbound as inbound IDOC's where TBDBE is just used for inbound.
Next to that you could also try function BAPI_IDOC_INPUTP.
Are you using transaction WE19 or is the IDOC triggered by a maping tool ?
Also check the inbound partner profile. There is an inbound process code for this message. Guess the process code is BAPI. When you double click the process code you should end in function BAPI_IDOC_INPUT1.
Regards Jack
2012 Oct 23 7:51 AM
Hi R.,
When looking at your settings and also to the SAP coding of BAPI_IDOC_INPUT1 this should work. The error message is given when an entry is missing in TBDBE for the message type.
Next to that also table TBDBA could be used. TBDBA is used both for outbound as inbound IDOC's where TBDBE is just used for inbound.
Next to that you could also try function BAPI_IDOC_INPUTP.
Are you using transaction WE19 or is the IDOC triggered by a maping tool ?
Also check the inbound partner profile. There is an inbound process code for this message. Guess the process code is BAPI. When you double click the process code you should end in function BAPI_IDOC_INPUT1.
Regards Jack
2012 Oct 24 1:49 PM
Hi Jack,
Indeed, with function BAPI_IDOC_INPUTP I'm able to process the message.
Thanks,
Roy