Skip to main content
Solved

Alternative for Impersonate User

  • Dec 10, 2021 11:13 AM UTC
  • 2 replies
  • 705 views

Forum|alt.badge.img+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!

Best answer by Tomas Ruderfelt

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.
View original
This topic has been closed for replies.

2 replies

Forum|alt.badge.img+21
  • Superhero (Employee)
  • Answer
  • Dec 10, 2021 11:56 AM UTC

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.

Forum|alt.badge.img+2
  • Author
  • Do Gooder (Partner)
  • Dec 20, 2021 1:14 PM UTC

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 :)