Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to debug virtual attribute

Former Member
0 Likes
543

Hi experts,

I would like know if it's possible to debug a virtual attribute used during replication between CRM - ISU ?

A external break point or a session break point doesn't work.

The only way to do it is :

Modify the abap source code of the virtual attribute in order to make an error.

Then, we correct the source code

Finally, we can restart the process by transaction ECRMREPL (ISU) and enter in debug mode.

Do you another solution for debug virtual attribute who's faster ?

Many thanks.

Mathieu.

1 REPLY 1
Read only

Former Member
0 Likes
354

Hi Mathieu,

If you want to debug the virtual attribute in ISU you first can Deregister the inbound que with transaction SMQS...You should deregister your correct destination...

Then make the necessary changes to the Object IE CRM contract in CRM, this will create the outbound BDOC to ISU, after this then go back to transaction SMQS in ISU, check the QRFC monitor, Your object you changed should appear in the que...Double click the object and the que name you should get to FM -> BAPI_CRM_SAVE...

There is a debug icon in the upper screen u can debug from there, before u do so make sure u placed a break point in either FM -> ISU_PRODUCT_IMPLEMENT which will in turn call your Virtual attribute FM that u have attached in the MDG...

Hope that helps...

regards

Mish