FND SRWINIT & FND SRWEXIT

Posted pompeii

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了FND SRWINIT & FND SRWEXIT相关的知识,希望对你有一定的参考价值。

Oracle Report Builder 用户出口函数,看看Oracle官方的解释

以下摘自Oracle官方文档

Accessing User Exits and Profile Options(访问用户出口和配置文件选项)

Oracle Application Object Library lets you access user profile information and run user exits from your Oracle Reports program by including the appropriate calls in your program. These Oracle Application Object Library calls also allow your report to access the correct organization (for multiple organizations or "multi-org" installations) automatically.

Call FND SRWINIT and FND SRWEXIT

To access profile values, multiple organizations, or Oracle Applications user exits, and for your program to be used with concurrent processing at all, you must have the first and last user exits called by your Oracle Reports program be FND SRWINIT and FND SRWEXIT.

(为了访问配置文件值、多个组织或Oracle应用程序用户出口,以及为了使你开发的程序能被concurrent processing进行处理,必须在你的Oracle Report 程序中调用FND SRWIIT和FND SRWEXT。)

FND SRWINIT sets your profile option values and allows Oracle Application Object Library user exits to detect that they have been called by a Oracle Reports program. FND SRWEXIT ensures that all the memory allocated for Oracle Application Object Library user exits has been freed up properly. The steps below ensure that your program correctly calls FND SRWINIT and FND SRWEXIT.

(FND SRWIIT设置您的配置文件选项值,并允许Oracle Application Object Library用户出口检测到它们已被Oracle报表程序调用。

    FND SRWEXT确保为Oracle应用程序对象库用户出口分配的所有内存都已正确释放,下面的步骤确保程序正确地调用FND SRWIIT和FND SRWEXCEL。)

Warning:With future releases of Oracle Application Object Library and Oracle Reports, we may provide a simpler set of steps to access FND SRWINIT and FND SRWEXIT. We reserve the right to discontinue support for these steps. If you use the steps below to integrate your Oracle Reports programs with Oracle Application Object Library, you should plan to convert to a different set of integration steps in the future.

? Create a lexical parameter P_CONC_REQUEST_ID with the datatype Number. The concurrent manager passes the concurrent request ID to your report using this parameter.

(创建一个Number数据类型的参数P_CONC_REQUEST_ID,并发管理器使用此参数将并发请求ID传递给你的报表。)

? Call FND SRWINIT in the "Before Report Trigger."   

SRW.USER_EXIT(‘FND SRWINIT‘);

? Call FND SRWEXIT in the "After Report Trigger."

SRW.USER_EXIT(‘FND SRWEXIT‘);

 

以上是关于FND SRWINIT & FND SRWEXIT的主要内容,如果未能解决你的问题,请参考以下文章

EBS 并发请求 计划 fnd_conc_release_classes

Oracle-查找已设置FND诊断配置文件值的用户

Oracle EBS 查询用户职责

转:Oracle EBS FND User Info API

并发管理的并发请求表 fnd_concurrent_requests,这个表有三个时间列

OAF 个性化基础