Vous êtes sur la page 1sur 53

Migra&ng

and Managing
Customiza&ons
Oracle E-Business Suite R12.2

San&ago Bas&das
Senior Principal Product Manager
Applica&ons Technology, E-Business Suite Development
Oct 1st, 2014

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

Safe Harbor Statement


The following is intended to outline our general product direc&on. It is intended for
informa&on purposes only, and may not be incorporated into any contract. It is not a
commitment to deliver any material, code, or func&onality, and should not be relied upon
in making purchasing decisions. The development, release, and &ming of any features or
func&onality described for Oracles products remains at the sole discre&on of Oracle.

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

Related Sessions
Tuesday
Sep 30
5:00 pm -
5:45 pm

CON7702 - Online Patching with Oracle E-Business Suite 12.2


Kevin Hudson, Sr. Director, ATG Development

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

MW-2018

Program Agenda
1

Customiza&ons 12.1 vs 12.2

Preparing Customiza&ons for 12.2 Upgrade

12.2 Upgrade impact to Customiza&ons

Managing Customiza&ons in 12.2

Key Takeaways

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

Program Agenda
1

Customiza&ons 12.1 vs 12.2

Preparing Customiza&ons for 12.2 Upgrade

12.2 Upgrade impact to Customiza&ons

Managing Customiza&ons in 12.2

Key Takeaways

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

Customiza&ons in E-Business Suite


Implemented in several technologies
Components live in the middle &er and in the database
Custom DB components reside in Custom schemas and
EBS schemas
Custom DB components could have dependencies on EBS
components

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

Customiza&ons Releases 12.1

Applica&on Tier

Database

APPL_TOP

Applica&on Schemas

Applica&on Code

Custom
Code

COMMON_TOP
Custom
Applica&on Code
Code

Custom Code
Applica&on Code
Applica&on Data Model

Oracle Developer 10g

Custom Schemas

OC4J

Custom Code

Web Listener

Custom Data Model


Copyright 2014, Oracle and/or its aliates. All rights reserved. |

Oracle E-Business Suite 12.2 and Online Patching


Quick High-level Recap
ProducIon

E-Business Suite
12.2.3

Copy of ProducIon

Patches
E-Business Suite
- 12.2.4
12.2.3
- Customiza&on

-

Copy the produc&on code, including


customiza&ons
Apply patches to the copy
Copyright 2014, Oracle and/or its aliates. All rights reserved. | Oracle Conden&al Internal/Restricted/Highly Restricted

Oracle E-Business Suite 12.2 and Online Patching


Dual File System
Applica&on Tier
File System 1

File System 2

APPL_TOP

APPL_TOP

COMMON_TOP

COMMON_TOP

INST_TOP

INST_TOP

Oracle Developer 10g

Oracle Developer 10g

WebLogic Server

WebLogic Server

Oracle OHS Web Listener

Oracle OHS Web Listener

Two Complete Copies of the File System


Copyright 2014, Oracle and/or its aliates. All rights reserved. | Oracle Conden&al Internal/Restricted/Highly Restricted

10

Oracle E-Business Suite 12.2 and Online Patching


EdiIon-Based RedeniIon

Eciently stores mul&ple copies of Applica&on


deni&ons in the same database
Provides an isola&on mechanism (Edi&on) that
allows pre-upgrade and post-upgrade schemas
to co-exist
Client code chooses the par&cular Edi&on that
it wants to connect to

Edi&on-Based
Redeni&on

Copyright 2014, Oracle and/or its aliates. All rights reserved. | Oracle Conden&al Internal/Restricted/Highly Restricted

11

Customiza&ons in R12.2
Have to comply with Online Patching Standards
Can be patched Online
Live in the dual le system
Custom DB objects with EBS DB code dependencies reside in edi&oned
schemas

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

12

Customiza&ons in Oracle E-Business Suite R12.2


Applica&on Tier

Database

APPL_TOP
Applica&on Code

APPL_TOP
Custom
Code

COMMON_TOP
Custom
Applica&on Code
Code

Sync

Sync

Custom
Code

Applica&on Code

COMMON_TOP
Custom
Applica&on Code
Code

Applica&on Schemas
Custom Code
Applica&on Code
Data Model Logical View
Applica&on Data Model

Oracle Developer 10g

Oracle Developer 10g

Custom Schemas
Custom Code

WebLogic Server

WebLogic Server

Data Model Logical View

Oracle OHS Web Listener

Oracle OHS Web Listener

Custom Data Model

Patch

Run

Dual File System

Run

Patch

EdiIoned DB Schemas
Copyright 2014, Oracle and/or its aliates. All rights reserved. |

13

Program Agenda
1

Customiza&ons [12.1 and prior] vs 12.2

Preparing Customiza&ons for 12.2 Upgrade

12.2 Upgrade impact to Customiza&ons

Managing Customiza&ons in 12.2

Key Takeaways

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

14

Create a Project for Preparing your


Customiza&ons for the 12.2 Upgrade

Pre-Upgrade Project

Create a catalog of your customiza&ons


Analyze and Implement code
remedia&on
Deploy revised customiza&ons

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

15

Pre-Upgrade Project

Customiza&ons Prepara&on Project


CustomizaIons Catalog

Make sure the catalog iden&es all the ar&facts


Database ar&facts
Middle &er ar&facts
Technology Used

OAF, Forms, Reports, Java, PLSQL, etc

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

16

Pre-Upgrade Project

Customiza&ons Prepara&on Project


Analysis and ImplementaIon

Based on the Catalog


U&li&es available for the analysis:
Online Patching Readiness Reports
Database
Online Patching Standards Compliance Report
Database
Applica&on &er
Available as standalone patches for 11i, 12.0, 12.1 and 12.2
Reference Note:1531121.1

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

17

Pre-Upgrade Project

Online Patching Readiness Reports


Database

Will direct you to


Register custom schemas containing custom code that depends on EBS Code
A few viola&ons require manual interven&on
Reports will provide guidance on how to address the viola&ons

12.2 Upgrade will automaIcally address most custom code viola&ons


contained in schemas registered with the applica&on
Failure to address viola&ons will result in Invalid Custom Code aqer the
R12.2 Upgrade

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

18

Pre-Upgrade Project

Online Patching Readiness Reports


Database
Main purpose is to iden&fy the Edi&oned Based Redeni&on golden rule:
Non-Edi&oned objects cannot depend on Edi&oned Objects

Non-Edi&oned Objects

Edi&oned Objects

Tables

PLSQL

Views

Indexes

Spec

EdiIoning Views

Materialized Views

Body

Triggers

Sequences

Func&on

Types

Constraints

Procedure

Synonyms

Data Storage Objects

Code Objects

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

19

Pre-Upgrade Project

Online Patching Readiness Reports


Database
Edi&oning is enabled at Schema Level
EBS Schema

CUSTOM Schema
Edi&oned
Non-Edi&oned

Edi&oned


Custom Code

EBS Code

Register Custom Schema with the applica&on


Online Enablement automa&cally edi&ons enable schemas

Copyright 2014, Oracle and/or its aliates. All rights reserved. | Oracle Conden&al Internal/Restricted/Highly Restricted

20

Pre-Upgrade Project

Online Patching Readiness Reports


Database

Very few viola&ons require manual interven&on if schema is registered


with the applica&on
Materialized View with a dependency on a PLSQL package or func&on
Constraints with a dependency on PLSQL code
Triggers dened on LONG columns

Readiness Report will tell you how to address them


Register your Custom schemas with the applica&on!

Copyright 2014, Oracle and/or its aliates. All rights reserved. | Oracle Conden&al Internal/Restricted/Highly Restricted

21

Pre-Upgrade Project

Online Patching Standards Compliance Report


Database
Custom code should comply with Online Patching Development Standards
Reference: Oracle E-Business Suite Developer's Guide Release 12.2

Chapter 7. Database Object Development Standards for Online Patching

Standards include
Data model access pauern
Code naming standards
Special Object deni&on requirements (VPDs, MVs)

Failure to address these viola&ons could result in


Future Code invalida&on
Inability to patch Custom Code online (Down&me required to maintain Custom Code)

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

22

Pre-Upgrade Project

Online Patching Standards Compliance Report


Database, Data Model Access PaZern

APPS

EBS Schema
Synonym

EBS Code

Custom Code

EBS Table

CUSTOM Schema
Custom Code

Custom Table

All code must access the data


model via the Logical View
(APPS synonyms)

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

23

Pre-Upgrade Project

Online Patching Standards Compliance Report


Database, Code Naming Standards

Table Names cannot exceed 29 characters


Column Names cannot exceed 28 characters
Table Names cannot use the # character
Object Names must end in alphanumeric character
Index names must contain at least one _ character
Constraint Names must contain at least one _ character
Materialized Views Name cannot exceed 29 characters

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

24

Pre-Upgrade Project

Online Patching Standards Compliance Report


ApplicaIon Tier
Included as part of the Readiness Reports (gscc.pl)
Validates Data Model Access Pauern in middle &er source code
Java
XML
SQL
PLSQL

Currently working on enhancement to support


Oracle Forms
Oracle Reports

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

25

Pre-Upgrade Project

Online Patching Standards Compliance Report


ApplicaIon Tier
Data Model Access Pauern
APPS

EBS Schema

Synonym

E-Business Code

Custom Code

EBS Table

Custom Table

Custom
Schema

All code must access the data


model via the Logical View (APPS
synonyms)

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

26

Pre-Upgrade Project

Deploy Revised Customiza&ons


Revised Code

Compa&ble with any pre-12.2 releases


Can be deployed in the current release (Preferred)
Deployment can be deferred to the upgrade down&me

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

27

Pre-Upgrade Project

E-Business Suite 12.1 Instance Ready for 12.2 Upgrade


Applica&on Tier

Database

APPL_TOP

Applica&on Schemas

Applica&on Code

Custom
Code

COMMON_TOP
Custom
Applica&on Code
Code

Custom Code
Applica&on Code
Applica&on Data Model

Oracle Developer 10g

Custom Schemas

OC4J

Custom Code

Web Listener

Custom Data Model

Online Patching Compliant


Copyright 2014, Oracle and/or its aliates. All rights reserved. |

28

Program Agenda
1

Customiza&ons [12.1 and prior] vs 12.2

Preparing Customiza&ons for 12.2 Upgrade

12.2 Upgrade impact to Customiza&ons

Managing Customiza&ons in 12.2

Key Takeaways

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

29

R12.2 Technical Upgrade Process


Upgrade
Database

Upgrade To
12.2.0

Lay down
R12.2 File
System

Upgrade to
12.2.x RUP

Enable
Online
Patching
Copyright 2014, Oracle and/or its aliates. All rights reserved. |

Congure
System to
Produc&on
Capacity

Deploy
Customiza&ons and
External Integra&ons
30

R12.2 Technical Upgrade Process


Key Stages for CustomizaIon MigraIon

Upgrade
Upgrade To
Database
12.2.0

Lay down
R12.2 File
System

Upgrade to
12.2.x RUP

Enable
Online
Patching
Copyright 2014, Oracle and/or its aliates. All rights reserved. |

Congure
System to
Produc&on
Capacity

Deploy
Customiza&ons and
External Integra&ons
31

R12.2 Technical Upgrade Process

Lay Down R12.2 File System


Completely New Dual File System
Does not carry over any code from pre-12.2 le system
Oracle E-Business Suite R12.2
Applica&on Tier

Rapid
Wizard

APPL_TOP
Applica&on Code

APPL_TOP
Applica&on Code

COMMON_TOP
Applica&on Code

COMMON_TOP
Applica&on Code

Oracle Developer 10g

Oracle Developer 10g

Oracle WebLogic Server

Oracle WebLogic Server

OHS Web Listener

OHS Web Listener


Copyright 2014, Oracle and/or its aliates. All rights reserved. |

32

R12.2 Technical Upgrade Process

Enable Online Patching

This process is Database centric


Before running this process:
Deploy any remediated database code not deployed in the prepara&on project
Register any custom schemas iden&ed by the prepara&on project
Re-run Readiness Reports to verify customiza&on compliance prior to Enablement

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

33

R12.2 Technical Upgrade Process

Enable Online Patching

High level steps in the process


Prepares all the database code for edi&oning,
E-Business Suite code + CustomizaIons

Enables Edi&onioning on E-Business Suite schemas, as well as Custom schemas only if


they have been previously registered
Creates the Logical View of the Oracle E-Business Suite and Custom Data Models.

adop replaces adpatch as the ocial E-Business Suite patching tool from
this point forward

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

34

R12.2 Technical Upgrade Process

Enable Online Patching


APPS

EBS/Custom Schema

Edi&oned

EBS Code

Custom Code

Edi&oned

Synonym

EdiIoning VTiew
EBS/Custom
able
Logical
View
Physical
Data
Model

APPS_NE

Non-Edi&oned

User Dened
Type

1. Prepares Code for Edi&oning


2. Enables Edi&oning on Schemas registered with EBS
3. Creates Logical View
Copyright 2014, Oracle and/or its aliates. All rights reserved. |

35

R12.2 Technical Upgrade Process

Deploy CustomizaIons and External IntegraIons

Deploy customiza&ons as per new guidelines


Note:1577661.1 Developing and Deploying CustomizaIons in Oracle E-Business Suite Release 12.2

Key dierences compared to prior releases:


Register custom tops with adsplice
Register your custom code with Custom Synchroniza&on Driver to keep custom code
in sync between le systems
CUSTOM_TOP must reside within the APPL_TOP

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

36

Deploy Customiza&ons

Applica&on Tier
APPL_TOP

COMMON_TOP
Custom
Applica&on Code
Code

Sync

Sync

Database

APPL_TOP
Custom
Applica&on Code
Code

Custom
Applica&on Code
Code
COMMON_TOP
Custom
Applica&on Code
Code

Applica&on Schemas
Custom Code
Applica&on Code
Data Model Logical View
Applica&on Data Model

Oracle Developer 10g

Oracle Developer 10g

Custom Schemas
Custom Code

WebLogic Server

WebLogic Server

Data Model Logical View

Oracle OHS Web Listener

Oracle OHS Web Listener

Custom Data Model

Patch

Run

Run

Dual File Systems

Patch

Schemas EdiIons Enabled


Copyright 2014, Oracle and/or its aliates. All rights reserved. |

37

Valida&ng Customiza&on aqer 12.2 Upgrade


Example: Custom APEX ApplicaIon Upgrade
Custom APEX Applica&on interac&ng with E-Business Suite 12.1 via public APIs
APEX_EBS_EXTENSION Schema
Iden&ed by Readiness Reports
Registered with the applica&on prior to 12.2 upgrade
Edi&ons Enabled as part of the Upgrade
Custom APEX Workspace fully func&onal aqer the 12.2 upgrade
Review the APEX cer&ca&on Whitepaper for more details

APPS Schema

Grant Select

Standard published EBS APIs

APEX_040200 Schema

APEX
Engine
APEX_EBS_EXTENSION Schema

APEX Workspace

Copyright 2014, Oracle and/or its aliates. All rights reserved. | Oracle Conden&al Internal/Restricted/Highly Restricted

38

Program Agenda
1

Customiza&ons [12.1 and prior] vs 12.2

Preparing Customiza&ons for 12.2 Upgrade

12.2 Upgrade impact to Customiza&ons

Managing Customiza&ons in 12.2

Key Takeaways

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

39

Customiza&ons in R12.2

Managing Customiza&ons in R12.2


Maintain customiza&ons with Online Patching
New R12.2 Development and Deployment Process
New R12.2 Development Standards
Tools to help manage customiza&ons

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

40

Customiza&ons in R12.2

Maintain Customiza&ons with Online Patching in R12.2


Customiza&ons are deployed during the Apply phase
Deployment instruc&ons available in Note:1577661.1
Middle Tier
run patch

Custom
Code

Custom
Code

Custom
Patch

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

Database

Customiza&ons in R12.2

New R12.2 Development and Deployment Process


Use the new Development and Deployment Process for future
customiza&ons
Reference: 1577661.1 Developing and Deploying CustomizaIons in
Oracle E-Business Suite Release 12.2

Copyright 2014, Oracle and/or its aliates. All rights reserved. | Oracle Conden&al Internal/Restricted/Highly Restricted

42

Customiza&ons in R12.2

New 12.2 Development Standards


Any future customiza&on development has to comply with Online Patching
Development Standards
Development Standards are covered in the following document:

Oracle E-Business Suite Developer's Guide Release 12.2


Chapter 7. Database Object Development Standards for Online Patching

Copyright 2014, Oracle and/or its aliates. All rights reserved. | Oracle Conden&al Internal/Restricted/Highly Restricted

43

Customiza&ons in R12.2

Tools to Help Manage Customiza&ons in R12.2


Oracle Applica&ons Manager - Patch Wizard
Oracle E-Business Suite Plug-in for Enterprise Manager
Cloud Control

Copyright 2014, Oracle and/or its aliates. All rights reserved. | Oracle Conden&al Internal/Restricted/Highly Restricted

44

Customiza&ons in R12.2

Tools to Help Manage Customiza&ons


Patch Wizard

Register customized les
Analyze impact to
customized les

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

45

Customiza&ons in R12.2

Tools to Help Manage Customiza&ons


Patch Wizard
Direct, Indirect and CustomizaIon Impact Analysis

Perform patch impact
analysis on recommended
patch and prerequisites

Analyze impact to
customiza&ons

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

46

Tools to Help Manage Customiza&ons


Oracle E-Business Suite Plug-in: CustomizaIon Manager

Create AD compliant
customiza&on packages
Apply custom patches with
Patch Manger
Validate customiza&ons
adhere
to EBS development

standards
Interface with version
control systems

MOS Doc ID 1623105.1


Validate the custom les


based on a set of standards

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

47

Related Sessions
Thursday, October 2, 2014
1:15 pm -
2:00 pm

CON7697 - Oracle Enterprise Manager 12c Cloud Control for Managing Oracle
E-Business Suite 12.2
Angelo Rosado, Sr. Principal Product Manager, ATG Development

MW-2018

Copyright 2014, Oracle and/or its aliates. All rights reserved. | Oracle Conden&al Internal/Restricted/Highly Restricted

48

Program Agenda
1

Customiza&ons [12.1 and prior] vs 12.2

Preparing Customiza&ons for 12.2 Upgrade

12.2 Upgrade impact to Customiza&ons

Managing Customiza&ons in 12.2

Key Takeaways

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

49

Key Takeaways
Upgrade Project for your Customiza&ons ahead of the
12.2 Upgrade
Get Familiar with the Development and Deployment
Standards for R12.2
Take advantage of Online Patching to deploy your
customiza&ons
Use the Right Tools to Maintain your customiza&ons

Copyright 2014, Oracle and/or its aliates. All rights reserved. | Oracle Conden&al Internal/Restricted/Highly Restricted

50

Safe Harbor Statement


The preceding is intended to outline our general product direc&on. It is intended for
informa&on purposes only, and may not be incorporated into any contract. It is not a
commitment to deliver any material, code, or func&onality, and should not be relied upon
in making purchasing decisions. The development, release, and &ming of any features or
func&onality described for Oracles products remains at the sole discre&on of Oracle.

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

51

Copyright 2014, Oracle and/or its aliates. All rights reserved. |

52

Vous aimerez peut-être aussi