You are on page 1of 4

Step By Step Guide to Creating a Custom Application in Applications 11i Note:216589.

************************************************************* ThisarticleisbeingdeliveredinDraftformandmaycontain errors.PleaseusetheMetaLink"Feedback"buttontoadvise Oracleofanyissuesrelatedtothisarticle. ************************************************************* PURPOSE ThisnotedescribesthebasicstepsneededtosetupaCustomApplication withinOracleApplications11i. CreatingaCustomApplicationinApplications11i CustomApplicationsarerequiredifyouarecreatingnewforms,reports, etc. Thisallowsyoutosegregateyourcustomwrittenfilesfromthestandard seededfunctionalitythatOracleApplicationsprovide. Customizationscanthereforebepreservedwhenapplyingpatchesor upgradestoyourenvironment. 1)Makethedirectorystructureforyourcustomapplicationfiles. cd$APPL_TOP mkdirmz mkdirmz/11.5.0 mkdirmz/11.5.0/admin mkdirmz/11.5.0/admin/sql mkdirmz/11.5.0/admin/odf mkdirmz/11.5.0/sql mkdirmz/11.5.0/bin mkdirmz/11.5.0/reports mkdirmz/11.5.0/reports/US mkdirmz/11.5.0/forms mkdirmz/11.5.0/forms/US mkdirmz/11.5.0/$APPLLIB mkdirmz/11.5.0/$APPLOUT mkdirmz/11.5.0/$APPLLOG 2)Addthecustommoduleintotheenvironment ApplyADX.E.1andaddtheentrytotopfile.txtasastandardproducttop entry(followtheexistingmodelinthefile)

CustomisedenvironmentvariablescanbeaddedtoAutoConfigbyusingthe filenamespecificedbys_custom_file,whichisthencalledfromthe APPSORA.envfile. IfusingFormsListenerServlet,youmayalsoneedtoadd$CUSTOM_TOPto formsservlet.iniin$APACHE_TOP/Jserv/etc 3)Createnewtablespacefordatabaseobjects createtablespaceMZdatafile '/emea/oracle/visuk09/visuk09data/mz.dbf'size10Mdefault storage(initial10knext10k) 4)Createschema createusermzidentifiedbymz defaulttablespacemz temporarytablespacetemp quotaunlimitedonmz quotaunlimitedontemp; grantconnect,resourcetomz; 5)RegisteryourOracleSchema. LogintoApplicationswithSystemAdministratorresponsibility NavigatetoApplication>Register Application=MZCustom ShortName=MZ Basepath=MZ_TOP Description=MZCustomApplication 6)RegisterOracleUser NaviatetoSecurity>Oracle>Register DatabaseUserName=MZ Password=MZ Privilege=Enabled InstallGroup=0 Description=MZCustomApplicationUser 7)AddApplicationtoaDataGroup NavigatetoSecurity>Oracle>DataGroup DataGroup=MZGroup Description=MZCustomDataGroup Clickon"CopyApplicationsfrom"andpickStandarddataGroup,thenadd thefollowingentry. Application=MZCustom OracleID=APPS Description=MZCustomApplication 8)Createcustomrequestgroup Thiswillactasaplaceholderforanycustomreportswewishtomake availablefortheCustomResponsibility(whichisdefinedatalater stage) NavigatetoSecurity>responsbility>Request

Group=MZRequestGroup Application=MZCustom Code=MZ Description=MZCustomRequests Wewillnotdefineanyrequeststoaddtothegroupatthisstage,but youcanaddsomenowifrequired. 9)Createcustommenu Thiswillactasaplaceholderforanymenuitemswewishtomake availablefortheCustomResponsibility(whichisdefinedatalater stage)Wewillcreatetwomenus,oneforCoreApplicationsandonefor SelfService. NavigatetoApplication>Menu Menu=MZ_CUSTOM_MENU UserMenuName=MZCustomApplication MenuType=<leaveblank> Description=MZCustomApplicationMenu Seq=100 Prompt=ViewRequests Submenu=<leaveblank> Function=ViewAllConcurrentRequests Description=ViewRequests Seq=110 Prompt=RunRequests Submenu=<leaveblank> Function=Requests:Submit Description=SubmitRequests Menu=MZ_CUSTOM_MENU_SSWA UserMenuName=MZCustomApplicationSSWA MenuType=<leaveblank> Description=MZCustomApplicationMenuforSSWA 10)Createnewresponsibility.OneforCoreApplicationsandOnefor SelfService(SSWA) NavigatetoSecurity>Responsibility>Define ResponsibilityName=MZCustom Application=MZCustom ResponsibilityKey=MZCUSTOM Description=MZCustomResponsibility AvailableFrom=OracleApplications DataGroupName=mzGroup DataGroupApplication=MZCustom Menu=MZCustomApplication RequestGroupName=MZRequestGroup ResponsibilityName=MZCustomSSWA Application=MZCustom ResponsibilityKey=MZCUSTOMSSWA Description=MZCustomResponsibilitySSWA

AvailableFrom=OracleSelfServiceWebApplications DataGroupName=mzGroup DataGroupApplication=MZCustom Menu=MZCustomApplicationSSWA RequestGroupName=MZRequestGroup 11)Addresponsibilitytouser NavigatetoSecurity>User>Define AddMZCustomresponsibilitytousersasrequired. 12)Otherconsiderations YouarenowreadytocreateyourdatabaseObjects,customReports, Forms,Packages,etc CreatethesourcecodefilesintheMZ_TOPdirectoryappropriateforthe typeofobject.Forexampleforms wouldbelocatedin$MZ_TOP/forms/USorpackagesourcecodein $MZ_TOP/admin/sqlforexample. DatabaseObjects,suchastables,indexesandsequencesshouldbe createdintheMZschema,thenyouneedto a)GrantallprivilegefromeachcustomdataobjecttotheAPPS schema. Forexample:loggedinasMZuser grantallprivilegesonmyTabletoapps; b)CreateasynonyminAPPSforeachcustomdataobject Forexample:loggedinasAPPSuser createsynonymmyTableformz.myTable; Otherdatabaseobjects,suchasviewsandpackagesshouldbecreated directlyintheAPPSschema. RELATEDDOCUMENTS OracleApplicationsRelease11iDevelopersGuide. OracleApplicationsRelease11iSystemAdministratorsGuide. AdditionalSearchWords 11icustomcustomisationcoreapps

You might also like