Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9159

Re: Displaying ERP Sales orders in CRM ISU BOL Tree

$
0
0

Hi Jayasri,

 

Unfortunately there is no relation from BP to the ERP sales orders afaik. So the tree node implementation class is the place where you can execute the query.

 

The RFC destination stored in CL_CRM_ERP_IL=>GV_RFC is determined in method
CL_CRM_IC_ERP_SERVICE=>CLASS_CONSTRUCTOR(). Here in line 9 the current ERP sales order profile is determined (based on the business role) an in line 12 the profile data is read from the database (and stored in class attribute GS_ERPPROF-RFCDEST). Please set a break-point in this method to check why the destination is not retrieved correctly.

A possible reason is that your business role might not have the correct profile assignment or that the business role profile is not maintained at the point of time where CL_CRM_IC_ERP_SERVICE=>CLASS_CONSTRUCTOR() is invoked (like in the test environment or in BOL browser).

 

If the RFC connection is not available or the connected system is not valid ERP system (function SLS_LORD_MAINTAIN_EXIT is a prerequisite in ERP), the RFC destination is not considered. You can set break-points in methods CL_CRM_IC_ERP_SERVICE=>GET_RFC_DEST() and CL_CRM_ERP_IL=>CLASS_CONSTRUCTOR() to analyze the validation.

 

Kind regards,

Christian


Viewing all articles
Browse latest Browse all 9159

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>