SAP Knowledge Base Article - Preview

3467668 - Function module not allowed Message no. B1252

Symptom

When processing inbound IDocs in the application, the error status 51 will be set. In the long text the following error is displayed:

Function module not allowed: SAMPLE_FM
Message no. B1252

Diagnosis
The function module SAMPLE_FM and the application object type which were determined are not valid for this IDoc.

Procedure
1. Please check that the process code in the inbound partner profile is correct.
2. If this is the case, you should check the ALE inbound methods ALE inbound methods for the process code and see whether the specified function module and application object type are correct.
3. If this is also the case, then the function module and the application object type are not permitted for the logical message type, message variant, message function and basis type that are contained in the IDoc control record. You should check whether the correct values have been assigned to these fields in the control record. If they do have the correct values, then the assignment to the function module and the application object type needs to be maintained.


Read more...

Environment

  • SAP Basis ALE
  • SAP NetWeaver
  • SAP Web Application Server for SAP S/4 HANA
  • ABAP PLATFORM - Application Server ABAP

Product

ABAP platform all versions ; SAP NetWeaver all versions ; SAP Web Application Server for SAP S/4HANA all versions

Keywords

BASIS_ALE, ALESTD, WE57, EDIFCT, B1252, Function module not allowed , KBA , BC-MID-ALE , Integration Technology ALE , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.