We have a weird situation at this client. We have an RFC destination(XXXCLNT360) that is used to post payroll documents from HR to an FI instance and the same RFC is used to move Cost Centers from FI to HR.
The problem is on the Payroll documents once posted in the FI box have an option to view back on the original document in the HR box with the help of a BAPI activated on this RFC. The catch here is our client wants to restrict this access to a group of employees only.So at this stage I have to remove the Logon details used to automatically login into HR system using RFC (XXXCLNT360).
Now when I try to move cost centers to HR box, the above solution becomes an issue. I cannot move data automatically here because it will ask for logon credentails.
So, Is there a way I can make both the requirements happen?
I tried working with two RFC's but when I generate partner profiles it is looking at the logical system and is throwing an error.
So, Is there a enhancement on SM59 or else where where I can give the logon details during run time.