cancel
Showing results for 
Search instead for 
Did you mean: 

PIAPPLUSER RFC Connection SAP ABAP System to PI

Former Member
0 Kudos

Hi all,

Can someone please guide me, I've created an RFC connection in ABAP backend system to connect to PI system and when i do connection test it bring a pop to enter username and password.

In PI user PIAPPLUSER has roles SAP_BC_WEBSERVICE_PI_CFG_SRV and SAP_XI_APPL_SERV_USER. Also password in SM59 rfc is same in both PI's AS ABAP and exchangeProfile url. Please note the problem is in our QA ystem, in development it's working and i can do SPROXY without any problems.

I tried with both XI and xi in path prefix : /sap/XI/engine/?type=entry

Thank you and regards,

Katlego

Accepted Solutions (1)

Accepted Solutions (1)

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

Usually this happens when there are two RFC destinations pointing to your XI system e.g

1. Check in sxmb_adm -> integration engine configuration to see which rfc destination you are using. It should be dest://NAME_OF_RFC_DESTINATION

2. Check SM59 type H if that rfc destination exists

3. Check SM59 type G if SAP_PROXY_ESR exists

Please take note that only one needs to exist and not both. Just delete SAP_PROXY_ESR if a type H destination is already pointing to your XI system.

Hope this helps,

Mark

Former Member
0 Kudos

Hi Mark,

At first I only had rfc connection of type H but with that I was getting an error when running SPROXY but after defining SAP_PROXY_ESR I can now run SPROXY. I've now deleted type H rfc connection and when i run the proxy function module I get error INTERNAL.DESTINATION_NOT_FOUND HTTP destination does not exist and this is becuase in SXMB_ADM I still had the old type H connection defined. Even after I changed it to type G rfc, the proxy function is still giving an error refereing to the old one.

In SXMB_ADM, with rfc type H i could doubleclick on the dest://RFC_CONNECTION it will take me to the rfc connection but with type G i get Function code cannot be selected.

Our PI system is 7.11

Thank you and regards,

Katlego

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

Please do not use the SAP_PROXY_ESR and just use the type H. Can you tell us what is the error that you are getting when running SPROXY when using the type H destination?

Regards,

Mark

Former Member
0 Kudos

Hi Mark,

I've deleted type G rfc and recreated type H connection. I've also updated rfc destination in SXMB_ADM. Both rfc connection test and proxy function module still bring popup to enter username and password.

 

That error in SPROXY is now gone, but previously it was gving same that popup to enter username and password and then that message(i forgot the details) where it says use the SPROX_CHECK* programs to diagnose the error. I've ran all 4 again now and they all successfull.

Also we've separate FI and HR systems, so from our FI QA systems the rfc connection test with the same user PIAPPLUSER is successfull system but not in HR QA. Both development systems are working fine.

Thank you and regards,

Katlego

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

Glad to know that it is now working correctly. A popup happens (when there is no SAP_PROXY_ESR)) in the rfc connection test when the wrong username/password is entered or the user got locked in your XI system.

Hope this helps,

Mark

Former Member
0 Kudos

Hi Mark,

I finally got it, the PIAPPLUSER's password must all be in uppercase. This i got it from the link http://scn.sap.com/thread/1636753 . The other difference is our FI systems is ECC6 and HR ECC5 hence it I had no problems in FI.

Thanks a lot for your help.

Regards,

Katlego

Answers (4)

Answers (4)

ambrish_mishra
Active Contributor
0 Kudos

Hi Katlego,

You can check if the execution of the interface locks the password. If not the RFC destination and exchange profile, the password may be wrong somewhere else and might be getting locked. Hope the Logon and Security Tab uses SAP standard option.

This pop usually comes when the password is wrong.

Ambrish

Former Member
0 Kudos

Hi Katlego,


Please Verify at UME - User Management Engine if PIAPPLUSER have this Roles in Profile.

In Netweaver 7.3 you can access by Netweaver Administrator Portal.

former_member223322
Active Participant
0 Kudos

What is the RFC Connection type you are using? It must be H.

~Srini

0 Kudos

Hi Katlego,

Mostly the problem is with the password.

The password should be same in both SAP PI System and the password u were entering in RFC Destination in the backend SAP System.

As you were testing the connection in backend SAP System check the password should be same.