We are calling a custom package procedure from View Contracts page. We want to use fnd_global.org_id to fetch org_id in the procedure.
However as we know, first we need to call FND_GLOBAL.APPS_INITIALIZE, to initialize global security context for the session.
FND_GLOBAL.APPS_INITIALIZE requires 3 parameters - user_id, resp_id and resp_appl_id.
How to get these values in a package procedure called through jsp?