Rec JDBC - data not inserted to DB

Hi,
In Proxy to JDBC scenario, data is not inserted to DB (Sqlserver).
From proxy, xi could able to get data; in moni it is showing success flag. But data is not inserted to DB. Connectivity is there from XI to DB.
We are using SP to insert the data.
When checking in Message monitoring, it is showing as success but when checking in CC monitoring, the channel status is showing as Functioning. No other data is provided.
Please share your ideas where it went wrong.
Regards,
Anil.

Hi
Ur target structure should be like this for SP - Is it the same?
/people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures
http://help.sap.com/saphelp_erp2004/helpdata/en/d2/bab440c97f3716e10000000a155106/frameset.htm
Use asinput and type
Instead of SP u can directly use the INSERT action and table name which will also serve the same purpose.
chirag

Similar Messages

  • Data not inserted into database from jsf..

    hello..
    m developing ma project with 2 separate module-EJB and WEB .in which web module contains JSF managed bean and jsf-jsp pages.
    my application is running well.bt didn't give output to the database for inserting data.
    m giving ma simple test application ...plz tell me whr m going wrong.
    //Emp.java---entity file in ejb module
    package entity;
    import java.io.Serializable;
    import javax.persistence.Basic;
    import javax.persistence.Column;
    import javax.persistence.Entity;
    import javax.persistence.Id;
    import javax.persistence.NamedQueries;
    import javax.persistence.NamedQuery;
    import javax.persistence.Table;
    @Entity
    @Table(name = "emp")
    @NamedQueries({
        @NamedQuery(name = "Emp.findAll", query = "SELECT e FROM Emp e"),
        @NamedQuery(name = "Emp.findByName", query = "SELECT e FROM Emp e WHERE e.name = :name"),
        @NamedQuery(name = "Emp.findByAddress", query = "SELECT e FROM Emp e WHERE e.address = :address")})
    public class Emp implements Serializable {
        private static final long serialVersionUID = 1L;
        @Id
        @Basic(optional = false)
        @Column(name = "name")
        private String name;
        @Column(name = "address")
        private String address;
        public Emp() {
        public Emp(String name) {
            this.name = name;
        public Emp(String name, String address) {
            this.name = name;
            this.address = address;
        public String getName() {
            return name;
        public void setName(String name) {
            this.name = name;
        public String getAddress() {
            return address;
        public void setAddress(String address) {
            this.address = address;
        @Override
        public int hashCode() {
            int hash = 0;
            hash += (name != null ? name.hashCode() : 0);
            return hash;
        @Override
        public boolean equals(Object object) {
            // TODO: Warning - this method won't work in the case the id fields are not set
            if (!(object instanceof Emp)) {
                return false;
            Emp other = (Emp) object;
            if ((this.name == null && other.name != null) || (this.name != null && !this.name.equals(other.name))) {
                return false;
            return true;
        @Override
        public String toString() {
            return "entity.Emp[name=" + name + "]";
    //empsession.java--session file in ejb module
    package session;
    import entity.*;
    import javax.ejb.Stateless;
    import javax.persistence.EntityManager;
    import javax.persistence.PersistenceContext;
    @Stateless
    public class empsession implements empsessionRemote {
        @PersistenceContext(unitName = "EJBmodulePU")
        private EntityManager em;
        public void addemp(String name, String address) {
            Emp objemp=new Emp(name,address);
            em.persist(objemp);
    //empsessionRemote.java--remote file for sessionbean
    package session;
    import javax.ejb.Remote;
    @Remote
    public interface empsessionRemote {
        void addemp(String name, String address); 
    //empMB.java--managed bean file in web module
    package mbean;
    import javax.faces.bean.ManagedBean;
    import javax.faces.bean.RequestScoped;
    import javax.naming.InitialContext;
    import session.empsessionRemote;
    @ManagedBean(name="empMB")
    @RequestScoped
    public class empMB {
        private String name;
        private String address;
        public String getAddress() {
            return address;
        public void setAddress(String address) {
            this.address = address;
        public String getName() {
            return name;
        public void setName(String name) {
            this.name = name;
        /** Creates a new instance of empMB */
        public empMB() {
        public void empadd()
            try
            InitialContext ic = new InitialContext();
            empsessionRemote esr=(empsessionRemote)ic.lookup(empsessionRemote.class.getName());
            esr.addemp(name, address);
            catch(Exception ex)
    }//AddEmp.jsp --jsf page in web module
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
    <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <f:view>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>JSP Page</title>
    </head>
    <body>
    name:
    <h:inputText id="txt1" value="#{empMB.name}"></h:inputText>
    address:
    <h:inputText id="txt2" value="#{empMB.address}"></h:inputText>
    <h:commandButton id="btnadd" value="submit" action="#{empMB.empadd}"></h:commandButton>
    <h1><h:outputText value="Hello World!"/></h1>
    </body>
    </html>
    </f:view>
    //faces-config.xml
    <faces-config version="2.0"
    xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd">
    <managed-bean>
    <managed-bean-name>empMB</managed-bean-name>
    <managed-bean-class>mbean.empMB</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    <navigation-rule>
    <from-view-id>/AddEmp.jsp</from-view-id>
    <navigation-case>
    <from-outcome>AddEmp</from-outcome>
    <to-view-id>/index.jsp</to-view-id>
    </navigation-case>
    </navigation-rule>
    </faces-config>
    m using toplink provider and mysql db
    wating for positive reply..
    thanks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    I think this question would be more appropriate in a forum devoted to database or JPA topics.

  • Can not insert Data

    Hi all ;
    when tryiing to call a stored procedure from java session bean ,i am getting this error message:
    [BEA][Oracle JDBC Driver][Oracle]ORA-20000: Records are not inserted into the stagging table
    ORA-06512: at "APPS3_MTNAOL.MTN_INV_MANAGER", line 2529
    ORA-06512: at line 1
    but when i am calling the same stored procedure from sql developper for test ,with the same input data, it is working fine. what can be the issue?

    ORA-20000 is a user-defined Error in the database. Please check with whoever developed the code within your organization on what that means.
    but when i am calling the same stored procedure from sql developper for test ,with the same input data, it is working fine. what can be the issue?Obviously, you are not able to recreate the error from 'sql developer'.
    Edited by: RPuttagunta on Dec 7, 2010 3:06 PM

  • Can not insert/update data from table which is created from view

    Hi all
    I'm using Oracle database 11g
    I've created table from view as the following command:
    Create table table_new as select * from View_Old
    I can insert/update data into table_new by command line.
    But I can not Insert/update data of table_new by SI Oject Browser tool or Oracle SQL Developer tool .(read only)
    Anybody tell me, what's happend? cause?
    Thankyou
    thiensu
    Edited by: user8248216 on May 5, 2011 8:54 PM
    Edited by: user8248216 on May 5, 2011 8:55 PM

    I can insert/update data into table_new by command line.
    But I can not Insert/update data of table_new by SI Oject Browser tool or Oracle SQL Developer tool .(read only)so what is wrong with the GUI tools & why posting to DATABASE forum when that works OK?

  • 2lis_11_VAITM not inserting all data in ODS

    Hello Gurus.
    I'm using extractor 2lis_11_VAITM, when I test the extractor in RSA3, it is bringing me all registers of table VBAP, but when I load this extractor into an ODS in BW, It is not inserting all registers into the cube, some "return orders" are missing, how can i solved this problem ????   I'm using in ODS key Doc number and position.
    THANKS IN ADVANCED.

    Hi Sudheer, ther is no selections during data load, and also ther isn't any routine(either in transfer or update rules).  It's supposed that all registers have to be loaded to the ODS no ?? because i'm using key Doc number and positions, so I want all documents with all positions to be loaded, but this is not happening, there are missing the "'return orders'".
    Any other idea of why this is happening ??

  • In new iPad 4g, when sim card is not inserted, I can not find the enable 4g tap in the setting-cellular data tap, can some one please tell me if this is normal and if so, then when it appears, thanks

    In new iPad 4g, when sim card is not inserted, I can not find the enable 4g tap in the setting-cellular data tap, can some one please tell me if this is normal and if so, then when it appears, thanks

    If the SIM is out of your phone, find my phone needs a data connection, so could use wifi - IF in range of a wifi and one that it can join (ie. a known network or one that is wholly open so no login required).  Your phone could also simple be turned off, so not findable, or it may have been restored (plugged into iTunes and restored as new) again, making it permanently unfindable.  Honestly, for someone stealing an iPhone, this is likely the first thing they do - restore as new and it is theirs forever.
    Find my iPhone is tied to the users iCloud account - the find function is part of the iCloud account's services and it communicates with the iCloud servers over a data connection - either wifi or 3G.
    Have you set up your iCloud account on your replacement phone, and is it working properly on that phone?

  • Unable to find data source null [Caused by: jdbc/Apps1DataSource not found]

    Hi,
    I am using OA Adapter which listens to an EBiz HRMS event, and I am encountering the following error in $Home\j2ee\oc4j_soa\log\oc4j_soa_default_group_1\oc4j\log.xml while registering the ESB service.
    Error details:
    <MSG_TEXT>Failed to process control event for Service "DefaultSystem.SyncWorkerPartyEbizOAAdapter" due to an error while adding the Service! Reason : oracle.tip.esb.server.common.exceptions.BusinessEventFatalException: An unhandled exception has been thrown in the ESB system. The exception reported is: "ORABPEL-12517
    AdapterFrameworkImpl::endpointActivation - Endpoint Activation Error.
    The Resource Adapter Oracle Applications Resource Adapter was unable to activate the endpoint oracle.tip.adapter.apps.AppsWFBesQueueDequeueActivationSpec:{MessageSelectorRule=tab.user_data.event_name = 'oracle.apps.per.api.person.update_person', QueueName=WF_BPEL_Q, Consumer=ORA_6krj2dpn70s36c1g6h1k8dhi8h, DatabaseSchema=APPS, AppsEventSchema=ANY_SCHEMA} due to the following reason: javax.resource.ResourceException: Unable to find data source null Caused by: jdbc/Apps1DataSource not found
    Please correct the reported issue and redeploy the BPEL process.
         at oracle.tip.adapter.fw.jca.AdapterFrameworkImpl.endpointActivation(AdapterFrameworkImpl.java:566)
         at oracle.tip.esb.server.service.impl.inadapter.ESBActivationAgent.activateInboundJcaEndpoint(ESBActivationAgent.java:390)
         at oracle.tip.esb.server.service.impl.inadapter.ESBActivationAgent.performEndpointActivation(ESBActivationAgent.java:306)
         at oracle.tip.esb.server.service.impl.inadapter.ESBActivationAgent.activateEndpoint(ESBActivationAgent.java:236)
         at oracle.tip.esb.server.service.impl.inadapter.ESBActivationAgent.activateEndpoint(ESBActivationAgent.java:209)
         at oracle.tip.esb.server.service.impl.inadapter.InboundAdapterService.activateEndpoint(InboundAdapterService.java:177)
         at oracle.tip.esb.server.service.impl.inadapter.InboundAdapterService.activateService(InboundAdapterService.java:119)
         at oracle.tip.esb.server.service.EsbServiceFactory.activateEsbService(EsbServiceFactory.java:222)
         at oracle.tip.esb.server.service.EsbServiceFactory.addEsbService(EsbServiceFactory.java:240)
         at oracle.tip.esb.server.common.RuntimeESBSystem.addService(RuntimeESBSystem.java:211)
         at oracle.tip.esb.common.system.ServiceEventsHandler.handleCreateService(ServiceEventsHandler.java:72)
         at oracle.tip.esb.common.system.MetadataChangeListener.handleServiceEvent(MetadataChangeListener.java:136)
         at oracle.tip.esb.common.system.MetadataChangeListener.onMetadataChange(MetadataChangeListener.java:85)
         at oracle.tip.esb.common.control.ControlMessageHandler.handleMessage(ControlMessageHandler.java:115)
         at oracle.tip.esb.server.dispatch.agent.ESBWork.process(ESBWork.java:162)
         at oracle.tip.esb.server.dispatch.agent.ESBWork.run(ESBWork.java:120)
         at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
         at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
         at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.resource.ResourceException: Unable to find data source null
         at oracle.tip.adapter.apps.AppsManagedConnectionFactory.getDataSourceConnection(AppsManagedConnectionFactory.java:411)
         at oracle.tip.adapter.apps.AppsManagedConnectionFactory.getConnection(AppsManagedConnectionFactory.java:288)
         at oracle.tip.adapter.apps.AppsManagedConnection.getConnection(AppsManagedConnection.java:85)
         at oracle.tip.adapter.apps.AppsConnection.getJdbcConnection(AppsConnection.java:70)
         at oracle_tip_adapter_apps_AppsConnection_Proxy.getJdbcConnection()
         at oracle.tip.adapter.aq.database.MessageReader.establishDBconnection(MessageReader.java:358)
         at oracle.tip.adapter.aq.database.MessageReader.&lt;init>(MessageReader.java:265)
         at oracle.tip.adapter.aq.inbound.AQActivationSpecDequeuer.init(AQActivationSpecDequeuer.java:142)
         at oracle.tip.adapter.aq.AQEndpoint.&lt;init>(AQEndpoint.java:99)
         at oracle.tip.adapter.aq.AQResourceAdapter.endpointActivation(AQResourceAdapter.java:73)
         at oracle.tip.adapter.apps.AppsResourceAdapter.endpointActivation(AppsResourceAdapter.java:147)
         at oracle.tip.adapter.fw.jca.AdapterFrameworkImpl.endpointActivation(AdapterFrameworkImpl.java:541)
         ... 20 more
    Caused by: javax.naming.NameNotFoundException: jdbc/Apps1DataSource not found
         at com.evermind.server.rmi.RMIServerContext.lookup(RMIServerContext.java:207)
         at com.evermind.server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:257)
         at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:197)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at oracle.tip.adapter.apps.AppsManagedConnectionFactory.getDataSourceConnection(AppsManagedConnectionFactory.java:408)
         ... 31 more
    </MSG_TEXT>
    I have added the connection properties in $Home\j2ee\oc4j_soa\application-deployments\defaul\oc4j-ra.xml as follows:
    <connector-factory location="eis/Apps/apps1" connector-name="Oracle Applications Adapter">
         <config-property name="xADataSourceName" value="jdbc/AIADataSource"/>
         <config-property name="dataSourceName" value=""/>
         <connection-pooling use="none">
         </connection-pooling>
         <security-config use="none">
         </security-config>
    </connector-factory>
    Please correct me if the connection properties are wrong.
    I tried AppsEventSchema with 'NO-SCHEMA' and 'ANY-SCHEMA' also.
    If I use File Adapter I was able to register the ESB and instances were created successfully.
    My versions:
    JDEV:      10.1.3.3.0
    SOA:     10.1.3.3.0
    I have done a lot of research on this but in vain. Is there any patch for rectifying this error?
    Help me on this issue pl.
    Regards
    RK

    You need to check your datasource name jdbc/AIADataSource
    Check out your data-sources.xml to make sure you didn't mistype it.

  • Is there any tool to check whether the proper data is inserting or not?

    Hi,
    We have different products A,B and C.
    whenever user crates an account under these products some X,Y,Z table gets updated.
    If user1 creates an account under A then X, Y, Z tables update with some data along with some ID
    If user2 creates an account under A then X, Y, Z tables update with SAME DATA along with some other ID
    Is there any tool to check whether the proper data is inserting (same data is inserting every time) or not?
    p.s : if this thread is not related to this forum .. where can I post?
    Thanks,
    Praveen

    Is there any tool to check whether the proper data is inserting (same data is inserting every time) or not?You need to check the code to see that. Is the update or insert on the table has from different places? In that case it would be better to have them moved to a centralized place may be a package.
    If you want to restrict the columns to specific values then you can use constraints.

  • RFC is not inserting the data

    Hi all,
                    I did File to RFC scenario. My problem is when i send message the message is showen as processed successfully in SXMB_MONI. But RFC is not inserting my data in a specified table. I couldn't found where i am wrong.
    my sender strucure is:
    <MANDT>
    <WORKDATE>
    <EMPLOYEENUMBER>
    <CATSHOURS>
    R3 table name is ZTESTCATSDB
    My RFC source code is :
    FUNCTION Z_POST_TEST.
    ""Local Interface:
    *"  TABLES
    *"      CATSRECORDS_IN STRUCTURE  ZTESTCATSDB OPTIONAL
    *"      RETURN STRUCTURE  BAPIRET2 OPTIONAL
      data wa_cats like ZTESTCATSDB.
      data wa_catdb like ZTESTCATSDB.
      data ztab  like ZTESTCATSDB OCCURS 0 WITH HEADER LINE.
      loop at catsrecords_in into wa_cats.
        ztab-WORKDATE = wa_cats-workdate.
        ztab-empnum = wa_cats-empnum.
        ztab-catshours = wa_cats-catshours.
        append ztab.
      endloop.
      insert ZTESTCATSDB from table ztab.
      commit work.
    ENDFUNCTION.
                          Plese tell me any one where i am wrong it is very urgent for me.
    Thanks,
    Satish.

    You should always check the system return code (sy-subrc) after any insert and update statement like this:
    insert ...
    if sy-subrc > 0.
      message E...
    else.
      commit work.
    endif.
    Hope that helps,
    Stefan

  • Could not insert Data in to the table

    hello friends
    I have some pbm in inserting values in to sqlserver database table.I could not insert values to the
    table having varchar datatype fields.partyType is a field name of varchar type.when i try to insert
    "LCL" for that field it throws following exception.
    java.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL Server]The name 'LCL'
    is not permitted in this context. Only constants, expressions, or variables allowed here. Column
    names are not permitted.
    sometime it throws
    java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Optional feature not
    implemented
    If i give only numeric values to those fields it accepts.ie table accepts only integer values for all the fields.I use prepared statement for inserting data.I am inserting data to 4 tables at a time.I use ODBC driver.can u tell me where would be the problem??</p>
    with regards
    devi

    Hmmmm...
    ssniazi does nothing but ask for contact information or recommend Oracle products.
    Based on this I consider it likely that this person is some sort of sales representative either directly or indirectly associated with Oracle.
    I personally wouldn't provide any contact information to this person. Nor would I accept any advice until this person starts to actually provide some solutions or at least correctly reveals any financial interests that they might have.
    In addition I believe ssniazi is in violation of the conduct code of this website because ssniazi is requesting information which will be used by a business entity without telling the users that it will be used in that way. And I expect that Oracle itself would frown on such activities.
    2.3 You agree that You will not use the Website to:...(g) collect or store personal data about other users unless specifically authorized by such users.

  • JDBC Driver not found when connecting to Data Federator XI 3.0 SP3

    Hello,
    I am trying to connect Crystal 2008 to Data Federator however I am getting the Error
    Failed to open connection.
    Details: JDBC Driver not found.
    The JDBC Drivers are installed and working for the Universe Designer, however I am unable to get it working for Crystal. I am using the following connection parameters on Crystal:
    Connection URL: jdbc:datafederator://<<servername>>:3055/<<catalog>>
    Database Classname: com.businessobjects.datafederator.jdbc.DataFederatorDriver
    Any Advice on what I may have missed?

    The issue was solved, thanks to Patric Wan:
    u201CFailed to open the connection. Details: JDBC driver not found.u201D
    This means Data Federator JDBC driver was not added to:
    C:\Program Files\Business Objects\common\<version>\java\CRConfig.xml
    How to connect the Data Federator Server using JDBC?
    1. Retrieve the following files from the machine where Data Federator is installed, from the directory [data-federator-installation-dir]/JdbcDriver/lib.
        - thindriver.jar
        - avalon-framework-4.1.5.jar
        - jacorb.jar
        - log4j-1.2.8.jar
        - logkit-1.2.jar
    2. Copy these files to a directory of your choice ([your-jdbc-driverdirectory]).
    3. Add [your-jdbc-driver-directory]/thindriver.jar to CRConfig.xml   <Add to Classpath tag, you can refer to original sample.CRConfig.xml should be at: C:\Program Files\Business Objects\Common\4.0\java\CRConfig.xml, or search your BOBJ products install to find this file>
    4. URL: jdbc:leselect://<host>[:<port>][/[<catalog>]][[;param-name=value]*]
    Class Name : LeSelect.ThinDriver.ThinDriver
    Edited by: Craig Sander on Feb 12, 2011 8:22 PM

  • Data is not inserting into table

    Hi Team,
    I am inserting data into a custom table.
    but my records are not inserting into table
    //CO File
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("createEmployee");
    // am.invokeMethod("init");
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if (pageContext.getParameter("Apply") != null)
    OAViewObject vo = (OAViewObject)am.findViewObject("TestEmpVO1");
    String NAME = (String)vo.getCurrentRow().getAttribute("Name");
    Number employeeNumber = (Number)vo.getCurrentRow().getAttribute("Num");
    String NUM = String.valueOf(employeeNumber.intValue());
    am.invokeMethod("apply");
    MessageToken[] tokens = { new MessageToken("EMP_NAME", NAME),
    new MessageToken("EMP_NUMBER", NUM) };
    OAException confirmMessage = new OAException("AK", "FWK_TBX_T_EMP_CREATE_CONFIRM", tokens,
    OAException.CONFIRMATION, null);
    pageContext.putDialogMessage(confirmMessage);
    else if (pageContext.getParameter("Cancel") != null)
    am.invokeMethod("rollbackEmployee");
    TransactionUnitHelper.endTransactionUnit(pageContext, "empCreateTxn");
    // End CO
    //AMImpl
    package oracle.apps.fnd.framework.toolbox.labsolutions.server;
    import oracle.jbo.Row;
    import oracle.jbo.Transaction;
    import oracle.jbo.RowSetIterator;
    import oracle.jbo.domain.Number;
    import oracle.apps.fnd.common.MessageToken;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.OARow;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.fnd.framework.server.OAViewObjectImpl;
    // --- File generated by Oracle Business Components for Java.
    public class TestEmpAMImpl extends EmployeeAMImpl
    * This is the default constructor (do not remove)
    public TestEmpAMImpl()
    * Container's getter for TestEmpVO1
    public TestEmpVOImpl getTestEmpVO1()
    return (TestEmpVOImpl)findViewObject("TestEmpVO1");
    * Creates a new employee.
    public void createEmployee()
    OAViewObject vo = (OAViewObject)getTestEmpVO1();
    // Per the coding standards, this is the proper way to initialize a
    // VO that is used for both inserts and queries. See View Objects
    // in Detail in the Developer's Guide for additional information.
    if (!vo.isPreparedForExecution())
    vo.executeQuery();
    Row row = vo.createRow();
    vo.insertRow(row);
    // Required per OA Framework Model Coding Standard M69
    row.setNewRowState(Row.STATUS_INITIALIZED);
    } // end createEmployee()
    public void apply()
    getDBTransaction().commit();
    * Sample main for debugging Business Components code using the tester.
    public static void main(String[] args)
    launchTester("oracle.apps.fnd.framework.toolbox.labsolutions.server", "TestEmpAMLocal");
    //End AmImpl
    Please suggest.
    Thanks,
    Ajit

    Ajit,
    Its always a good idea to close the thread with an explanation. It will help others whenever they are into similar situation.
    --Shiv                                                                                                                                                                                                                                                                                               

  • BDC not inserting data in mandatory fields of MM01

    Suddenly My BDC for sales maintenance View is not working as it is not inserting data in Mandatory fields.?can any one tell me the reason

    Hi Satyanarayan,
    1. Check ur code in debug to see if your internal table contains value in mandatory fields
    2. Try executing BDC program online to figure out the problem....
    3. Check ur code to see whether u r assigning values to this fields...
    Let me know if these things are ok in ur code...
    Enjoy SAP.

  • File to RFC problem- data is not inserting into ztable in R3 system

    Hi
    i have done File to RFC scenario which picks data from flat file and inserts into ztable via RFC in R3. but while testing my scenario everything is successful in XI monitoring (Successful flag in MONI and RWB) and in auditlog message status is DLVD.
    it seems to be everything successful in XI and RFC call also successful in R3 system.
    but for some reason data is not inserting into table (RFC is used to insert data into ztable)
    Is there any way to debug RFC call excecution in XI..?
    RFC code is like this:
    insert ZMM_AUTO_GR from INPUT_TABLE.
    commit work.
    END FUNCTION.
    please advice what could be the reason not inserting into table.
    Help would be appreciated.
    Regards,
    Rajesh

    Hi Praveen,
    please see audit log- from communication channel monitoring..
    Receiver channel 'CC_INCA_RFC_SAPECC_Receiver' for party '', service 'R3DCLNT210' (internal name 'RfcClient[CC_INCA_RFC_SAPECC_Receiver]')
    Client data: {jco.client.lang=EN, jco.client.snc_mode=0, jco.client.client=210, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=jsaha, jco.client.sysnr=00, jco.client.ashost=ausr3devdc02}
    Repository data: {jco.client.lang=EN, jco.client.snc_mode=0, jco.client.client=210, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=jsaha, jco.client.sysnr=00, jco.client.ashost=ausr3devdc02}
    Current pool size: 1, maximum pool size : 1
    Channel History
    - OK: 2008-07-28 04:32:04 PDT: Message processed for interface ZAUTO_GR_STAGE_INCA
    - OK: 2008-07-28 04:31:04 PDT: Message processed for interface ZAUTO_GR_STAGE_INCA
    - OK: 2008-07-28 03:56:56 PDT: Message processed for interface ZAUTO_GR_STAGE_INCA
    - OK: 2008-07-28 03:49:04 PDT: Message processed for interface ZAUTO_GR_STAGE_INCA
    - OK: 2008-07-28 03:48:04 PDT: Message processed for interface ZAUTO_GR_STAGE_INCA

  • Not inserting date field-very urgent

    thanks in advance any help appreciated
    im getting all the datas in csv as an array and inserting using the insert method, the date(not datetime) field is not inserting (vb.net), and not showing any error
    im getting the datas as array string wat iv to do while inserting ive used all the conversion techniques but still not inserting

    Hi,
    You must indicate the "specified" attribute in order to inset or update any field that is not string type.
    For example, I guess that your program do something like:
    obj.date=%%date expression%%
    but you must do also:
    obj.date_specified=true
    That is for any field like number, date, boolean, etc...that is not a string.
    Hope it helps.
    Kim.

Maybe you are looking for

  • Word templates as activity attachments

    We are attaching Word docs to CRM activities. We would like to use the document create functionality that is a part of the attachment tool bar in an activity. Is there any way to call a specific word document template without setting the template as

  • Replacing older version of Aperture with newest one.

    I purchased my 2011 MacBook Pro used and some software was left on it, mostly iLife stuff. Apparently Aperture was left on it as well and I recently realized that. It's definitely Aperture 3, but I'm not sure which version and I don't know if it's a

  • SR-3-4636879071

    Hi, Alcoa has raised above mentioned SR. The requirement is to compare current application/database environment setup with their test instance and our Alcoa (UAT2) instance. The following is the update from customer: "As d760, one of our test instanc

  • Amazon S3 Backup with Cisco PIX 501 Router - slowww

    We are in the process of setting up an Amazon S3 network backup of the NAS server we have in our office.  We are using a Synology NAS to backup to Amazon s3, and we use a Cisco PIX 501 to secure our network.  The backup from the NAS to Amazon is goin

  • How do I expand my mailbox?  I hit the hide button to the left of inbox and now I can't seem to re-open it - there is no arrow to the left

    Help - I hit the button to hide the mailboxes within my inbox on Mail and now I can't expand it open again.  There is no little arrow to the left of the word Inbox to expand it.  Any ideas welcome