Skip to Content

This document explains how we can debug the CIF at PO, when the data is sent from ECC to APO.

In this example, we are debugging the CIF for Materials. Same process can be applied to all the iModel objetcs.

1- SMQ2: Inbound Queue at APO

Check that there are no entries using SMQ2 at APO side:

CIF0.jpg

CIF01.jpg

2- SMQR: Deregister queues at APO side

In APO, go to transaction SMQR. Select Queue name CF* and press Deregistration:

CIF1.jpg

CIF2.jpg

Note the the Type U is displayed. This means that the Queue is Deregistred:

CIF3.jpg

3- CMF1: Create Integration Model

Go to transaction CFM1 at ECC side and create an Integration Model for Materials. It is recommended to work with a single materials in order to make easier the debug:

CIF4.jpg

Generate the IModel:

CIF7.jpg

4- CFM2: Activate or Deactivate Integration Model

Use CFM2 at ECC side to activate the IModel:

CIF8.jpg

Select the entry, press Activate and Start:

CIF9.jpg

A pop up will appear confirming that the queue is deregistred. Press Ignore

CIF0.jpg

5- SMQ2: Inbound Queue at APO

Now we are ready to debug the CIF.

Open a new APO session and go to transaction SMQ2 at APO:

CIF11.jpg

Click twice on the queue name as many times as needed still the debug option is displayed:

CIF12.jpg

CIF13.jpg

Press the botton with the red arrow to start the debug:

CIF14.jpg

Done… the ABAP debugger appears:

CIF15.jpg

6- SMQR: Register queues at APO side

Once the debug is done, remember to Register the APO queues:

CIF1.jpg

CIF17.jpg

CIF18.jpg

To report this post you need to login first.

4 Comments

You must be Logged on to comment or reply to a post.

  1. Babu Kilari

    Hello Mariano,

    You don’t need to de-register and register the queue scheduler again to debug a CIF queue. All you need to do is to set an entry in CFC2 transaction in ECC side which will make the queue to stop in APO Inbound in NOEXEC status. You can then pick that entry and debug the LUW. You don’t need to perform all the steps mentioned above. This is my opinion. If you want to debug the queues from APO, you need to set an entry for your user id in /SAPAPO/C4 transaction code. Try it out.

    (0) 
    1. Mariano Cabalen Post author

      Thanks Babu Kilari for your comments.

      I have seen in some threads that this can be done in CFC2, but I was not able to do it. CFC2 was set locked for modifications, at least in the last three companies in which I was working for. 

      (0) 
      1. Babu Kilari

        Hello Mariano,

        Perhaps, it is something to do with authorization ? Did you set the option as “R” – Recording in CFC2 t-code with your user id ?  Perhaps, you could try it out in your test box. The key advantage with this CFC2 is you can work with your own queue instead of stopping all the queues in the system which helps a lot in production environment.

        Babu Kilari

        (0) 
        1. Mariano Cabalen Post author

          CFC2 can only be run by the System administrator. I can ask the corresponing team to make entry for my user, but this should be done thru a change request which it takes more time than my procedure. Of course, I can not deregistred the CIF in production.. In case the CIF needs to be debug in a production system I would do what you propose.

          Thanks!

          (0) 

Leave a Reply