Running Oracle seeded API from Custom Schema

Hi All
I have a custom schema and I need to call a Oracle standard API from this schema. When I try to initialize the session using fnd_global.apps_initialize I get the following error:
ORA-00942: table or view does not exist
ORA-06512: at "APPS.FND_CORE_LOG", line 25
ORA-06512: at "APPS.FND_GLOBAL", line 104
ORA-06512: at "APPS.FND_GLOBAL", line 1620
ORA-06512: at "APPS.FND_GLOBAL", line 2170
ORA-06512: at "APPS.FND_GLOBAL", line 2312
ORA-06512: at "APPS.FND_GLOBAL", line 2250
ORA-06512: at line 2
I understand that this is an issue with GRANTS. However I have granted the EXECUTE ANY PROCEDURE and SELECT on all the underlying tables of this oracle package.
Has anybody faced a similar situation. Any help would be greatly appreciated.
Thank You.
Jyoti
Edited by: user646763 on Oct 3, 2010 11:49 PM
Edited by: user646763 on Oct 3, 2010 11:51 PM

Hi,
I understand that this is an issue with GRANTS. However I have granted the EXECUTE ANY PROCEDURE and SELECT on all the underlying tables of this oracle package.The error "ORA-00942: table or view does not exist" indicates that the custom schema owner cannot select from the underlying tables. Please review the packages code again and make sure that your custom user has select privileges (or check if any public synonym needs to be created).
See eTRM website for details about those packages and the relevant tables -- http://etrm.oracle.com
Thanks,
Hussein

Similar Messages

  • Not getting a handle to Seeded VO from custom region controller

    Hi Freinds,
    I am embedding a custom region to a seeded page by personalization.
    I have an AM and VO for custom region.
    When i am trying to call a seeded VO from my custom region controller i am not able to get a handle to it properly.
    I tried to get rootAm and then i called seeded VO. Some times i will get control but not able to create a rowsetiterator for that VO.
    OAApplicationModule rootAm=pageContext.getRootApplicationModule();
    oracle.jbo.ViewObject spupdateVo=rootAm.findViewObject("SpecialInformationUpdateVO1");
    RowSetIterator tblvorow= tblVo.findRowSetIterator("sptblVoRow");
    it is erroring at line 3.
    please help me to understand how to get a handle to seeded VO from custom region controller.
    My requirement is to loop through that seeded VO records.
    Thanks in advance..
    Jyothi

    Hi,
    I think you need to extend the controller at the pageLayout Region which would have access to all the regions and also their corresponding AMs.
    --Sushant                                                                                                                                                                                                                                                                                                                                       

  • Unable to run Oracle Form Builder from Designer 10g

    I am using Windows XP with Oracle Designer 9.0.4.5. From Design Editor, I select Run -> Oracle Forms, nothing happen. I am able to open Form Builder manually (C:\ORACLE\904\bin\ifbld90.exe). After I generated a module (form) from Designer, I have to open the FMB manually from Form Builder. In Designer 9i, I am able to open Form Builder from Designer. Is this a bug for Designer 10g?
    Thanks,
    Jim

    Thanks for the response, Suresh,
    I believe this is an installation/configuration issue.
    I installed Oracle Developer Suite 9.0.4, which includes Form Builder, Report Builder, and Designer. System Path contains the ORACLE_HOME (c:\oracle\904\bin). I am able to start Form Builder from DOS command (ifbld90.exe). I am also able to start Report Builder (rwbuilder.exe) and Designer (des2k61.exe) from DOS. I am able to Run Oracle Report Builder from Designer, but just not Form Builder. I also checked the Windows registry settings and they seem alright to me.
    thanks,
    Jim

  • Re : Run oracle DB packages from OBIEE

    Hello there,
    Hope all is well. I was just wondering how do you run Oracle DB Packages from OBIEE ? How do I say EXEC package.procedure or package.function ?
    Thanks in advance,
    Sam

    Hi..
    Hope as you said.. use package.procedure or package.function in evaluate.. function
    OR
    if you go physical layer.. and try to create New Physical table..
    Select Table type as Select and try to call your package function here...
    Sorry to say this i didn't work on this.. but try and report back..
    See my post Re: Calling Stored Procedure for Date Conversion ... for understanding .. this some what.
    Thanks & Regards
    Kishore Guggilla
    Edited by: Kishore Guggilla on Dec 17, 2008 12:07 PM

  • Error when running oracle seeded page in Jdeveloper 9i

    All,
    I have moved all the necessary files fro server to JDeveloper my classes as well as JDeveloper my projects
    But when run a page in JDeveloper in the following path C:\JDEV\jdevhome\jdev\myprojects\oracle\apps\oie\audit\webui\OIE_AUD_AUDIT_PAGE i am getting the below error But i can able to run helloworld page from toolbox.jws
    "*oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND-INVALID APPLICATION. Tokens: APPL = oie; (Could not lookup message because there is no database connection)*"
    Can you please help me to resolve this issue.
    Thanks
    CSK.

    The issue has been resolved finally i can able to run the seeded page.
    Thank you all.
    Regards,
    CSK

  • Run Oracle Form Application from a JSP File.

    I have a complete customized application made on Oracle Forms (10g) and I have .fmb and .fmx files, now problem which I am facing is I have to open the Oracle Form Application from my JSP page (which is used to login the user). My JSP page is just a simple page which I have placed it in path [C:\DevSuiteHome2\forms\j2ee\formsapp\formsweb] and I run it from browser as [http://localhost:port/forms/index.jsp].
    How can I start my application from this JSP page? Please your help would be highly appreciated. Thanks.

    Inside your JSP page put <OBJECT> tag with all parameters and tags to open Jinitiator or java applet..
    my example..
    <!-- Forms applet definition (start) -->
    <OBJECT classid="clsid:CAFECAFE-0013-0001-0022-ABCDEFABCDEF"
            codebase="/forms/jinitiator/jinit.exe#Version=1,3,1,22"
            WIDTH="1024"
            HEIGHT="768"
            HSPACE="0"
            VSPACE="0">
    <PARAM NAME="TYPE"       VALUE="application/x-jinit-applet;version=1.3.1.22">
    <PARAM NAME="CODEBASE"   VALUE="/forms/java">
    <PARAM NAME="CODE"       VALUE="oracle.forms.engine.Main" >
    <PARAM NAME="ARCHIVE"    VALUE="frmall_jinit.jar,images.jar,in2kartica.jar,paketi.jar,prenospolic.jar,imgbean.jar,moj9999.jar" >
    <PARAM NAME="serverURL" VALUE="/forms/lservlet?ifcfs=/forms/frmservlet?form=zav0030f.fmx&acceptLanguage=sl-SI">
    <PARAM NAME="networkRetries" VALUE="30">
    <PARAM NAME="serverArgs"
           VALUE="escapeParams=true module=zav0030f.fmx userid=  sso_userid=%20 sso_formsid=%25OID_FORMSID%25 sso_subDN= sso_usrDN= debug=no host= port= buffer_records=no debug_messages=no array=no obr=no query_only=no quiet=yes render=no record=names tracegroup= log= term=/oracle/forme/qmsrf65w.res" >
    <PARAM NAME="separateFrame" VALUE="true">
    <PARAM NAME="splashScreen"  VALUE="">
    <PARAM NAME="background"  VALUE="">
    <PARAM NAME="lookAndFeel"  VALUE="Oracle">
    <PARAM NAME="colorScheme"  VALUE="teal">
    <PARAM NAME="serverApp" VALUE="default">
    <PARAM NAME="logo" VALUE="">
    <PARAM NAME="imageBase" VALUE="DocumentBase">
    <PARAM NAME="formsMessageListener" VALUE="">
    <PARAM NAME="recordFileName" VALUE="">
    <PARAM NAME="EndUserMonitoringEnabled" VALUE="">
    <PARAM NAME="EndUserMonitoringURL" VALUE="">
    <PARAM NAME="heartbeat" VALUE="">
    <PARAM NAME="clientDPI" VALUE="123">
    <COMMENT>
    <EMBED SRC="" PLUGINSPAGE="/forms/jinitiator/us/jinit_download.htm"
            TYPE="application/x-jinit-applet;version=1.3.1.22"
            java_codebase="/forms/java"
            java_code="oracle.forms.engine.Main"
          java_archive="frmall_jinit.jar,images.jar,in2kartica.jar,paketi.jar,prenospolic.jar,imgbean.jar,moj9999.jar,Paketi.jar,in2kartica.jarpaketi.jar,moj9999.jarin2kartica.jarpaketi.jar"
            WIDTH="1024"
            HEIGHT="768"
            HSPACE="0"
            VSPACE="0"
         clientDPI="123"
            serverURL="/forms/lservlet?ifcfs=/forms/frmservlet?form=zav0030f.fmx&acceptLanguage=sl-SI"
            networkRetries="30"
            serverArgs="escapeParams=true module=zav0030f.fmx userid=  sso_userid=%20 sso_formsid=%25OID_FORMSID%25 sso_subDN= sso_usrDN= debug=no host= port= buffer_records=no debug_messages=no array=no obr=no query_only=no quiet=yes render=no record=names tracegroup= log= term=/oracle/forme/qmsrf65w.res"
            separateFrame="true"
            splashScreen=""
            background=""
            lookAndFeel="Oracle"
            colorScheme="teal"
            serverApp="default"
            logo=""
            imageBase="DocumentBase"
            formsMessageListener=""
            recordFileName=""
            EndUserMonitoringEnabled=""
            EndUserMonitoringURL=""
            heartBeat=""
    >
    <NOEMBED>
    </COMMENT>
    </NOEMBED></EMBED>
    </OBJECT>
    <!-- Forms applet definition (end) -->

  • Run Oracle Projects Report from Portal

    Is there a way to run one of the canned Oracle Projects reports from Portal? Are these Oracle Projects reports URL addressable? If so please tell me where I can find some documentation on how to do this?

    You can create an iView in portal following a template to include an "SRM Transaction".

  • Need information on running Oracle stored procedures from VB using ODP

    Hi. I'm trying to run some complex queries on a list of Oracle databases from a VB application using ODP.
    I've been able to execute simple queries formatted as strings on all 150 databases with no problems. Now, however the queries are more than 100 lines, and it's not practical to handle them as strings.
    Can anyone point me to reference material or some samples that would show how to to this?
    I've gone through this forum, but I haven't found anything starting from the very basics, which is what I need.
    Many thanks

    It might be easier just to break down the queries into smaller peices and execute them in sequence, then put the results together later.

  • Wsdl validation fails for request message payload from custom schema

    Hello. I am having a problem which I cannot seem to work around. I have defined a schema to serve as a template for the request message payload of a bpel process. The schema is very simple:
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:logininfo="http://sru/logininfo" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sru="http://sru/profile" targetNamespace="http://sru/logininfo" elementFormDefault="qualified" attributeFormDefault="unqualified">
         <xs:import namespace="http://sru/profile" schemaLocation="http://sru/profile.xsd"/>
         <xs:element name="logininfo" type="logininfo:logininfoType">
              <xs:annotation>
                   <xs:documentation>Needed information for SRU Login</xs:documentation>
              </xs:annotation>
         </xs:element>
         <xs:complexType name="logininfoType">
              <xs:all>
                   <xs:element name="email" type="sru:emailType"/>
                   <xs:element name="password">
                        <xs:simpleType>
                             <xs:restriction base="xs:string">
                                  <xs:maxLength value="32"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:element>
                   <xs:element name="product" type="xs:string"/>
                   <xs:element name="ip" type="sru:ipType"/>
                   <xs:element name="timestamp" type="xs:dateTime"/>
                   <xs:element name="xpath" type="xs:string"/>
              </xs:all>
         </xs:complexType>
    </xs:schema>
    (The schema depends on another, which I have placed at the end of this message).
    I import it into the bpel process designer with no problems.
    Upon defining the payload of the request message type to be the {http://sru/logininfo}logininfoType, the WSDL file does not validate anymore:
    Validating WSDL...
    Validating E:\OraBPELPM_1\integration\jdev\jdev\mywork\SRU\BPELProcess5\BPELProcess5.wsdl
    Schema type not found: QName(http://sru/logininfo, logininfoType)
    Validate WSDL: has errors.
    Any ideas?
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns="http://sru/profile" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sru="http://sru" xmlns:xdb="http://xmlns.oracle.com/xdb" targetNamespace="http://sru/profile" elementFormDefault="qualified" attributeFormDefault="unqualified" xdb:schemaURL="http://sru/profile.xsd">
         <xs:annotation>
              <xs:documentation>Joel Salmerón Viver</xs:documentation>
              <xs:documentation xml:lang="en">General purpose internet profile schema</xs:documentation>
         </xs:annotation>
         <xs:simpleType name="emailType">
              <xs:restriction base="xs:string">
                   <xs:maxLength value="255"/>
                   <xs:pattern value="[a-z0-9]([a-z0-9\._][a-z0-9]+)*@[a-z0-9]([a-z0-9\.\-][a-z0-9]+)*\.[a-z]{2,6}"/>
              </xs:restriction>
         </xs:simpleType>
         <xs:simpleType name="ipType">
              <xs:restriction base="xs:string">
                   <xs:pattern value="((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.){3}(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])"/>
              </xs:restriction>
         </xs:simpleType>
         <xs:simpleType name="labelType">
              <xs:restriction base="xs:string">
                   <xs:maxLength value="32"/>
              </xs:restriction>
         </xs:simpleType>
         <xs:complexType name="addressType" xdb:SQLType="ADDRESSTYPE" xdb:SQLSchema="SRU">
              <xs:all>
                   <xs:element name="lines" type="linesType" minOccurs="0" xdb:SQLName="lines" xdb:SQLType="LINESTYPE" xdb:SQLSchema="SRU" xdb:SQLInline="true">
                        <xs:key name="linesKey">
                             <xs:selector xpath="line"/>
                             <xs:field xpath="@num"/>
                        </xs:key>
                   </xs:element>
                   <xs:element name="city" xdb:SQLName="city" xdb:SQLType="VARCHAR2" xdb:SQLInline="true">
                        <xs:simpleType>
                             <xs:restriction base="xs:string">
                                  <xs:maxLength value="64"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:element>
                   <xs:element name="postalcode" xdb:SQLName="postalcode" xdb:SQLType="VARCHAR2" xdb:SQLInline="true">
                        <xs:simpleType>
                             <xs:restriction base="xs:string">
                                  <xs:maxLength value="16"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:element>
                   <xs:element name="countrycode" xdb:SQLName="countrycode" xdb:SQLType="VARCHAR2" xdb:SQLInline="true">
                        <xs:simpleType>
                             <xs:restriction base="xs:string">
                                  <xs:length value="2"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:element>
              </xs:all>
              <xs:attribute name="label" type="labelType" use="required" xdb:SQLName="label" xdb:SQLType="VARCHAR2"/>
              <xs:attribute name="verified" type="xs:boolean" use="required" xdb:SQLName="verified" xdb:SQLType="RAW"/>
         </xs:complexType>
         <xs:complexType name="lineType" xdb:SQLType="LINETYPE" xdb:SQLSchema="SRU">
              <xs:simpleContent>
                   <xs:extension base="xs:string">
                        <xs:attribute name="num" type="xs:positiveInteger" use="required" xdb:SQLName="num" xdb:SQLType="NUMBER"/>
                   </xs:extension>
              </xs:simpleContent>
         </xs:complexType>
         <xs:complexType name="loginType" xdb:SQLType="LOGINTYPE" xdb:SQLSchema="SRU">
              <xs:all>
                   <xs:element name="registered_date" type="xs:dateTime" xdb:SQLType="TIMESTAMP WITH TIME ZONE" xdb:SQLName="registered_date" xdb:SQLInline="true"/>
                   <xs:element name="lastlogin_date" type="xs:dateTime" xdb:SQLType="TIMESTAMP WITH TIME ZONE" xdb:SQLName="lastlogin_date" xdb:SQLInline="true"/>
                   <xs:element name="lastlogin_ip" type="ipType" minOccurs="0" xdb:SQLName="lastlogin_ip" xdb:SQLType="VARCHAR2" xdb:SQLInline="true"/>
                   <xs:element name="lastlogin_time" type="xs:time" minOccurs="0" xdb:SQLType="TIMESTAMP WITH TIME ZONE" xdb:SQLName="lastlogin_time" xdb:SQLInline="true"/>
              </xs:all>
              <xs:attribute name="product" use="required" xdb:SQLName="product" xdb:SQLType="VARCHAR2">
                   <xs:simpleType>
                        <xs:restriction base="xs:string">
                             <xs:maxLength value="32"/>
                        </xs:restriction>
                   </xs:simpleType>
              </xs:attribute>
              <xs:attribute name="status" type="xs:integer" use="required" xdb:SQLName="status" xdb:SQLType="NUMBER"/>
         </xs:complexType>
         <xs:complexType name="addressesType" xdb:SQLType="ADDRESSESTYPE" xdb:SQLSchema="SRU">
              <xs:sequence>
                   <xs:element name="address" maxOccurs="unbounded" xdb:defaultTable="PROFILE_ADDRESSES" xdb:SQLName="address" xdb:SQLSchema="SRU" xdb:SQLInline="true" xdb:defaultTableSchema="SRU" xdb:SQLCollType="address360_COLL" xdb:SQLCollSchema="SRU" xdb:maintainOrder="false">
                        <xs:complexType xdb:SQLType="address358_T" xdb:SQLSchema="SRU">
                             <xs:complexContent>
                                  <xs:extension base="addressType"/>
                             </xs:complexContent>
                        </xs:complexType>
                   </xs:element>
              </xs:sequence>
              <xs:attribute name="main" type="labelType" use="required" xdb:SQLName="main" xdb:SQLType="VARCHAR2"/>
         </xs:complexType>
         <xs:complexType name="phonesType" xdb:SQLType="PHONESTYPE" xdb:SQLSchema="SRU">
              <xs:sequence>
                   <xs:element name="phone" type="phoneType" maxOccurs="unbounded" xdb:SQLName="phone" xdb:SQLType="PHONETYPE" xdb:SQLSchema="SRU" xdb:SQLInline="true" xdb:SQLCollType="phone363_COLL" xdb:SQLCollSchema="SRU" xdb:maintainOrder="false"/>
              </xs:sequence>
              <xs:attribute name="main" type="labelType" use="required" xdb:SQLName="main" xdb:SQLType="VARCHAR2"/>
         </xs:complexType>
         <xs:complexType name="loginsType" xdb:SQLType="LOGINSTYPE" xdb:SQLSchema="SRU">
              <xs:sequence>
                   <xs:element name="login" type="loginType" maxOccurs="unbounded" xdb:SQLName="login" xdb:SQLType="LOGINTYPE" xdb:SQLSchema="SRU" xdb:SQLInline="true" xdb:SQLCollType="login366_COLL" xdb:SQLCollSchema="SRU" xdb:maintainOrder="false">
                        <xs:key name="loginKey">
                             <xs:selector xpath="."/>
                             <xs:field xpath="@product"/>
                        </xs:key>
                   </xs:element>
              </xs:sequence>
         </xs:complexType>
         <xs:complexType name="phoneType" xdb:SQLType="PHONETYPE" xdb:SQLSchema="SRU">
              <xs:simpleContent>
                   <xs:extension base="phonenumberType"/>
              </xs:simpleContent>
         </xs:complexType>
         <xs:complexType name="profileType" xdb:SQLType="PROFILETYPE" xdb:SQLSchema="SRU">
              <xs:all>
                   <xs:element name="firstname" xdb:SQLName="firstname" xdb:SQLType="VARCHAR2" xdb:SQLInline="true">
                        <xs:simpleType>
                             <xs:restriction base="xs:string">
                                  <xs:maxLength value="64"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:element>
                   <xs:element name="surname1" xdb:SQLName="surname1" xdb:SQLType="VARCHAR2" xdb:SQLInline="true">
                        <xs:simpleType>
                             <xs:restriction base="xs:string">
                                  <xs:maxLength value="64"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:element>
                   <xs:element name="surname2" minOccurs="0" xdb:SQLName="surname2" xdb:SQLType="VARCHAR2" xdb:SQLInline="true">
                        <xs:simpleType>
                             <xs:restriction base="xs:string">
                                  <xs:maxLength value="64"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:element>
                   <xs:element name="gender">
                        <xs:simpleType>
                             <xs:restriction base="xs:string">
                                  <xs:length value="1"/>
                                  <xs:enumeration value="M"/>
                                  <xs:enumeration value="F"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:element>
                   <xs:element name="alt_email" type="emailType" minOccurs="0" xdb:SQLName="alt_email" xdb:SQLType="VARCHAR2" xdb:SQLInline="true"/>
                   <xs:element name="addresses" type="addressesType" minOccurs="0" xdb:SQLName="addresses" xdb:SQLType="ADDRESSESTYPE" xdb:SQLSchema="SRU" xdb:SQLInline="true">
                        <xs:key name="addressesKey">
                             <xs:selector xpath="address"/>
                             <xs:field xpath="@label"/>
                        </xs:key>
                        <xs:keyref name="addressRef" refer="addressesKey">
                             <xs:selector xpath="."/>
                             <xs:field xpath="@main"/>
                        </xs:keyref>
                   </xs:element>
                   <xs:element name="phones" type="phonesType" minOccurs="0" xdb:SQLName="phones" xdb:SQLType="PHONESTYPE" xdb:SQLSchema="SRU" xdb:SQLInline="true">
                        <xs:key name="phoneKey">
                             <xs:selector xpath="phone"/>
                             <xs:field xpath="@label"/>
                        </xs:key>
                        <xs:keyref name="phoneRef" refer="phoneKey">
                             <xs:selector xpath="."/>
                             <xs:field xpath="@main"/>
                        </xs:keyref>
                   </xs:element>
                   <xs:element name="language" type="xs:language" xdb:SQLName="language" xdb:SQLType="VARCHAR2" xdb:SQLInline="true"/>
                   <xs:element name="logins" type="loginsType" minOccurs="0" xdb:SQLName="logins" xdb:SQLType="LOGINSTYPE" xdb:SQLSchema="SRU" xdb:SQLInline="true">
                        <xs:key name="loginsKey">
                             <xs:selector xpath="login"/>
                             <xs:field xpath="@product"/>
                        </xs:key>
                   </xs:element>
                   <xs:element name="origin" minOccurs="0" xdb:SQLName="origin" xdb:SQLType="VARCHAR2" xdb:SQLInline="true">
                        <xs:annotation>
                             <xs:documentation>iso3166 a2 country code</xs:documentation>
                        </xs:annotation>
                        <xs:simpleType>
                             <xs:restriction base="xs:string">
                                  <xs:length value="2"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:element>
                   <xs:element name="creation_date" type="xs:dateTime" xdb:SQLType="TIMESTAMP WITH TIME ZONE" xdb:SQLName="creation_date" xdb:SQLInline="true"/>
                   <xs:element name="modified_date" type="xs:dateTime" xdb:SQLType="TIMESTAMP WITH TIME ZONE" xdb:SQLName="modified_date" xdb:SQLInline="true"/>
                   <xs:element name="password" xdb:SQLName="password" xdb:SQLType="VARCHAR2" xdb:SQLInline="true">
                        <xs:simpleType>
                             <xs:restriction base="xs:string">
                                  <xs:maxLength value="32"/>
                                  <xs:pattern value="[a-zA-Z0-9]+"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:element>
                   <xs:element name="hint" minOccurs="0" xdb:SQLName="hint" xdb:SQLType="VARCHAR2" xdb:SQLInline="true">
                        <xs:simpleType>
                             <xs:restriction base="xs:string">
                                  <xs:maxLength value="32"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:element>
                   <xs:element name="additional" type="xs:anyType" minOccurs="0">
                        <xs:annotation>
                             <xs:documentation>future expansion</xs:documentation>
                        </xs:annotation>
                   </xs:element>
              </xs:all>
              <xs:attribute name="email" type="emailType" use="required" xdb:SQLName="email" xdb:SQLType="VARCHAR2"/>
              <xs:attribute name="active" type="xs:boolean" use="required"/>
         </xs:complexType>
         <xs:complexType name="phonenumberType" xdb:SQLType="PHONENUMBERTYPE" xdb:SQLSchema="SRU">
              <xs:simpleContent>
                   <xs:extension base="xs:string">
                        <xs:attribute name="label" type="labelType" use="required" xdb:SQLName="label" xdb:SQLType="VARCHAR2"/>
                   </xs:extension>
              </xs:simpleContent>
         </xs:complexType>
         <xs:element name="profile" type="profileType" xdb:defaultTable="PROFILES" xdb:SQLName="profile" xdb:SQLType="PROFILETYPE" xdb:SQLSchema="SRU" xdb:defaultTableSchema="SRU"/>
         <xs:complexType name="linesType" xdb:SQLType="LINESTYPE" xdb:SQLSchema="SRU">
              <xs:sequence>
                   <xs:element name="line" type="lineType" maxOccurs="unbounded" xdb:SQLName="line" xdb:SQLType="LINETYPE" xdb:SQLSchema="SRU" xdb:SQLInline="true" xdb:SQLCollType="line354_COLL" xdb:SQLCollSchema="SRU" xdb:maintainOrder="false"/>
              </xs:sequence>
         </xs:complexType>
    </xs:schema>

    IT would help if the people that are working this issue would post the resolve of their problems. Every post I see with this problem someone from oracle replies with needing the source project to replicate the issue and the thread dies....

  • Run a Business Rule from Custom Javascript

    Hi,
    I would like to know whether it is possible to call a business rule from the custom javascript, ValidateData.jsp. If it is ok, any simple example?
    Thanks

    I'd say try running individual rules from Planning and see if they fail individually.
    If that works, then start by adding one rule in the sequence and try running it.
    Try finding out if the issue is specific to the sequence or if a new sequence with a rule that you know runs from Planning.
    When you say there's nothing in the Application log, somehow seems the rule isn't hitting Essbase at all. The error comes before that.
    Cheers,
    Abhishek

  • Error while running Oracle Sales Dashboard in JDeveloper

    Hello,
    I am trying to extend the "Update Customer" page in Oracle Sales and have my new custom region ready, which I intend to plugin through personalization in the "Update Customer" page in Oracle Sales.
    Before I can do that I need to be able to run the Oracle Sales Dashboard through Jdev. I have added the following standard Oracle BC4J packages to my project:
    oracle.apps.asn.common.customer.schema.server
    oracle.apps.asn.common.fwk.server
    oracle.apps.asn.common.schema.server
    oracle.apps.asn.dashboard.server
    oracle.apps.jtf.cac.schema.server
    and the DashboardPG.xml. In addition I have the JTF, ASN, ASF, AR and AS schemas added as libraries to my project.
    I am trying to run this page through Jdev and then following navigation path to the "Update Customer" page:
    - Click on Customer in the Shortcuts link on the Sales Dashbaord
    - Search for customer ..the search fetches the results w/o any problem.
    - Click on customer to view the customer details
    - Click on the "Update Customer" button.....................It is here that I get the following error.
    This is clean (new project) with ONLY Oracle objects in it. I am only trying to run the Sales from Jdev first.
    Does anyone know what am I missing? Why am I getting the following error when I try to update the customer details?
    I'd appreciate any help.
    Thanks.
    ERROR:
    =====
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT lookup_code,
    meaning
    FROM fnd_lookup_values
    WHERE trunc(nvl(start_date_active, SYSDATE)) <= trunc(SYSDATE)
    AND trunc(nvl(end_date_active, SYSDATE)) >= trunc(SYSDATE)
    AND enabled_flag = 'Y'
    AND language = USERENV('LANG')
    AND lookup_type = :1
    AND view_application_id = :2
    ORDER BY TAG
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145)
         at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2945)
         at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2742)
         at OA.jspService(OA.jsp:42)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
         at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199)
         at OA.jspService(OA.jsp:39)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.sql.SQLException: ORA-01008: not all variables bound
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
         at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2548)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2933)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:578)
    ........

    The issue has been resolved finally i can able to run the seeded page.
    Thank you all.
    Regards,
    CSK

  • Calling seeded oracle form from custom form

    Hi All,
    I wan't to call oracle seeded form for Item Entry(INVIDITM) from a custom oracle form in Inventory module. When I call the form using FND_FUNCTION.EXECUTE and pass item_id as one of the paarmeters, the seeded form open but with very limited capability to changes. Most of the field are disabled or non updateable.
    I wan't to know if its possible to open the seeded form in full change mode??
    Thanks in advance

    Hello,
    You can open a form by typing an url in the browser.
    e.g. http://machine:port/forms90/f90servlet?config=...
    So, it is easy to place the call in your jsp (window.open)
    Francois

  • CSD_RULE_MATCH_FAILED-calling service request api from oracle apps adapter

    We are doing integration between Siebel and Oracle Apps. When a service request is created on Siebel we are passing that in Oracle Apps using Oracle Apps adapter which is calling a custom API which is doing all the validations and in turn is calling a public api for service request creation. There are two types of service requests - Field Service and Depot Repair. For Field Service we are able to successfully insert the data on Oracle Apps, but for Depot Repair we are getting an error 'CSD CSD_RULE_MATCH_FAILED' from the standard API.
    We have checked the setup and found it is proper. We invoked the pl/sql API from sql developer and we are able to insert the data. So we are facing this issue only when calling the api from oracle apps adapter.
    In the invoke call we have set these properties -
    jca.apps.RespApplication
    jca.apps.Responsibility
    jca.apps.Username
    Based on our analysis till now it is looking like a security context setup issue, but we are not really sure what properties to set.
    Any help in getting this through will be greatly appreciated.
    Thanks,
    Shantanu

    Hi Vijay,
    We have created the apps adapter with default settings as 'apps' user and set the properties Responsibility, RespApplication, Username of <invoke>. Other than that no other settings has been changed.
    Are we missing anything?
    This adapter is able to hit the database in case of 'Field Service' but it is failing for 'Depot Repair'.
    Edited by: 927382 on Apr 13, 2012 2:19 AM

  • Read tables from different schemas in oracle

    Hi, I'm trying to write a code to run a query to get data from an Oracle server, the problem is that the query refers to multiple tables in multiple schemas... the regular way to do it in oracle (SCHEMANAME.TABLENAME) does not work in excel vba query and
    I cant find a way to so, any help will be really appreciated, below a sample code with one table from WWPP schema.....
    Const DB As String = "Driver={Microsoft ODBC for Oracle};" & _
                         "CONNECTSTRING=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=MyHost)(PORT=1526))(CONNECT_DATA=(SERVICE_NAME=MyName)));" & _
                         "Uid=MyID;Pwd=MyPwd*;"
    Sub test()
        Dim cnt As ADODB.Connection, rst As ADODB.Recordset
        Set cnt = New ADODB.Connection
        Set rst = New ADODB.Recordset
        cnt.Open DB
        (I also tried this but didn't work) -> cnt.Execute "ALTER SESSION SET CURRENT_SCHEMA=WWPP"
        rst.Open "SELECT * FROM WWPP.SO_LIFE_CYCLE_BACKLOG_RP", cnt, adOpenDynamic, 2
        If rst.EOF = False Then
            Sheet1.Cells(2, 2).Select
            Selection.CopyFromRecordset rst
        End If
        rst.Close
    End Sub
    Oscar Marquez

    1) Posting the error number (i.e. ORA-00942) in addition to the error message is often quite helpful since that's generally far easier to look up and far less likely to get confused in translation.
    2) Are you using an invoker's rights stored procedure? Or a definer's rights stored procedure? If you're not sure, the default is definer's rights.
    3) How has YFS been granted access to the Y_PS table? My hunch is that it was granted access via a role, not via a direct grant. Privileges granted through a role would be available for ad hoc SQL queries, but those privileges are not available to a definer's rights stored procedure. A definer's rights stored procedure only has access to the privileges granted directly to the owner.
    If my hunch is correct, you'd either have to directly grant YFS access to the table(s) it needs to access in other schemas or you'd need to make the stored procedure use invoker's rights, which may have ripple effects down the line if users other than YFS are going to be running the procedure.
    Justin

  • Oracle API from SQR

    Hi
    I am trying to call an Oracle API from an SQR report running in PeopleSoft 8.1.
    The code I am using is shown below:
    begin-sql
    declare
          LN_PERSON_ID NUMBER;;
          LN_ASSIGNMENT_ID  NUMBER;;
          LN_PER_OBJECT_VERSION_NUMBER NUMBER(9);;
          LN_ASG_OBJECT_VERSION_NUMBER NUMBER(9);;
          LD_PER_EFFECTIVE_START_DATE  DATE;;
          LD_PER_EFFECTIVE_END_DATE DATE;;
          LV_FULL_NAME VARCHAR(80);;
          LN_PER_COMMENT_ID NUMBER;;
          LN_ASSIGNMENT_SEQUENCE NUMBER;;
          LV_ASSIGNMENT_NUMBER VARCHAR(30);;
          LB_NAME_COMBINATION_WARNING BOOLEAN;;
          LB_ASSIGN_PAYROLL_WARNING BOOLEAN;;
          LB_ORIG_HIRE_WARNING BOOLEAN;;
          LN_EMPLID VARCHAR(6);;
             lv_err_code VARCHAR(1000);;
              lv_err_msg VARCHAR(1000);;
    begin
                 LN_EMPLID := $Emplid;;
                HR_EMPLOYEE_API.CREATE_EMPLOYEE@OPAYR(
                p_validate => FALSE           
                ,p_hire_date                    => to_date($Effdt, 'dd-mon-yyyy')
                ,p_business_group_id            => 83
                ,p_last_name                    => $Last-Name
                ,p_sex                          => $Sex
                ,P_FIRST_NAME                   => $First_Name
                ,P_MARITAL_STATUS               => $Mar-Status
                ,P_MIDDLE_NAMES                 => $Middle-Name
                ,P_NATIONAL_IDENTIFIER          => $National-Id 
                ,P_TITLE                        => $Prefix  
                ,P_PER_INFORMATION1             => $Tax_Reference-No 
                ,P_PER_INFORMATION2             => $Passport-Number
                ,P_PER_INFORMATION4             => $Ethnic-Group
                ,P_ORIGINAL_DATE_OF_HIRE        => to_date($Effdt, 'dd-mon-yyyy')
                ,p_date_of_birth                => to_date($Birthdate, 'dd-mon-yyyy')
                ,p_attribute1                   => $Nc-Legacy-Company
                ,p_person_type_id               => 1145
    !---OUTPUTS           
                ,p_employee_number              =>   LN_EMPLID
                ,p_person_id                    => LN_PERSON_ID
                ,p_assignment_id                => LN_ASSIGNMENT_ID
                ,p_per_object_version_number    => LN_PER_OBJECT_VERSION_NUMBER
                ,p_asg_object_version_number    => LN_ASG_OBJECT_VERSION_NUMBER
                ,p_per_effective_start_date     => LD_PER_EFFECTIVE_START_DATE
                ,p_per_effective_end_date       => LD_PER_EFFECTIVE_END_DATE
                ,p_full_name                    => LV_FULL_NAME 
                ,p_per_comment_id               => LN_PER_COMMENT_ID
                ,p_assignment_sequence          => LN_ASSIGNMENT_SEQUENCE
                ,p_assignment_number            => LV_ASSIGNMENT_NUMBER
                ,p_name_combination_warning     => LB_NAME_COMBINATION_WARNING
                ,p_assign_payroll_warning       => LB_ASSIGN_PAYROLL_WARNING
    exception
        when others then
       lv_err_code := sqlcode;;
       lv_err_msg := sqlerrm;;   
      raise_application_error(-20000,'API ERROR '||lv_err_code||' on '||lv_err_msg);;
    end;;
    end-sql
    End-Procedure I cannot ge this to work correctly. It seems as if the PL/SQL embedded in the Begin-sql is not parsing the variables. The error recevied is:
    Start of Program Oracle Payslip Interface
    (SQR 5528) ORACLE OCIStmtExecute error 20000 in cursor 23:
    ORA-20000: API ERROR -20001 on ORA-20001: HR_ZA_MAND_SEG_RACE:
    ORA-06512: at "APPS.HR_EMPLOYEE_API", line 1019
    ORA-06512: at "APPS.HR_EMPLOYEE_API", line 1186
    ORA-06512: at line 1
    This error refers to the value assigned to P_PER_INFORMATION4. I have confrimed that there is a valid value in the $Ethnic-Group variable but this value does not seem to be parsing to the PL/SQL. Any assistance would be greatly appreciated.
    Regards
    Muhammad

    The NLS language parameter needs tobe set for this session.
    The following line fo code was used:
    dbms_session.set_nls('NLS_LANGUAGE', '''AMERICAN''');;

Maybe you are looking for

  • Need help on Proof of Delivery

    Hi all,      I have created an order in SAP R/3 and delivered using trasaction code VL01N for that order. And delivery number has been returned from the system. While creating proof of delivery using transaction code VLPODL it was not showing me the

  • S/MIME in Mail adapter in PI 7.11

    Hello! I need a complete guide about settings of key and keystore in PI 7.11 I know, how to do it in 7.0 with Visual Admin, but not in 7.11 Thanks

  • How can I set a video transition at a default length ?

    I want to set the length of a video transition at a 2 second default. How can I do this /

  • Replicating Report Painter programs in BW system

    Hi, We are trying to replicate Programs developed using Report painter tool into BW system. However BW system doesn't have many  transactions and tables corresponding to Report Painter tool. Is there any way to easily replicate these programs instead

  • Send stopped working

    I have used T-bird just as it is set up for years. And this AM it won't send. This is the message I get. An error occurred while sending mail. The mail server responded: 4.1.8 invalid/host-not-in-DNS return address not allowed. Please verify that you