Investigating data flow from CRM to SEM and APO
§Debugging Data flow from CRM to SEM
§Put break point in remote call function at line 1880 and 1933 in program CRM_KPI_LIBRARY . If that does not work, please put break point at all FM which makes RFC call .
-Debugging data flow to APO
§Deregister AI* Queue in transaction SMQR . Save the Marketing Object at appropriate status. Go to SMQR again and process the queue .Put the beak point at line no 1130 in FM and then press F5 to debug.
Investigating all data flow in SAP CRM system
§For investigating error in Bdoc Flow – please put break point on line CALL FUNCTION servfu-fname inside FM SMW3_FLOW_SERVICE_EXECUTE. Check that the dynamically called FMs returns sy-subrc of 0 .
§the FM SMW3_FLOW_SERVICE_EXECUTE is called when any Bdoc is triggered. For tracking any CRM Object, deregister the CSA queue in transaction SMQR. PLEASE NOTE THAT YOU DONOT DEREGISTER THE WHOLE CSA QUEUE. THIS WILL STOP DATA FLOW UNTILL THE CSA QUEUE IS REGISTERED BACK.
Investigating data flow from CRM to Mobile Application - Step I
Take one Bdoc ID from the above transaction and go to transaction SMW19. Fill the Bdoc ID and fill flow context as MO1 and hit execute .
Put a Breakpoint BY YOUR USERNAME only in the method IF_EX_CRM_30A_USER_EXITS~USER_EXIT_DOWNLOAD_BP_MAIN
Investigating data flow from CRM to Mobile Application - Step II
Fill the Bdoc ID and fill flow context as MO1 and hit execute .
Investigating data flow from CRM to Mobile Application - Step III
After you hit execute you come across a screen as given beside.
Once you come to a screen as above, hit back as long as you donot get a screen like as below:
Select the Bdoc and click on reporocess button ( which is next to Delete button ) The code will stop at the breakpoint ( set earlier by user name). Then you can debug your code.
No comments:
Post a Comment