Você está na página 1de 50

ORACLE APPLICATION (TECHNICAL)

Enterprise Resource Planning (ERP): It is a concept/technique to plan effectively all the resources of an organization for different business function. It is used for business function integrations, that means for data integration. Q) Why we used business function integration !) "or #ata Integration. Q) Which technology we used for oracle application !) $racle % #&'. Q) What is ()* pac+age !) It is software to implement ()* concept. Q) ,ow to implement oracle ()* pac+age !) -sing !I. /!pplication Implementation .ethod) process. Q) What is !I. !) !I. provides a guide lines to implement oracle application ()* pac+age. Q) ,ow many servers required in oracle ()* !) $racle ()* requires 0 servers Web server engine Internet application server "orm server )eport server $racle database server 1oncurrent manager server !dmin server .etric server /optional)

Architecture (11i): Data ase ser!er:

$racle #atabase 6erver

22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 Application "er!er: Web 6erver !pplication 6erver "orm 6erver )eport 6erver 1oncurrent .anager !dmin 6erver .etric 6erver

6erver 22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222 Client "er!er: ################################################################################################################################ Q) What is module !) It is a collection of "orms, )eports % 1oncurrent programs for a specific business cycle. Q) Where we will find the .fm3 file, in which level !) We will find .fm3 file in 4form server5 at 4!pplication tier5 level. Q) What are the web server engines !) !**!1,I server, II6 server. Q) What is the use of concurrent manager server !) It is used to process bac+ground data intensive tas+ with out interviewing to user. Q) Which server connects to oracle database server !) "orm server, 1oncurrent manager server. Q) In which server the bac+ground process of procedure, function % pac+ages are done !) In 1oncurrent .anager 6erver. Q) Which software the client require to wor+ with oracle ()*

!) 7I8I9I!9$) /7 : 7ava). Q) What is 7I8I9I!9$) !) It downloads the !pplet from application tier to client tier. Q) What is yellow bar !) ;ellow bar is the indicator of error when 7I8I9I!9$) not loaded at the client side. Q) What is schema !) 6chema is a collection of ob<ects /tables/views/sequence/procedure/function/pac+age/trigger/inde3/ synonym/etc.,) under a user. Q) In which schema the data integration is done !) !pps schema by creating public synonym. Q) What are the types of schema !) !**=6;6 !**=6;6*-A !**6 .$#-=( 61,(.! >username? !**=6;6, password? !**6@

>username? !**=6;6*-A, password? *-A@ >username? !**6, >username? !), password? !**6@ password? !)@

Q) Who is the owner of ()* data dictionary tables !) !**=6;6. APPL"$": It is the owner of "8# tables. It is a data dictionary of oracle application. It contains table which +eep information regarding /i) $racle application user /ii) "orms/)eports/concurrent programs /iii) !ll module information /iv) !ll +ind of information regarding $racle application. APPL"$"P%&: It contains the public synonym of all "8# tables.

APP": It is a central/common schema of oracle application. It integrates all the modules data wise. It contains /i) *ublic synonym of all transaction tables from different modules /!)/!*/..) /ii) *ublic synonym of sequence. /iii) Biew of transaction table. /iv) *rocedure/"unction/*ac+age/9riggers. /v) Crants on 9ables/6equence. !ny development /"orms/)eports/1oncurrent program) is done in !**6/!**6. $racle application form is based on Biew. 'OD%LE "CHE'A: It contains 9ables/Inde3/1onstraints/6equence of its own module. Q) !ll the oracle application forms are based on what !) Biews. Q) In oracle application to which schema we connected !) !**6 schema. 'ulti#Org 'o(el: It is a technique to integrate all different organizations of a business group by installing only one oracle application. Q) What are the levels in .ulti2$rg !) Ausiness Croup, =egal (ntity ,6et $f Aoo+s, $perating -nit % Inventory $rganization. Q) What are the levels in 8on .ulti2$rg !) 6econdary Inventory $rganization, =ocation % Items.

Q) What is the difference between $rg2Id % $rganization2Id !) $rg2Id is defined at operating unit where as $rganization2Id is defined at Inventory level. Q) What are the types of .ulti2$rg !) .ulti2$rg is of two types? /i) .ulti2$rg 9ables /found in .odule schema). (3? *oD,eadersDall, *oDlinesDall, *oD#istributionsDall. /ii) .ulti2$rg Biews /found in !pps schema). (3? *oD,eaders, *oD=ines, *oD#istributions. Q) ,ow do you +now the oracle application installed supporting .ulti2$rg !) "8#D*)$#-19DC)$-*6 E)a*ple: 6Q=E select multiDorgDflag,multiDlingualDflag,multiDcurrencyDflag,applicationDsystemDname from fndDproductDgroupsF Q) What is client2info !) /i) It is a pre2defined bind variable used in .ulti2$rg view definition. /ii) It can hold GH bytes data. /iii) 9o display data from view first we have to initialize the client2info bind variable at 6Q=. Q) ,ow to initialize client2info !) "8#D1=I(89DI8"$.6(9D$)CD1$89(I9/J$rgDIdE)F >$)@ #A.6D!**=I1!9I$8DI8"$.6(9D1=I(89DI8"$/J$rgDIdE)F E)a*ple: 6Q=E Aegin "ndDclientDinfo.setDorgDconte3t/&HK)F (ndF Q) ,ow many oracle software are needed for oracle ()* !) $racle ()* need L oracle homes? /i) $ne is at *)$##A

/ii) 6econd is at *)$#$)! /I!6) /iii) 9hird is at *)$#$)! /"orm server)

Ta le Registration: If the registration is done in bac+2end then we have to use 4!#D##5 pac+age. "+nta) ,or ta le registration: !#D##.registerDtable/ !pplicationDshortDname 9ableDname 9ableD9ype 8e3tD(vent *19D"ree *19D-sed )F "+nta) ,or colu*n registration: !#D##.registerDcolumn/ !pplicationDshortDname 9ableDname 1olumnDname 1olumnDsequence 1olumnDtype 1olumnDwidth 8ullable 9ranslate *recision 6cale )F Q) What are the table types in oracle application !) 9ransaction 9able /9), 6eed #ata /6), Interim /I), "le3 "ield #ata /") Barchar& Barchar& Barchar& 8umber Barchar& 8umber Barchar& Barchar& 8umber 8umber I8, I8, I8, I8, I8, I8, I8, I8, I8 I8 #efault, #efault Barchar& Barchar& Barchar& 8umber 8umber 8umber I8, I8, I8, I8 I8 I8 #efault, #efault, #efault

Q) When table registration is mandatory

!) 9able registration is mandatory for /i) "le3 "ields /#"" % '""). /ii) Balue 6ets. (i)"teps to register a ta le through ac-#en(: 6tep?M 1onnect to moduleDtop in bac+2end 6Q=E conn !)/!)Nvis 6tep?& 1reate table in moduleDtop 6Q=Ecreate table arDtab/ Id number/K), 8ame varchar&/MH), ,iredate date )F 6tep?L Crant all privileges to central schema. 6Q=E grant all privileges on arDtab to appsF 6tep?K 1onnect to !pps schema 6Q=Econn apps/appsNvis 6tep?O 1reate public synonym for the table 6Q=E create public synonym arDtab for ar.arDtabF 6tep?G )egister the table using !#D## pac+age 6Q=E e3ecute !#D##.registerDtable/4!)5,4!)D9!A5,495)F 6tep?0 )egister the columns using !#D## pac+age 6Q=E e3ecute !#D##.registerDcolumn/4!)5,4!)D9!A5,4id5,M,4number5,K,485,485)F 6Q=E e3ecute !#D##.registerDcolumn/4!)5,4!)D9!A5,4name5,&,4varchar&5,MH,485,485)F 6Q=E e3ecute !#D##.registerDcolumn/4!)5,4!)D9!A5,4hiredate5,L,4date5,0,485,485)F Q) ,ow to chec+ whether the table is registered or not !) select tableDid,tableDname from fndDtables where tableDnameP4!)D9!A5F Q) ,ow to chec+ whether the columns are registered or not !) select columnDid,columnDname from fndDcolumns where tableDidPQQK&HF (ii)"teps to register a ta le through ,or*: 6tep?M 1onnect to moduleDtop in bac+2end 6Q=E conn !)/!)Nvis 6tep?& 1reate table in moduleDtop

6Q=Ecreate table arDtab/ Id number/K), 8ame varchar&/MH), ,iredate date )F 6tep?L Crant all privileges to central schema. 6Q=E grant all privileges on arDtab to appsF 6tep?K 1onnect to !pps schema 6Q=Econn apps/appsNvis 6tep?O 1reate public synonym for the table 6Q=E create public synonym arDtab for ar.arDtabF 6tep?G 1onnect to $racle application /username?operations password?.elco*e).

6tep?0 6witch responsibility to !pplication #eveloper

6tep?Q #ouble clic+ on 9able

6tep?R (nter the details as below.

6tep?MH 6ave the form. Q) What are the form color conventions !) ;ellow color .andatory column Alue color White color Cray color Query mode $ptional, sometimes mandatory according to Ausiness rules. *rotected

Q) What is a W,$ column !) It is used to tract the history of transaction. !ll oracle application table having W,$ columns 9he W,$ columns are? /i) 1)(!9(#DA; /ii) 1)(!9(#D#!9( /iii) =!69D-*#!9(DA; /iv) =!69D-*#!9(#D#!9( /v) =!69D-*#!9(D=$CI8 8-.A()/MO) #!9( 8-.A()/MO) #!9( 8-.A()/MO)

Q) What is the use of (3amine found in diagnostics !) Co to 4,elp5 menu 1lic+ on 4#iagnostics5 1lic+ on 4(3amine5 9he password is always 4!**65. 9hrough e3amine we find L information /i) /ii) /iii) Aloc+ name Item name Item value "8#D9!A=(6 9!A=(D8!.( !)D9!A=(

Q) ,ow to +now the current form name % path in oracle ()* !) Co to 4,elp5 menu 1lic+ on 4!bout $racle !pplications5 >form name? 4"8#!##91.fmb5 /available in !-D9$*)@ > form path? 4S/visappl/fnd/MM.O.H/forms/-6/"8#!##91.fm35@

Q) ,ow to register table % columns using the single procedure !) connect to !pps schema in bac+2end 6Q=E conn apps/appsNvis 6Q=E create or replace procedure procDadDdd/errbuf out varchar&, retcode out varchar&,

ptabDname varchar&, apDsn varchar& ) is cursor cM is select rownum,columnDname,dataDtype,dataDlength from !==D9!AD1$=-.86 where tableDnamePptabDnameF vrec cMTrowtypeF begin adDdd.registerDtable/apDsn,ptabDname,U9U)F open cMF loop fetch cM into vrecF e3it when cMTnotfoundF adDdd.registerDcolumn/apDsn,ptabDname, vrec.columnDname, vrec.rownum, vrec.dataDtype, vrec.dataDlength, U8U, U8U )F end loopF close cMF commitF end procDadDddF Concurrent Processing: It is done by concurrent manager server. We can register )eports !ny program/procedure/function/sqlVloader/sql script/etc.,) as concurrent program. 9he e3ecution of the concurrent program is +nown as concurrent process. "teps to register a proce(ure as concurrent progra*: 6tep?M 1onnect to !pps schema in bac+2end 6Q=E conn apps/appsNvisF 6tep?& 1reate a procedure as requirement 6Q=E create or replace procedure procab/errbuf out varchar&,retcode out varchar&) Is Aegin Insert into arDtab values/M,47ammy5,sysdate)F (nd procabF 6tep?L connect to oracle application

6tep?K 6witch responsibility to 4!pplication #eveloper5.

6tep?O #ouble clic+ on 4(3ecutable5

6tep?G (nter the details as below

6tep?0 6ave the form. 6tep?Q #ouble clic+ on 4*rogram5

6tep?R (nter the details as below.

6tep?MH 6ave the form. 6tep?MM 6witch responsibility to 46ystem !dministrator5.

6tep?M& #ouble clic+ on 4)equest5

6tep?ML *ress 4"MM5 and enter the Croup name as below

6tep?MK *ress 419=W"MM5

6tep?MO 1lic+ on 4

5 icon in the toolbar to add your concurrent program.

6tep?MG 6ave the form. 6tep?M0 6witch responsibility to 4)eceivables,Bision $perations/-6!)5.

6tep?MQ 1lic+ on 4)equests5.

6tep?MR 1lic+ on 46ubmit a 8ew )equest5.

6tep?&H 1lic+ on 4$'5 button.

6tep?&M (nter the concurrent program name and then clic+ on 46ubmit5 button.

6tep?&& 1lic+ on 48o5 button.

6tep?&L 1lic+ on 4"ind5 button to see the status of your concurrent program.

6tep?&K

Q) ,ow to +now the name % path of 4=og file5 % 4$ut file5

!) 6(=(19 logfileDname,outfileDname ")$. fndDconcurrentDrequests W,()( requestDidP&MGKHOOF Q) Why to use ())A-" % )(91$#( parameters in procedure !) ())A-" It capture /or) store error message if any error at the time of e3ecution. )(91$#( It returns status code H 6uccess of e3ecution. M Warning /can be e3ecuted). & (rror /cannot be e3ecuted). Q) ,ow many parameters permitted for concurrent program !) .a3imum MHH parameters including & parameters /errbuf % retcode). Q) What is 6)6 6)6 is a form of !$= module. 6)6 form is used to Invo+e/)un any concurrent program for any module. If 6)6 has been chec+ed in concurrent program definition then only we can run concurrent programs otherwise we cannot run any concurrent program. 6)6 stands for 6tandard )equest 6ubmission. Q) What are the e3ecutable methods in oracle ()* !) $racle )eports *=/6Q= 6tored *rocedure 6Q=V=oader 6Q=V*lus 7!B! 6tored *rocedure 7!B! 1oncurrent *rogram ,$69 Immediate .ulti =anguage "unction 6pawned )equest 6et 6tage "unction

Q) What type of information (3ecutable form contains !) (3ecutable 8ame !pplication 8ame (3ecutable .ethod (3ecutable "ile 8ame Q) When we go to concurrent program screen what type of format we find !) 9e3t ,9.= *1= *#" *ost 6cript /to print the report) I.= Q) What is C,$69 Biew !) It is software which is used for *ost 6cript output. Q) ,ow to print the user message in $racle !pplication !) using "8#D"I=(.*-9D=I8(/4message5)F E)a*ple: 1reate or replace procedure proca/errbuf out varchar&,retcode out varchar&) Is Aegin insert into arDtab values/M,5<ames5,sysdate)F fndDfile.putDline/fndDfile.output,5#ata insertedS5)F fndDfile.putDline/fndDfile.log,49his is for testingS5)F (nd procaF Para*etric Concurrent Progra*: Q) ,ow to create parametric concurrent program !) -sing 4Balue 6et5.

Q) What is Balue 6et !) It is a collection of possible valid value which is used as parameter value at the time of concurrent program e3ecution. Q) What are the components of value set !) Balidation type Balue type /value for selection). Q) What are the Balidation 9ype categories ! 9here are two types of categories? /i) "ormat Balidation /ii) Balue validation Q) What are the pre2defined Balue Balidation !) #ependent Independent 8one *air 6pecial 9able 9ranslatable Independent 9ranslatable #ependent Q) What are the "ormat Balidation !) #ata type 6ize .a3 Balue .in Balue Q) Where the Balue 6et is used !) Balues are used? In 1oncurrent *rogram for parameters. In "le3 "ields.

"teps ,or Para*eter Concurrent Progra*: 6tep?M 1rete a procedure with parameters in the bac+2end. 6Q=E conn apps/appsNvis 6Q=E create or replace procedure procDcust&/errbuf out varchar&,retcode out varchar&, *id in number,pname in varchar&) is begin -pdate arDtable set namePpname where idPpidF "ndDfile.putDline/fndDfile.output,pidXXchr/R)XXpname)F "ndDfile.putDline/fndDfile.log,4error message5)F 1ommitF end procDcust&F 6tep?& connect to oracle application

6tep?L 6witch responsibility to 4!pplication #eveloper5.

6tep?K #ouble clic+ on 4set5

6tep?O (nter the values for parameter 4I#5as below.

6tep?G #ouble clic+ on 4(dit Information5 button in the above form.

6tep?0 6ave the form 6tep?Q (nter the values for parameter 48!.(5as below

6tep?R 6ave the form

6tep?MH #ouble clic+ on 4(3ecutable5.

6tep?MM (nter the values as below

6tep?M& 6ave the form. 6tep?ML #ouble clic+ on 4*rogram5.

6tep?MK (nter the values as below.

6tep?MO 1lic+ on 4*arameters5 button in the above form to add value sets.

/i) for 4id5 parameter

/ii) for 4name5 parameter

6tep?MG 6ave the form.

6tep?M0 6witch responsibility to 46ystem !dministrator5.

6tep?MQ #ouble clic+ on 4)equest5

6tep?MR *ress 4"MM5 and enter the Croup name as below

6tep?&H *ress 419=W"MM5

6tep?&M 1lic+ on 4

5 icon in the toolbar to add your concurrent program.

6tep?&& 6ave the form. 6tep?&L 6witch responsibility to 4)eceivables,Bision $perations/-6!)5.

6tep?&K 1lic+ on 4)equests5.

6tep?&O 1lic+ on 46ubmit a 8ew )equest5.

6tep?&G 1lic+ on 4$'5 button.

6tep?&0 (nter the concurrent program name and then clic+ on 46ubmit5 button.

6tep?&Q 1lic+ on *arameter field then enter the values as u li+e. 1lic+ on 4$'5 button % clic+ on 46ubmit5.

6tep?&R 1lic+ on 48o5 button.

6tep?LH 1lic+ on 4"ind5 button to see the status of your concurrent program.

6tep?LM

Q) Is it possible to modify the value set after it is attached to concurrent program !) 8o, it is not possible #eletion also not possible. Aut value set name can be changed. Q) What is the use of 4(dit Information5 in Balue 6et !) It is used to provide the table name and the column name, if we ta+e the validation type is 49able5. Q) When the 4(dit Information5 will be active in 4Balue 6et5 !) #ependent *air 6pecial 9able

9ranslatable #ependent Q) What type of information we have to pass for 4"ormat validation5 !) #ata type, 6ize, .a3 Balue % .in Balue.

%sing /le) 0e+.or(: It is used to ta+e value from previous value set to define the other value set. It is used at Where/$rder Ay window in 4(dit Information5 window. 9he +eyword is 4?Y"=(IY.Jprevious valueDsetDnameE5. "teps to register a proce(ure using 1/le)2 -e+.or(: 6tep?M 1reate a procedure in the bac+2end. 6Q=Econn apps/appsNvisF 6Q=E create or replace procedure procDemp/errbuf out varchar&,retcode out varchar&, pdno in number,p<ob in varchar&) is begin update emp set commPsalV.&H where deptnoPpdno and <obPp<obF endF 6tep?& connect to oracle application

6tep?L 6witch responsibility to 4!pplication #eveloper5.

6tep?K #ouble clic+ on 4set5

6tep?O (nter the values for parameter 4I#5as below.

6tep?G 1lic+ on 4(dit Information5 which is visible in the above form

6tep?0 6ave the form

6tep?Q (nter the details for 4*<ob5 parameter as below.

6tep?R 1lic+ on 4(dit Information5 which is visible in the above form.

6tep?MH 6ave the form

6tep?MM #ouble clic+ on 4(3ecutable5.

6tep?M& (nter the details as below.

6tep?ML #ouble clic+ on 4*rogram5.

6tep?MK (nter the details as below.

6tep?MO 1lic+ on the 4*arameters5 button which is visible in the above form. /i) for 4pdno5 parameter.

/ii) for 4p<ob5 parameter.

6tep?MG 6ave the form.

6tep?M0 6witch responsibility to 46ystem !dministrator5.

6tep?MQ #ouble clic+ on 4)equest5

6tep?MR *ress 4"MM5 and enter the Croup name as below

6tep?&H *ress 419=W"MM5

6tep?&M 1lic+ on 4

5 icon in the toolbar to add your concurrent program.

6tep?&& 6ave the form. 6tep?&L 6witch responsibility to 4)eceivables,Bision $perations/-6!)5.

6tep?&K 1lic+ on 4)equests5.

6tep?&O 1lic+ on 46ubmit a 8ew )equest5.

6tep?&G 1lic+ on 4$'5 button.

6tep?&0 (nter the concurrent program name and then clic+ on 46ubmit5 button.

6tep?&Q 1lic+ on *arameter field then enter the values as u li+e. 1lic+ on 4$'5 button % clic+ on 46ubmit5.

6tep?&R 1lic+ on 48o5 button.

6tep?LH 1lic+ on 4"ind5 button to see the status of your concurrent program.

6tep?LM

Q) What is the use of chec+ing 4!llow *arent Balues5 in (dit Information !) If the 4!llow *arent Balues5 is chec+ed then it restricts duplicate values. "o*e options in concurrent progra*: 1opy 9o 6ession 1ontrol Incompatibilities *arameters (i) Cop+ To: It is used to define a new concurrent program for same e3ecutable with pre2defined other default to concurrent program. "or this we have to provide only /i) 1oncurrent program name. /ii) 6hort 8ame. Q) What is the use of 41opy 9o5 !) 6ame e3ecutable can be used for more than one concurrent program. (ii) "ession Control: It is used for optimizing the concurrent program e3ecution. )A$ )ule Aased $ptimizer 1A$ 1ost Aased $ptimizer /we already used this option)

$racle !pplication use 41A$5, for this we have to select 41hoose5. Q) What are the options in optimizer mode !) !ll rows "irst row )ule 1hoose (iii) Inco*pati ilities: It is used to restrict the other concurrent programs which should not run parallel to a concurrent program.

6ame program may be incompatible to itself. Q) Is it possible to ma+e Incompatibilities for the same program !) ;es, it is possible. Q) ,ow to define default parameter values at run time !) Co to 1oncurrent *rogram 1lic+ on *arameters5 button -se 4#efault 9ype5 option in Balidation section. Q) What are the types of 4#efault 9ype5 !) 1onstant *rofile 6Q= statement 6egment 1urrent date 1urrent time for 4"le3 "ields5 if data type is char/date if data type is char/date "i3ed value for )eports

Q) What is the use of 6Q= statement 9o use 6Q= statement we have to follow some rules. 9hat is select statement should return one and only one value. Cenerally it is used for ma3/min value in case of date/number. Q) Where we have to save .fmb file !) In !-D9$* /i.e !-ZMM.O.HZformsZJfileE.fmb). Q) Where we have to save .fm3 file !) In .$#-=(D9$* /i.e !)ZMM.O.HZformsZJfileE.fm3). Q) Why to store .fmb file in !-D9$* !) Aecause 49(.*=!9(.fmb5 % other reusable codes found in !-D9$*, which is required to generate JfileE.fm3 Q) "or the form customization at client2side which folders/files are required !) 9emplate.fmb, !ppstand.fmb, 4)esource5 folder in !-D9$*.

Você também pode gostar