+ All Categories
Home > Documents > WEBADI - A Sample Implementation

WEBADI - A Sample Implementation

Date post: 26-Mar-2015
Category:
Upload: iamashish4u
View: 1,314 times
Download: 0 times
Share this document with a friend
Description:
How to Setup Application Desktop Integrator
32
Title http://oracleapps-atechniciansview.blogspot.com/ Author : Ashish Harbhajanka Email : [email protected] http://oracleapps-atechniciansview.blogspot.com/ Author : Ashish Harbhajanka Email : [email protected] ADI Set Up Steps The Basic Mandatory step before starting with the ADI Set Up is to enable Security settings in Internet Explorer, Word, Excel as follows:- (a) Word:- (i)Tools->Macro->Security->Security Level tab->check low button (ii)Tools->Macro->Security->Trusted Publishers tab->check Trust Access to Visual Basic Project checkbox also. (b) Excel:- Same as above (c) Internet Explorer:- (i) Tools->Internet Options-> Security-> Custom Level-> Initialize and script ActiveX controls not marked as safe-> Prompt (ii) Tools->Internet Options-> Security-> Custom Level-> Automatic prompting for file downloads-> enable (iii) Tools->Internet Options-> Security-> Custom Level-> Use Pop-up Blocker-> Disable Requirement: 1. Need to download all the applicant details who does not have SIT values using Oracle WEBADI for specific business group 2. Need to insert SIT values for the applicants data which is downloaded 3. Need to upload the applicant’s data to which changes have been done. 4. Need to check weather the data is updated or not from the front end. 1) Create a new view to retrieve data for the applicants
Transcript
Page 1: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

ADI Set Up Steps The Basic Mandatory step before starting with the ADI Set Up is to enable Security settings in

Internet Explorer, Word, Excel as follows:-

(a) Word:- (i)Tools->Macro->Security->Security Level tab->check low button

(ii)Tools->Macro->Security->Trusted Publishers tab->check Trust Access to Visual

Basic Project checkbox also.

(b) Excel:- Same as above

(c) Internet Explorer:- (i) Tools->Internet Options-> Security-> Custom Level-> Initialize and script ActiveX

controls not marked as safe-> Prompt

(ii) Tools->Internet Options-> Security-> Custom Level-> Automatic prompting for file

downloads-> enable

(iii) Tools->Internet Options-> Security-> Custom Level-> Use Pop-up Blocker-> Disable

Requirement:

1. Need to download all the applicant details who does not have SIT values using Oracle WEBADI for specific business group

2. Need to insert SIT values for the applicants data which is downloaded

3. Need to upload the applicant’s data to which changes have been done.

4. Need to check weather the data is updated or not from the front end.

1) Create a new view to retrieve data for the applicants

Page 2: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

Who does not contain SIT VALUES?

CREATE OR REPLACE VIEW XXGENAPPSITDETAILS_V AS SELECT DISTINCT papf.first_name Applicant_First_Name, papf.last_name Applicant_Last_Name, papf.applicant_number, pav.name vacnacy_name, NULL person_analysis_id, NULL CEDS_Attended, NULL CEDS_Writing_Score, NULL CEDS_Reading_Score, NULL CEDS_Listening_Score, NULL CEDS_Free_Speach_Score, NULL HAWK_Attended, NULL object_version_number FROM per_all_people_f papf, per_all_assignments_f paaf, per_all_vacancies pav, APPS.per_person_types ppt, PER_PERSON_TYPE_USAGES_F pptuf WHERE papf.business_group_id = ppt.business_group_id and papf.business_group_id = paaf.business_group_id and papf.person_id = paaf.person_id and paaf.vacancy_id = pav.vacancy_id and pav.business_group_id = paaf.business_group_id AND papf.business_group_id IN (SELECT business_group_id FROM per_business_groups WHERE name = 'Genpact Guatemala' ) AND pptuf.person_id = papf.person_id and pptuf.person_type_id = ppt.person_type_id AND upper(PPT.USER_PERSON_TYPE) IN ('APPLICANT') AND sysdate BETWEEN papf.effective_start_date AND papf.effective_end_date AND (papf.person_id,pav.name) NOT in (SELECT papf.person_id, pac.SEGMENT1 Vacancy_Number FROM apps.per_person_analyses ppa, apps.per_analysis_criteria pac, per_all_people_f papf, APPS.per_person_types PPT , per_person_type_usages_f pptuf, fnd_id_flex_structures FIFS, per_business_groups bg WHERE ppa.business_group_id= bg.business_group_id AND bg.NAME = 'Genpact Guatemala' AND pptuf.person_id = papf.person_id AND ppt.person_type_id = pptuf.person_type_id AND fifs.id_flex_num = PPA.ID_FLEX_NUM AND FIFS.id_flex_structure_code = 'XX_CEDS_GUATEMALA' AND upper(PPT.USER_PERSON_TYPE) IN ('APPLICANT') and papf.person_id=ppa.person_id and ppa.analysis_criteria_id=pac.analysis_criteria_id and sysdate BETWEEN papf.effective_start_date and papf.effective_end_date AND TRUNC(sysdate) BETWEEN pptuf.EFFECTIVE_START_DATE AND pptuf.EFFECTIVE_END_DATE ) minus SELECT DISTINCT papf.first_name Applicant_First_Name,

Page 3: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

papf.last_name Applicant_Last_Name, papf.applicant_number, pav.name vacnacy_name, NULL person_analysis_id, NULL CEDS_Attended, NULL CEDS_Writing_Score, NULL CEDS_Reading_Score, NULL CEDS_Listening_Score, NULL CEDS_Free_Speach_Score, NULL HAWK_Attended, NULL object_version_number FROM per_all_people_f papf, per_all_assignments_f paaf, per_all_vacancies pav, APPS.per_person_types ppt, PER_PERSON_TYPE_USAGES_F pptuf WHERE papf.business_group_id = ppt.business_group_id and papf.business_group_id = paaf.business_group_id and papf.person_id = paaf.person_id and paaf.vacancy_id = pav.vacancy_id and pav.business_group_id = paaf.business_group_id AND papf.business_group_id IN (SELECT business_group_id FROM per_business_groups WHERE name = 'Genpact Guatemala' ) AND pptuf.person_id = papf.person_id and pptuf.person_type_id = ppt.person_type_id AND upper(PPT.USER_PERSON_TYPE) IN ('APPLICANT') AND sysdate BETWEEN papf.effective_start_date AND papf.effective_end_date AND (papf.person_id,pav.name) in (SELECT papf.person_id, pac.SEGMENT1 Vacancy_Number FROM apps.per_person_analyses ppa, apps.per_analysis_criteria pac, per_all_people_f papf, APPS.per_person_types PPT , per_person_type_usages_f pptuf, fnd_id_flex_structures FIFS, per_business_groups bg WHERE ppa.business_group_id= bg.business_group_id AND bg.NAME = 'Genpact Guatemala' AND pptuf.person_id = papf.person_id AND ppt.person_type_id = pptuf.person_type_id AND fifs.id_flex_num = PPA.ID_FLEX_NUM AND FIFS.id_flex_structure_code = 'XX_CEDS_GUATEMALA' AND upper(PPT.USER_PERSON_TYPE) IN ('APPLICANT') and papf.person_id=ppa.person_id and ppa.analysis_criteria_id=pac.analysis_criteria_id and sysdate BETWEEN papf.effective_start_date and papf.effective_end_date AND TRUNC(sysdate) BETWEEN pptuf.EFFECTIVE_START_DATE AND pptuf.EFFECTIVE_END_DATE )

Page 4: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

Concepts

Integrator – This is the definition that stores the information about the action the user wishes to perform. For example, downloading specific data to a spreadsheet for viewing or to modify and upload back to the database. For ADE users, this equated to the Style. API – Application Programming Interface. This is the pl/sql interface by which data is validated and uploaded into Oracle HRMS. You would associate an api with an integrator if it was intended to either create new data in the application or update data that had been previously downloaded. See Oracle HRMS Configuring,Reporting and System Administration manual for a list of supported apis. View – A view is an object by which you can query data on a table or tables. If the action you are intending to perform involves downloading data, you must associate a view with the integrator. If you are using Create style APIs, you do not require a view. You can elect to use a seeded view, for example, PER_PEOPLE_V, to use with your integrator. However, if the integrator is for updating data, then it is recommended that you create your own views and remember to include the OBJECT_VERSION_NUMBER, and any other In/Out parameters used by your chosen API. One thing to beware of is the use of Aliases in views if you are downloading from a form. For example,if you use an alias for Applicant_Name called Starter, and then use a restrictive query in the form on Applicant Name before running the integrator in Web ADI, you will get the following error in the BNE log. BneBaseSQL.executeBneQuery: Exception while running query. Error Code: 904, Message: ORA-00904: "APPLICANT_NAME": invalid identifier The column APPLICANT_NAME has been overwritten by the alias in the definition loaded into the BNE tables. Layout – This is where the user selects the columns to be displayed in the spreadsheet or Word document from the API and/or View used by the integrator. An integrator can have more than one layout defined for it. You can choose which one to use when you create your document. Mapping – the mapping definition links the data source to the api columns. If no view is specified against the integrator or no text file used to load data, then no mapping is needed. When the data source is a view, the mapping is created automatically, however if a text file is being used then a mapping needs to be manually defined to associate each column in the file (source) to the relevant api parameter (target). See example c) in section, A Step by Step Guide to Creating HRMS Integrators.

Login to Oracle Apps

Page 5: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

Select Oracle WEB ADI Responsibility

Click on Create Document

Select Excel 2003 option from the viewer

Click on Next button

Page 6: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

Select Integrator “HR Integrator Setup”

Click on Next button

- Select Layout as “Integrator Setup”

Click on Next button

Page 7: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

Select Content as „None”

Click on Next button

Click on create document button

Page 8: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

- click on open

Detail information for column heading in the above Template 1. Upl - ignore

2. Metadata Type - select List of Values from Oracle menu

3. or right click on mouse.Choose UPDATE

4. Application Short Name- Choose your Application Short Name

5. (see Getting Started)

6. Integrator User Name - Enter a name for your integrator

7. (eg Update Asg Details)

8. View Name - Create your own view, but must include

9. object_version_number from

Page 9: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

10. per_all_assignments_f. See Getting

11. Started.

12. Form Name - GENERAL

13. API Package Name - HR_ASSIGNMENT_API

14. API Procedure Name - UPDATE_EMP_ASG_CRITERIA

15. Interface User Name - Enter a unique name

16. Interface Param List - Enter a unique name

17. API Type - select List of Values from Oracle menu

18. or right click on mouse.Choose PROCEDURE

19. API Return Type - ignore

Metadata Type : UPDATE

Application Short name : PER

Intergrator User name : XXTEST_SITAPP

View name : XXGENAPPSITDETAILS_V

Form Name : GENERAL

API Package Name : XX_GENGUATAPPLSIT_PKG

API Procedure Name : XX_GENGUATAPPLSIT_PRC

Interface User Name : XXTEST_SITAPP

Interface Parameter List Name : XXTEST_SITAPP

API Type : PROCEDURE

Note : Interface User Name and Interface Parameter List Name should

be same as Integrator name

goto menu Oracleupload

Page 10: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

If upload is successful it will show in green colour which as shown below

Goto home page of Oracle Webadi responsibility

Page 11: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

- Click on Create Documnet

Select excel 2003 option

Page 12: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

Select HR Maintain Integrator Form Function Association

Click on Next button

Select Form Function Associations option

Click on Next button

Select Form Function Associations option

Click on Next button

Page 13: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

Give Application Short name (#App_short_name)

Give Integrator Short name (#integrator_name)

Click on Next continue

Click on Create document button

Page 14: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

Form Function Template

(3) Define a Form Function like

Function : XXTEST_SITAPP_WEBADI

User Function name : XXTEST_SITAPP_WEBADI

Page 15: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

Properties : SSWA Servlet Function

Web HTML: oracle.apps.bne.webui.BneApplicationService

Note: SELECT Integrator_code

FROM BNE_INTEGRATORS_TL

WHERE user_name LIKE „XXTEST_SITAPP‟ (< Integrator Name >)

Parameters: bne: page=BneCreateDoc&bne: integrator=800 :< Integrator_code>

Parameters: bne: page=BneCreateDoc&bne: integrator=800:GENERAL_1420_INTG

Page 16: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

System Administrator RequestsDefine

Query Oracle Web Adi responsibility

Copy Menu Name

Page 17: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

Query Menu Name

Add the defined function name (#function_name) to menu

Goback to Form Function template (#Form_Function)

Integrator Application Shot name: PER

Integrator User name: XXTEST_SITAPP

Form Function: XXTEST_SITAPP_WEBADI

Page 18: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

Goto menu Oracle Upload

Goto Oracle Web Adi Responsibility home page

Select Define Layout

Page 19: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

Select the Defined Integrator Name

Click go

Provide suitable layout name and unique layout key

Click Continue

Page 20: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

Select all the fields which need to populate in the layout.

Select the fields which are defined in the Procedure parameters.

Goto Oracle Web Adi Responsibility home page

Select Define Mapping

Page 21: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

Click go

Define Mapping

Provide mapping name and number of fields to be mapped

Page 22: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

Here mapping is done for defined view columns and procedure parameters

Click on Lookup and Click on apply button

Page 23: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

Goto System Administration Requests Responsibility

Query the responsibility to which webadi template to be attached

Query genpact Guatemala irec hiring team

Page 24: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

copy the menu name.

Add the function to menu

Goto Genpact Guatemala Irec Hiring Team Responsibility

Click Genpact Guatemala Web Adi

Page 25: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

Select Excel 2003

Click Next

Select the mapping name which we have defined

Click Continue

Page 26: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

Click Create Document

Click Open

Here it displays all the applicant details who does not have SIT values

Page 27: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

Before inserting SIT values for a specific applicant

Page 28: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

Applicant does not contain SIT values

Page 29: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

Insert SIT values to the applicant “Sambit Swain”

CEDSATTENDED1 = „Y‟

CEDSWRITINGSCORE1 = 2

CEDSREADINGSCORE1 = 2

CEDSLISTININGSCORE = 4

CEDSFREESPEACHSCORE = 5

HAWKATTENDED = „Y‟

Page 30: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

goto menu OracleUpload

Select Flagged rows option

Page 31: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

click close

Check after uploading SIT values

Page 32: WEBADI - A Sample Implementation

Title http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

http://oracleapps-atechniciansview.blogspot.com/

Author : Ashish Harbhajanka Email : [email protected]

Here SIT values for the applicant is updated.


Recommended