Wrong Input Parameter in Job Details

Hi,
i start a OWB10.2.0.1 mapping by calling its main-Procedure including the default-parameters and a individual plant location-parameter 'B' as MappingInput (used later as filter), f.e.:
declare
p varchar2(4000);
begin
fact_map.main(p, 'B', NULL, NULL, NULL, NULL, NULL, NULL);
end;
THe mapping works fine, the 'B'-data is loaded but in the job details windows of the CCM on the Input Parameter tab it´s written an 'A' (the default plant location) instead of 'B'.
OK, it´s not very important at the first moment, but later, if you want to check something in your loading-history - you are lost...
Any idea, how to fix this?
jwehner

Please see commented lines below :
BEGIN
  Log(
    '6B6C6D'                       -- this is not a RAW
  , '06-Aug-12'                    -- this is not a TIMESTAMP
  , 'COM.TESt'
  , 'OH'
  , 'AUT'
  , 'NOTRANSACT'
  , '<ACORD><SignonRq>'            -- this is not an XMLType (not even valid XML)
  , '000000E0LN1D000029FNSRRGTest'
  , '000009N1D000029FNJ9OITest'
END;Use the correct datatypes and their constructors (if necessary).
For example, you can build a RAW from a string with HEXTORAW() function. An XMLType can be built via the XMLType() constructor or the XMLParse() function, etc.

Similar Messages

  • Creating a job for a procedure with an input parameter

    Hi,
    I want to create a job for a procedure ( sp_proc ) with a input parameter.
    The input parameter is a date value.
    As per the syntax for dbms_job.submit procedure;
    dbms_job.submit (
    job IN BINARY_INTEGER,
    what IN VARCHAR2,
    next_date IN DATE,
    interval IN VARCHAR2 DEFAULT 'NULL',
    no_parse IN BOOLEAN DEFAULT FALSE);
    How should the procedure be declared in the 'what' parameter of the dbms_job.submit procedure ?
    Please guide.
    Thanks.

    Hi,
    You are wright, I have found this thread [DBMS_JOB -- how to pass parameters to the job|http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:351033761220].
    Regards,

  • Dynamically passing text and url-based images as an input parameter to cf8 report builder

    I'm unsuccessfully trying to dynamically pass text and url-based images to a group footer or the detail section via an input parameter or even hardcoded. The field has the attribute 'XHTML Text Formating' set to True. The following are failed samples of a simplified value:
    "<img height=’300’ alt=’Document’ width=’300’ src=’http://www.google.com/intl/en_ALL/images/logo.gif’ />"
    or
    "<img src=’http://www.google.com/intl/en_ALL/images/logo.gif’ />"
    This just results in the above text being output. The end result would have various text and images from a database as input by a user, thus the reason I cannot just use the hyperlink information attribute as I could if it were a single known image. I tried rtf and pdf report types. Ideas?

    HTH,
    Thanks. I'll keep that in mind, although I don't know how many images my user might need or what sizes so that might be tricky.
    Since my target output is rtf so that MS Word can be used to edit the result, I added a pagebreak to a MS Word doc and used the resulting html source to replace the rich text editor source code for the page break, but that did not help either. The page break was so a user could add an image later. Something is wrong with the Report Builder related to intepreting XHTML, especially anything that has an attribute, including URL-based image links. I hope they try to provide another update before CF9. I doubt my client will be going to CF9 for some time, since they are just completing the migration to CF8.
    BrianO

  • How can I pass dynamic value as a user input parameter in discoverer?

    Hi,
    I have a requirement for a discoverer report like this: The report will display only details for Suppliers that have expired (or soon to be) Insurance details. That is the Expiration Date is less than or equal to the day the report is being run plus any days specified in the Number of Days in the Future Parameter.
    The sample code as:
    SELECT s.segment1 vendor_number
    ,s.vendor_name
    ,flv1.meaning classification
    ,pca.certificate_number
    ,pca.certifying_agency
    ,pca.expiration_date
    ,flv2.meaning status
    FROM ap_suppliers s
    ,pos_bus_class_attr pca
    ,fnd_lookup_values flv1
    ,fnd_lookup_values flv2
    WHERE pca.vendor_id = s.vendor_id
    AND flv1.lookup_code = pca.lookup_code
    AND flv1.lookup_type = pca.lookup_type
    AND flv2.lookup_code = pca.class_status
    AND flv2.lookup_type = 'POS_BUS_CLASS_STATUSES'
    AND pca.expiration_date <= trunc(sysdate) + <No. of Days in the Future>
    order by pca.expiration_date asc
    Now the parameter is Number of Days in the Future (Enter the number days in the future to extract the data. This will default to 0).
    Is it possible in discoverer to do so as in query i do that like a condition as pca.expiration_date <= trunc(sysdate) + <No. of Days in the Future>.
    How can I pass <No. of Days in the Future> as a user input parameter in discoverer?
    Please help.

    Hi,
    All you need to do is to create the condition in the discoverer instead of in the query.
    Create a custom folder containing the following sq (note that i removed the condition)l:
    SELECT s.segment1 vendor_number
    ,s.vendor_name
    ,flv1.meaning classification
    ,pca.certificate_number
    ,pca.certifying_agency
    ,pca.expiration_date
    ,flv2.meaning status
    FROM ap_suppliers s
    ,pos_bus_class_attr pca
    ,fnd_lookup_values flv1
    ,fnd_lookup_values flv2
    WHERE pca.vendor_id = s.vendor_id
    AND flv1.lookup_code = pca.lookup_code
    AND flv1.lookup_type = pca.lookup_type
    AND flv2.lookup_code = pca.class_status
    AND flv2.lookup_type = 'POS_BUS_CLASS_STATUSES'
    Then create a discoverer report using this folder using all fields.
    Create a new calculation as (use this exact syntax):
    Sysdate + :No_of_Days_in_the_Future
    Create a new condition:
    pca.expiration_date <= <your calculation>
    To complete it add a sort as you did in the SQL.
    That's it.
    Tamir

  • Passing the same input parameter twise in execute sql task

    Hi All, I want to insert some values to 3 different tables in sql server. Execute sql task is used to populate three tables. Here is the sql statement.
    DECLARE @Dt AS DATE
    SET @Dt = ?
    INSERT INTO TABLE1 SELECT ?, COL2, COL3 FROM TABLE_A
    INSERT INTO TABLE2 SELECT ?, COL2, COL3 FROM TABLE_B
    Input parameter is mapped as follows :
    Variable name : User::EffectiveDate
    Direction : Input Data Type :
    Date Parameter name :0
    Parameter size :-1
    User::EffectiveDate is datetime variable.
    When the package is executed, it throws an error.
    [Execute SQL Task] Error: Executing the query " " failed with the following error: "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.". Possible failure reasons: Problems
    with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly. I am not sure what I am doing wrong here. If anyone could point me to the right direction, I really appreciate.
    Thanks
    shamen

    To expand on the other answers.
    Your SQL command
    DECLARE @Dt AS DATE
    SET @Dt = ?
    INSERT INTO TABLE1 SELECT ?, COL2, COL3 FROM TABLE_A
    INSERT INTO TABLE2 SELECT ?, COL2, COL3 FROM TABLE_B
    It using 3 input variables.  I assume you didn't pass 3 variables and you want @DT to be column 1 in each.  In that case you would use:
    DECLARE @Dt AS DATE
    SET @Dt = ?
    INSERT INTO TABLE1 SELECT @Dt, COL2, COL3 FROM TABLE_A
    INSERT INTO TABLE2 SELECT @Dt, COL2, COL3 FROM TABLE_B

  • Input parameter with default value, in OWB 10r2

    -I have a flow that load data from a determinate date, that date is a parameter. This flow is controled to be execute diary by a database job, And takes the parameter as sysdate.
    But I want that a user can set an determined date as input and override the default. (sysdate)
    I created a parameter in the START element , and set
    value as: TO_CHAR(sysdate,'dd-mm-yyyy'))
    The problem is that when the job execute the flow, an oracle error appear:
    ORA-01858: a non-numeric character was found where a numeric was expected ORA-02063: preceding line from FAMISANA@SOU_SEI_LOCATION1
    When I execute the flow and set a parameter input any date (21/07/2001) , thats works.
    So, how can I set the input parameter for have default a sysdate ?
    So thanks

    value as: TO_CHAR(sysdate,'dd-mm-yyyy'))You have created parameter as date then why you are converting it into char.
    and you can check the date format for you database also.
    Cheers
    Nawneet

  • Date Format on OWB 11.1.0.7 to use for input parameter for a mapping

    All,
    What is the Date Format on OWB 11.1.0.7 to use for passing in an input parameter for a mapping to execute?
    I have tried '01-01-2010','01-JAN-2010','01.01.2010', 01/01/2010 and I get the following error:
    Error RPE-01003: An infrastructure condition prevented the request from completing.
    Error RPE-01038: Failed to evaluate expression declare l_expression DATE := 01/01/2010;begin :result := wb_rt_conversions.from_date(l_expression);end;. Please modify the expression, redeploy and retry again.
    RA-06550: line 1, column 32:
    PLS-00382: expression is of wrong type
    ORA-06550: line 1, column 24:
    PL/SQL: Item ignored
    ORA-06550: line 1, column 90:
    PLS-00320: the declaration of the type of this expression is incomplete or malformed
    ORA-06550: line 1, column 51:
    PL/SQL: Statement ignored
    I am using a Mapping Input parameter object and have a START_DATE_IN as a DATE and an END_DATE_IN as a DATE
    Any information you could provide would be greatly appreciated.
    Thanks,
    Shaun

    Hello Shaun,
    The function wb_rt_conversions.from_date is (at least in OWB10.2) overloaded and can with input-types as
    date, timestamp_unconstrained, timestamp_tz_unconstrained, timestamp_ltz_unconstrained or varchar2.
    If it doesn't work with varchar2 I would try Date:
    For example: to_date('2010-01-01','YYYY-MM-DD')
    I also found this thread:
    http://kr.forums.oracle.com/forums/thread.jspa?threadID=608257
    Hoping this helps...
    Guenther

  • How to control field status depending on input parameter to screen?

    Hi,
    I'm sure I met the solution somewhere, but can't find it. Here is the situation:
    I have Screen sequence - my scr.100 calls 110 (detailed screen). I would like to achieve creation or modification of a detailed item depending on an input parameter (ok_code), which I know how, but whould also like to set some fields for input/output or for output only depending on the same parameter.
    Could anyone help me with piece of code or describing what should I do to achieve this (in an example of 1 field)?
    Possible variant is to create another screen - for modify mode, which is not so elegant for me, and yes, I know how to do that.
    Many thanks in advance.
    Ivaylo Mutafchiev

    Try this.....
    LOOP at Screen.
    if screen-name = 'YOURFIELD'.
    screen-input = '0'.
    modify screen.
    endif.
    endloop.
    Regards,
    Rich Heilman

  • Input parameter of Analytic view in Calculation View

    Hello Folks,
    I have created an analytic view with some input parameters and using this view in a calculation view.
    when i am checking Data Preview of Calculation view , it is not asking for any input parameter and returning blank values.
    Could you please let me know the where i went wrong.
    Thanks.

    Hello Ravindra,
    Here is scenario :
    AV :   AV_1 w/o parameters
    AV :  AV_2  w/  required parameters
    when i join the both them into CV_1 , I am unable to see input parameter mapping.
    Could you tell me where it is located.

  • Calling PLSQL Procedure with CLOB input parameter from JDBC

    Hi..
    I've got a PLSQL procedure with a CLOB object as input parameter:
    function saveProject (xmldoc CLOB) RETURN varchar IS
    I want to call that procedure from my JDBC Application as...
    String data = "..."
    CallableStatement proc = conn.prepareCall
              ("begin ? := saveProject (?); end;");
    neither
    proc.setCharacterStream(2, new StringReader(data, data.length());
    nor
    proc.setString(2, data);
    will work.
    The Application throws java.sql.Exception: ... PLS-00306 wrong
    number or types of arguments in call 'SAVEPROJECT'
    How can I use set setClob method?
    The Problem is: with Oracles CLOB implementation I can't create
    an Instance, and from the CallableStatement a can't get a
    Locator for a CLOB-Object.
    This CLOB stuff makes me really nuts!
    please somebody help me.. thanks
    Alex

    Hi All,
    You can not make it like that.
    You can not make clob as input parameter.
    Do you want an easy way?
    This is the easy way.
    sample:
    function myFunction(S varchar2(40))
    return integer as
    begin
    insert into TableAAA values(S)
    --TableAAA only contains 1 column of clob type
    end;
    This will work the problem with this is the parameter is in
    varchar2 right? so there will be limited length for it.
    You can do this to call that function:
    nyFunction('My String that will be input into clob field');
    There's another slight difficult way, I understand that you have
    installed Oracle client/server in your system, try to look at
    jdbc folder and try to find demo.zip in that folder, you can
    find several ways of doing thing with jdbc.
    Have a nice day,
    Evan

  • Cisco webview - create a template with new input parameter

    Dear all,
    I know the Infomaker will help to create a template for webview. I have done with some custom template. My problem is that I can not change the input parameter for webview page. For example, if the template under the skill group, I can only choose with skill group and datetime to generate the report.
    I want to change the input field on the web page, for example the input will be a calling number and a range of datatime and the webview will query on the detail table and pop out some detail call.
    Or I want to run the report for outbound dialer, the input is the customer number and the output page will be the status of this customer call (closed, retry, pending...)
    Can I create a new set of template like Call Detail beside the default Call Type, Agent, Skill Group...?
    Please help to give me some advices.
    Thank you,
    Thanh

    I've personally never seen anything like this done, not saying it is not possible, but you might have to use a different reporting mechanism all together in order to achieve something like this.  I've always been curious why someone would request a report on a single call, just seem like a single call will never trully give you a true representation of your call center metrics.
    Sorry if this is not much help.
    david

  • Sybase Input Parameter ?

    folks
    i am trying to execute a sybase stored procedure it expects one input parameter , below is the stored procedure name and the input parameter,
    sp_case '@sCase_ID'
    From my program if i pass in <b>Case_ID</b> to this stored procedure , It's complaning about stored procedure expects <b>@sCase_ID</b>,
    I appreciate if any one could guide me how to pass the input parameter in the above case that would be really greatful
    thanks
    PM

    Use double quotes for the default value, like this "1234", since you are
    entering a Javascript string.
    Gary Xue
    Actuate Corporation - Product Development
    BIRT Committer
    "Terry Tam" <[email protected]> wrote in message
    news:a2858f14e3eaedf3581b981a13f355a4$[email protected]..
    > I have a stored procedure spu_Get_CustomerName in Sybase. It receives one
    > input parameter @as_customerno. I have defined the data set as follows:
    >
    > Stored proc: spu_Get_CustomerName
    > Parameter:
    >
    > parameter data type input/output default value
    > --------- --------- ------------ -------------
    > @as_customerno String input '1234'
    >
    > I have tried to specify the following in the query
    >
    > call spu_Get_CustomerName (?)
    >
    > but it returns an error of "Incorrect syntax near '@p0'"
    >
    > What's wrong with my query? How can I fix it?
    >
    > Thanks~~
    >

  • Inconsistent input parameter

    Hi
    I am seeing the following error when trying to use the "Display Data" menu option on an Infocube: "Inconsistent input parameter (parameter: i_sid, value 0)".
    I have created about the simplest Infocube that I know of to try to resolve this, with OCalDay in the Time dimension, a simple custom SKU Characteristic in Dimension 1, and only one Key Figure. I have loaded only one record into the InfoCube, and the corresponding SKU and 0CalDay objects are populated with data (and it appears to hold referential integrity.
    I do not have anything within the Unit dimension. Do I need something? What can I put in as a dummy?
    But if Unit is not a problem, any other ideas why I am seeing this error?
    Thanks
    Al.

    Hi,
    During the creation of keyfigure, did you mention anything under Currency/Unit of Measure. If you have mentioned any fixed currency there, then while creating transformation in Rule details of that keyfigure, under Currency, you mentiond fixed currency and No Conversion.
    This should solve the issue.
    Best Regards,
    Rajani

  • Reg..csv file as input parameter in sqlloader

    Hi,
    I have .ctl file. every time i received the file name in diff name.
    rather than hardcode file name i wants to take .csv file as input parameter plesase do help in this.
    here is the code..
    OPTIONS (SKIP = 1, BINDSIZE=100000)
    LOAD DATA
    CHARACTERSET WE8ISO8859P1
    INFILE '/WOAU1/bkp/pgp_masterkey.csv'
    BADFILE '/WOAU1/bkp/pgp_masterkey.bad'
    DISCARDFILE '/WOAU1/bkp/pgp_masterkey.dsc'
    Thanks
    Atul

    A better alternative would be to avoid using SQL*Loader and instead use External Tables for which you can use an ALTER TABLE statement to change the LOCATION of the table (which details the filename). (A valid reason for using EXECUTE IMMEDIATE in PL/SQL). That way you keep all your control inside the database and you're not messing about with o/s scripts to pass different parameters to an external program.

  • Schedule Process Flow with sysdate input parameter

    Hi experts,
    I'm facing a problem trying to run a schedule in a job,
    The schedule is defined to run daily at 3am, and the job receive a sysdate parameter, when I start the schedule in the control center I put
    TO_CHAR (TRUNC (SYSDATE), 'DD / MM / YYYY') , and the JOB runs fine with the correct date, but the next day the schedule runs with the date from yesterday, i.e the sysdate is not working.
    Maybe I missing something here ?, or is there another way to pass a dinamyc parameter to a scheduled job.
    I´m using OWB 11.2.0.1
    Thanks.

    Chino -
    Once you start the job, do you have to leave the "Job Details" window open in order for teh scheduled task to run?
    thanks for the help ....
    txb

Maybe you are looking for

  • Accounting entry against Excise invoice not created  for Service Tax sales

    Dear all,     I am facing one problem related to accounting entry against excise invoice not created, for service tax sales scenario in SEZ plant. Accounting entry against billing document is generated,which contains revenue account-Debit entry,servi

  • Levels in login servlet

    I am about to extend my login servlet. First I want to give each user different levels. Example I have 4 options - Watch topics - Modify topics - Delete topics - Create new user User 1 is allowed to do all 4 options. User 2 is only allowed to use 1st

  • How to plot the intensity of a diffraction pattern through a circular aperture

    I'm new to LabVIEW and I was advised to run a tutorial exercise writen for other University students to familiarise myself with the program. Unfortunately, I've fallen at the final hurdle and I have no idea what I'm doing wrong The task is to calcula

  • Just a thought on Creative

    Hello Creative customers and mainly addressed Creative employees, I can notice that there is a huge problem with you and windows 7. On most of general help guidelines many times you go only up to windows XP. Somehow Win95 is included but Vista or 7 a

  • SAP KM custom properties

    Hi all, I have created a new custom boolean  property in my repository I need to change the label icon for this property, in the property parameters I can indicate the imagen name but  where do I have to upload the image.gif? Thanks in advance Regard