﻿{"id":1380,"date":"2018-12-20T09:54:33","date_gmt":"2018-12-20T01:54:33","guid":{"rendered":"http:\/\/www.llku.com\/?p=1380"},"modified":"2018-12-20T10:03:51","modified_gmt":"2018-12-20T02:03:51","slug":"oracleebs%e4%b8%ad%e5%bf%ab%e9%80%9f%e6%9f%a5%e7%9c%8b%e6%9f%90%e4%b8%aarequest%e7%9a%84output-file%e6%88%96log%e7%ad%89%e4%bf%a1%e6%81%af%ef%bc%88%e8%bd%ac%e8%bd%bd%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.llku.com\/?p=1380","title":{"rendered":"Oracle EBS\u4e2d\u5feb\u901f\u67e5\u770b\u67d0\u4e2a\u8bf7\u6c42\u7684Output File\u6216log File\u7b49\u4fe1\u606f\uff08\u8f6c\u8f7d\uff09"},"content":{"rendered":"<p>\n\t&nbsp; &nbsp; \u9879\u76ee\u4e0a\uff0c\u7ecf\u5e38\u6709\u8bf7\u6c42\u62a5\u7ea2\u62a5\u9ec4\u7b49\u95ee\u9898\u53cd\u6620\u5230\u6280\u672f\u987e\u95ee\u8fd9\u8fb9\uff0c\u4f46\u662f\u7531\u4e8e\u67d0\u4e9b\u6743\u9650\u7684\u9650\u5236\uff0c\u6709\u65f6\u5019\u54ea\u6015System Administrator\u804c\u8d23\u4e5f\u53ea\u80fd\u770b\u5230\u67d0\u4e2aRequest\u4fe1\u606f\uff0c\u4f46\u662f\u4e0d\u80fd\u67e5\u770b\u5b83\u7684Output File\u3002\u7528\u4e0b\u9762\u8fd9\u4e2a\u65b9\u6cd5\u53ef\u4ee5\u5f88\u65b9\u4fbf\u5730\u67e5\u770b\u8bf7\u6c42\u7684\u8f93\u51fa\u548c\u65e5\u5fd7\u7b49\u4fe1\u606f\uff0c\u751a\u81f3\u4e0d\u7528\u8fdb\u7cfb\u7edf\u5c31\u53ef\u4ee5\u67e5\u770b\u4e86\uff0c\u53ea\u9700\u8981\u4e00\u4e2a\u8bf7\u6c42\u7f16\u53f7\u5c31\u53ef\u4ee5\uff1a\n<\/p>\n<p>\n\t\/* Function: GET_URL<br \/>\n\t*<br \/>\n\t* Purpose: Constructs and returns the URL for a Concurrent Processing<br \/>\n\t* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;log or output file.<br \/>\n\t*<br \/>\n\t* Arguments:<br \/>\n\t* &nbsp;file_type &#8211; Specifies the type of file desired:<br \/>\n\t* &nbsp; &nbsp; &nbsp; fnd_webfile.process_log = The log of the concurrent process identified &nbsp;by the parameter ID.<br \/>\n\t* &nbsp; &nbsp; &nbsp; fnd_webfile.icm_log &nbsp; &nbsp; = The log of the ICM process identified by ID.<br \/>\n\t* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Or, the log of the ICM process that spawned<br \/>\n\t* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; the concurrent process identified by ID.<br \/>\n\t* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Or, the log of the most recent ICM process<br \/>\n\t* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ID is null.<br \/>\n\t* &nbsp; &nbsp; &nbsp; fnd_webfile.request_log = The log of the request identified by ID.<br \/>\n\t* &nbsp; &nbsp; &nbsp; fnd_webfile.request_out = The output of the request identified by ID.<br \/>\n\t* &nbsp; &nbsp; &nbsp; fnd_webfile.request_mgr = The log of the concurrent process that ran the request identified by ID.<br \/>\n\t* &nbsp; &nbsp; &nbsp; fnd_webfile.frd_log &nbsp; &nbsp; = The log of the forms process identified by ID.<br \/>\n\t* &nbsp; &nbsp; &nbsp; fnd_webfile.generic_log = The log file identified by ID.<br \/>\n\t* &nbsp; &nbsp; &nbsp; fnd_webfile.generic_trc = The trace file identified by ID.<br \/>\n\t* &nbsp; &nbsp; &nbsp; fnd_webfile.generic_ora = The ora file identified by ID.<br \/>\n\t* &nbsp; &nbsp; &nbsp; fnd_webfile.generic_cfg = The config file identified by ID.<br \/>\n\t* &nbsp; &nbsp; &nbsp; fnd_webfile.context_file= Applications Context file identified by ID.<br \/>\n\t* &nbsp; &nbsp; &nbsp; fnd_webfile.generic_text= Generic file using text transfer mode.<br \/>\n\t* &nbsp; &nbsp; &nbsp; fnd_webfile.generic_binary = Generic file using binary transfer mode.<br \/>\n\t* &nbsp; &nbsp; &nbsp; fnd_webfile.request_xml_output = The xml output of Concurrent Request.<br \/>\n\t*<br \/>\n\t* &nbsp;id &nbsp; &nbsp; &nbsp; &nbsp;&#8211; A concurrent process ID, concurrent request ID, or file ID<br \/>\n\t* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; depending on the file type specified.<br \/>\n\t* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;For fnd_webfile.context_file,fnd_webfile.generic_text,<br \/>\n\t* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;fnd_webfile.generic_binary this value is null.<br \/>\n\t* &nbsp;gwyuid &nbsp; &nbsp;&#8211; The value of the environment variable GWYUID used in constructing the URL.<br \/>\n\t* &nbsp;two_task &nbsp;&#8211; The database two_task, used in constructing the URL.<br \/>\n\t* &nbsp;expire_time &#8211; The number of minutes for which this URL will remain valid.<br \/>\n\t* &nbsp;source_file &#8211; Source file name with full patch<br \/>\n\t* &nbsp;source_node &#8211; Source node name.<br \/>\n\t* &nbsp;dest_file &nbsp; &#8211; Destination file name<br \/>\n\t* &nbsp;dest_node &nbsp; &#8211; Destination node name<br \/>\n\t* &nbsp;page_no &nbsp; &nbsp; &#8211; Current page number<br \/>\n\t* &nbsp;page_size &#8211; Number of lines in a page<br \/>\n\t* &nbsp;Returns NULL on error. &nbsp;Check the FND message stack.<br \/>\n\t*\/<br \/>\n\tFUNCTION GET_URL(FILE_TYPE &nbsp; IN NUMBER,<br \/>\n\t&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ID &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;IN NUMBER,<br \/>\n\t&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;GWYUID &nbsp; &nbsp; &nbsp;IN VARCHAR2,<br \/>\n\t&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TWO_TASK &nbsp; &nbsp;IN VARCHAR2,<br \/>\n\t&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;EXPIRE_TIME IN NUMBER,<br \/>\n\t&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SOURCE_FILE IN VARCHAR2 DEFAULT NULL,<br \/>\n\t&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SOURCE_NODE IN VARCHAR2 DEFAULT NULL,<br \/>\n\t&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DEST_FILE &nbsp; IN VARCHAR2 DEFAULT NULL,<br \/>\n\t&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DEST_NODE &nbsp; IN VARCHAR2 DEFAULT NULL,<br \/>\n\t&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;PAGE_NO &nbsp; &nbsp; IN NUMBER DEFAULT NULL,<br \/>\n\t&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;PAGE_SIZE &nbsp; IN NUMBER DEFAULT NULL) RETURN VARCHAR2;\n<\/p>\n<p>\n\t&nbsp;\n<\/p>\n<p>\n\t&#8211;\u8c03\u7528\u4ee3\u7801\n<\/p>\n<p>\n\tSELECT FND_WEBFILE.GET_URL(3, &#8211;\u8f93\u51fa\u7c7b\u578b &nbsp;<br \/>\n\t&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;523502, &#8211;\u8bf7\u6c42\u7f16\u53f7 &nbsp;<br \/>\n\t&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#39;APPLSYSPUB\/PUB&#39;,<br \/>\n\t&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#39;FCWW&#39;,<br \/>\n\t&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;10)<br \/>\n\t&nbsp; FROM DUAL;\n<\/p>\n<p>\n\t&#8211;\u53c2\u6570\u4ecb\u7ecd\n<\/p>\n<p>\n\t\u7b2c\u4e00\u4e2a\u53c2\u65704\u8868\u793arequest\u7684output,\uff08\u53ef\u6839\u636e\u9700\u8981\u51b3\u5b9a\uff09<br \/>\n\t\/* Define file types for get_url *\/<br \/>\n\tprocess_log constant number := 1;<br \/>\n\ticm_log constant number := 2;<br \/>\n\trequest_log constant number := 3;<br \/>\n\trequest_out constant number := 4;<br \/>\n\trequest_mgr constant number := 5;<br \/>\n\tfrd_log constant number := 6;<br \/>\n\tgeneric_log constant number := 7;<br \/>\n\tgeneric_trc constant number := 8;<br \/>\n\tgeneric_ora constant number := 9;<br \/>\n\tgeneric_cfg constant number := 10;<br \/>\n\tcontext_file constant number := 11;<br \/>\n\tgeneric_text constant number := 12;<br \/>\n\tgeneric_binary constant number := 13;<br \/>\n\trequest_xml_output constant number :=14;\n<\/p>\n<p>\n\t\u7b2c\u4e8c\u4e2a\u53c2\u6570\u662frequest_id<br \/>\n\t\u7b2c\u4e09\u4e2a\u53c2\u6570\u662f\u73af\u5883\u53c2\u6570GWYUID<br \/>\n\t\u7b2c\u56db\u4e2a\u53c2\u6570\u662ftwo_task,<br \/>\n\t\u7b2c\u4e94\u4e2a\u53c2\u6570\u662furl\u6709\u6548\u7684\u5206\u949f\u6570.&nbsp;<br \/>\n\t\u7136\u540e\u5c31\u662f\u628a\u8fd9\u4e2aurl\u590d\u5236\u5230ie\u5c31\u53ef\u4ee5\u770b\u5230\u4e86.\n<\/p>\n<p>\n\t\u8f6c\u8f7d\u81ea\uff1ahttps:\/\/zhangzhongjie.iteye.com\/blog\/1815442<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; &nbsp; \u9879\u76ee\u4e0a\uff0c\u7ecf\u5e38\u6709\u8bf7\u6c42\u62a5\u7ea2\u62a5\u9ec4\u7b49\u95ee\u9898\u53cd\u6620\u5230\u6280\u672f\u987e\u95ee\u8fd9\u8fb9\uff0c\u4f46\u662f\u7531\u4e8e\u67d0\u4e9b\u6743\u9650\u7684\u9650\u5236\uff0c\u6709\u65f6\u5019 &hellip; <a href=\"https:\/\/www.llku.com\/?p=1380\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">Oracle EBS\u4e2d\u5feb\u901f\u67e5\u770b\u67d0\u4e2a\u8bf7\u6c42\u7684Output File\u6216log File\u7b49\u4fe1\u606f\uff08\u8f6c\u8f7d\uff09<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[68],"tags":[69,223],"_links":{"self":[{"href":"https:\/\/www.llku.com\/index.php?rest_route=\/wp\/v2\/posts\/1380"}],"collection":[{"href":"https:\/\/www.llku.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.llku.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.llku.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.llku.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1380"}],"version-history":[{"count":3,"href":"https:\/\/www.llku.com\/index.php?rest_route=\/wp\/v2\/posts\/1380\/revisions"}],"predecessor-version":[{"id":1383,"href":"https:\/\/www.llku.com\/index.php?rest_route=\/wp\/v2\/posts\/1380\/revisions\/1383"}],"wp:attachment":[{"href":"https:\/\/www.llku.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.llku.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1380"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.llku.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}