Solved

Alternative for Impersonate User

  • 10 December 2021
  • 2 replies
  • 377 views

Badge +2

Hi All,

I want to post a background job via a custom event action as app owner (needs to perform event action as a different user) without using impersonate user.’Fnd_Session_API.Impersonate_Fnd_User(‘IFSAPP’)

Does anyone know any other option in APPS 10?

Thanks!

icon

Best answer by Tomas Ruderfelt 10 December 2021, 12:56

View original

This topic has been closed for comments

2 replies

Userlevel 7
Badge +19

You could try this, if only the background job needs to be performed by appowner (IFSAPP):

  1. Create the background job with Transaction_SYS.Deferred_Call and use the overloaded method where you get back the ID of the background job:

     

  2. Make a hard update of USERNAME in TRANSACTION_SYS_LOCAL_TAB to appowner using the ID.
Badge +2

Hi All,

I want to post a background job via a custom event action as app owner (needs to perform event action as a different user) without using impersonate user.’Fnd_Session_API.Impersonate_Fnd_User(‘IFSAPP’)

Does anyone know any other option in APPS 10?

Thanks!

Thank you @Tomas Ruderfelt :)