Problem while scheduling job in apex

Hi All ,
I have problem while creating job in apex .Let me explain my problem clearly.I have created a page in
url: http://apex.oracle.com/pls/otn/
Workspace : PREETHI_WORKSPACE
User ID : [email protected]
Password : bowova1
Application :Parse and upload csv file -21007
Page No:1
Page Name :Parse csv file.
Main functionality of this page is to upload csv file into oracle table .First user will browse a file from local machine and upload it in upload region.After that,user enters a table name and clicks create table button which creates a table in DB and also shows the report for the same .Creating table is happening through "create table " process when user clicks "create table" button.Code is working fine .One more things here is, in csv file the second row should have data type mentioned .
My requirement is ,i have to schedule "htmldb_tools.parse_file" in create table process as a job .In this "create table process" we are calling htmldb_tools.parse_file(:P1_FILENAME,'P1_COLLECTION','P1_HEADINGS','P1_COLUMNS','P1_DDL',:P1_TABLENAME);
Problem Iam facing here is that the scope of item :p1_filename is getting lost when we pass it to procedure .I think problem is due to different apex and database session .
Tried a lot through various ways ..Not finding the solution.
Please help...

Hi Marco,
I have tried with the setting what u have mentioned in htmldb_tools.parse_file procedure: wwv_flow_api.set_security_group_id(<workspace_id>);
But Job Getting fail and giving error ""ORA-01400: cannot insert NULL into (ORA-01400: cannot insert NULL into ("FLOWS_020200"."WWV_FLOW_COLLECTIONS$"."SESSION_ID")
ORA-06512: at "FLOWS_020200.WWV_FLOW_COLLECTION", line 319
ORA-06512: at "DIMPLE3_HD_DEV.HTMLDB_SID_50", line 196
ORA-06512: at line 2
Please help me out in this issue.
Regards
Dhan

Similar Messages

  • PC:Regulation and Regulation Configuration fields appears blank, while Scheduling Job

    Hi All,
    The regulation drop down does not show any entry,while scheduling job(Automated Monitoring -> Continuous monitoring scheduler)
    So, i tried to create regulation, for which i  got below error., while creating a Regulation Configuration
    i have been through SAP GRC Process Control - Not Displaying Regulations in Organizations menu
    I understand that it might be due to incomplete configuration in SPRO. So, could you anyone suggest on this.
    fyi, i have activated all BC sets
    Regards
    Plaban

    Hello Sahoo,
    check  the below note and perform the technical steps to make fields available for regulations
    1799427 - How to make fields available to be selected as regulation specific .
    Regulations will not appear until you assign objects to your organization such as Sub processes , policies and Indirect-Entity-Level Controls that have been assigned to regulations.
    Regards
    Baithi

  • GETWA_NOT_ASSIGNED error while scheduling job through F9

    Hi All,
    i am getting <b>GETWA_NOT_ASSIGNED</B> dump while scheduling a job through F9 and giving local printer as LP01.
    any pointers regarding this ?
    thanks
    kunal kishan

    Hi Ankesh,
    can you please elaborate on this.???
    Basiclly when i am trying to schedule a job by pressing F9 and setting it to immediate. when i chek in SM36, the job gets cancelled. The dump says "GETWA_NOT_ASSIGNED" error. The source code where the error is soming is a refresh statement.

  • Problem editing scheduled jobs

    I just had a problem where 3.1, EA1 and EA2 all failed to edit a scheduled job in sqldev. A coworker was able to make the same edit using the same database ID, except he did it through SQL*Plus - that made me suspect a bug in sqldev.
    Here are the symptoms:
    In sqldev 3.1 (any flavor) > Scheduler > Jobs > edit an existing job > try to edit the JOB_ACTION field. In 3.1, double-clicking in the field only highlights the current word - it does not give me a cursor, and I cannot edit the contents.
    In sqldev 3.0.4, editing the same job works as expected. I can edit the field, and save the changes.
    Note that the server that I connect to is remote - it is hosted by Oracle OnDemand.

    Doesn't work for me either;
    Here's the exception dumped in the console when selecting Edit:
    oracle.classloader.util.AnnotatedNoClassDefFoundError:
              Missing class: antlr.TokenStream
            Dependent class: org.antlr.stringtemplate.language.DefaultTemplateLexer
                     Loader: ide-global:11.1.1.0.0
                Code-Source: /C:/Archivos%20de%20programa/sqldeveloper3.1.06.82/sqldeveloper/lib/stringtemplate-3.1b1.jar
              Configuration: <classpath> in /file:/C:/Archivos de programa/sqldeveloper3.1.06.82/sqldeveloper/extensions/oracle.sqldeveloper.jar!/META-INF/extension
    .xml
    The missing class is not available from any code-source or loader in the system.
            at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2387)
            at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1546)
            at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:226)
            at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
            at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1728)
            at oracle.classloader.PolicyClassLoader.access$000(PolicyClassLoader.java:143)
            at oracle.classloader.PolicyClassLoader$LoadClassAction.run(PolicyClassLoader.java:331)
            at java.security.AccessController.doPrivileged(Native Method)
            at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1692)
            at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1674)
            at org.antlr.stringtemplate.StringTemplateGroup.<clinit>(Unknown Source)
            at oracle.dbtools.scheduler.generator.DBMSSchedulerCodeGenerator.initGroupLoader(DBMSSchedulerCodeGenerator.java:321)
            at oracle.dbtools.scheduler.generator.DBMSSchedulerCodeGenerator.<init>(DBMSSchedulerCodeGenerator.java:298)
            at oracle.dbtools.scheduler.generator.DBMSSchedulerCodeGenerator.getInstance(DBMSSchedulerCodeGenerator.java:309)
            at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2$ListTask.getQuery(NewJobCreateBase2.java:94)
            at oracle.dbtools.raptor.backgroundTask.utils.DatabaseQueryTask.<init>(DatabaseQueryTask.java:62)
            at oracle.dbtools.raptor.backgroundTask.utils.DatabaseQueryTask.<init>(DatabaseQueryTask.java:48)
            at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2$ListTask.<init>(NewJobCreateBase2.java:86)
            at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2.getListTask(NewJobCreateBase2.java:58)
            at oracle.dbtools.scheduler.panels.common.ActionDialogBase.launch(ActionDialogBase.java:29)
            at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2.launch(NewJobCreateBase2.java:81)
            at oracle.dbtools.raptor.controls.sqldialog.ObjectActionController.handleEvent(ObjectActionController.java:192)
            at oracle.ide.controller.IdeAction.performAction(IdeAction.java:529)
            at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:884)
            at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:501)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
            at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
            at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
            at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
            at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
            at java.awt.Component.processMouseEvent(Component.java:6289)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
            at java.awt.Component.processEvent(Component.java:6054)
            at java.awt.Container.processEvent(Container.java:2041)
            at java.awt.Component.dispatchEventImpl(Component.java:4652)
            at java.awt.Container.dispatchEventImpl(Container.java:2099)
            at java.awt.Component.dispatchEvent(Component.java:4482)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
            at java.awt.Container.dispatchEventImpl(Container.java:2085)
            at java.awt.Window.dispatchEventImpl(Window.java:2478)
            at java.awt.Component.dispatchEvent(Component.java:4482)
            at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
            at java.awt.EventQueue.access$000(EventQueue.java:85)
            at java.awt.EventQueue$1.run(EventQueue.java:603)
            at java.awt.EventQueue$1.run(EventQueue.java:601)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
            at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
            at java.awt.EventQueue$2.run(EventQueue.java:617)
            at java.awt.EventQueue$2.run(EventQueue.java:615)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)And consecutive tries:
    java.lang.NoClassDefFoundError: Could not initialize class org.antlr.stringtemplate.StringTemplateGroup
            at oracle.dbtools.scheduler.generator.DBMSSchedulerCodeGenerator.initGroupLoader(DBMSSchedulerCodeGenerator.java:321)
            at oracle.dbtools.scheduler.generator.DBMSSchedulerCodeGenerator.<init>(DBMSSchedulerCodeGenerator.java:298)
            at oracle.dbtools.scheduler.generator.DBMSSchedulerCodeGenerator.getInstance(DBMSSchedulerCodeGenerator.java:309)
            at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2$ListTask.getQuery(NewJobCreateBase2.java:94)
            at oracle.dbtools.raptor.backgroundTask.utils.DatabaseQueryTask.<init>(DatabaseQueryTask.java:62)
            at oracle.dbtools.raptor.backgroundTask.utils.DatabaseQueryTask.<init>(DatabaseQueryTask.java:48)
            at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2$ListTask.<init>(NewJobCreateBase2.java:86)
            at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2.getListTask(NewJobCreateBase2.java:58)
            at oracle.dbtools.scheduler.panels.common.ActionDialogBase.launch(ActionDialogBase.java:29)
            at oracle.dbtools.scheduler.dialogs.newjob.NewJobCreateBase2.launch(NewJobCreateBase2.java:81)
            at oracle.dbtools.raptor.controls.sqldialog.ObjectActionController.handleEvent(ObjectActionController.java:192)
            at oracle.ide.controller.IdeAction.performAction(IdeAction.java:529)
            at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:884)
            at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:501)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
            at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
            at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
            at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
            at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
            at java.awt.Component.processMouseEvent(Component.java:6289)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
            at java.awt.Component.processEvent(Component.java:6054)
            at java.awt.Container.processEvent(Container.java:2041)
            at java.awt.Component.dispatchEventImpl(Component.java:4652)
            at java.awt.Container.dispatchEventImpl(Container.java:2099)
            at java.awt.Component.dispatchEvent(Component.java:4482)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
            at java.awt.Container.dispatchEventImpl(Container.java:2085)
            at java.awt.Window.dispatchEventImpl(Window.java:2478)
            at java.awt.Component.dispatchEvent(Component.java:4482)
            at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
            at java.awt.EventQueue.access$000(EventQueue.java:85)
            at java.awt.EventQueue$1.run(EventQueue.java:603)
            at java.awt.EventQueue$1.run(EventQueue.java:601)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
            at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
            at java.awt.EventQueue$2.run(EventQueue.java:617)
            at java.awt.EventQueue$2.run(EventQueue.java:615)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)Hope that helps for debugging,
    K.

  • Problem while scheduling info package using HR datasource.

    hi experts,
    while scheduling the info package i am getting the following error.
    Delete init. request
    REQU_D340A67OSEQ9A6Q2B20X9SIOM before running
    init. again with same selection
    I think by deleting the setup it will work...
    am i right or is there any other solution for this problem..
    please reply soon.
    its too urgent.
    thanks n regards.
    uday shankar.

    Hi,
    You are correct there is no setup table concept in HR extractors.
    But there is a cache. Usually HR extractions will be full load. But it also supports delta. There is no setup table concept in HR.Once you perform your init (with or without Data transfer your delta path is set and delta will follow else can go for Full loads alone. It will extract data from the relevant tables like generic extractors. The data will be filtered based on the selection parameters.
    Except for payroll and time management rest all sub-functional areas supports only full load.
    In case of full loads, old data needs to be deleted to avoid duplicated records in the target.
    Auditing Information Technical name: 0HR_PY_PP_1
    http://help.sap.com/saphelp_nw70/helpdata/EN/c7/532d7835db9a41b744aea58ed699ed/frameset.htm
    Delta Update
    This DataSource supports delta updates. The source system fills table HRMS_BIW_PPDELTA with the date and time of the first data transfer (initialization) and the date and time of all subsequent data transfers. This information enables the system to perform a delta transfer. It only selects posting runs with the above statuses whose last changed on date is after the date in table HRMS_BIW_PPDELTA.
    If you use DataSources 0HR_PY_PP_2 (Posting Documents) and 0HR_PY_PP_1 (Auditing Information), you must transfer data to BW from both DataSources using the same selection criteria.
    Also
    http://help.sap.com/saphelp_nw04/helpdata/en/2a/77eb3cad744026e10000000a11405a/frameset.htm
    https://websmp201.sap-ag.de/~sapdownload/011000358700004478862001E
    /people/swapna.gollakota/blog/2008/01/14/one-stage-stop-to-know-all-about-bw-extractors-part1
    step by step
    https://websmp201.sap-ag.de/~sapdownload/011000358700004478862001E
    HR extraction:
    The HR module enables customers to effectively manage information about the people in their organization, and to integrate that information with other SAP modules and external systems
    HR broadly has the following modules:
    PA (Personnel Administration) and Organization Management
    Personnel Development
    Payroll Accounting
    Time Management
    Compensation
    Benefits
    Training and Events
    The Personnel Administration (PA) sub module helps employers to track employee master data, work schedules, salary and benefits information. Personnel Development (PD) functionality focuses on employees' skills, qualifications and career plans. Finally, the Time Evaluation and Payroll sub modules process attendance and absences, gross salary and tax calculations, and payments to employees and third-party vendors
    HR delivers a rich set of business content objects that covers all HR sub-functional areas.
    How the data extraction happens:
    Before getting into how the data gets populated into HR info cube
    Let's understand the term info type
    "An info type is a collection of logical and/or business-related characteristics of an object or person"
    Here the data will be extracted from an info type (PA, PD, time management etc) and for few other applications it is from the cluster tables (Payroll, compensation etc.)
    HR is basically master data centric because it is always related to people related Info Objects, such as Employee, Person. In most of the cases HR master data is defined as Time Dependent to enable historical evaluation. HR R/3 system records a specific period of validity for each Info type.
    Procedure to extract the HR data:
    Activate Data Sources in the Source system (R/3)
    Replicate Data Sources in BW system:
    Activate business contents in BW.
    Populate HR cubes with data by scheduling info packages.
    Note: Master Data should be loaded first
    Except for payroll and time management rest all sub-functional areas supports only full load.
    In case of full loads, old data needs to be deleted to avoid duplicated records in the target.
    Check the below links for more information
    Technical Considerations in Global SAP BW/HR Implementations
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/505351fe-ec8c-2910-c5b5-a43bbf53f6fc
    BW/HR Implementation
    https://websmp201.sap-ag.de/~sapdownload/011000358700004478862001E
    Hope this helps.
    Thanks,
    JituK

  • Problem while Scheduling Archive Jobs from SXMB_ADM

    Dear all,
    I am using this blog to delete and archive messages.
    /people/deepak.shah/blog/2010/04/22/archiving-deletion-of-messages-in-pi--part-2
    I have configured Retention periods from SXMB_ADM and there by scheduled Archive Jobs through SXMB_ADM itself.
    Now when i check in SM37, after Archive jobs scheduled , i am not able to see 2 jobs as described in this Blog.
    i am able to see only one Job with name "SAP_BC_XMB_ARCHIVE200"
    Please assist me what might be the problem
    Regards

    Hi Ganesh,
    Thank you for replying. Once this SAP_BC_XMB_ARCHIVE200 is finished, one more job has been generated
    ARV_BC_XMB_WRP20100602112115. But this is not for deletion . it is doing archiving
    When i check the log, SAP_BC_XMB_ARCHIVE200 contains the program as RSXMB_ARCHIVE_PLAN
    and ARV_BC_XMB_WRP20100602112115 job contains the program as RSXMB_ARCHIVE_MESSAGES
    There is no job generated for deletion of Archived ones.
    >>Deletion job starts automatically if in archiving setting u have selected START AUTOMATICALLY option for deletion .
    Could you please let me know where this should be done while doing Archiving jobs??
    Regards

  • ORA-00900: invalid SQL statement error while running jobs in APEX 4.2

    Hi,
    the following procedure compiled successfully in Apex 4.2:
    create or replace procedure "DEVLOE" AS
    L_TEMPLATE VARCHAR2(32000);
    L_base_TEMPLATE VARCHAR2(32000);
    begin
    l_base_template := '<html>
    <head>
    <title>HTML Editor Sample Page</title>
    </head>
    <body>
    <p>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;"><span class="plsql-literal" style="line-height: 14.65625px; white-space: nowrap;">Hi #Contact#,</span></span></span></p>
    <p>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;"><span class="plsql-literal" style="line-height: 14.65625px; white-space: nowrap;">This is a notification message to inform you that <strong>Development </strong>effort </span><span class="plsql-literal" style="line-height: 14.65625px; white-space: nowrap;">and milestones are yet to be updated for ECR: </span><span class="plsql-operator" style="line-height: 14.65625px; white-space: nowrap;"></span><span class="plsql-word" style="line-height: 14.65625px; white-space: nowrap;">#ECR_NAME#. This ECR has priority #p#. </span></span></span></p>
    <table align="center" border="1" cellpadding="1" cellspacing="1" style="width: 500px;">
    <tbody>
    <tr>
    <td>
    <span style="font-size:14px;"><span style="color: rgb(255, 0, 0);"><span style="font-family: verdana, geneva, sans-serif;"><u><strong>Department</strong></u></span></span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;"><span style="color: rgb(255, 0, 0);"><u><strong><span style="background-color: rgb(255, 255, 255);">Contact Name</span></strong></u></span></span></span></td>
    </tr>
    <tr>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">Product Management Contact</span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">#pdm#</span></span></td>
    </tr>
    <tr>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">PMO Contact</span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">#PMO#</span></span></td>
    </tr>
    <tr>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">Dev Contact</span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">#Dev#</span></span></td>
    </tr>
    <tr>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">QA Contact</span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">#QA#</span></span></td>
    </tr>
    <tr>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">Infodev Contact</span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">#Info#</span></span></td>
    </tr>
    </tbody>
    </table>
    <p>
     </p>
    <span fckbookmark="1" style="display: none;"> </span><span fckbookmark="1" style="display: none;"> </span>
    <table align="center" border="1" cellpadding="1" cellspacing="1" style="width: 500px;">
    <tbody>
    <tr>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;"><span style="color: rgb(0, 0, 255);">Team</span></span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;"><span style="color: rgb(0, 0, 255);">Start Date</span></span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;"><span style="color: rgb(0, 0, 255);">End Date</span></span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;"><span style="color: rgb(0, 0, 255);">Effort(in person days)</span></span></span></td>
    </tr>
    <tr>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">Development</span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">#d1#</span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">#e1#</span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">#L1#</span></span></td>
    </tr>
    <tr>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">Quality Assurance</span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">#d2#</span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">#e2#</span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">#L2#</span></span></td>
    </tr>
    <tr>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">Information Development</span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">#d3#</span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">#e3#</span></span></td>
    <td>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">#L3#</span></span></td>
    </tr>
    </tbody>
    </table>
    <p>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">The ECR application is located</span> at </span>: https://apex.oraclecorp.com/pls/apex/f?p=1472:1<span fckbookmark="1" style="display: none;"> </span></p>
    <span fckbookmark="1" style="display: none;"> </span>
    <p>
    <span style="font-family: verdana, geneva, sans-serif; font-size: 14px;">Regards,</span></p>
    <p>
     </p>
    <p>
    <span style="font-size:14px;"><span style="font-family: verdana, geneva, sans-serif;">ECR Team</span></span></p>
    </body>
    </html>
    FOR c1 IN (select ECR_NAME,PMO_CONTACT, QE_LOE,INFODEV_LOE, DEV_START_DATE, DEV_END_DATE, QE_CONTACT,QE_START_DATE,INFODEV_START_DATE,INFODEV_END_DATE, QE_END_DATE, INFODEV_CONTACT, PDM_CONTACT, DEV_LOE,ECR_PRIORITY, DEV_CONTACT from ECR_NAME WHERE DEV_LOE IS NULL AND ECR_STATUS = 'Effort Estimation is in Progress' AND ECR_PRIORITY <=5)
    LOOP
    l_template := l_base_template;
    l_template:= replace(l_template, '#Contact#', c1.DEV_CONTACT);
    l_template:= replace(l_template, '#ECR_NAME#', c1.ECR_NAME);
    l_template:= replace(l_template, '#p#', c1.ECR_PRIORITY);
    l_template:= replace(l_template, '#PMO#', c1.PMO_CONTACT);
    l_template:= replace(l_template, '#pdm#', c1.PDM_CONTACT);
    l_template:= replace(l_template, '#Dev#', c1.DEV_CONTACT);
    l_template:= replace(l_template, '#QA#', c1.QE_CONTACT);
    l_template:= replace(l_template, '#Info#', c1.INFODEV_CONTACT);
    l_template:= replace(l_template, '#d1#', c1.DEV_START_DATE);
    l_template:= replace(l_template, '#L1#', c1.DEV_LOE);
    l_template:= replace(l_template, '#e1#', c1.DEV_END_DATE);
    l_template:= replace(l_template, '#d2#', c1.QE_START_DATE);
    l_template:= replace(l_template, '#L2#', c1.QE_LOE);
    l_template:= replace(l_template, '#e2#', c1.QE_END_DATE);
    l_template:= replace(l_template, '#d3#', c1.INFODEV_START_DATE);
    l_template:= replace(l_template, '#L3#', c1.INFODEV_LOE);
    l_template:= replace(l_template, '#e3#', c1.INFODEV_END_DATE);
    htmldb_mail.Send(p_to => '[email protected]',
    p_cc => '[email protected]',
    p_from => '[email protected]',
    p_body => l_template,
    p_body_html => l_template,
    p_subj => 'cxxxx:' ||c1.ECR_NAME );
    END LOOP;
    end;
    the when I ran:
    begin
    devloe();
    end;
    I received the mail as well.
    However, when I try to schedule this in the job:
    declare
    JobNo user_jobs.job%TYPE;
    begin
    dbms_job.submit(JobNo, 'BEGIN
    DEVLOE();
    END;', sysdate, 'sysdate + 1/24/60'); commit; end;
    The job status shows failures every minute.
    dbms_job.run(job_no);
    It gave : ORA-00900: invalid SQL statement

    First of all I don't see a procedure header.
    Secondly I see you commit inside your procedure. This is a bug.
    Thirdly I see you also commit inside a loop. This is also a bug, and needs to be removed asap.
    The error indicates a statement doesn't parse. As you don't post the error stack, nor a table definition no one can reproduce the problem.
    You need to isolate the statements, one by one, and run them through sql*plus to see what happens.
    Sybrand Bakker
    Senior Oracle DBA

  • Regarding error while scheduling Job Server (rapid mart)

    hi friends
    iam new to bods we are using BODS 3.2 source r/3 and target is MYSQLSERVER . and we have installed rapidmarts
    General_ledger_rapid mart during scheduling the job fails and got and
    erorr
    Transform EID_2_Rename_ConvertDateToChar Cannot convert string <1900.01.01 00:00:00> to date using format string <YYYY-MM-DD>.
    (12.2) 02-11-12 04:59:09 (W) (1124:11052) RUN-053006: |Data flow DF_FinDocFactNewGL_SAP|Embedded Dataflow Copy_1_EDF_FinDocFact_SAP|Transform EID_2_Rename_ConvertDateToChar
    please help how to rectify this step by step ( as iam new )
    please

    thanks suneer
    can you please explain if i find the problem and rectify
    and after that how could i schedule the jobs ( as it is a rapid mart it contains number of data flow) so,
    how should i schedule or do i need to schedule this DF only in the designer or through Data Service Management console
    I think if i schedule it will again schedule all the jobs in the rapid mart ( i want to schedule only one DF which is eror so, how should i do)
    and if it is"? it will show duplicate reports
    please suggest
    thanks

  • Issue while scheduling job of Delete program of Archiving Object

    Please help me.
    I am working on SARA and clicked on delete program for Purchase Order.
    When the job was executed, i checked logs and i found that there is some error and the job was cancelled.
    The main problem is when i checked the EKKO table, the entries were also deleted which should not happen.
    The Error Log was:
    Job started
    Step 001 started (program RM06ED47, variant SAP&PROD, user ID ABAPUSER)
    Archive file 001273-001MM_EKKO cannot be processed because of its status
    Job cancelled after system exception ERROR_MESSAGE
    Can anyone suggest me what shud i do to avoid such scenario??

    i know that..but  i was working in production mode and the data got deleted when the delete job status = cancelled..
    Usually when delete fails, the data isnt deleted but this time the data got deleted which is wrong i guess..

  • Problem while submitting job from Forms

    Hi,
    i'm submitting a job in when button pressed trigger. This job will call a Backend Package(one procedure). But the job id is created in the backend but the job is not running. but if i run the job with DBMS_job.Run(jobid) from form itself after submitting the job, its working fine. Do we need to maintain any parameter to run job automatically?
    Thanks in advance.

    if there are four parameters passed then one of them is contradicting ur conditional statements. First check and debug those parameters if they consist the required value. also post ur code for further scrutiny.
    zaibi.

  • Problem in scheduling job in back ground

    hi all,
    My project scenario is ,i have written a program to create WBS element.
    For 1 WBS creation ,In production it takes 20 to 30 min to create as there are many transactional bdcs.
    so i want to run that perticular code (all bdcs) in back ground.
    so i wrote another program with name 'zback_job_for_wbs_creation' and added all the required code.
    in old program,i have written some code to execute this new program in back ground . this code is below..
    FORM submit_for_job.
      TABLES:btcevtjob.
      DATA:l_jobname LIKE tbtco-jobname,
           l_jobnumber LIKE rsjobinfo-jobnumb.
      DATA: count LIKE btcevtjob-jobcount,
            jobname LIKE btcevtjob-jobname.
      DATA: job_was_released LIKE btch0000-char1.
      jobname = 'WBS_CREATION'.
      EXPORT s_scrnum TO MEMORY ID 'W_SCRNUM'.
      EXPORT iscrh TO MEMORY ID 'W_ISCRH'.
      EXPORT iscrl1 TO MEMORY ID 'W_ISCRL1'.
      EXPORT iscrl2 TO MEMORY ID 'W_ISCRL2'.
      EXPORT iscrl2b TO MEMORY ID 'W_ISCRL2B'.
      EXPORT iscrl2a  TO MEMORY ID 'W_ISCRL2A'.
      EXPORT iscrl1a  TO MEMORY ID 'W_ISCRL1A'.
      CALL FUNCTION 'JOB_OPEN'
            EXPORTING
                  jobname          = jobname
           IMPORTING
                  jobcount         = count
      SUBMIT zback_job_for_wbs_creation
      with S_SCRNNUM IN S_SCRNUM
      and return via JOB JOBNAME NUMBER COUNT TO SAP-SPOOL
      WITHOUT SPOOL  DYNPRO.
      CALL FUNCTION 'JOB_CLOSE'
          EXPORTING
         jobcount                    = count
         jobname                     = jobname
          strtimmed                   = 'X'
        IMPORTING
             job_was_released            = job_was_released
       EXCEPTIONS
            cant_start_immediate        = 1
            invalid_startdate           = 2
            jobname_missing             = 3
            job_close_failed            = 4
            job_nosteps                 = 5
            job_notex                   = 6
            lock_failed                 = 7
            OTHERS                      = 8
    here i have put break-point in my submitted program..but its not going to the program and job gets closed successfully without executing my code( Submitted Program).
    in above submit statement , if i just write submit progname and return ,then it goes to program.
    but job_close function module throws exception no 5.
    so pls help me out for this..
    i want my submitted program to be run in back ground..
    thanks.

    Hi,
    Start Job Monitor SM37 and search for your job. I think you will find it.
    Jobs are not linked to GUI frontend. So you can't debug your background job in that way.
    If you want to debug you must be tricky.
    Code a never ending loop with an exit condition which you can control by debugging.
    DATA:
    stop_for_capture.
    DO.
    IF sy-uname NE 'HABICH'. "change to your account
    EXIT.
    ENDIF.
    IF NOT stop_for_capture IS INITIAL.
    EXIT.
    ENDIF.
    ENDDO.
    When your job is running, start TA SM50 and mark relevant batch work process and
    choose by menu program -> program -> debugging.
    regards
    Walter Habich

  • Problem while using Ajax in APEX.

    Hi All,
    I am using the this function in my application to overcome the && problem.. here is the query
    DECLARE
    l_counter NUMBER;
    l_o_name VARCHAR2 (2000);
    BEGIN
    FOR rec IN (SELECT distinct HTF.ESCAPE_SC (atct_attr_type) a,HTF.ESCAPE_SC (atct_attr_type) b
    FROM t_new
    WHERE atct_atcl_code =:F41_ATCL_ATT_TYPE_REP_CODE )
    LOOP
    --HTP.prn ('<option value="' || rec.b || '">' || rec.a || '</option>');
    dbms_output.put_line('<option value="' || rec.b || '">' || rec.a || '</option>');
    end loop;
    END;
    it is working fine with out any issues..
    But i want to show atct_attr_type in upper case..
    How to use upper case in the above query..
    Thanks,
    Anoo..

    Whats the problem with using the UPPER Function
    HTF.ESCAPE_SC (UPPER(atct_attr_type)) in the SQL Query(for loop inline cursor)

  • Problem while scheduling email via information broadcasting

    Hello,
    I am trying to schedule one email using information broadcasting.
    When i say create new scheduling, i can see following as a default,
    Next start at tommorrow's date at tommorrow's time.
    What i want is that it should display today's date and time by default.So that i can schedule the email for today at any time.
    How is it possible?
    Please help me out.
    Regards,
    Steve

    Yup.. you need to check the implemented server time zone.. you can see also from menupath system status..
    if you want to change i think it will be global change across all the users at all the regions..
    I think you can see in one of SPRO settings..  i think so..
    regards,
    Hari

  • Facing problem while disableing Job...

    SQL> select JOB,SCHEMA_USER from dba_jobs;
           JOB SCHEMA_USER
          4001 FLOWS_030100
          4002 FLOWS_030100
    SQL> BEGIN
      DBMS_SCHEDULER.disable ('FLOWS_030100.4001');
      DBMS_SCHEDULER.disable ('FLOWS_030100.4002');
    END;
    /  2    3    4    5
    BEGIN
    ERROR at line 1:
    ORA-20001: comma-separated list invalid near 00.40
    ORA-06512: at "SYS.DBMS_UTILITY", line 238
    ORA-06512: at "SYS.DBMS_UTILITY", line 271
    ORA-06512: at "SYS.DBMS_SCHEDULER", line 2359
    ORA-06512: at line 2

    SHANOJ wrote:
    SQL> select JOB,SCHEMA_USER from dba_jobs;
           JOB SCHEMA_USER
          4001 FLOWS_030100
          4002 FLOWS_030100
    SQL> BEGIN
      DBMS_SCHEDULER.disable ('FLOWS_030100.4001');
      DBMS_SCHEDULER.disable ('FLOWS_030100.4002');
    END;
    /  2    3    4    5
    BEGIN
    ERROR at line 1:
    ORA-20001: comma-separated list invalid near 00.40
    ORA-06512: at "SYS.DBMS_UTILITY", line 238
    ORA-06512: at "SYS.DBMS_UTILITY", line 271
    ORA-06512: at "SYS.DBMS_SCHEDULER", line 2359
    ORA-06512: at line 2
    SHANOJ wrote:
    SQL> select JOB,SCHEMA_USER from dba_jobs;
           JOB SCHEMA_USER
          4001 FLOWS_030100
          4002 FLOWS_030100
    SQL> BEGIN
      DBMS_SCHEDULER.disable ('FLOWS_030100.4001');
      DBMS_SCHEDULER.disable ('FLOWS_030100.4002');
    END;
    /  2    3    4    5
    BEGIN
    ERROR at line 1:
    ORA-20001: comma-separated list invalid near 00.40
    ORA-06512: at "SYS.DBMS_UTILITY", line 238
    ORA-06512: at "SYS.DBMS_UTILITY", line 271
    ORA-06512: at "SYS.DBMS_SCHEDULER", line 2359
    ORA-06512: at line 2
    DBA_JOBS is separate & distinct from DBMS_SCHEDULER!

  • OWB Scheduled job generates infrastructure problem..

    Hi everyone,
    I'm experincing a strange problem while scheduling a process flow using OWB schedule. The job is created and started fine. But the job throws up an exception of the kind 'Infrastructure Problem' etc when the machine is shut down after I start the job from the Control Center. The oracle enterprise manager shows that the job is scheduled and enabled after the job is started via the Control Center.
    Can anyone suggest anything regarding this?
    Thanks in advance.
    Regards,
    Sayantan

    Hi Sayantan,
    Which machine is being shut down, the design client? If so do you use the control center on that machine?
    JP

Maybe you are looking for

  • How do I limit the amount of space Time Machine uses?

    Right, so the drive I was using for Time Machine had a most lovely volume failure. Somehow, I managed to fix it. The drive itself is fine but I find this all out after I buy a Drobo to replace it with (plenty of other of reasons for buying it, so it'

  • Invoke Java from Insert trigger in Oracle 9i

    Hi, I want to invoke a java app with trigger once a row is inserted into orcle table. I've a trigger on insert but insert statement does not insert data to table until commit is executed. Trigger is not allowed on commit. How can I solve this problem

  • Why do we import a class

    Why do we import the class TestFile and not call the class instead like in the code given below package test; import testing.TestFile; import java.util.StringTokenizer;

  • Safari 4.0.3 update

    After updating to Safari 4.0.3 it has become useless. Il I click customise toolbars it does not open and the adress field and Google fiels become unresponsive and no text can be introduced First time I open Safari it responds but after introducing an

  • Indeed Adobe flash player for my I pad

    When will we get adobe flash player for my I pad