Reg an Error: no function with name 'CURRENT_RECORD' exists in this scope

Hi All,
I am getting the following error when i try using Set_Item_Instance_Property for assigning a visual attribute to an item.
This is the code. I have replaced Display_Item with Set_Item_Instance_Property for setting the visual attribute.
--DISPLAY_ITEM(lv_cur_item, 'VA_CURRENT_BUTTON');
SET_ITEM_INSTANCE_PROPERTY(lv_cur_item,CURRENT_RECORD,VISUAL_ATTRIBUTE,'VA_CURRENT_BUTTON');
no function with name 'CURRENT_RECORD' exists in this scope
Any suggestion regarding this.
Regards,
Prasad.

L.Rajesh - :SYSTEM.CURRENT_RECORD global variable does not exist - use :SYSTEM.CURSOR_RECORD or :SYSTEM.TRIGGER_RECORD instead.
Prasad - what version of Forms are you using? For Forms 6i and higher, CURRENT_RECORD property is a valid reference. (not sure about Forms 5 or earlier as I don't have access to these versions any longer :) ) Are you logged into a database when you compile your code? There might be a TYPO somewhere in your code that the PL/SQL compiler can't determine the cause and CURRENT_RECORD is the first recognizable term the compiler can find. Sometimes, I've had to log out, close Forms Builder and reopen the form I'm working on to eliminate these types of odd compilation errors.
Hope this helps,
Craig B-)
If a response is helpful or correct, please mark it accordingly.

Similar Messages

  • Error: PLS-222: no function with name 'V' exists in this scope

    In my application, I used the wizard to create a form on a table with Report (2 pages). Then I go to the Report page and I want to test the edit function. This successfully launches the edit Form. When I change the values in the form and then try to save them, I get this error:
    Error Unable to process row of table PRODUCER.
    OK
    ORA-20001: Error in DML: p_rowid=ISDIRECT12, p_alt_rowid=KEYCODE, p_rowid2=, p_alt_rowid2=. ORA-06552: PL/SQL: Statement ignored ORA-06553: PLS-222: no function with name 'V' exists in this scope
    I guess my question is: should I be able to run and use the application while in developer mode.
    If yes, what am I doing wrong?

    We downloaded the companion CD product from OTN
    In the install, we just set up the second option (for HTML db. No glitches on the install, ended successfully
    Read the notes in the doc folder. No issues there
    Platform for development is Win XP Pro
    DB server and app server on same PC.
    Not sure what else you might need to know to answer your question

  • No function with name 'F_ITEMCHECK' exists in this scope

    Hi i have a error:
    SQL> Declare
    2 Cursor stk_val is
    3 Select prod_code,prod_desc, bal_Stock from prod_tran;
    4 mProd_code prod_tran.prod_Code%type;
    5 mProd_desc prod_tran.prod_desc%type;
    6 mProd_qty prod_tran.prod_qty%type;
    7 valexits integer;
    8 bal_stock integer;
    9 vquantity integer;
    10 f_itemcheck integer;
    11 Begin
    12 Open stk_val;
    13 loop
    14 Fetch stk_val into mprod_code,mprod_desc,mprod_qty;
    15 exit when stk_val%notfound;
    16 valexits := f_itemcheck(mprod_code);
    17 if valexits = 0 then
    18 insert into prod_mast(prod_code,prod_Desc,bal_Stock)
    19 values(mprod_code,mprod_Desc,mprod_qty);
    20 elsif valexits = 1 then
    21 update prod_mast
    22 set bal_stock = bal_stock+ vquantity
    23 where prod_code=mprod_code;
    24 end if;
    25 end loop;
    26 close stk_Val;
    27 end;
    28 /
    Declare
    ERROR at line 1:
    ORA-06550: line 3, column 34:
    PLS-00320: the declaration of the type of this expression is incomplete or malformed
    ORA-06550: line 3, column 6:
    PL/SQL: SQL Statement ignored
    ORA-06550: line 16, column 22:
    PLS-00222: no function with name 'F_ITEMCHECK' exists in this scope
    ORA-06550: line 16, column 10:
    PL/SQL: Statement ignored

    May be try this code
    Declare
      Cursor stk_val is
      Select prod_code,prod_desc, bal_Stock
        from prod_tran;
      v_prod stk_val%rowtype;
      valexits    integer;
      bal_stock   integer;
      vquantity   integer;
    Begin
      Open stk_val;
      loop
        Fetch stk_val into v_prod;
        exit when stk_val%notfound;     
        valexits := f_itemcheck(v_prod.prod_code);
        if valexits = 0 then       
          insert into prod_mast(prod_code,prod_Desc,bal_Stock)
          values(v_prod.prod_code,v_prod.prod_Desc,v_prod.prod_qty);
        elsif valexits = 1 then
          update prod_mast
             set bal_stock = bal_stock+ vquantity
           where prod_code=v_prod.prod_code;
        end if;
      end loop;
      close stk_Val;
    end;Note: Code untested

  • Error 222 no function with name "populate_list"

    Hi all, I am getting the following error when compiling a trigger:
    Error 222 at line 46, column 16
    no function with name "POPULATE_LIST" exists in this scope.
    Does anyone know whats going on here. Thanks.

    POPULATE_LIST is a procedure.It does not return any value.
    Just see if your code is trying to assign POPULATE_LIST to any variable.Refer form help for correct usage of this built-in.

  • Error creating bean with name 'org.springframework.dao.annotation.Persisten

    Hello
    I am using Hibernate 4, Spring 3 , JSF 2.0 and Weblogic 10.3.6
    When I start weblogic server and server starts successfully, however whenever it starts publishing application, I am getting the following exception.
    Error creating bean with name
    'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0'
      defined in ServletContext resource [/WEB-INF/applicationContext.xml]:
      Initialization of bean failed; nested exception is
      org.springframework.beans.factory.BeanCreationException:
        Caused By: org.springframework.beans.factory.BeanCreationException: Error creating
       bean with name 'entityManagerFactory'defined in ServletContext resource
       [/WEB-INF/applicationContext.xml]: Invocation of init method failed;
       nested exception is java.lang.NoSuchMethodError:
       javax.persistence.spi.PersistenceUnitInfo.getSharedCacheMode()Ljavax/persistence/
       SharedCacheMode;
    Caused By: java.lang.NoSuchMethodError:
    javax.persistence.spi.PersistenceUnitInfo.getSharedCacheMode()
    Ljavax/persistence /SharedCacheMode;    at
    org.hibernate.ejb.util.LogHelper.logPersistenceUnitInfo(LogHelper.java:38)  at
    org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:525)
    at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:72)     at  org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManager I have the following in applicationContext.xml
    <beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tx="http://www.springframework.org/schema/tx"
        xmlns:context="http://www.springframework.org/schema/context"
        xsi:schemaLocation="http://www.springframework.org/schema/beans
    http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
    http://www.springframework.org/schema/tx
    http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
    http://www.springframework.org/schema/context
    http://www.springframework.org/schema/context/spring-context-3.0.xsd">     
        <context:component-scan base-package="net.test" />
        <!-- Data Source Declaration -->
        <bean id="DataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource"
            destroy-method="close">
            <property name="driverClass" value="oracle.jdbc" />
            <property name="jdbcUrl" value="jdbc:oracle:thin:@server:1521:DB" />
            <property name="user" value="scott" />
            <property name="password" value="tiger" />
            <property name="maxPoolSize" value="10" />
            <property name="maxStatements" value="0" />
            <property name="minPoolSize" value="5" />
        </bean>
        <bean
            class="org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor" />
        <!-- JPA Entity Manager Factory -->
        <bean id="entityManagerFactory"
            class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
            <property name="dataSource" ref="DataSource" />
            <property name="packagesToScan" value="net.test.entity" />
            <property name="jpaVendorAdapter">
                <bean class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter">
                    <property name="showSql" value="true" />
                    <property name="generateDdl" value="false" />
                    <property name="databasePlatform" value="${jdbc.dialectClass}" />
                </bean>
            </property>
        </bean>
        <bean id="defaultLobHandler" class="org.springframework.jdbc.support.lob.DefaultLobHandler" />
        <!-- Session Factory Declaration -->
        <bean id="SessionFactory"
            class="org.springframework.orm.hibernate4.LocalSessionFactoryBean">
            <property name="dataSource" ref="DataSource" />
            <property name="annotatedClasses">
                <list>
                    <value>net.test.entity.Department</value>
                    <value>net.test.entity.Employees</value>
                </list>
            </property>
            <property name="hibernateProperties">
                <props>
                    <prop key="hibernate.dialect">org.hibernate.dialect.Oracle10gDialect</prop>
                    <prop key="hibernate.show_sql">true</prop>
                    <prop key="hibernate.query.factory_class">org.hibernate.hql.internal.classic.ClassicQueryTranslatorFactory
                    </prop>
                </props>
            </property>
        </bean>
        <!-- Enable the configuration of transactional behavior based on annotations -->
        <tx:annotation-driven transaction-manager="txManager" />
        <tx:annotation-driven transaction-manager="transactionManager" />
        <!-- Transaction Config -->
        <bean id="txManager"
            class="org.springframework.orm.hibernate4.HibernateTransactionManager">
            <property name="sessionFactory" ref="SessionFactory" />
        </bean>
        <bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionManager">
            <property name="entityManagerFactory" ref="entityManagerFactory" />
        </bean>
        <context:annotation-config />   
        <bean id="hibernateStatisticsMBean" class="org.hibernate.jmx.StatisticsService">
            <property name="statisticsEnabled" value="true" />
            <property name="sessionFactory" value="#{entityManagerFactory.sessionFactory}" />
        </bean>
        <bean name="ehCacheManagerMBean"
            class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean" />
        <bean id="mbeanServer" class="org.springframework.jmx.support.MBeanServerFactoryBean">
            <property name="locateExistingServerIfPossible" value="true" />
        </bean>   
        <bean id="jmxExporter" class="org.springframework.jmx.export.MBeanExporter"
            lazy-init="false">
            <property name="server" ref="mbeanServer" />
            <property name="registrationBehaviorName" value="REGISTRATION_REPLACE_EXISTING" />
            <property name="beans">
                <map>
                    <entry key="SpringBeans:name=hibernateStatisticsMBean"
                        value-ref="hibernateStatisticsMBean" />
                    <entry key="SpringBeans:name=ehCacheManagerMBean" value-ref="ehCacheManagerMBean" />
                </map>
            </property>
        </bean>
    </beans>
    pom.xml
    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
              http://maven.apache.org/maven-v4_0_0.xsd">
        <modelVersion>4.0.0</modelVersion>
        <groupId>net.test</groupId>
        <artifactId>myappp</artifactId>
        <packaging>war</packaging>
        <version>1.0-SNAPSHOT</version>
        <name>myappp</name>
        <url>http://maven.apache.org</url>
        <repositories>
            <repository>
                <id>prime-repo</id>
                <name>PrimeFaces Maven Repository</name>
                <url>http://repository.primefaces.org</url>
                <layout>default</layout>
            </repository>
        </repositories>
        <properties>
            <spring.version>3.1.1.RELEASE</spring.version>
        </properties>
        <dependencies>
            <!-- Spring 3 dependencies -->
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-core</artifactId>
                <version>${spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-context</artifactId>
                <version>${spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-web</artifactId>
                <version>${spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-tx</artifactId>
                <version>${spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-orm</artifactId>
                <version>${spring.version}</version>
            </dependency>
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-test</artifactId>
                <version>${spring.version}</version>
            </dependency>
            <!-- JSF library -->
            <dependency>
                <groupId>com.sun.faces</groupId>
                <artifactId>jsf-api</artifactId>
                <version>2.1.6</version>
            </dependency>
            <dependency>
                <groupId>com.sun.faces</groupId>
                <artifactId>jsf-impl</artifactId>
                <version>2.1.6</version>
            </dependency>
            <dependency>
                <groupId>javax.servlet</groupId>
                <artifactId>jstl</artifactId>
                <version>1.2</version>
            </dependency>
            <!-- Primefaces library -->
            <dependency>
                <groupId>org.primefaces</groupId>
                <artifactId>primefaces</artifactId>
                <version>3.4.2</version>
            </dependency>
            <dependency>
                <groupId>org.primefaces.themes</groupId>
                <artifactId>afterwork</artifactId>
                <version>1.0.8</version>
            </dependency>
            <!-- Hibernate library -->
            <dependency>
                <groupId>org.hibernate</groupId>
                <artifactId>hibernate-core</artifactId>
                <version>4.1.0.Final</version>
            </dependency>
            <dependency>
                <groupId>javassist</groupId>
                <artifactId>javassist</artifactId>
                <version>3.12.1.GA</version>
            </dependency>
            <dependency>
                <groupId>javax.inject</groupId>
                <artifactId>javax.inject</artifactId>
                <version>1</version>
            </dependency>
            <!-- Oracle Java Connector library -->
            <dependency>
                <groupId>com.oracle</groupId>
                <artifactId>ojdbc6</artifactId>
                <version>11.2.0.3</version>
            </dependency>
            <dependency>
                <groupId>c3p0</groupId>
                <artifactId>c3p0</artifactId>
                <version>0.9.1.2</version>
            </dependency>
            <!-- Log4j library -->
            <dependency>
                <groupId>log4j</groupId>
                <artifactId>log4j</artifactId>
                <version>1.2.16</version>
            </dependency>
            <dependency>
                <groupId>org.testng</groupId>
                <artifactId>testng</artifactId>
                <version>6.4</version>
            </dependency>
            <dependency>
                <groupId>org.hibernate</groupId>
                <artifactId>hibernate-jpamodelgen</artifactId>
                <version>1.2.0.Final</version>
            </dependency>
            <dependency>
                <groupId>org.hibernate</groupId>
                <artifactId>hibernate-entitymanager</artifactId>
                <version>4.1.0.Final</version>
            </dependency>
            <dependency>
                <groupId>org.hibernate.javax.persistence</groupId>
                <artifactId>hibernate-jpa-2.0-api</artifactId>
                <version>1.0.1.Final</version>
            </dependency>
            <dependency>
        <groupId>org.apache.myfaces.extensions.cdi.core</groupId>
        <artifactId>myfaces-extcdi-core-api</artifactId>
        <version>1.0.5</version>
        <scope>compile</scope>
    </dependency>
            <dependency>
                <groupId>org.hibernate</groupId>
                <artifactId>hibernate-ehcache</artifactId>
                <version>4.0.1.Final</version>
            </dependency>      
        </dependencies>
        <build>
            <resources>
                <resource>
                    <directory>src/main/resources</directory>
                </resource>
            </resources>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>             
                    <configuration>
                        <source>1.6</source>
                        <target>1.6</target>
                        <compilerArgument>-proc:none</compilerArgument>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.bsc.maven</groupId>
                    <artifactId>maven-processor-plugin</artifactId>
                    <version>2.0.6</version>
                    <executions>
                        <execution>
                            <id>process</id>
                            <goals>
                                <goal>process</goal>
                            </goals>
                            <phase>generate-sources</phase>
                            <configuration>
                                <!-- source output directory -->
                                <outputDirectory>target/metamodel</outputDirectory>
                            </configuration>
                        </execution>
                    </executions>
                </plugin>
            </plugins>
        </build>
    </project>In Weblogic 10.3.6 I have enabled JPA2 support by adding the following in commEnv.cmd
    @rem Enable JPA 2.0 functionality on WebLogic Server
    set PRE_CLASSPATH=%BEA_HOME%\modules\javax.persistence_1.1.0.0_2-0.jar;
    %BEA_HOME%\modules\com.oracle.jpa2support_1.0.0.0_2-1.jarApplication which works on WLS 10.3.6 is http://download.oracle.com/otn/nt/middleware/11g/wls/1036/wls1036_dev.zip and the one which is not working is
    http://download.oracle.com/otn/nt/middleware/11g/wls/1036/wls1036_win32.exe.
    How can I resolve these errors and exceptions? Any help is highly appreciable.
    Thanks

    Looks like you might have a spelling error in your spring config, or are trying to set a read-only property. BdasInterfaceManagerImpl has been configured as having a method called setBdasInterfaceJdbcDao() : does it?
    By the way, we now know that you're writing code for JP Morgan - there's a slight risk that this could bite you in the @ss at some point (there are some malicious people around) you might want to take that into consideration next time!

  • Error creating bean with name 'rbacxSchedulerService'

    Hi
    I am installing Oralce Identity Analytics and this with an error in the log posted below. Someone could help me. Thank you
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexGlobalUserGlobalUserUpdateAdvisor' defined in ServletContext resource [WEB-INF/search-context.xml]: Cannot create inner bean 'com.vaau.rbacx.search.aop.IndexAdvise#1ba7ab0' of type [com.vaau.rbacx.search.aop.IndexAdvise] while setting bean property 'advice'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.vaau.rbacx.search.aop.IndexAdvise#1ba7ab0' defined in ServletContext resource [WEB-INF/search-context.xml]: Cannot resolve reference to bean 'ftSearchProvider' while setting bean property 'searchProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ftSearchProvider' defined in ServletContext resource [WEB-INF/search-context.xml]: Cannot resolve reference to bean 'rbacxSchedulerService' while setting bean property 'rbacxSchedulerService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rbacxSchedulerService' defined in ServletContext resource [WEB-INF/scheduling-context.xml]: Cannot resolve reference to bean 'vaauSchedulerManager' while setting bean property 'vaauSchedulerManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'vaauSchedulerManager' defined in ServletContext resource [WEB-INF/scheduling-context.xml]: Cannot resolve reference to bean 'quartzSchedulerProvider' while setting bean property 'schedulerProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzSchedulerProvider' defined in ServletContext resource [WEB-INF/scheduling-context.xml]: Cannot resolve reference to bean 'quartzSchedulerFactoryBean' while setting bean property 'quartzScheduler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzSchedulerFactoryBean' defined in ServletContext resource [WEB-INF/scheduling-context.xml]: Cannot create inner bean 'quartzSchedulerFactoryBeanTarget' of type [org.springframework.scheduling.quartz.SchedulerFactoryBean] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzSchedulerFactoryBeanTarget' defined in ServletContext resource [WEB-INF/scheduling-context.xml]: Invocation of init method failed; nested exception is org.quartz.SchedulerConfigException: Failure occured during job recovery. [See nested exception: org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'springNonTxDataSource.quartzSchedulerFactoryBeanTarget': java.sql.SQLException: Unable to start the Universal Connection Pool: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource [See nested exception: java.sql.SQLException: Unable to start the Universal Connection Pool: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource]]
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:230)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:117)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)

    Hi,
    Yes - I changed the password in Oracle DB admin console and jdbc.properties but I still get the same error: ORA-01017.
    The only thing I can think of is that I did not run the encryption java script but to be honest I can't think what diffence this would make.
    Any other suggestions guys?
    Oh the error has now changed slightly
    15:00:54,797 ERROR [ContextLoader] Context initialization failed
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'certificationEventListener' defined in ServletContext resource [WEB-INF/idc-context.xml]: Cannot resolve reference to bean 'rbacxIDCService' while setting bean property 'rbacxIDCService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rbacxIDCService' defined in ServletContext resource [WEB-INF/idc-context.xml]: Cannot resolve reference to bean 'rbacxIAMService' while setting bean property 'rbacxIAMService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rbacxIAMService' defined in ServletContext resource [WEB-INF/iam-context.xml]: Cannot create inner bean 'com.vaau.rbacx.iam.service.impl.RbacxIAMServiceImpl#2d09aa' of type [com.vaau.rbacx.iam.service.impl.RbacxIAMServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.vaau.rbacx.iam.service.impl.RbacxIAMServiceImpl#2d09aa' defined in ServletContext resource [WEB-INF/iam-context.xml]: Cannot resolve reference to bean 'oimSolution' while setting bean property 'iamSolutions' with key [TypedStringValue: value [oracle], target type [null]]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'oimSolution' is defined
    have checked these files and nothing stands out as being wrong.
    Edited by: user8380428 on 09-Dec-2011 07:09

  • ORA-06521: PL/SQL: Error mapping function with 10.1.0 external procedure

    We have an external procedure running fine on 8.1.7 on VMS. After compiling and linking succesfully under 10.1.0, I get ORA-06521 PL/SQL: Error mapping function and ORA-06522: ERROR - vms_dlsym for file x, where x in the filename of the linked executable. Another external procedure that does not connect to the 10.1.0 database runs fine. What could be causing this error in Server 10.1.0 on VMS?
    Thanks,
    Dave

    Here is the code to create the function:
    CREATE OR REPLACE FUNCTION f1
    (h_file_name IN VARCHAR2)
    RETURN BINARY_INTEGER
    IS EXTERNAL
    LIBRARY l1
    NAME "f1"
    LANGUAGE C
    WITH CONTEXT
    PARAMETERS
    (CONTEST,
    h_file_name string);
    Here is the beginning of the Pro*C:
    int f1(epctx, h_file_name)
    OCIExtProcContext *epctx;
    char h_file_name[70];
    char h_line_txt [251];
    int lineno;
    FILE *fptr;
    /* register the connection context ... */
    EXEC SQL REGISTER CONNECT USING :epctx;
    The function loads a flat file into the database. It is probably not related but are unable to SQLPLUS/ or SQLLDR/ into the database from an OS autheniticated account (get ORA-12547: TNS:lost contact.) Thanks for taking the time to look at this. There aren't many people trying this on VMS, I'd bet.

  • Error :The function upload is not possible for this documentu2019

    Hi,
    The users are using Solution manager Help Desk system.
    When a specific user tries to create a message from the satellite system, and tries to upload a  document, he is unable to do so.
    He is getting an error message : 'The function <upload> is not possible for this documentu2019
    The message number is BCOS024.
    The user is unable to attach word, note pads, excel etc. any types of documents.
    He is able to type a description/ title etc and save the message. And the message is reflected in the Solution manager help desk system.
    He comes across that message only if he tries to upload an attachment.
    Please advice.
    Thanks in advance.

    Hi Kase,
    What version of SAPGUI you use?
    We had the same problem.
    This problem was solved once we upgraded SAPGUI to 710 Patch Level 11.
    Regards,
    Sanjai

  • Import Library Error two functions with same name on different namespaces

    Im trying impor a library developed by me. In this library have two functions ShowMenu. First function be inside into a class and its declared as
    void __fastcall TTrayicon:howMenu(). The second function has declared as extern "C" __declspec(dllexport) ShowMenu(int x, int y).
    When i use de assistant to import this library i select the library and its header file. But in the next step the assistant show to me the first function.
    Anyone explain what's happen?

    I'm not sure what kind of answer you're looking for. LabVIEW's Import Library wizard does not always properly handle accessing functions in standard C++ DLLs. See this for more info.

  • Error reusing function with textfield

    I'm trying to reuse one of my function that contains a textfield and it's giving me and error on the second time using the formatLink function.. Below is my code:
    //import classes
    import com.greensock.TweenLite;
    import com.greensock.easing.*;
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    //end of importing
    //start of sound section is for sound
    var cssLoader:URLLoader;
    var css:StyleSheet;
    var soundReq:URLRequest=new URLRequest("PaukenBrumfiel_AngelsOnHigh.mp3");
    var sound:Sound = new Sound();
    sound.load(soundReq);
    sound.addEventListener(Event.COMPLETE, onComplete);
    //end of sound section
    //Loading external texts
    var weiss:Font = new Weiss();
    var slideXTween:Tween;
    var txtAlphaTween:Tween;
    var txtNextText:Tween;
    var txtContainer:Sprite;
    var txtField:TextField = new TextField();
    var myTxtField:TextField = new TextField();
    var textRequest:URLRequest=new URLRequest("happyHoliday.txt");
    var textLoad:URLLoader = new URLLoader();
    var txtFormat:TextFormat = new TextFormat();
    var myLinkFormat:TextFormat = new TextFormat();
    var strLink:String;
    var numXPos:Number;
    var numYPos:Number;
    //end of loading external texts
    function formatLink():void {
        var myCSS:StyleSheet = new StyleSheet();
        myCSS.setStyle("a:link", {color:'#0000CC',textDecoration:'none'});
        myCSS.setStyle("a:hover", {color:'#0000FF',textDecoration:'underline'});
        txtFormat.font = weiss.fontName;
        //txtFormat.color=0x000066;
        txtFormat.size=20;
        //myTxtField.setTextFormat(txtFormat);
        myTxtField.defaultTextFormat=txtFormat;
        //loading external CSS file
        /*cssLoader = new URLLoader();// Create a new URLLoader object
        cssLoader.load(new URLRequest("eGreeting.css"));// Load "default.css" with a new URLRequest object
        css = new StyleSheet();// Create a new StyleSheet object
        css.parseCSS(cssLoader.data);// Parsing CSS*/
        //end of loeading external CSS file
        myTxtField.styleSheet = myCSS; // Linking CSS to TextField
        //end creating css   
        myTxtField.htmlText="";
        myTxtField.htmlText=strLink;
        myTxtField.wordWrap=false;
        myTxtField.embedFonts = true;
        myTxtField.width = strLink.length*2;
        myTxtField.x=numXPos;
        myTxtField.y=numYPos;
        //trace("Third txtField.y: " + txtField.y);
        myTxtField.alpha=0;
        //trace("length: " + myTxtField.length);
    //    trace("sring lengh: " + strLink.length);
    function nextText():void {
        //create and initialize css
        addChild(myTxtField);
        strLink = "<a href='http://www.mysite.com/' target='_blank'>My Link1</a>";
        numXPos = 250;
        numYPos = 370;
        formatLink();   
        TweenLite.to(myTxtField, 1, {alpha:1, onComplete:nextLink});
        trace("tween done");
    function nextLink():void {
        strLink = "<a href='http://www.mysite.com/link/' target='_blank'>My Link2</a>";
        numXPos = 450;
        numYPos = 370;
        formatLink();   
        TweenLite.to(myTxtField, 1, {alpha:1});
        trace("done nextLink function");
    The error message is as folows:
    Error: Error #2009: This method cannot be used on a text field with a style sheet.
        at flash.text::TextField/set defaultTextFormat()
        at E_fla::MainTimeline/formatLink()
        at E_fla::MainTimeline/nextLink()
        at Function/http://adobe.com/AS3/2006/builtin::apply()
        at com.greensock.core::TweenCore/complete()
        at com.greensock::TweenLite/renderTime()
        at com.greensock.core::SimpleTimeline/renderTime()
        at com.greensock::TweenLite$/updateAll()

    Okay, here's the issue. If I move the following code from the formatLink function to the nextText function right underneath the addChild(myTxtField) then it works; however, the texts in the nextText will disappar as soon as the texts in the nextLink function shows up.
    var myCSS:StyleSheet = new StyleSheet();
        myCSS.setStyle("a:link", {color:'#0000CC',textDecoration:'none'});
        myCSS.setStyle("a:hover", {color:'#0000FF',textDecoration:'underline'});
        txtFormat.font = weiss.fontName;
        //txtFormat.color=0x000066;
        txtFormat.size=20;
        //myTxtField.setTextFormat(txtFormat);
        myTxtField.defaultTextFormat=txtFormat;
        myTxtField.styleSheet = myCSS; // Linking CSS to TextField
    Is there a way to keep them both on the screen with reuse of the same function?

  • 'Error mapping function' with external procedures

    I'm trying to create an external procedure in PL/SQL8.1 to run an operating system command from within a PL/SQL block.
    The C function couldn't be simpler:
    extern void host_command(char *command)
    (void)system(command);
    It's even ignoring the return value of SYSTEM!
    I've generated what I THINK is a shared object file and copied it to $ORACLE_HOME/lib/host_command.so
    I've then done CREATE LIBRARY HOST_COMMAND_LIB as '...'
    Then I created a PL/SQL procedure:
    CREATE PROCEDURE SHELL(IP_COMMAND IN VARCHAR2)
    AS
    LANGUAGE C
    NAME "host_command"
    LIBRARY HOST_COMMAND_LIB
    PARAMETERS (IP_COMMAND);
    And then EXEC SHELL ('touch /tmp/fred')
    That's when ORA-6521 is raised.
    I am running Oracle8.1.7.4.0 on AIX 4.3
    Am I missing something?
    Any suggestions will be thankfully received.
    Andrew Hunter

    Thanks.
    In fact, using the supplied makefile in $ORACLE_HOME/plsql/demo and MAKING SURE THAT THE .SO IS EXECUTABLE(!) works.

  • Error Transaction 'Function code' doesn't exist.

    hi ppl,
    i have a screen in which i am calling a subscreen.In the Subscreen there is button and i have given its function code as 'SSR'.
    Now when i execute the transaction the subscreen with all the data is appearing on the screen.When i press the button SAP is giving me error'Transaction 'SSR' doesnt exist'.
    In the PAI of the subscreen i have the below logic.
    case sy-ucomm.
    when 'SSR'.
    call screen 1008 starting at 5 10 ending at 23 43.
    when others.
    exit.
    endcase.
    Can anybody suggest what is the problem and how to fix it?

    have you called the subscreens in PBO and PAI like this..
    ROCESS BEFORE OUTPUT.
      MODULE STATUS_100.
      CALL SUBSCREEN: AREA1 INCLUDING SY-REPID NUMBER1,
                      AREA2 INCLUDING SY-REPID NUMBER2.
    PROCESS AFTER INPUT.
      MODULE CANCEL AT EXIT-COMMAND.
      MODULE SAVE_OK.
      CALL SUBSCREEN: AREA1,
                      AREA2.
      MODULE USER_COMMAND_100.

  • Create table with name already existed

    Hello,
    I am trying to create a table which has the same table name that already exists in a different schema. The table already exist in another user's schema but why can't I create the same table in my own schema with the same name? Thank you.

    Check this out.
    SQL> create user testuser1 identified by testuser1 default tablespace user01;
    User created.
    SQL> create user testuser2 identified by testuser2 default tablespace user01;
    User created.
    SQL> grant create session, create table, create public synonym,
      2  unlimited tablespace to testuser1;
    Grant succeeded.
    SQL>  grant create session, create table, create public synonym,
      2   unlimited tablespace to testuser2;
    Grant succeeded.
    SQL> connect testuser1/testuser1
    Connected.
    SQL> create table mytable(col1 number);
    Table created.
    SQL> create public synonym mytable for testuser1.mytable;
    Synonym created.
    SQL> grant select on mytable to public;
    Grant succeeded.
    SQL> connect testuser2/testuser2
    Connected.
    SQL> create table mytable(col1 number);
    Table created.
    SQL> drop table mytable;
    Table dropped.
    SQL> desc mytable
    Name                                      Null?    Type
    COL1                                               NUMBER
    SQL> desc testuser1.mytable
    Name                                      Null?    Type
    COL1                                               NUMBER
    SQL> disconnect
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.3.0 - 64bit Production
    With the Partitioning option
    JServer Release 9.2.0.3.0 - Production

  • Error target 'sda.icssb2b' does not exist in this project

    Hello sir,
    I want to build ear(Application Archive) by buildtool and ant-current-bin for Modified
    SAP Internet Sales Web Applications but i have war file and sda file ,i build form ISA_BuildTool_10 guidline document , build failed because Target 'sda.icssb2b' does not exist in this project.
    I think 'sda.icssb2b' was generated by earbuilder.xml
    please help me
    thanks you
    Soothiluck Y.

    You gave a default target in the build.xml, and then didn't define the target.
    This is an Ant question. You're better off asking Ant questions on an Ant forum.

  • Itunes COM SDK: cannot register function with iTunes Outgoing Interface

    I am doing benchmarks and I want to time the encoding of a Music CD. In order to stop the "clock" and compute the time I am trying to bind a function with the _IITConvertOperationStatusEvents::OnConvertOperationCompleteEvent()
    I am writing a AutoIt script and I can create the iTunes application object but when I use the ObjEvent function to register my function with the event above it causes a COM exception to be raised and the ObjEvent completes with an error. The exception code I get is 80040200 which seems to be a generic error.
    $objApp=ObjCreate("iTunes.Application")
    $SinkObject=ObjEvent($objApp, "ITEvent", "_IITConvertOperationStatusEvents")
    <<exception 80040200>>
    Browsing the iTunes COM TypeLib the _IITConvertOperationStatus does not seem to be a child in the iTunes object hierarchy so I think this is way the exception is being raised. I have tried to register another function with another outgoing interface and this works just perfectly: _IiTunesEvents::OnQuitting()
    Do I need to create another object which gets passed as the first parameter to the ObjEvent function?
    *Here is the entire script:*
    $ITSourceKindAudioCD = 3
    $begin = 0
    Global $trackName, $progressValue, $maxProgressValue, $SinkObject
    $oMyError = ObjEvent("AutoIt.Error","MyErrFunc") ; Install a custom error handler
    $objApp = ObjCreate("iTunes.Application")
    If @error Then
    MsgBox(0, "ObjCreate", "Create Object Failed", 3)
    Exit
    EndIf
    $event = ObjEvent($objApp, "ITEvent1_", "_IiTunesEvents")
    If @error Then
    MsgBox(0, "Failed", "IiTunesEvent binding failed", 5)
    Exit
    EndIf
    $SinkObject = ObjEvent($objApp, "ITEvent_", "_IITConvertOperationStatusEvents") ; Assign events to UDFs starting with IEEvent_
    If @error Then
    MsgBox(0, "ObjEvent binding", "ObjEvent failed!", 10)
    $objApp.Quit()
    Exit
    EndIf
    $colSources = $objApp.Sources
    $begin = TimerInit()
    For $objSource in $colSources
    If $objSource.Kind = $ITSourceKindAudioCD Then
    $strName = $objSource.Name
    $colPlaylists = $objSource.Playlists
    $objPlaylist = $colPlaylists.ItemByName($strName)
    $colTracks = $objPlaylist.Tracks
    $objApp.ConvertTracks2($colTracks)
    EndIf
    Next
    Do
    ; Wait around for the ripping to complete
    Until False
    ; This is my custom error handler
    Func MyErrFunc()
    $HexNumber = hex($oMyError.number,8)
    Msgbox(0,"","We intercepted a COM Error !" & @CRLF & _
    "Number is: " & $HexNumber & @CRLF & _
    "Windescription is: " & $oMyError.windescription )
    EndFunc
    Func ITEvent1_OnQuittingEvent()
    MsgBox(0, "Bye", "Bye-Bye", 10)
    EndFunc
    func ITEvent_OnConvertOperationCompleteEvent()
    $dif = TimerDiff($begin)
    MsgBox(0,"Time Difference",$dif)
    $objApp.Quit()
    EndFunc

    much of this is speculation because I can't remember how many previous versions of iTunes were on these machines...but this is what we're seeing:
    extra entries in two registry keys... when it didn't work these two registry entries contained "AppID" values:
    HKEYCLASSESROOT\CLSID\{B9E1D2CB-CCFF-4AA6-9579-D7A4754030EF}\Implemented
    Categories
    HKEYLOCALMACHINE\SOFTWARE\Classes\CLSID\{B9E1D2CB-CCFF-4AA6-9579-D7A4754030EF}
    with the APpID set to the same iTunes CLSID string:
    {B9E1D2CB-CCFF-4AA6-9579-D7A4754030EF}
    and when it did work the AppIDs entries were gone. this is only on XP.
    on vista there never was any AppID entry.
    but, again, i wonder if that was added by previous versions of iTunes which we didn't install on the vista machines...
    Also, worthy of noting is this post from Apple:
    http://support.apple.com/kb/HT1925
    ciao, raza

Maybe you are looking for

  • Printing 6 slides per page in Portrait orientation?!

    Hello, I have iWork '08. In the past I always printed 6 keynote slides per page, with the page oriented in portrait orientation. However, now it refuses to do that. Even when I have changed the orientation to portrait in the page setup (under 'File')

  • CS6 Artboard Issue??

    Did something change with artboards from CS5 to CS6 in Illustrator? We are running Illustrator CS6 64bit and everything seams to be about as smooth as a babies bottom "EXCEPT" ARTBOARDS... It's making us crazy! In CS5 we used the arboard as a crop be

  • ABAP Certification - What exactly means the "dynamic programming" topic?

    Hi all, Actually i´m studying for my ABAP exam and i´d like to know what exactly means dynamic programming(of ABAP Advanced topic, take a look at http://www50.sap.com/useducation/certification/curriculum.asp?rid=493&vid=5). Is it only about creating

  • SAP BPC ALLOCATION PROCEDURE

    Hi Gurus, We have a simple allocation that we would like to put into BPC but will need guidance on how to implement.  Every month we forecast and annually we budget for Group Office(100) which gets allocated to companies 222 at 25% and 333 at 75% The

  • Impossible d'acheter un livre !

    j'ai conçu un livre de 100 pages avec Iphoto'1 et veut l'acheter. Impossible car le message suivant apparaît depuis deux jours : "Une erreur est survenue lors de la communication avec l'Apple Store en ligne. Veuillez réessayer." Que faire ?