Application Development 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: 

FM /Calss to find The RFC Destination(Dynamically) of an ERP system that is connected to Current CRM system

former_member393841
Participant
0 Kudos
411

HI Experats,

Need to find the RFC Destination of the ERP Sytem that is connected to thew current CRM system.(We are doing some functionality in CRM at thae same time we need to peform same functinality in ERP System that si connected to Current CRM system )

For that we need to find RFC Destination of Corresponding ERP system we found one class and function module

Class Details: CL_CRM_BUPA_SEPA_FIAR~IF_CRM_BUPA_SEPA_ERP~GET_RFC_DESTINATION

Function Module: SMOF0_READ_SITESELECT

Both returning expected result but we need to know what is the difference which one is the best one to use.

Thanks in advance for your valuable inputs.

Best Regards,

Harsha

2 REPLIES 2

matt
Active Contributor
0 Kudos
72

Have you looked at the abap code inside the two objects? One may be calling the other, or they may both be calling the some other object.

0 Kudos
72

Hi Matthew,

Method CL_CRM_BUPA_SEPA_FIAR~IF_CRM_BUPA_SEPA_ERP~GET_RFC_DESTINATION is using SMOF_READ_SMOFERPSH function module

BUt both the function modules fetching the data from siteselect table logic is same in both class&FM

But CL_CRM_BUPA_SEPA_FIAR is relaetd to Single Euro Payments Area(SEPA ) So in future this clas will be modified (May be due to a legislation change or an Upgrade)..

Could you please clarify whether we can use SEPA specific methods/Classes other than European Legislation...

Thanks in advance...

Best Regards,

Harsha