Salesforce

SAP ERP Troubleshooting (Magic xpi 4.13)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

SAP ERP Troubleshooting (Magic xpi 4.13)

Q

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 ERP connector as a trigger?

A

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 ERP trigger, you can configure the trigger to update the IDoc status for the purpose of monitoring IDoc processing.

If the ALE Update Status SAP ERP 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 ERP 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 ERP 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 ERP trigger configuration property to No.

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

For more information, click here.

Q

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

A

When trying to validate or work with a SAP ERP 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

Q

Why does the SAP ERP connector incorrectly handle the Error or Exception thrown from the RFC, in case the RFC program throws an Error or an Exception?

A

While executing the RFC, if there is any error or exception while executing the RFC program, then the output of RFC should contain correct Error or Exception as part of RFC Execution Result. It is the responsibility of the RFC developer to build this correct return result based on Error or Exception thrown from the RFC business logic. If the RFC execution result is not built correctly, the SAP ERP connector will not be able to process the exception correctly.

Reference
Attachment 
Attachment