Sei sulla pagina 1di 58

1 Copyright 2013, Oracle and/or its affiliates. All rights reserved.

February 27, 2013


07:00 PM CET (GMT +2)
- My Oracle Support
Advisor Webcast Program Teleconference Access:

EBS ATG Attachments and Export North America:


18662301938
Upcoming Webcasts in EBS Technology area :
International (UK):
April 2013 : - CP & WF Analyzer Overview
+44 (0) 1452 562665
- Diagnostics Troubleshooting
Additional Dial-In numbers
Do you have any requests for a future EBS - Technology see Note 1148600.1
Webcast ? Please email your suggestions to
ruediger.ziegler@oracle.com subject: Topics of Interest. Conference ID :
84457669

2 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Program Agenda

Presentation
approximately 60 minutes
Q&A Session
maximum 15 minutes
Web attendees can ask questions via Q&A panel
Phone attendees can ask questions via Q&A panel or phone
Presentation will be made available via Note 1186338.1

3 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


NEW Advisor Webcast Note 740966.1

select your product:


e.g. EBS ATG

4 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


NEW Advisor Webcast Note 740966.1 cont.

Schedule Archives

5 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


2 Who to ask?

3 Send
your question

Q&A panel

1
type your question here

6 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


your question pops-up here

7 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


ATTENTION AUDIO INFORMATION
Voice streaming/Audio broadcast is available. For full audio access,
please join the telephone conference.

Teleconference Connect details:

1. Conference ID: 84457669


2. International dial in: +44 (0) 1452 562 665
3. List with national toll free numbers is available in Note 1148600.1

Note:
You can view this info anytime using WebEx menu from your WebEx-Session :

Select Communicate --> Join Teleconference.

8 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Safe Harbor Statement

The following is intended to outline our general product direction.


It is intended for information purposes only, and may not be
incorporated into any contract. It is not a commitment to deliver any
material, code, or functionality, and should not be relied upon in making
purchasing decisions. The development, release, and timing of any
features or functionality described for Oracles products remains at the
sole discretion of Oracle.

9 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


EBS - Export and Attachments
Pieter Breugelmans
Advanced Resolution Engineer

ORACLE
PRODUCT
LOGO
10 Copyright 2013, Oracle and/or its affiliates. All rights reserved.
Program Agenda
Attachments
Introduction to Attachments
Terminology
Setting Up the Attachments Feature
Document Entities
Document Categories and Assignments
Attachment Functions
How Users Use Attachments
Technical Details
References

11 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Program Agenda

Export
Overview
Technical Details
Common Issues and Troubleshooting
References

Q&A

12 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Attachments
Introduction to Attachments

13 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Introduction to Attachments

Principle: link unstructured data to application data


Attachment information across the entire application
Security at various levels
Oracle Applications Developers Guide
Available to custom applications

14 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Attachment Form

Screenshot

This screenshot shows the


Attachment Form

15 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Attachments
Terminology

16 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Terminology
Document
any object that provides information to support another object or action
Entity (base / related)
an object within Oracle Applications data
Attachment
a document associated with an entity
Attachment Function
enables the attachment functionality
Document Category
applies to individual attachments and documents
level of security based upon specific form or form function

17 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Attachments
Setting Up the Attachments Feature
Document Entities
Document Categories and Assignments
Attachment Functions

18 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Setup Overview
A brief overview of what needs to be done
Determine required entities
For each entity main table
Which columns to be used as primary key for the entity
Decide which form / form functions should show attachments for the
entities
for each form, decide to enable attachments for specific form functions
OR for all
Form / form function which categories to use
For each form / form function
determine block / entity relationship
base entity / related entity

19 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Setting Up the Attachments Feature
Document Entities

One table one or more entities


Entity ID : unique identifier
Entity Name:
Displayed on the Attachments form
Meaningful message to end user
Prompt : used in reports
Application : owner of the entity
Navigation Path: responsibility Application Developer
Attachments Document Entities

20 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Setting Up the Attachments Feature
Document Entities

Screenshot

Screenshot of the
Document Entities
Form in EBS.

21 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Setting Up the Attachments Feature
Document Categories and Category Assignments
Document Categories
Category : name of the Category
Default Datatype:
Short Text : VARCHAR2(2000)
Long Text: LONG
Web Page
File
Category Assignments
Type : Form, Function or Report (enabled for attachments)
Name : name of the Form, Function or Report
Format : Header, Body or Footer (Reports only)

22 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Setting Up the Attachments Feature
Document Categories and Category Assignments

23 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Setting Up the Attachments Feature
Attachment Functions
Attachment Functions
Enables the Attachments functionality
Type : Form, Function or Report
Name : depending on the selected Type
User Name : automatically populated
Session Context Field : BLOCK.FIELD reference
value shown as title in the attachments window
Lower level setup
Assign Categories
Block Declaration

24 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Setting Up the Attachments Feature
Attachment Functions

25 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Setting Up the Attachments Feature
Attachment Functions Block Declaration
Block declaration
Secured by:
Sets up the Attachment feature at block level
Block Name Organization
Method
Set of Books
Business Unit
Allow Change: None
insert, update and delete allowed
Set up selective restrict privileges for specific entities
Query Only:
View only
Applies to ALL entities of the block

26 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Setting Up the Attachments Feature
Attachment Functions Entity Declaration

Entity declaration
Map one or more entities to each defined block
Entity: entity name
Display Method: Main Entity or Related Entity
Include in Indicator
Indicator in View
Privileges: query, insert, update and delete
Primary Key Fields: PK for the entity
SQL Statement : advanced query criteria

27 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Attachments
How Users Use Attachments

28 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


How Users Use Attachments
From an end user perspective:

Visible attachments only those categories assigned to the form


function
Document attached to the entity , or not
Include Related Documents
Either automatically enabled (setup) or using the check box on the
attachments form
Cannot modify or insert attachments for related entities
Existing documents can be attached by selecting them from the
Document Catalog limited by security

29 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Attachment Form

Screenshot

This screenshot shows the


Attachment in a Forms
Responsibility.

30 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Attachment Self Service Page

Screenshot
This screenshot shows
the Attachments in a
Self Service (Web-)
Responsibility.

31 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Attachments
Technical Details

32 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Technical
Main form: Attachments FNDATTCH.fmb
Attaching a document to a record stores:
Document information : fnd_documents(_tl)
Document content : fnd_documents_% , fnd_lobs
Entity <-> Document : fnd_attached_documents
Document ID
Entity Name
Primary Key values
Form Block Entity
Profile Option Indicate Attachments
turn off the attachment indication for > performance

33 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Technical

Tables that are part of the attachments feature:


fnd_documents(_tl) fnd_document_categories(_tl)
fnd_doc_category_usages
fnd_attached_documents
fnd_attachment_functions
fnd_documents_long_raw
fnd_attachment_blocks
fnd_documents_long_text fnd_attachment_blk_entities
fnd_documents_short_text fnd_document_entities(_tl)
fnd_lobs fnd_documents(_tl)
fnd_document_datatypes

34 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Technical

Related Database packages:

fnd_attached_documents_pkg (AFAKAADS.pls / AFAKAADB.pls)


fnd_attached_documents_pkg2 (AFAKATDS.pls / AFAKATDB.pls)
fnd_attached_documents_pkg3 (AFAKAD3S.pls / AFAKAD3B.pls)
fnd_attachment_util_pkg (AFAKUTLS.pls / AFAKUTLB.pls)

35 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Database Diagram

36 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Attachments
References

37 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


References
Oracle E-Business Suite Developers Guide
E-Business Suite Documentation link (all Manuals in HTML and PDF available)

New Security Configuration Mechanism in the Attachments Feature in Oracle E-


Business Suite (Note 1357849.1)
Using Microsoft Office 2007 and 2010 with Oracle E-Business Suite 11i and R12
(Note 1077728.1)
Redirecting to Login Page when Attaching Item Attachments Error results: "You
have Insufficient Privileges for the .. (Note 1276493.1)
Receiving HTTP Error 404 When Running File->Export (Doc ID 292786.1)

38 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Export
Overview

39 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Export Overview
Export form data in a tab-separated format
Simple yet very useful feature
Navigation: menu File Export
Profile Option Export MIME type
default: text/tab-separated-values
to open directly in Excel:
application/vnd.ms-excel
application/x-msexcel
application/vnd.openxmlformats

40 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Export Overview

Screenshot

This screenshot
shows Microsoft
Excel as the target
Application of an
export from EBS.

41 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Export
Technical Details

42 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Technical details
Source code: $AU_TOP/resource/APPCORE.pld
Program Unit APP_EXPORT, Function Export()
Contains all the coding logic
Process flow:
Fetch web_server_prefix : Applications Web Agent
Query ALL rows : app_standard_private.lastrecord; forms server action
Determine value for Export MIME type
Create a new file : fnd_gfm.file_create()
Store the data into the file : app_export_private.dump_data()
Close the file
Build the URL for downloading: fnd_gfm.construct_download_url()
Open the URL in a new browser window

43 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Export
Common Issues and troubleshooting

44 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Common issues

Export fails with FRM-41839: Disk I/O error on temporary record buffer
file
Forms Server creates a temporary file under the TEMP / TMP directory but
theres not enough space
Potential solution
Create a soft link to a mount point with more disk space
Add more disk space
Set the TMPDIR environment variable and manually start the forms server
(Note 230664.1)

45 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Troubleshooting
What must be verified

Any errors in the database alert log file?


Unable to extent ?
Enable debug
menu Help Diagnostics Examine:
Block : GLOBAL
Field : FND_EXPORT_DEBUG
Set the value to TRUE and reproduce the problem
Note down the last messages

46 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Troubleshooting - continued
Confirm that the FND_LOBS accepts files via following select in sqlplus:
SET serveroutput ON
DECLARE
db_file NUMBER;
mime_type VARCHAR2 (255) := 'text/plain;
out_string VARCHAR2 (32767) := 'Just some plain text that is stored;
web_server_prefix VARCHAR2 (500);
url VARCHAR2 (500);
BEGIN
db_file := Fnd_Gfm.file_create (content_type => mime_type,program_name =>
'export');
Fnd_Gfm.file_write_line (db_file, out_string);
db_file := Fnd_Gfm.file_close (db_file);
url := Fnd_Gfm.construct_download_url (Fnd_Web_Config.gfm_agent, db_file,
TRUE);
DBMS_OUTPUT.PUT_LINE (url);
END;
/

Open the URL in a browser (after login to the application)

47 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Export
References

48 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Useful Notes
How to Store Image/PDF Attachments on the File System in 11i and R12 (like
Attachment File Directory) (Note 294525.1)
Delivery Manager (Doc ID 1270799.1)
12.1.3 Concurrent Manager Delivery Manager and Bursting Enhancements
(Doc ID 1455169.1)
Check Steven Chans Blog regularly to be informed of any topic around the E-
Business Suite Technology area including 3rd party Software.

If you have a question or want to share your experience, please go to the MOS Community
Oracle E-Business Suite Technology Stack - EBS - and open a thread :
https://communities.oracle.com/portal/server.pt/community/technology_stack_-_ebs/514

49 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Useful Notes

Note 427964.1 Information You Should Upload When Creating an SR for File
Export and Attachments
Note 422419.1 - R12 - How To Enable and Collect Debug for HTTP, OC4J and
OPMN (apache only)
Note 1165208.1 Questions on Purge Obsolete Generic File Manager Data
Note 389422.1 Recommended Browsers for Oracle E-Business Suite Release 12
11i-12: How To Use Jconsole to Monitor JVM with Oracle E-Business Suite 11i
(Note 415455.1)
How to Gather HTTP Header Information From a Client PC (Doc ID 815734.1)

50 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


E-Business Suite Technology Group
Planned Webcasts
April 2013 : - CP & WF Analyzer Overview
- Diagnostics Troubleshooting
For complete details on all upcoming Oracle Advisor Webcast Events, please
see Note 740966.1, Oracle Advisor Webcast Schedule.
For EBS Technology Specific Webcasts please check Note 1186338.1.

Do you have any requests for future ATG Advisor Webcast Events ?
Please email your suggestions to me :
ruediger.ziegler@oracle.com, subject: Topics of Interest

51 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Avoid the unexpected
Are You Ready To Dont leave value on the table
Get Proactive? Lower overall organizational costs through preventative maintenance
Reduce risks and maximize uptime
Discover more about Get Proactive Achieve resolution faster

https://support.oracle.com/CSP/main/a Streamline and simplify your daily operations


rticle?cmd=show&type=ATT&id=1385 Get even more through connection
165.1:DISCOVER
ACT Get Proactive
Access proactive capabilities available
for your products by visiting the
product pages at My Oracle Support;
Article ID 432.1

Contact the Get Proactive team


today for help getting started
get-proactive_ww@oracle.com

52 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Communities in My Oracle Support - TAB Community in MOS

53 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


EBS Technology Communities in MOS available
Following Communities are available in My Oracle Support

Oracle E-Business Suite


...
BI Publisher - Business Intelligence Products (not only EBS)
Core Concurrent Processing - Anything around Concurrent Processing and Concurrent Managers
Core Workflow - Any Workflow isse not only E-Business Suite
Diagnostic Tools - Anything around EBS Diagnostics
E-Business Customizations - Your Customizations
Installation - Fresh Install of the E-Business Suite
Patch Review EBS - Review of Patches around the E-Business Suite
Performance - EBS Performance
Upgrade - EBS Upgrade
User Produktivity Kit - User Productivity Kit (UPK) available for the E-Business Suite
Utilities - Utilities / generic EBS DBA issues
Forms EBS - Anything around Forms in an EBS Environment
Technology Stack EBS - Anything around the TechStack, like DB, Webcserver, SSL, etc.
...
This is the current list for the E-Business Suite Applications Technology Group

54 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


EBS ATG Product Information Center Note 1160285.1

55 Copyright 2013, Oracle and/or its affiliates. All rights reserved.


Questions and Answers
56 Copyright 2013, Oracle and/or its affiliates. All rights reserved.
57 Copyright 2013, Oracle and/or its affiliates. All rights reserved.
58 Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Potrebbero piacerti anche