Show TOC

 Faulty Queue Entries

The integration of SAP ERP and SAP APO is based on queued Remote Function Call( qRFC ) technology. Data for the objects to be transferred is stored temporarily in database tables ("placed in the queue") and transferred to the receiving system asynchronously. The sequence of queues to be transferred is strictly adhered to.

However, there may be errors in the transfer due to business processes or for technical reasons. This causes faulty queue entries.

Faulty queue entries lead to data inconsistencies between the systems involved. Serialization effectscan also lead to extended blocks for the data transfer between the systems.

To prevent queue blocks, you should rectify faulty queue entries as quickly as possible. You can do this in the following ways:

  • If the queues are outbound queues, you can convert the qRFCs of the affected logical units of work (LUWs) into tRFCs and so remove the serialization for the objects to be transferred. The faulty queue entries can be analyzed using the tRFC monitor (transaction SM58).

  • If the queues are inbound queues, you can save the faulty queue entries, which removes them from serialization. To do this, call the qRFC monitor for inbound queues (transaction SMQ2), double-click the relevant queue name, and save the faulty queue entry by choosing the menu functions Start of the navigation path Edit Next navigation step Save LUW End of the navigation path . You can then return the faulty queue entries to the normal queue using transaction SMQ3 and process them further there.

  • You can delete the faulty queue entries.

Note that the procedures described above all lead to entire LUWs not being processed. This can lead to inconsistencies between SAP APO and SAP ERP if a large number of objects are involved in the data transfer.

As of SAP R/3 Plug-In 2002.2, you can also use the CIF Queue Display . This enables you to display the contents of faulty queues, determine the objects concerned, and delete the entries causing the errors as necessary. The queues without errors can therefore be retained.