Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to execute a transaction with a different user from the logged user?

0 Kudos

Hello Experts!

I'm trying to find out a solution about this scenario: our users need to release a Purchase Order (ME28) and/or a Service Entry Sheet (ML85) in SAP from a WEB based application through TIBCO, but the requirement is to execute this operation with the same SAP User name of the user (with his authorization) and not with the TIBCO user that is logged to SAP.

Is there someone that could suggest me a real time solution and how to develop it? I really appreciate your contribute and I'm at your disposal for any further information.

Thank you very much!

Alessandro

1 ACCEPTED SOLUTION

Former Member
0 Kudos

You might try creating an anonymous userid with the correct authorizations and a remote enabled RFC that calls the transaction. The connection to the RFC destination (SM59) should use the new userid.

rob

3 REPLIES 3

Former Member
0 Kudos

You might try creating an anonymous userid with the correct authorizations and a remote enabled RFC that calls the transaction. The connection to the RFC destination (SM59) should use the new userid.

rob

0 Kudos

Hi Rob!

Thank you for your help, but I can't apply this solution, because we need to execute the transaction with a specific user name and not a generic user, besides our user have different authorization, for example the user Mr. Rossi can release only his Purchase Order but not the PO of another user Mr. Bianchi. Moreover we need to see the PO released/modified from a specif user name. So this is our constraint.

Bye Ale.

Former Member
0 Kudos

Hi ,

As I understand, TIBCO can only send data via IDOC or a RFC.

TIBCO can trigger a Remote FM in SAP where you will default the USER id to your requirement before you pass to the Transaction code.

The User id mentioned in the program will be used for posting.

Thanks,

Prithwi