cancel
Showing results for 
Search instead for 
Did you mean: 

LCRSAPRFC and SAPSLDAPI query

shankul_saxena
Explorer
0 Kudos

Hi PI/PO Gurus,

I was looking on the differences in Proxy configuration in PI 7.1 and PO. What I saw in LCRSAPRFC and SAPSLDAPI is both are having same parameters for connection but I was unable to see that how PI is diffrentiating that how LCRSAPRFC will get ESR details and how SAPSLDAPI get SLD details.

On further analysis, I found that both RFCs are calling the ABAP function module which extracts the data from LCRSAPRFC and SAPSLDAPI but where I can see that how that function module is called by PI. In PO, we are using SAP_ESR_PROXY and in this RFC we are giving ESR url which will get the ESR details for sproxy but this URL we cant see in PI 7.1.

Please correct me if I am proceeding in wrong direction. Your valuable inputs will be helpful for my knowledge.

Regards,

Shankul

Accepted Solutions (1)

Accepted Solutions (1)

former_member186851
Active Contributor
0 Kudos

Hello Shankul,

In single stack you dont need LCRSAPRFC.

Two sm59 Connections should be maintained one proxy data transmission other for viewing Proxy Structure(ESR objects)

Check the below links for more details

Proxy to file scenario using AAE - with full configuration

http://scn.sap.com/people/anilkumar.bodapati3/blog/2013/07/07/proxy-to-soap-synchronous-scenerio-in-...

shankul_saxena
Explorer
0 Kudos

Hi Rraghuraman,

I want to know that how LCRSAPRFC and SAPSLDAPI working. If we see the details maintained in both, we will find that both have same details. But one is extracting data for sproxy from ESR and one is getting SLD data. How these two RFCs getting different data if same details maintained in them.

Regards,

Shankul

former_member182412
Active Contributor
0 Kudos

Hi Shankul,

LCRSAPRFC and SAPSLDAPI destinations are to forward the call to respective java ejb's in PI java stack, inside the ejb actual work will be done either connect to exchange profile or connect to SLD.

In order to forward the call from ABAP to PI java stack we will use JCO connection from ABAP to Java. for this we will create Jco RFC destination in NWA.

Once we created these destinations and up and running then these server programs will register in PI gateway and listening to the RFC calls. You can find the registered RFC server programs in SMGW.

In ECC we create RFC destination to call the registered above server program in the gateway.

Finally ECC will send the RFC request by using RFC destination which we created above SAPSLDAPI to the RFC server program which is registered in the gateway and this will call respective EJB in java stack, one ejb to get the details from exchange profile using LCRSAPRFC and one ejb to get the business system details from SLD using SAPSLDAPI.

I hope i clarified your doubt.

Regards,

Praveen.

former_member186851
Active Contributor
0 Kudos

Hello Shankul,

Praveen already explained.

For SLDAPICUST and SLDAPICheck will help you in finding the SLDAPI connection.

for LCRSAPRFC you can check if the Sproxy tree will be displayed.

Answers (1)

Answers (1)

former_member182412
Active Contributor
0 Kudos

Hi Shankul,

  • In PI 7.1 there is no SAP_ESR_PROXY destination to connect to repository get the list of software components and service interfaces, ERP system reads PI host name and the port from exchange profile. ERP will connect to exchange profile using destination LCRSAPRFC. ERP needs to get the respective business system from SLD using SAPSLDAPI destination maintained in ERP.
  • In PO we are creating SAP_ESR_PROXY destination, in the destination we are giving PI host name, PI port and path for repository and user name and password, so we maintaining everything in the destination so we dont need to read the exchange profile so we dont need LCRSAPRFC. ERP system will use details maintained in SLDAPICUST transaction to connect to SLD get the own business system so we dont need SAPSLDAPI destination.

Regards,

Praveen.