Home Discussions Questions & Answers Mandatory Session Initialization Before API Calls

Mandatory Session Initialization Before API Calls

Avatar photoCustomer February 5, 2023 at 7:44 am

Before attempting to submit a report via any PLSQL API (`fnd_request` or `xxen_api.run_report`), is there a required session setup step I must perform?

Viewing 2 reply threads
  • Author
    Replies
    • Support February 6, 2023 at 8:42 pm  

      Yes, you must initialize the application context session. This is done by calling `xxen_report.apps_initialize`, providing the User Name, Responsibility Key, and Responsibility Application Short Code.

    • Avatar photoCustomer February 7, 2023 at 11:52 pm  

      Why is this initialization necessary if I’m running the script as the APPS user?

    • Support February 8, 2023 at 9:52 am  

      This step sets the necessary security and operating unit context for the concurrent program or synchronous execution to run correctly within the EBS environment.

Viewing 2 reply threads
  • You must be logged in to reply to this post.

Login with: