Error in updationg the opportunity in data Migration program

Hi,
  I am getting an error in updationg the opportunity in data Migration program. I am using
  CALL FUNCTION 'BAPI_BUSPROCESSND_CHANGEMULTI'
          TABLES
            HEADER        =    li_header
            ITEM          =        lt_bapibus20001_item
            OPPORTUNITY   = lt_bapibus20001_opportunity
            INPUT_FIELDS  = lt_bapibus20001_input_fields
            PARTNER       = lt_bapibus20001_partner_ins
            STATUS        = lt_bapibus20001_status_ins
            PRICING       = li_pricing
            TEXT          = li_text
            RETURN        = lt_bapiret2.
after save when it is to be commited. I am getting the following error.
Express Document: Updation terminated author by "XYZ"
Thanks in advance.

HI Piyush,
Tyr to use CRM_order_maintain. If you are trying to change partner,pricing,status,header,item then ORDER_MAINTAIN is the good one to use.
Its very easy to identify the parameters that need to be populated for this FM

Similar Messages

  • Data Migration program for opportunity

    Hi SAP Experts,
         Please can one help with the Data Migration program for opportunity.
    I want to know the approach.
    These are few mandatory filed
    1.  Opportunity Name
    2.  Account
    3.  Contact
    4.  Opportunity Owner
    5.  Total Estimate/Curr*  value_ currency
    6. Project start date   ---
    7. Stage 
    8. Probability 
    9. Status 
    10. Product with Item category ZSOL
    11. Service
    12.  Service Offering 
    Regards,
    Jaya

    Hi,
    As suggested by Kai you can use LSMW. This will be better option as it is very easy to use and you can also write routines while mapping the fields. You can also use IDOCs for importing data from Legacy system.
    If you want to write a report then you can use BAPI_BUSPROCESSND_CREATEMULTI. Please refer to the documentation of this BAPI. This BAPI internally calls CRM_ORDER_MAINTAIN. Do not forget to call BAPI_BUSPROCESSND_SAVE to commit your data.
    Regards,
    Sandeep

  • The standard SAP data transfer program for vendors

    Hi Experts,
    Could u please tell me that wt is the program which is  <b>"the standard SAP data transfer program for vendors"</b>?
    could you plz tell me what exactly is it?
    and itz tcode..
    is it the "XK01" only or anything other?
    thnx
    Message was edited by: sey ni

    Hi,
    Pl use RFBIKR00 for Vendor Matser upload. Th eProgram documentation is very useful too.
    Regards,
    Suresh Datti

  • "Exception Processing Message" error when clicking the Accessing Server Data link on the start page

    When I first started the application, I click the Accessing Server Data link on the start page.  I immediately got the error "Exception Processing Message c0000013 Parameters 75b6bf7c 4 75b6bf7c 75b6bf7c in a dialog box titled "Windows - No Disk".  I had to used Task Manager to remove the box after closing Flash Builder 4.  I then tried the video tutorial on "PHP Services in Flash Builder 4".  I keep receiving an error during service introspection trying to connect to the PHP class.  It was the same error as the other individual "Cannot Connect to PHP Service".  So I tried another tutorial and generated a sample PHP class.  I moved a datagrid on to the stage, droped in the getAllItems function, and configured the return type.  However, when I ran the app, I received the same error "Exception Processing Message" again.  I have attached the screenshot of the error in addition to my phpinfo and log files.

    "The exception process message" is definitely a issue. Is it happening consistently, if so can you file a bug at bugs.adobe.com/flex and give out your machine config details, and the error log.
    With regards to generating a new php file and the introspection error that you are getting, looking at the logs it probably is two fold.
    First off the name of the file and the class name should be the same, are you having employeeServices as the name of the class in employeeServices.php file.
    Second, It seems prior to generating this new file, you had a syntax error at line 5.
    It would be easier to figure out what the error is, if you can also attach the php file, by removing any sensitive information in that.
    Hope this helps.
    Thanks
    -Sunil

  • How to improve the performance of the Data Migration program ?

    Hi All,
    I have written a program for Data Migration of Opportunities, but it is taking a lot of time to create or update opportunities.
    I have used so many function modules like
    " 'CONVERSION_EXIT_ALPHA_INPUT' " -- 8 TIMES
    "GUID_CREATE'"  -- 4 TIMES
    "CRM_ORDER_READ" -- 1 TIME
    "CONVERT_INTO_TIMESTAMP" -- 4 TIMES
    "CRM_ORDER_MAINTAIN" --- 1 TIME
    "CRM_ORDERADM_H_CHANGE_OW" - 1 TIME
    "'BAPI_BUSPROCESSND_SAVE" -- 1 TIME
    "BAPI_TRANSACTION_COMMIT" -- 1 TIME
    "BAPI_BUSPROCESSND_CREATEMULTI"    OR   "BAPI_BUSPROCESSND_CHANGEMULTI"
    and all these function modules are for every record in a loop. for 1000 records it is taking 75 min approximately. How i can improve its performance ?

    Hi Raman,
    For Performance improvment do the following things:
    First Remove the CRM_ORDER_READ and use the tables to get the data and then use Read Statement on Internal Tables.
    Second, Instead of BAPI_BUSPROCESSND_CREATEMULTI use BAPI_OPPORTUNITY_CREATEMULTI and then use BAPI_TRANSACTION_COMMIT. No need to use 'BAPI_BUSPROCESSND_SAVE.
    Third thing, Not sure why you are creating guid 4 times, No need to generate guid if you use BAPI_OPPORTUNITY_CREATEMULTI. Guid will get generated.
    Fourth, instead of using 'CONVERSION_EXIT_ALPHA_INPUT' multiple times, create a variable of req. length and then pass the values.
    Hope this helps.

  • Error in uploading the material master data

    HI friends,
    I have trasferred the material master data through idocs from one server to another server(with in SAP only).
    Outbound side the status of idoc is 3 which is OK.But inbound side ,the status is 51 and the error is 'Function module not allowed  IDOC_INPUT_MATMAS01'.I debugged the function module in which the control records , data records are getting transferred correctly and also the segments data is also fine.But , i am not able to rectify  the error.
    Can anybody give the solut

    Hi mahesh,
    check the proces code may be having the FM module 'IDOC_INPUT_MATMAS01'. change with some other FM for processing the IDOC. you need check with different ways what is the problem. better dont stick on one thought.
    ~linganna

  • Upgrading the new hardware, data migration

    Dear Forum;
    I need to upgrade the hardware for the IPCC solution we have without changing the versions, the following servers need to have the new hardware:
    1) Call Managers (Publisher + Subscribers).
    2) RGRs
    3) PGs
    4) HDS + ICM + Admin + Web view
    As versions will not be changed for all the above, what is the best method to migrate the configurations and scripts in a safe fast way? Can someone advise?
    Regards
    Bilal

    1) In the DC storey, I did not understand the meaning of: promote them to ADs? By the way: Do u mean to install the Domain Controller and AD first and then to promote them to ADs?
    You did not say if you wanted a tech refresh on the Domain Controllers or not. In fact you did not say if ICM has a dedicated domain or is using the corporate domain.
    If you do have to add new hardware for the Domain Controllers, then I gave you the method:
    1. Add the servers to the existing domain.
    2. Promote them to DCs (using dcpromo) - now your domain has 4 DCs.
    3. Move the FSMO roles from the machine they are now on (probably DC2) to DC4
    4. Move the GC (global catalog) from the machine it is now on (probably DC1) to DC2. Wait a few days for replication of AD and DNS to settle down.
    5. Use dcpromo to demote DC1 and DC2 to become ordinary servers.
    6. Change these machines to be out of the domain (workgroup)
    7. Remove servers. Clean up DNS.
    2)  About the AWs, why to "Add to domain, make into AWs, not HDS"? I mean, why not the HDS? Also what do u mean by promote them to be HDS?
    You should always make your AW/HDS in two phases. First, run setup from the media and make a real-time distributor - primary, no secondary. Install the SR. Make sure the real-time feed to your CCs is working. Set it to manual. Now run ICMSetup.exe from the ICM bin and "promote" to an HDS - check the HDS box. It will complain that you have not finished the install because you have not created the HDS DB with ICMDBA. Ignore this but don't start the Distributor. Use SQL backup/restore to build the HDS. Now start the Distributor and check that Replication is all working - increase the trace on rpl to 0xfff so you can see the msgs - check on the logger side with similar trace mask.
    3) About the Central Controller: there are the Logger DB, will this DB has some missing as there is not method to recover this for the last moments (before moving live)?
    If you do it correctly using SQL backup/restore you will not lose data. If you have to keep the contact center running on side B while you do side A, things will be a bit more complicated - read the Upgrade Guide to see how logger synchronization solves this.
    As I said, if you can have a 12 hour maintenance window for the migration of the CC and bring the whole contact center down to migrate, life will be easier.
    As I see the most critical part in this upgrade is not loosing the configuration and it is not the need to build every thing manual (as the moving for registry is easy, and the restore for the database is easy) but the system to become up and running is also easy, but the hard part is the avoid loosing the data. Correct? All the need to have the training is to be around how to avoid loosing the data? But no worry that service will be up and running by having the restore for the database and moving the registry.
    I don't follow that paragraph. Backup and restore and import of the registry solves this. Nothing will be lost. Read the Upgrade Guide again.
    Do you have a lab system you can practice the migration on? Without this, the risk is huge. You must get a step by step plan written down, and trial this on the lab system.
    Regards,
    Geoff

  • Error during installing the OEHR sample data application on Apex

    Hi,
    I have installed Oracle XE 10g edition and on the top I have installed Oracle Apex 3.2 on my laptop. I am able to login with SYSTEM as workspace and username and with password given during installation. I have created a user with developer and user privileges and tried to import the OEHR application in to the work space SYSTEM for the USER I have created. When I try to install the OEHR sample data I encounter with an error
    ***" ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-01003: no statement parsed &lt;pre&gt;begin wwv_flow.g_import_in_progress := true; end; &lt;/pre&gt;"***
    Can any1 please suggest me, how to work around the issue and use the APEX installed on my laptop.

    Hi,
    my first try to install the OEHR sample data on Apex was also not successfull.
    After checking the User Guide and the Forum I increased the space quota of the waorkspace to 20MB and changed the language in the browser to en-us (see http://kr.forums.oracle.com/forums/thread.jspa?threadID=642849).
    The second try was then succesfull.
    Peter

  • Errors occurred during the extraction -  CRM Data Source

    Hello Experts
    I am working on CRM Datasource 0CRM_SRV_PROCESS_H, when I tried to run the infopackage for Init I am getting short durmp, for   "MESSAGE_TYPE_X" "      "SAPLRSATREE" or "LRSATREEF28"   "RSATREE_START_ACTIVATION" and says Source Sytem Error in the Log.  To cross verify I tried RSA3 Extract checker, I found error "Errors occurred during the extraction. This is happening in Production System, whereas same is working in Dev perfectly.
    Basically, I am using a BI intance within Solution Manager System.  Need your help urgently.
    Regards
    Aftab

    HI,
    Can you check the whether the source system connection is active by going RSA1>Source system Tab>Right click on the CRM source system-->Check if the connective is acyive?
    check whether already init has been done or what.If you have transported the infopackage also.please go into the infopackage cheduling screen in the scheduler tab check intialisation to the soirce system.whether there is any request.if it is there try to do delete the request  or if u cant under stand this in the info package scheduling screen  in the updae checkare you able to see delta option
    Let me know if it works.
    Cheers,
    Vikram

  • Error regarding to the configuration of "Data Source" in Struts-config.xml

    Hi,
    Any 1 just help me out. I am using NetBeans 4.1 bundeled with Sun App server 8.1. Now I wanted to make the database connectivity with the front -end using"Data-source" tag in the struts-config.xml file . I am using the Oracle 9i as database.But I am not able to do it , it's showing me again and again error.I got realy fed up with this. I have checked the code as well as the the struts-config.xml file syntaxes with many other books and online resources, I couldn't find any sort of anomaly over here.So some 1 plzz help me regarding this as early as possible.I am attaching the Struts-config .xml file code as well as the error messaage over here.
    Struts-config.xml file code is...
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE struts-config PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
    "http://struts.apache.org/dtds/struts-config_1_2.dtd">
    <struts-config>
    <!-- ============================================ Data Source Configuration -->
    <data-sources>
    <data-source type="org.apache.commons.dbcp.BasicDataSource" key="RoseKey">
    <set-property
    property="driverClassName"
    value="oracle.jdbc.driver.OracleDriver" />
    <set-property
    property="url"
    value="jdbc:oracle:thin://10.31.8.49:1521:USGFS" />
    <set-property
    property="username"
    value="EPTP2DEV" />
    <set-property
    property="password"
    value="EPTP2DEV" />
    <set-property
    property="maxActive"
    value="10" />
    <set-property
    property="maxWait"
    value="5000" />
    <set-property
    property="defaultAutoCommit"
    value="false" />
    <set-property
    property="defaultReadOnly"
    value="false" />
    <!--set-property
    property="validationQuery"
    value="SELECT COUNT(*) FROM address" /-->
    </data-source>
    </data-sources>
    <!-- ======================================== Form Bean Definitions -->
    <form-beans>
    <form-bean
    name="AddressForm"
    type="app.AddressForm"/>
    <form-bean
    name="DVDForm"
    type="app.DVD"/>
    </form-beans>
    <!-- =================================== Global Forward Definitions -->
    <!--global-forwards>
    <forward
    name="logoff"
    path="/Logoff.do"/>
    <forward
    name="logon"
    path="/Logon.do"/>
    <forward
    name="welcome"
    path="/Welcome.do"/>
    </global-forwards-->
    <!--global-forward>
    <forward
    name="Address1"
    path="/pages/Address.jsp"/>
    </global-forward-->
    <!-- =================================== Action Mapping Definitions -->
    <action-mappings>
    <!--action
    path="/Welcome"
    type="org.apache.struts.actions.ForwardAction"
    parameter="/pages/Welcome.jsp"/>
    <action
    path="/Logon"
    type="org.apache.struts.actions.ForwardAction"
    parameter="/pages/Logon.jsp"/-->
    <action
    path="/Address"
    type="app.AddressAction"
    name="AddressForm"
    scope="request"
    validate="true"
    input="/pages/Address.jsp">
    <forward
    name="success"
    path="/pages/success.jsp"/>
    </action>
    <action
    path="/TestAction"
    type="app.TestAction">
    <forward
    name="testAction"
    path="/pages/TestAction.jsp"/>
    </action>
    <action
    path="/TestDVD"
    type="app.DVDAction"
    name="DVDForm">
    <forward
    name="testDVD"
    path="/pages/Movie.jsp"/>
    </action>
    <action
    path="/DataSource"
    type="app.TestDataSource">
    <forward
    name="joy"
    path="/pages/joy.jsp"/>
    </action>
    </action-mappings>
    <message-resources parameter="resources.ApplicationResources"/>
    </struts-config>
    And the error I am getting in the Server console is ..
    org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Io exception: The Network Adapter could not establish the connection)
    at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:855)
    at org.apache.commons.dbcp.BasicDataSource.setLogWriter(BasicDataSource.java:598)
    at org.apache.struts.action.ActionServlet.initModuleDataSources(ActionServlet.java:808)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:335)
    at javax.servlet.GenericServlet.init(GenericServlet.java:261)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:118)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1093)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:931)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4183)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4536)
    at com.sun.enterprise.web.WebModule.start(WebModule.java:241)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:827)
    at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:125)
    at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:147)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:809)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1279)
    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1006)
    at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:160)
    at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:238)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:918)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:905)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:427)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
    at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:288)
    at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:155)
    at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:258)
    at com.sun.enterprise.deployment.phasing.StartPhase.runPhase(StartPhase.java:87)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:361)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:396)
    at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:702)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:302)
    at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:357)
    at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
    at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
    at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
    at $Proxy1.invoke(Unknown Source)
    at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
    at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:38)
    at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:92)
    at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:69)
    at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:94)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
    at sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
    at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
    Caused by: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:333)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:404)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:468)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
    at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
    at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
    at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)
    at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
    ... 92 more
    AND..
    javax.servlet.UnavailableException: Initializing application data source RoseKey
    at org.apache.struts.action.ActionServlet.initModuleDataSources(ActionServlet.java:812)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:335)
    at javax.servlet.GenericServlet.init(GenericServlet.java:261)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:118)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1093)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:931)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4183)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4536)
    at com.sun.enterprise.web.WebModule.start(WebModule.java:241)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:827)
    at org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:125)
    at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:147)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:809)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632)
    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1279)
    at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1006)
    at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:160)
    at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:238)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:918)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:905)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:427)
    at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
    at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:288)
    at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:155)
    at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:258)
    at com.sun.enterprise.deployment.phasing.StartPhase.runPhase(StartPhase.java:87)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:71)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:633)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:361)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:396)
    at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:702)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:302)
    at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:357)
    at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
    at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
    at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
    at $Proxy1.invoke(Unknown Source)
    at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)
    at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:38)
    at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:92)
    at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:69)
    at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:94)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
    at sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
    at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
    at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
    at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
    Plz some1 help me as soon as possible with some ideas so that I can resolve the issue.

    Hi Amit Garg,
    <data-sources>
    <data-source type = "org.apache.commons.dbcp.BasicDataSource" key = "DBA">
    </data-source>
    <data-sources>
    <data-source type = "org.apache.commons.dbcp.BasicDataSource" key = "AISDEV">
    </data-source>
    </data-sources>
    u just configure ur struts-config.xml file in the above manner and use the following steps in ur action servlet to retrive the DataSource object
    getDatasource(request,"DBA") for accessing first datasource
    getDatasource(request,"AISDEV") for accessing second datasource.
    byeeeeee

  • Frm-41380 error - cannot set the blocks query data source

    Fairly new forms so bare with me. I am creating a form based on one table. This table has one column that is a nested table.
    table name: szrtime
    table columns: szrtime_code, szrtime_styp_list
    szrtime_styp_list is a table of varchar2(1).
    main block is szvtime_block
    the block that contains the nested table is szvtime_styp_block
    I read that I could use a WHEN_NEW_RECORD_INSTANCE trigger on the main block to display the related nested table. I have tried the folllowing:
    Declare
    select_stmt Varchar2(512) ;
    Begin
    If :szvtime_block.szvtime_code Is not null Then
         select_stmt := '(SELECT column_value FROM TABLE ( SELECT szrtime_styp_list FROM szrtime WHERE szrtime_code = ''' || :SZVTIME_BLOCK.SZVTIME_CODE || '''))';
         Go_Block('SZVTIME_STYP_BLOCK' );
         Clear_Block ;
         message('select_stmt = '||select_stmt);
    Set_Block_Property( 'SZVTIME_STYP_BLOCK', QUERY_DATA_SOURCE_NAME, select_stmt ) ;
    Execute_Query ;
    Go_Block('SZVTIME_BLOCK') ;
    Else
    Go_Block('SZVTIME_STYP_BLOCK' );
    Clear_Block ;
    Go_Block('SZVTIME_BLOCK') ;
    End if ;
    End ;
    The result is the frm-41380 error.
    I have tried change the query data source type on the nested table block to Table or From-clause but did not help. The select statement that is valid and returns the correct result in Toad.
    Any suggestions on what to look for? Thank you.
    Todd

    > But what is giving me pause is that the user will be updating, deleting, and inserting
    into this table and, of course, the nested table column.
    It would give me pause, too. I've never used nested tables, so I poked around in Forms on-line help. In Forms 6i, it specifically states that Forms does not support the Nested Table structure.
    In Forms 10g help, it describes Nested Table structures, but says NOTHING about how a form would handle it. And that implies to me that it is still not supported. So good luck.
    In addition to creating the view, you may need to provide your own nested table updating procedures via a package on the server which your form can call. I know Forms supports passing pl/sql tables ("indexed by binary_integer"), so you could pass your nested table back and forth between the package and the form in that format.

  • Error while entering the Final Process Date for an employee

    Hi,
    I am receiving the below mentioned Error Message when I try to enterthe Final Process date and save for an employee on the End Employment screen.
    HR_51746_ASG_INV_ASG_ID (PROCEDURE=pay_us_tax_internal.maintain_tax_percentage)
    Please let me know if anyone has an idea on the cause for this error message and how to fix this.
    Thanks,
    Jithendra
    Edited by: user11688089 on Feb 6, 2013 3:11 AM

    What is the termination date on this employee and what Final process date are you using? Are there any payrolls that ran after his/her Term date. Because even though this employee has been terminated a while ago, if there are any payrolls run after that (even if this employee is skipped), the system still includes this emp in that run and doesn't allow you to enter a Final process date prior to that pay date
    Either try to use a final process date which is in the next pay period after the latest payroll run or try running deltax.sql (removes tax records) on that assignment and see if that works
    -Karthik

  • An error occured during the generation of data service

    com.sunopsis.tools.core.exception.SnpsSimpleMessageException: Unable to find a javac compiler;
    com.sun.tools.javac.Main is not on the classpath.
    Perhaps JAVA_HOME does not point to the JDK.
    It is currently set to "E:\OraHome_2\jre\1.4.2"
         at com.sunopsis.dwg.dataservices.JavaCompiler.c(JavaCompiler.java)
         at com.sunopsis.dwg.dataservices.AbstractWSGenerator.b(AbstractWSGenerator.java)
         at com.sunopsis.graphical.b.b.a(b.java)
         at com.sunopsis.graphical.b.b.a(b.java)
         at com.sunopsis.graphical.b.a.h.actionPerformed(h.java)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)

    ok i got it i for got to give data source name...again i got one more error..
    com.sunopsis.tools.core.exception.SnpsRuntimeException: com.sunopsis.core.SnpsInexistantObjectException: SnpPschemaCont.getObjectByIdent : SnpPschema does not exist
         at com.sunopsis.dwg.dataservices.AbstractWSGenerator.k(AbstractWSGenerator.java)
         at com.sunopsis.dwg.dataservices.AbstractWSGenerator.a(AbstractWSGenerator.java)
         at com.sunopsis.dwg.dataservices.WSGenerationTask.a(WSGenerationTask.java)
         at com.sunopsis.graphical.b.c.b(c.java)
         at com.sunopsis.graphical.tools.utils.swingworker.v.call(v.java)
         at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
         at com.sunopsis.graphical.tools.utils.swingworker.l.run(l.java)
         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: com.sunopsis.core.SnpsInexistantObjectException: SnpPschemaCont.getObjectByIdent : SnpPschema does not exist
         at com.sunopsis.dwg.dbobj.SnpPschema.getObjectByLSchemaNameAndContext(SnpPschema.java)
         at com.sunopsis.dwg.dbobj.SnpPschema.getSnpPSchemaCont(SnpPschema.java)
         at com.sunopsis.dwg.snpreference.c.a(c.java)
         at com.sunopsis.dwg.snpreference.c.a(c.java)
         at com.sunopsis.dwg.snpreference.c.<init>(c.java)
         at com.sunopsis.dwg.codeinterpretor.g.a(g.java)
         ... 10 more
    Caused by:
    com.sunopsis.core.SnpsInexistantObjectException: SnpPschemaCont.getObjectByIdent : SnpPschema does not exist
         at com.sunopsis.dwg.dbobj.SnpPschema.getObjectByLSchemaNameAndContext(SnpPschema.java)
         at com.sunopsis.dwg.dbobj.SnpPschema.getSnpPSchemaCont(SnpPschema.java)
         at com.sunopsis.dwg.snpreference.c.a(c.java)
         at com.sunopsis.dwg.snpreference.c.a(c.java)
         at com.sunopsis.dwg.snpreference.c.<init>(c.java)
         at com.sunopsis.dwg.codeinterpretor.g.a(g.java)
         at com.sunopsis.dwg.dataservices.AbstractWSGenerator.k(AbstractWSGenerator.java)
         at com.sunopsis.dwg.dataservices.AbstractWSGenerator.a(AbstractWSGenerator.java)
         at com.sunopsis.dwg.dataservices.WSGenerationTask.a(WSGenerationTask.java)
         at com.sunopsis.graphical.b.c.b(c.java)
         at com.sunopsis.graphical.tools.utils.swingworker.v.call(v.java)
         at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
         at com.sunopsis.graphical.tools.utils.swingworker.l.run(l.java)
         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
         at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
         at java.lang.Thread.run(Thread.java:595)

  • Invalid Year error when refreshing the report with date prompt

    Hi All,
    I am working on BO XI 3.1 with Informix database.
    When refreshing the report without any date prompt the report is running fine,but when applying the date prompt it is giving the error message
    "Invalid year in the date".
    I have tried changing the value in the advance tab of the object property to 'yyyy-mm-dd hh:mm:ss'
    But it also din't work for me.
    Please suggest.
    Thanks and Regards,
    Rishabh

    Hi Experts,
    Thanks for your suggestions.
    Since changing the PRM file was not a fesiable solution for us.
    We have manged to find a work around to solve this issue
    We have created the filters at universe level with following formula for all the date objects which we ere using at report level as a prompt:
    @Select(classname\objectname)=TO_DATE(@Prompt('Enter Date:','D',,mono,free,not_persistent), '%Y/%m/%d')
    Although when we parse this formula it wil give an error message saying 'illigle operation',
    still it will work when we use this at report level.
    Thanks and Regards,
    Rishabh

  • Siebel -00284 Error while editing the Custom object Data

    I have created one custom object and when i tried to edit the data which i have entered , i am not able to edit the data on Custom object. Could you please suggest me on this. Please find the below error.
    You do not have permission to edit the record. Click cancel or Back link to continue.(SBL-DAT-00284)
    Edited by: Subbu on Jun 29, 2010 1:57 AM

    Hi Shyam,
    Try with this code.
    *-----Adding the Condition Types at item level
                  PERFORM bdc_dynpro      USING 'SAPMV45A'    '5003'.
                  PERFORM bdc_field       USING 'BDC_CURSOR'  'KOMV-KSCHL(01)'.
                  PERFORM bdc_field       USING 'BDC_OKCODE'  '=V69A_KONY'.
                  PERFORM bdc_dynpro      USING 'SAPMSSY0'    '0120'.
                  PERFORM bdc_field       USING 'BDC_CURSOR'  '05/04'.
                  PERFORM bdc_field       USING 'BDC_OKCODE'  '=PICK'.
    *----1. Unitprc ( ZPR0 )
                  PERFORM bdc_dynpro      USING 'SAPMV45A'    '5003'.
                  PERFORM bdc_field       USING 'BDC_CURSOR'  'KOMV-KSCHL(01)'.
                  PERFORM bdc_field       USING 'BDC_OKCODE'  '=V69A_KOAN'.
                  PERFORM bdc_dynpro      USING 'SAPMV45A'    '5003'.
                  PERFORM bdc_field       USING 'BDC_CURSOR'  'KOMV-KBETR(02)'.
                  WRITE x_item-unitprc TO v_unitprc CURRENCY komv-waers NO-SIGN.
                  PERFORM bdc_field       USING 'KOMV-KSCHL(02)'  'ZPR0'.
                  PERFORM bdc_field       USING 'KOMV-KBETR(02)'  v_unitprc.
                  PERFORM bdc_field       USING 'BDC_OKCODE'  '/00'.
    *-----End of Addition
                  PERFORM bdc_dynpro      USING 'SAPMV45A'    '5003'.
                  PERFORM bdc_field       USING 'BDC_OKCODE'  '/EBACK'.
    Regards,
    Aman
    Message was edited by:
            Amandeep Kumar

Maybe you are looking for