Salesforce

SAP R/3 Troubleshooting (Magic xpi 4.5)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

SAP R/3 Troubleshooting (Magic xpi 4.5)

Q1

Why do I get the "An error occurred while updating IDoc status [key=RFC_ERROR_SYSTEM_FAILURE, message=No authorization to send IDocs with message type ALEAUD]" error message when using the SAP R/3 connector as a trigger?

A1

This error message is generated when you try to update the ALE status in the trigger when the flow is finished.

When using the SAP R/3 trigger, you can configure the trigger to update the IDoc status for the purpose of monitoring IDoc processing.

If the ALE Update Status SAP R/3 trigger configuration property is set to Yes (indicating that an audit trail is required), the trigger updates the IDoc status of the ALE business object that is retrieved from the SAP R/3 system.

This update is accomplished by updating a status IDoc called ALEAUD that the trigger sends to the SAP system as an inbound IDoc event.

After the event is sent to the message endpoint, the trigger updates the status of the IDoc in the SAP R/3 to indicate a failure or success in processing. For example, if the flow ends with no error, the IDoc status will be updated to success. If the flow ends with an error, the IDoc status will be updated to failure.

Note: The RFC that is called to update the ALE status is IDOC_INBOUND_ASYNCHRONOUS

To avoid the error message, you should set the ALE Update Status SAP R/3 trigger configuration property to No.

Note: When Magic xpi receives this error from the SAP R/3 system, it indicates an authorization problem on the SAP R/3 system’s side.

For more information, click here.

Q2

Why is the "Could not initialize class" error thrown when trying to validate a SAP R/3 resource?

A2

When trying to validate or work with a SAP R/3 resource, the “Could not initialize class” message is thrown in a popup window.

In addition, the “This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem” message is thrown to the Studio's Java log.

To solve this problem, you should install the Microsoft C++ redistributable package.

http://www.microsoft.com/downloads/en/details.aspx?familyid=766a6af7-ec73-40ff-b072-9112bab119c2&displaylang=en

Or:

For 64-bit: http://www.microsoft.com/download/en/details.aspx?id=14632

For 32-blit: http://www.microsoft.com/download/en/details.aspx?id=5555

Reference
Attachment 
Attachment