Creating JOB using JOB API - Future Dated value for a segment

Hi
Trying to create a JOB using "hr_job_api.create_job" as of today (17-Jul-2009), with one of the segment value has the 'Date_from' as 26-Jul-2009.
API is throwing the below error
ORA-20001: FLEX-VALUE IS EXPIRED:
ORA-06512: at "APPS.HR_JOB_API", line 878
Have anyone come across this error before ?
Thanks
Arun

As per the error it saying there is a problem in the DFF attached with the job, or even job kff itself, paste the whole code and whole error

Similar Messages

  • While creating Projects Using the API, get two errors: 'Customer name must be passed' and 'class category is invalid'

    Hi
    While trying to Create Projects using the API, I'm getting two types of errors -
    The first is : 'API failed in one stage 1 Customer Name is a mandatory Quick Entry field. Value must be passed'
    The second is : '
    'API failed in one stage 1 Project: '<Project_Number>'
    The class category is invalid.'
    Both the messages are produced by our custom program. .. however I am not able to understand why the underlying errors occur.
    The first error ( Customer Name is a mandatory quick entry field), is caused by Projects that are to be created from Project templates where it is configured with Quick Entry Customer Name required. We are passing Customer Site number ( Party Bill to site number and Party Ship to side number). The site numbers being passed are also set as 'Primary'. Yet they are failing.
    For the second Error ( The Class Category is invalid), I rechecked multiple times, the Class categories for the Projects I am trying to create, with the Config in R12 and they are fine. Can't understand the reason for these two issues. Has anyone encountered such an issue ? If so how was it resolved?
    Regards
    Vivek

    HI All
    I resolved both the issues. In case there are others facing similar issues, following was the cause and resolution of my errors
    1. Error 1: Customer Name is a Mandatory Quick Entry field. Value must be passed.
    The cause was that the data loaded into our custom staging table was not in the right fields. This was because the data file values and the CTL were not in sync.
    Resolution:
    Corrected the data file to be in Sync with the structure defined in the CTL and  this loaded it successfully
    2. Error 2: The class category is invalid.
    The cause of this error was that  in the  Projects Template (used to create the project from), the Quick Entry setup had a Class Category set as required and I was not passing a value ( a class code value) for that Class Category.
    Hope this helps somebody else
    Cheers
    Turnbill

  • Trying to create Invoice using the API,however i am not able to create the customer accounts in the front end

    when creating invoice using the API AR_INVOICE_AP_PUB.Create_Single_invoice Am Getting the below Error:
    Transaction type is invalid with current transaction date
    invalid transaction type
    either an inventory item description must be provided
    Kindly help me here

    Hi Team,
    I  tried creating the invoice and I got the above errors, however, when updated the batch source ID I am now getting this following error only, i am just left with the following Error only
    Either an inventory item or description must be provided.
    Please help me on this.

  • Can i use one JSF component's value for other component in the same page.

    Can i use one JSF component's value for other component in the same page.
    For example
    I have a <h:selectBooleanCheckbox id="myChk"> in my jsf page, i want to access its value for another component like:
    <h:commandButton disabled="#{myChk.checked}" action="myAction" value="myValue" />
    ** "myChk.checked" >> I am just asuming "checked" property is available...

    Bind the checkbox to a UIInput myChk property. Then you can reference this property from the page, e.g.
    <h:selectBooleanCheckbox binding="#{myBean.myChk}" onchange="submit();" />
    <h:commandButton disabled="#{myBean.myChk.value}" action="myAction" value="myValue" />

  • Query to get possible values for each segment

    Hi Gurus,
    Give the flex value set id, what is the query to get all possible values for each segment (just like what is shown in the accounting flex window)?
    Thank you,
    Beibei

    Hi Beibei,
    The table FND_FLEX_VALUES_VL can give you details of values available in the Value set i.e. 1 segment at a time.
    If you are looking for a concatenated view of Accounting Flexfield values, that would be available in GL_CODE_COMBINATIONS table.
    Regards,
    Ivruksha

  • Adobe Acrobat as a server to create PDF using PDF templates and field values

    I'm writing a web page to create a PDF using fields that we ask for them in the screen.
    My idea is:
    1. Ask for field values (text values and a photo) in my web
    2. Run Adobe Acrobat to load a PDF template (PDF form) and mix with the field values
    3. Create a final PDF mixing values and template
    4. Show to document to the user in his client web browser. I guess the only way to do that is to create the PDF on a server with Adobe Acrobat Pro and send to the user browser a JPEG that will represent the  PDF: If I do this operation in the PDF visor at the client browser, the problem is that it will will be mandatory to install Adobe Acrobat in each cliente because only this visor can manage javascript.
    Can you tell me if this idea is correct? It is possible to use Adobe Acrobat on a Server to create PDF when some proccess needs?

    and what other Adobe product o procedure can we use to do that?
    I only need to create a PDF mixing PDF Templete, field values and javascript.
    Thanks for your help.

  • Creating PDF using ITEXT API's - error

    Hi,
    In my WebDynpro Application I want to generate a PDF (using ITEXT API's) out of the data retrieved from back end system .
    I used this source code.
    Document document = new Document(PageSize.A4);
    document.open();
    PdfPTable table = new PdfPTable(1);
    PdfPCell cell;
    cell = new PdfPCell(new Paragraph("ONE"));
    table.addCell(cell);
    cell = new PdfPCell(new Paragraph("TWO"));      
    table.addCell(cell);
    document.add(table);
    document.close();
    byte[] b = new byte[100 * 1024];
    b =  document.toString().getBytes("UTF-8");
    IWDCachedWebResource pdfRes = WDWebResource.getPublicCachedWebResource(b, WDWebResourceType.PDF, WDScopeType.CLIENTSESSION_SCOPE,      wdThis.wdGetAPI().getComponent().getDeployableObjectPart(),"FileNameHelloText"));
    I have used Window Manager to create a external window with the URL from pdfRes.getUrl() method.
    After execution i get a pop up window with out PDF document.
    Please let me know your thoughts & solutions to the above mentioned problem.
    Thanks
    Senthil

    Hello Folks,
                   Use the following snippet of the code to generate PDF using ITEXT API.
                                       Document document = new Document(PageSize.A4);
         ByteArrayOutputStream bos = new ByteArrayOutputStream();
         PdfWriter.getInstance(document, bos);
         document.open();
                    PdfPTable table = new PdfPTable(1);
                    PdfPCell cell;
                    cell = new PdfPCell(new Paragraph("ONE"));
                    table.addCell(cell);
                    cell = new PdfPCell(new Paragraph("TWO"));      
                    table.addCell(cell);
                    document.add(table);
                    document.close();
                    byte [] byteContent = bos.toByteArray();
         IWDCachedWebResource cachedResource =
                             WDWebResource.getPublicCachedWebResource(
              byteContent,
              WDWebResourceType.PDF,
              WDScopeType.CLIENTSESSION_SCOPE,
              wdThis
                                          .wdGetAPI()
                                          .getComponent()
                                          .getDeployableObjectPart(),
              "TestPDF");
                  IWDWindow externalWindow =
            wdComponentAPI
                            .getWindowManager()
                            .createExternalWindow(cachedResource.getURL(),                         "PDF Window",true);
                  externalWindow.open();
    Thanks and Regards,
    Gopi

  • Creating Modules using Open API

    Hi,
    I am trying to create Form module using Open API.
    What I would like to know is :-
    1. How to link the source file (c++) against the Open
    API library (f60d2f32.lib).
    The c++ source file, Does it have to be .c extension ?
    2. Compile the files to create an executable.
    Anyone got any idea or can point to URL where I can get more info.
    Thanks - Appreciate your help.

    This really needs to go to one of the Developer (FOrms/Reports) forums, but any interface to Forms/Reports/Etc. will need to be compiled and linked as 'C', not 'C++'.

  • Creating form using OIM API

    Hi
    can anyone help me in creatig a form and assigning it to a resource object.
    please tell what all should i mention in the map which is to be passed to createForm() method.
    Thank you

    Hi all
    what attributes i need to to map to create a from using OIM API
    createForm Method?
    I have tried with this but did not work:The form is getting created , i.e I am seeing an entry in DB.
    At the same time I am aslo getting an exception which is whown below:
    formMap.put("Structure Utility.Table Name", "SAM");
              formMap.put("Structure Utility.Description", "TESTING API USAGE FOR FORM");
    The Exceptions I get are :
    Thor.API.Exceptions.tcInvalidNameException
         at com.thortech.xl.ejb.beansimpl.tcFormDefinitionOperationsBean.createForm(Unknown Source)
         at com.thortech.xl.ejb.beansimpl.tcFormDefinitionOperationsBean.createForm(Unknown Source)
         at com.thortech.xl.ejb.beans.tcFormDefinitionOperationsSession.createForm(Unknown Source)
    09:05:13,772 ERROR [DATABASE] Class/Method: tcDataBase/writeStatement encounter
    some problems: ORA-02089: COMMIT is not allowed in a subordinate session
    java.sql.SQLException: ORA-02089: COMMIT is not allowed in a subordinate session
    09:05:13,819 ERROR [ADAPTERS] Event: Adding Columns to SDC. has encountered an error.
    09:05:13,819 ERROR [SERVER] Class/Method: tcDataObj/runEvent Error :EVT Fatal Rejection Occured
    09:05:13,819 ERROR [APIS] Class/Method: tcFormDefinitionOperationsBean/createForm encounter some problems: maoErrors:Error Adding Column.
    How can i resolve this?
    When and where can I view the form that I have created?
    Thank you

  • Create lov using open api

    i want to create a assistant of lov using open api(code C).
    can anyone give me the steps and procedures for do this .

    This really needs to go to one of the Developer (FOrms/Reports) forums, but any interface to Forms/Reports/Etc. will need to be compiled and linked as 'C', not 'C++'.

  • Handling future dated events for automated provisioning

    Hi experts,
    has anyone implemented or knows how to handle future dated events such as going on and returning from leave for an employee within Identity Manager that it will schedule a provisioning process when the leave start end dates are given? any help is appreciated.
    birkoff77

    There is no explicit documentation on this requirement but if you look further in to the deferred task scanner and how to handle date events you will get any further probably. The point is that a provisioning process should start on a certain date for a certain user.
    One action to check for a date, another action to set up this process.
    Some hints:
    This is something you arange using the deferred task scanner which you can call by using 'application' as subprocess in the workflow....With the configuration of a task instance you can call a workflow (provisioning)...further specify a date argument and a name argument (the account Id).

  • How to use JavaScript to supply a value for a MessageTextInput field

    With the text attribute you can supply a deafult value for text field. Is it possible to supply this field with a default value determined by javascript ?
    <messageTextInput name="startDate" text="..." ...

    Marcel,
    If you want to dynamically set a value for a text field, there are two approaches you can use:
    1. use javascript (the browser language) and then for your <body> element's onload handler, invoke a javascript method that sets your form value.
    2. use java (the compiled language) and databind the "text" attribute of messageTextInput to a dataobject that gives the current date. If all you're looking to do is bind to the current date, I'd recommend this approach.
    Hope this helps,
    Ryan

  • Using the currentdate as default value for a DateField

    I read the chapter about DataBinding to fill a textField with a default value; for example the currentdate.
    I don't know how to exactly do this....
    I can create a java class that returns the currentdate but I miss how to connect it to the textField.
    Marcel

    Hi,
    Here's the uiXML
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui">
    <provider>
    <data name="currentDate">
    <method class="oracle.cabo.doc.demo.DataDemo" method="getCurrentDate"/>
    </data>
    </provider>
    <contents>
    <text data:text="time@currentDate"/>
    </contents>
    </dataScope>
    Thanks,
    Gabrielle

  • Value for IDoc Segment field SEGMENT

    Hello,
    In the Integration Repository, while creating Message Mapping between a flat file (inbound) & an IDoc (outbound), I'm getting an error that not all target fields are mapped. In the target structure (IDoc), each segment has a field named <b>SEGMENT</b>. Can someone please tell me what value should go here. These are not part of the IDoc but seem to be a requirement in XI message mapping.
    There is also a segment called <b>BEGIN</b> (<u>Type</u> - xsd:string) which is defined as required. Please write as to what should be populated in this segment.
    Any help is greatly appreciated.
    Thanx in advance.
    Homiar.

    My current scenario is
    File Adapter -
    > XI -
    > SAP R/3 (Idoc Adapter).
    I will be using FIDCPP2 IDOC.  
    1. For an instance following is the structure, in this case how can I achieve getting a set of data in one IDOC and another set in other IDOC based on document no.
    CC        Doc No.        line items        
    UK01         456                 1
    UK01         456                 2  -
    > IDOC 1
    UK03         456                 3
    UK04         450                 1
    UK04         450                 2 -
    > IDOC 2
    UK04         450                 3
    i). Is there any way to create instances of idocs in XI or any alternative way out.
    ii). Where/ how can I give the condition, that based on Document No. should create another IDOC instance.

  • Print job using Printing APIs

    Hi Gurus,
    I find problem while implementing ActionListener when
    I click the menuItem "print". It is supposed to
    print the swing dialog containing a JTable.
    I wrote following codes, it does not work.
    Your pointers will be highly appreciated.
    thanks,
    Bilashi
    Here is my code
    file.add (item = new JMenuItem ("print"));
    item.addActionListener(new ActionListener() {
    public void actionPerformed(final ActionEvent event) {
    String actionCommand = event.getActionCommand();
    if(actionCommand.equals("print")) {
    _print();
    static public void _print()
    JFrame f = new JFrame();
    PrinterJob job = PrinterJob.getPrinterJob();
    //job.setPrintable(dialog);
    //Book book = new Book();
    //book.append(dialog, new PageFormat());
    //job.setPrintable(book);
    if(job.printDialog()) {
    try {
    job.print();
    catch (Exception ex)
    JOptionPane.showMessageDialog(f, "Printing failed:\n"+ex.toString(),
    "Print Error", JOptionPane.WARNING_MESSAGE);
    }//end if
    }//end _print
    static public void _print()
    JFrame f = new JFrame();
    PrinterJob job = PrinterJob.getPrinterJob();
    //job.setPrintable(dialog);
    //Book book = new Book();
    //book.append(dialog, new PageFormat());
    //job.setPrintable(book);
    if(job.printDialog()) {
    try {
    job.print();
    catch (Exception ex)
    JOptionPane.showMessageDialog(f, "Printing failed:\n"+ex.toString(),
    "Print Error", JOptionPane.WARNING_MESSAGE);
    }//end if
    }//end _print
    my code

    Hi Bilashi,
    I haven't checked all of your code, but the first part contains an error. It should be either:
    file.add (item = new JMenuItem ("print"));
    //here is what you left out
    item.setActionCommand("print");
    item.addActionListener(new ActionListener() {
         public void actionPerformed(final ActionEvent event) {
              String actionCommand = event.getActionCommand();
              if(actionCommand.equals("print")) {
                   _print();
    OR
    file.add (item = new JMenuItem ("print"));
    item.addActionListener(new ActionListener() {
         public void actionPerformed(final ActionEvent event) {
              String text = event.getText();
              //change here
              if(text.equals("print")) {
                   _print();
    });Hope that helps,
    Muel.

Maybe you are looking for

  • How do i combine multiple itune accounts

    How do i combine multiple itune accounts with invalid old email accounts?

  • Dual monitor support in Flash

    I have a need to create a flash-based application that will display one "menu" screen to one monitor while simultaneously displaying a different "map" screen to another monitor. I would like to be able to press a button on the "menu" screen and have

  • Error ODCIindexstart() routine when doing a text query

    Platform 8.1.5 Linux RH6.0 all applicable Ora and RPM patches applied. I created 2 indexes 1 small 150k records 1k per document the other larger 350k records 30k documents. I have no probllm indexing either text table, and I have no problem querying

  • EJBs still bound even after undeploying application

    Hi, I am using WebLogic 10.0 MP2 notice that if I undeploy an ear containing Stateless Session EJBs there are still entries for these EJBs in the JNDI server tree. The entries look like <name of Bean>#<full package name of Bean>. I am undeploying usi

  • Drop down lists blank entry

    Can a drop down list be returned to blank. It seems to be possible when testing (the first line is blank) but not when an actual document?