‎2012 May 29 2:20 PM
Hi Experts,
I am looking for some information as to how to use a bapi like BAPI_PO_RELEASE. This bapi is supposed to release based on Release code and user id. When we make an RFC call to this BAPI for example like call function BAPI_PO_RELEASE destination 'XXX', will not always take the same user id that was configured when creating the RFC destination 'XXX'? If we need to pass the user name to this BAPI from whichever system we are calling it through RFC, what can be done?
Thanks.
Ajith C
‎2012 May 29 2:36 PM
Hi Ajith,
Please check the Function module documentation in BAPI_PO_RELEASE.
With regards,
‎2012 May 29 2:39 PM
Hi Ajith,
I dont think you can pass User name to the BAPI.
It takes the user name which has logged in the RFC destination.
Thanks,
Shambu
‎2012 May 29 2:47 PM
- If a user id is defined in the RFC destination (1) , this defined user will execute the BAPI in target system.
- If target system considers source system as a trusted system (2), no logon pop-up will be triggered and the same user that called in source system will executes the BAPI in target system.
- If no user id is defined in the RFC destination, and source system is not trusted, a pop-up logon window will be triggered, user which connects will execute the BAPI in target system.
Regards,
Raymond
(1) Displaying, Maintaining and Testing Destinations
(2) Trusted Systems: Trust Relationships Between SAP Systems