Entering content frameError Analysis Locate the document in its SAP Library structure

Technical Errors in the ALE Service Layer

The following errors can occur in the ALE service layer:

Syntax error in the IDoc

Missing partner profile

IDoc not transferred to the transactional Remote Function Call (tRFC) at transmission

IDoc not transferred to the application at receipt

Outbound Processing

Syntax error in the IDoc: IDoc status 07

On transmitting or receiving IDocs, the syntax of the individual IDoc is checked. When the IDoc is defined, the syntax, which includes the following, is determined:

The individual IDoc category segments

The relationship between the individual segments

How many segments can be transmitted in one IDoc or how often an individual segment may occur in one IDoc

An IDoc syntax check can be activated in the partner profile for an IDoc category and a certain partner. We recommend that you activate this check, particularly for any IDocs that you have created yourself. Otherwise, this error normally only occurs in the test run. The incorrect IDocs cannot be repaired so they have to be transmitted again once the IDoc structure has been corrected in the SAP system.

Missing or Incorrect Partner Profile: IDoc status 29

To transmit an IDoc from SAP to the subsystem, you must define the partner profile’s outbound processing for the IDoc category (message type) and all relevant partners. You will find a more detailed description of partner profiles in the online documentation for the Implementation Guidelines (IMG). If the partner (subsystem) for the IDoc to be transmitted can not be determined, you must proceed as follows:

Maintain the partner profile

All IDocs for transmission have to be set for retransmission. Since this error triggered a work item for the standard task ALE/EDI: error processing (outbound) and sent it to the relevant user’s inbox, the incorrect IDoc also has to be set for subsequent transmission from the inbox. On subsequent transmission, the incorrect IDoc is flagged with status 31 and copied to a new one which is enhanced with data from the partner profile and transferred to the asynchronous Remote Function Call (aRFC).

Errors in partner profiles normally only occur in the test run.

IDoc not transferred to asynchronous Remote Function Call (aRFC) on transmission : IDoc status 30

Although the partner profile has been maintained the IDoc is not transferred to the aRFC. In other words, the IDoc is structured but not sent. The corresponding subsystem does not have any open entries in the RFC transaction evaluation (SM58). The IDoc is ready for transmission, but you must initiate the transmission explicitly.

To do this, use the report RSEOUT00, which you can plan as a periodic job or start directly through the transportation menu Logistics ® Sales and distribution ® Transportation ® External systems ® Transportation planning ® ALE monitoring ® Periodic processing ® Process ALE outbound IDocs ® Send.

Here, the outbound mode for the relevant IDoc should be checked in the partner profile. In outbound mode 2, the created IDoc is transmitted directly, in 4, the IDocs are collected together and sent in defined package sizes. We recommend that the IDocs should not be directly transmitted in mode 4.

Status 30 in the IDoc can normally only occur if outbound mode is set to 4.

Inbound Processing

Syntax error in the IDoc: IDoc status 60

As in outbound processing, an IDoc syntax check can be activated in the partner profile for an IDoc category and a certain partner. We recommend that you activate this check. Otherwise, this error normally only occurs in the test run. The incorrect IDocs cannot be repaired so they have to be transmitted again once the IDoc structure has been corrected in the sending system.

Missing or Incorrect Partner Profile: IDoc status 63

On receipt of an IDoc in SAP, the partner profile inbound processing for IDoc category (message type) and the transmitting partner must be defined. You will find a more detailed description of partner profiles in the online documentation for the Implementation Guidelines (IMG). If the partner profile and therefore the inbound method for the recipient IDoc cannot be found, then the application cannot be activated and the IDoc remains in the system with open status. For this type of error, proceed as follows:

Maintain the partner profile

All IDocs open for transmission must be set for retransmission. Since this error triggered a work item for the standard task ALE/EDI: error processing (inbound) and sent it to the relevant user’s inbox, the incorrect IDoc’s new profile data for the processing application also has to be executed from the inbox.

Errors in partner profiles normally only occur in the test run.

IDoc not transferred to the application at receipt IDoc status 64

Although the partner profile has been maintained, the received IDoc was not processed and flagged as incorrect, which means that the application is not controlled for processing this IDoc. Although the IDoc is ready for transmission to the application, you need to explicitly set the application for processing the IDoc.

To do this, call up the report RBDAPP01, which you can plan as a periodic job or start directly through the transportation menu Logistics ® Sales and distribution ® Transportation ® External systems ® Transportation planning ® ALE monitoring ® Periodic processing ® Process ALE outbound IDocs ® Post.

As in transmission, you check the processing type in the partner profile. In processing 1, the IDocs are transferred immediately after receipt to the application for processing. In processing 3 and partially in 2, we recommend that processing be explicitly rather than directly controlled.

Status 64 in the IDoc can normally only occur in conjunction with processing 3 and 2.

Logical Errors in the Application

The errors described below, which occur in the application, are related to an inbound IDoc in SAP. The IDoc that is to be transferred is structured in the application in such a way that the system will immediately notice any missing or incorrect Customizing settings in SAP processing (while creating planning requests, for example).

During inbound processing of an IDoc in the SAP System, the following errors may occur in the application:

Missing or incorrect Customizing settings in the SAP System

Missing or incorrect data in the IDoc

Error due to blocked objects

The incorrect IDoc is flagged with status 51.

Missing or incorrect Customizing settings in the SAP System

The IDoc that was received cannot be processed because certain IDoc data has not been maintained in the system. For example, a shipment category is transferred from a shipment registered in the subsystem that has not been defined in the SAP system. You must make the Customizing settings accordingly for these errors; posting the incorrect IDoc can be controlled afterwards. Reposting can either take place from the inbox of the person responsible or via report RBDMANIN, which can be planned as a periodic job or started via the transportation menu Logistics ® Sales/distribution ® Transportation ® External systems ® Transportation planning ® ALE monitoring ® Periodic processing ® Process ALE inbound IDocs ® Repost.

Missing or incorrect data in the IDoc

If the data in the received IDoc is incomplete, you must decide whether the incorrect IDoc should be transmitted again or whether it is possible or appropriate to carry out corrections in the SAP system. You can also make corrections directly in the IDoc. It is possible to do this using the IDoc Editor but this should only be used for exceptional cases.

Like errors in Customizing settings, the incorrect IDoc can also be posted from the inbox of the user responsible or via report RBDMANIN.

Error due to blocked objects

There are often problems in SAP processing with blocking individual objects. Multiple attempts (by different users) to access the same SAP object, processing will be terminated, with an error note for the blocked object. This error is treated like all other errors in IDoc processing. No action is required by the user here to recover the error. Repeating the processing at a later point will automatically solve the problem. This means that using background processing (periodic job) in the RBDMANIN report can be used for reposting the IDoc. The error status parameter in this report uses the error message ID to limit posting for certain errors; in this case only for each error message related to a blocking error.

Important Error Notes in Inbox

For each error described, a work item is created and put in the inbox of the user responsible. Work items are used for certain important error notes that are either transmitted directly from the subsystem or structured in IDoc processing internally in the application. These work items do not serve the purpose of starting Idoc processing again from the inbox. They are used to inform the user of a conflict situation or to pass on an important message from the subsystem to the SAP System. The message is transferred to SAP by IDoc SYSTAT01.

Unlike errors, work items for notes must be completed rather than processed from the inbox.

 

 

 

 

 

Leaving content frame