Sei sulla pagina 1di 20

Large Objects

Copyright 1998 - 2011 KBACE Technologies, Inc.

Agenda
Introduction to LOBs

Managing BFILEs by using the DBMS_LOB

package
Migrating LONG data types to LOBs
Manipulating LOB data

Using temporary LOBs

Copyright 1998 - 2011 KBACE Technologies, Inc.

What Is a LOB?
LOBs are used to store large, unstructured data such as text, graphic

images, films, and sound waveforms.


CLOB D A T A B A S E

Four score and seven years ago, our forefathers brought forth upon this continent, a new nation, conceived in LIBERTY, and dedicated to the proposition that all men are created equal.

BLOB

BFILE

There are four large object data types:


BLOB represents a binary large object. CLOB represents a character large object. NCLOB represents a multiple-byte character large object. BFILE represents a binary file stored in an OS binary file outside the database.
Copyright 1998 - 2011 KBACE Technologies, Inc.

Contrasting LONG and LOB Data Types

Copyright 1998 - 2011 KBACE Technologies, Inc.

Web ADI Architecture


2 Tier
Application
Application

X
Database
Database

3 Tier

Browser

Application Server
Browser

Copyright 1998 - 2011 KBACE Technologies, Inc.

Web ADI Components


Spreadsheet
Integrator (setups point to API)

Oracle API

Data Tables

Or, If the Oracle API input is too complicated.


Custom API Integrator (setups point to custom API)

Spreadsheet

Oracle API

Data Tables

Copyright 1998 - 2011 KBACE Technologies, Inc.

Key Concepts
Integrator
[Indicates that the Oracle Application task users will be using the desktop.]

Layout [The Layout determines the fields in the spreadsheet, their placement, and their default values.] Content [Points to information that will be imported into the spreadsheet.] Mapping [Provides the relationship between data in the content and fields in the spreadsheet.] Viewer [The desktop program that will be used to view the spreadsheet]

Copyright 1998 - 2011 KBACE Technologies, Inc.

Excel Sheet and Browser Configuration


Excel Sheet
Open Excel sheet, then navigate to Home -> Edit Option -> Trust Center -> Trust Center Settings ->

Micro settings
Set the Micro Settings as Enable all micros(not recommended; potential dangerous code can run).
Trust access to the VBA project object model set to be checked.

Browser
Open the browser, then navigate to Tools -> option -> Custom level.
Make all .NET Framework, .NET Framework- reliant components, ActiveX Controls, Scripting

should be enabled.

Copyright 1998 - 2011 KBACE Technologies, Inc.

Creating a Custom Integrator


1.

Add Desktop Integrator responsibility to the current user.

2.
3. 4.

Desktop Integrator responsibility, click on the Create Document function.


Select "HR Integrator Setup" which is a seeded Integrator used to create a custom Integrator. Next, select the Viewer, generally Excel, then the version of the excel sheet should be matched with the MS Office excel sheet version. To generate the document (Reporting Check box is used when downloading). Next, leave the content as None Then, next review and create document. Then, it will be open as a excel sheet with having some columns.

5. 6. 7. 8.

Copyright 1998 - 2011 KBACE Technologies, Inc.

Cnt
Complete the Excel Sheet with the valid columns
Metadata Type CREATE : Integrator that creates new data.

DOWNLOAD : Integrator that Download from the database. UPLOAD : Integrator that updates existing data.

Application Short Name : Application Short Name of the custom application.

Integrator User Name : Name of the integrator ,that name should choose by the end user when the integrator appear.

View Name : Name of the view created for the downloading existing records. If only creating records, then leave it as blank.
Form Name : If the Integrator is available in the Integrator Window then, set it as blank if it is a custom integrator

then leave it as blank.

Copyright 1998 - 2011 KBACE Technologies, Inc.

Cnt
API Package Name : Specify the package name which is going to upload the data through API.

API Procedure Name : Specify the procedure name which is going to upload the data through API.

Interface User Name : This is a name that will appear to end users in any messages or prompts dealing with the interface (view or API).

Interface Parameter List Name : This is a name that will appear to end users in any messages or prompts dealing with the interface (API) parameters.

API Type : This is the API type, i.e. Procedure or Function, according to the type of API you using.

API Return Type : If the API type as function, it should be having some return type. If it is having a function, then

leave it as blank.

Copyright 1998 - 2011 KBACE Technologies, Inc.

Creating Layout
1.

Desktop Integrator responsibility, click on the Define Layout function.

2.
3. 4.

Then, Select the Integrator, which will be going to build the layout.
Click on the Create button to create a new layout for the Integrator. Specify the Layout Name (i.e. user friendly) and also specify number of header that contains the layout. Select the fields to appear on the layout, set default values and type for the fields, and select the placement of the field as context, header, or line item.

5.

Context : The context area is at the top of the spreadsheet and it provides the user information about the
template and the instance it was created in.

Header : The header fields are copied to all the lines when the spreadsheet is uploaded into Oracle. Line : The line area contains information about the specific record you are uploading to Oracle.
Copyright 1998 - 2011 KBACE Technologies, Inc.

Cnt
9.

Set properties for the layout components


Protect Sheet Style Sheet Apply Filters

9. 10. 11. 12.

Set the position of the columns in the layout as the proper way. Set the width size of the column in the layout. Set the Frozen Pane of the column. Set the column only for Read only access.

Copyright 1998 - 2011 KBACE Technologies, Inc.

Define Mapping
1.

Desktop Integrator responsibility, click on the Define Mapping function.

2.
3. 4.

Then, Select the Integrator, which will be going to build the mapping.
Click on the Define Mapping button to create a new mapping for the Integrator. Specify the Mapping Name (i.e. user friendly) and also specify Mapping Key and Number of columns. Define the source column and target value to map the columns. If u choose UPDATE mode while creating document, then the Mapping will occur automatically. If you choose CREATE mode then you need to create mapping for the Integrator manually.

5. 6.

7.

In UPDATE mode the mapping is already done by the view and API Package.

Copyright 1998 - 2011 KBACE Technologies, Inc.

Creating LOVs
Desktop Integrator responsibility, click on the Create document function.

Then change URL i.e. page=BneCreateDoc to page=BneParameter


Select application as Human Resource. For creating LOV, we have to create Parameter and Parameter List items.

Specify the Application short name and also the LOV name.
Click on Add Another Row with name table-columns and with the value as name of column to be

displayed in LOV and save.


Click on Add Another Row with name table-select-column and with the value as name of

parameter to which LOV has to be attached and save.


Click on Add Another Row with name table-column-alias and with the value as alias name for

parameter to which LOV has to be attached and save.

Copyright 1998 - 2011 KBACE Technologies, Inc.

Cnt
Insert LOV into bne_components_b and bne_components_tl table Parameters for Inserting :
APPLICATION_ID

: Application id in which the Integrator created. : A unique code within your application ID for the component.

COMPONENT_CODE

OBJECT_VERSION_NUMBER : By default set it to as 1. : Set this to BneOAValueSet

COMPONENT_JAVA_CLASS PARAM_LIST_APP_ID : PARAM_LIST_CODE :

The identifier for your application

Set this to the code you create in Create parameter

LANGUAGE : Set this to US SOURCE_LANG : Set this to US

Update BNE_INTERFACE_COLS_B table with Component Code and LOV details. Bounce Apache, clear Cache from Functional Administrator responsibility, and clear BNE Cache from

BNEAdminServlet url

Copyright 1998 - 2011 KBACE Technologies, Inc.

Creating Function
Go to System Administrator responsibility, then Application -> Function

Create a new function.


Set the name of the function and also set the User Function Name. Set the type as SSWA servlet function.

Set the HTML Call as

BneApplicationService?bne:page=BneCreateDoc&bne:viewer=BNE:EXCEL2003&bne:reporting=N &bne:integrator=APPLICATION_ID:INTEGRATOR_CODE&bne:noreview=Yes
APPLICATION_ID : Application id of the application.

INTEGRATOR_CODE : Set the Integrator code for the custom integrator.

Copyright 1998 - 2011 KBACE Technologies, Inc.

Attach the Function


Attach the function into US Super HRMS manager responsibility MENU.

Then run the concurrent program for updating MENU with Menu id as the parameter.
Then login into E-Business Suite. Go to the US Super HRMS manager responsibility.

Click function that will navigate to the custom integrator.


Download the layout. Load the data into excel sheet, then click on Addin tab in excel sheet, then Oracle -> Upload.

It will validate the record, if any error will occur, then no data should be uploaded to the database.
Success and error status will be displayed the in the Message column.

Copyright 1998 - 2011 KBACE Technologies, Inc.

Any Questions?

Copyright 1998 - 2011 KBACE Technologies, Inc.

Thank You

Copyright 1998 - 2011 KBACE Technologies, Inc.

Potrebbero piacerti anche