Wednesday, July 9, 2014

SAP APO CIF Debugging


SAP APO CIF Debugging Tips

1. Stop all the CIF queues:
In General, the if your are ok to stop all the CIF queues, then use the transaction SMQR and then "Deregister" the CF* queues. It will stop all the CIF queues. This transaction (SMQR) is available in APO and ERP system. As per the requirement stop the CIF queue in required system.

2. Stop CIF queues for the specific user

Generally in the productive environment above mentioned approach will not work, as we can not stop all the CIF queues (CF*), hence we need to stop user specific queues.
A) To stop user specific inbound queues in the R/3 system, go to transaction /SAPAPO/C4 and add your   user id, with options :
Logging:    As per you requirement.
Debugging: Debugging On, Recording of t/qRFCs (NOSENDS)
recording: Default

B) To stop user specific inbound queues in the APO system, go to transaction CFC2 and add your user id, with options :
RFC Mode : Queued RFC
Logging:    As per you requirement.
Debug: R (Debugging is activated and t/qRFCs are only recorded)

Note: CFC2 transaction required transport request. If you don't have transport request in that case the CFC2 entries can be directly maintained in CIFGPARAMS table.


Once the queue is stopped, then double click on the queues and you will find debug button. Here you can start your debugging.

Also, if you want to see the data in the internal table of the queue then double click on teh queue and you can find the data in the internal table.

No comments:

Post a Comment