Supply Chain Management Blog Posts by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
Prashant_guha
Discoverer
0 Likes
1,467

Purpose:

This blog aims to describe the significances and resolutions of some of the common errors in the messages queues in FSM.

Introduction:

Communication between the S4 HANA system and the Field service management system is based on the asynchronous transfer technique queue Remote function call (RFC).

This technique is used for both the initial data transfer and the transfer of data changes in the system.

Classification of queues:

  • Outbound
  • Inbound

The data is first buffered by the sending system (S4HANA) and then transferred to the target system (Field service management) via an outbound queue, or in a reverse direction, transferred from the sending system (Field service management) and then buffered by the target system (S4HANA) through an inbound queue.

In this blog, we are primarily considering some of the issues experienced in the outbound queues hence would restrict the description to the outbound queues.

Monitoring:

We use the transaction ‘SMQ1’ to monitor the outbound queues. The FSM related queues have a standard SAP prefix of ‘/PACG’:

Prashant_guha_0-1729073751629.png

 

We click on the queues individually to check the details of the status:

Prashant_guha_1-1729073752841.png

 

Other standard queues:

/PACG/ECM_LOW_OUT:

Prashant_guha_2-1729073751523.png

 

These queues relate to the outbound master data (functional location etc.)

/PACG/ECM_STD_OUT:

Prashant_guha_3-1729073752852.png

 

These signify the outbound transactional data (service order etc.)

Some error statuses with their temporary fixes:

Retry

The Retry status is usually a side effect of a system problem (which should be fixed first). As a workaround, we can try a deletion of the affected queues:

Prashant_guha_4-1729073751525.png

 

Double click on the queue to check the error details:

Prashant_guha_5-1729073752846.png

 

Root cause: The error ‘Command to tRFC/qRFC: Execute LUW again’ signifies a LUW (Logical unit of work) cannot be processed any further due to a temporary error in the application and therefore calls the RESTART_OF_BACKGROUNDTASK function module.

This would prompt the qRFC Manager to cancel the execution of this LUW and to repeat this LUW later in accordance with the specification in transaction SM59. In this case, qRFC simulates a communication error with the text "Command to tRFC/qRFC: Execute LUW once again."

Fix: Delete queues

Use the trash can icon to delete the selected queues:

Prashant_guha_6-1729073752843.png

 

 

Prashant_guha_7-1729073752848.png

 

VBError

Root cause:

If outbound queues and update task are parts of one and the same LUW, the outbound queues should always be processed after successfully completing the update task. If the update task runs into an error, the corresponding queue entry will be updated with the ‘VBERROR’ status.

Prashant_guha_8-1729073752844.png

 

Prashant_guha_9-1729073752850.png

 

Fix: Reset queues

Use the Option ‘Reset status’ in the ‘Edit’ dropdown menu:

Prashant_guha_10-1729073752827.png

 

Prashant_guha_11-1729073752837.png

 

STOP

Root cause:

The queue was stopped manually by any unknown reason or accidently. 

Prashant_guha_12-1729073752854.png

 

Fix: Unlock queues

We use the ‘Unlock’ icon to unlock and activate the affected queues:

Prashant_guha_13-1729073751526.png

 

References:

  1. https://community.sap.com/t5/technology-q-a/queues-status-with-vberror-in-smq1/qaq-p/10713037
  2. https://me.sap.com/notes/2898522/E