Do You Still Need LCRSAPRFC and SAPSLDAPI For Proxy Communication?
Applies To : From SAP ECC 6 EHP5 and SAP PI
This blog explains about the different ways of proxy pre-configurations depending on your SAP ECC system version.From SAP ECC EH5/6 there is an other alternative way to configure the proxy configurations between SAP ECC and SAP PI.
To establish proxy communication ideally we need 2 RFC destinations of type T : LCRSAPRFC and SAPSLDAPI and 1 type H destination. LCRSAPRFC is used to access the exchange profile parameters and SAPSLDAPI is use to access SLD(local SLD or central SLD depending upon the settings in SLDAPICUST).
LCRSAPRFC is obsolete and to access the exchange profile parameters(SAP PI Dual stack) we have the new RFC destination of type G : SAP_PROXY_ESR. Provide the required hostname,port/service no and path prefix as per the below screen.
From the above point it clearly says that we don’t need LCRSAPRFC if you are in EHP5 and higher versions.
To access SLD we need to provide the system details and logon credentials in SLDAPICUST and in this case we have different options available as per the below screen.
Option 1 : When we choose the first option and do a test(SLDCHECK) it will pop up the screen saying SAPSLDAPI destination was not created and cannot access SLD as per below screens however as per recommendations from SAP this is not the option.
Option 2 : In the second option, provide the system details and the logon credentials and do a test connection to SLD. System will take the details which were given here and no additional RFC destination like SAPSLDAPI is not required.This configuration is recommended by SAP.
Option 3 : By selecting this option and click on Config button automatically the RFC destination template SAP_CIM_SRV_XXX_XXX will be created.Provide the required details like service user,password and system details
Its not a hard rule from SAP not to use SAPSLDAPI type T destination.Instead of 2 type T connections now we will have 2 type G if you choose option 3.