How to register varray datatype input parameter in concurrent program

Hi All,
I had a code contains varray datatype input parameter... Now i need to register this in concurret program screen.. which datatype i need to select?... i can able to see only number and character data type in value set.
Thanks

As mentioned, the Concurrent progrm APIs are just wrappers and the datatypes are limited. Now, how many items you expect to have in the array as a maximum? You could use the same wrapper concept to collect the array values individually (up to 100) and then just load them to an array to be passed to your stored procedure. Just have an overloaded version with values1..valuesn that is only used as the entry point and then load the values to the structure needed by the program unit containing your logic. There is a limit of 100 parameters, though.

Similar Messages

  • Selected Lov Value as Parameter to Concurrent Program in oaf

    Hi,
    iam new to OAF ,Can any one please help me how to pass selected lov value as a parameter to the Concurrent program in oaf.
    i created one lov in oaf page after selecting value in lov i want that value to be passed as parameter to concurrent program.
    Please help me how to implemet code so that Lov will pass as parameter to the concurent program in Controller.

    Check these links. You need to get the value from the LOV to a variable, add it to the vector and pass to the conc program. Below link provides the details on concurrent program submission.
    http://prasanna-adf.blogspot.com/2008/11/call-concurrent-program-from-oa.html
    For fetching LOV values, check the Dev Guide
    Thanks
    Shree

  • How to get the source code of Java Concurrent Program?

    Hi,
    How to get the source code of Java Concurrent Program?
    Example
    Programe Name:Format Payment Instructions
    Executable:Format Payment Instructions
    Execution File Name:FDExtractAndFormatting
    Execution File Path:oracle.apps.iby.scheduler
    Thanks in advance,
    Senthil

    Go on Unix box at $JAVA_TOP/oracle/apps/iby/scheduler
    You will get class file FDExtractAndFormatting.
    Decompile it to get source code.
    Thanks, Avaneesh

  • How to pass process flow input parameter to unix script external process

    Hi,
    I'm trying to pass a process flow input paramter (string) to an external process which is a unix script. I've been working on this for the last 2 days but can't get it to work. Here is the design. I have a process flow with 3 maps that create a file in the unix file system. I have a suffix, which is an input parameter to the process flow, that will need to be passed to the unix script to rename the file appending the suffix to the filename. I've tried different things and nothing works for me. Has anyone done something similar in OWB?
    Thanks much!

    I tried using useBean inside the Jsp for this.
    But following error comes:
    OracleJSP error: oracle.jsp.parse.JavaCodeException: Line # 13, oracle.jsp.parse.JspParseTagExpression@102e37e
    Error: Java code in jsp source files is not allowed in ojsp.next mode.
    Please explain why?
    How can set POST request params when calling to an external servlet?

  • How to pass refcursor as input parameter to a procedure in a package

    Hi there
    Please can anybody explain me with an small example for
    passing a procedure output(output should be a refcursor) and pass that refcursor values into a procedure in a package as input parameter and this value i want to use as join condition in my procedure ie. ename=refcursor.ename like this).That my exact question is how to pass refcursor values as in parameter
    Pls suggest me with some example statements
    thanks in advance
    prasanth a.s.

    I am giving you a generic example.
    SQL> variable v_out REFCURSOR
    SQL> r
      1  DECLARE
      2  PROCEDURE TEST1(p_out OUT SYS_REFCURSOR) IS
      3  BEGIN
      4  OPEN p_out FOR SELECT EMPNO,ENAME FROM SCOTT.EMP;
      5  END;
      6  PROCEDURE TEST2(p_in IN SYS_REFCURSOR) IS
      7  v_empno NUMBER(10);
      8  v_ename VARCHAR2(30);
      9  BEGIN
    10  LOOP
    11  FETCH p_in INTO v_empno,v_ename;
    12  EXIT WHEN p_in%NOTFOUND;
    13  DBMS_OUTPUT.PUT_LINE(v_ename);
    14  END LOOP;
    15  NULL;
    16  END;
    17  BEGIN
    18     TEST1(:v_out);
    19     TEST2(:v_out);
    20* END;
    SMITH
    ALLEN
    WARD
    JONES
    MARTIN
    BLAKE
    CLARK
    SCOTT
    KING
    TURNER
    ADAMS
    JAMES
    FORD
    MILLER
    PL/SQL procedure successfully completed.

  • Can we give *.* as an input parameter to java program.

    i have a simple java program. In the program I’m giving the input parameter as *.*
    But in the main method, I’m getting the argument value as a different one. The name of one of the file in the current directory. Any thing that starts with * like *.txt* is giving the file name in the directory.
    How to parse the *.* through input parameter.
    public class test
         public static void main(String args[]){
              System.out.println("arg[0]-->"+args[0]);
    }

    This is a shell thing, not a Java thing -- your command line shell is expanding things like dot or star. You need to quote it to pass it to your program, unexpanded. The quoting syntax depends on your shell, but try single or double quotes:
    java UrPrgm '.' '*'
    //or
    java UrPrgm "." "*"

  • Current date parameter in concurrent program is not not taking current date

    Hi All,
    I have scheduled one concurrent request running very day @21:30 ,one of the parameter passed is current date ,which defined as default value at the time of defining concurrent program.Surprisingly its taking next day date as parameter.Can someone help me resolving this issue.
    From where this current date is taken.
    When I am logged in unix as oracle user and executing following query I am getting follwoing results
    SQL> alter session set nls_date_format='MM/DD/YYYY HH24:MI:SS';
    Session altered.
    SQL> select current_date from dual;
    CURRENT_DATE
    05/25/2010 07:40:11
    SQL> select sysdate from dual;
    SYSDATE
    05/25/2010 07:40:20
    date
    Tue May 25 07:40:35 SAUST 2010
    When I logged in unix as applmgr user:
    SQL> select current_date from dual;
    CURRENT_DATE
    05/25/2010 04:41:17
    SQL> select sysdate from dual;
    SYSDATE
    05/25/2010 07:41:19
    date
    Tue May 25 07:41:04 SAUST 2010
    Unix level date is correct and sysdate is also correct in both cases.
    But current_date when logged in s applmgr user is wrong,is this reason for the issue.
    If so how can I change it
    Version : 11.5.10.2
    Database : 10.2.0.4
    OS : AIX 5.3
    Thanks in advance

    Hi;
    Please check below and see its helpful:
    Scheduled Request Set Using 'Current Date' In Parameters Will Set Parameters One Day Out [ID 242654.1]
    The parameter Argument 2 (GL DATE) does not select the Current Date when schedule [ID 250431.1]
    Regard
    Helios

  • How to implement node affinity for java type concurrent programs.

    How to run a concurrent program against a specific RAC instance with PCP/RAC setup? (Doc ID 1129203.1)
    This works for non java registered concurrent programs but not java registered with use the DBC file
    EBS RAC environment with two RAC nodes. We would like to implement node affinity to allow concurrent programs to be directed to a single RAC instance. Oracle have provided the NODE AFFINITY ability via the concurrent program definition in Session Control. This then uses the entry in the 10.1.2 tnsnames.ora to pass the request directly through to the instance as defined by Node Affinity.
    However, concurrent programs defined as type java do not access the database by the 10.1.2 tnsnames.ora but use the dbc file under $FND_SECURE. This file is configured for both self service and concurrent processing so any change to the dbc file entry will affect both self service and concurrent processing.
    How to we implement a node affinity solution for concurrent programs without affecting Self Service conncetions? We'd like the dbc file to directly connect java concurrernt programs through to one instance but the self service connections to use the SERVICE name only.
    Regards.
    philippe.

    Did you think about Online/Batch node concept ? By that way you can seggrecate application connection.

  • Using varray as input parameter & passing it to SP along with otehr params.

    HI,
    I need to use one of the IN parameter as collection type eg Varray. Other parameters are normal number,date type How would I write the SP to return the resultset to calling program.
    If I write below code signature. while fetching refcursor loop values of varray will it work?
    eg-
    Create or Replace package Pkg1 IS
    Type V_type is varray(5000) of Number;
    Procedure getvalue(I_val1 IN date, I_val2 IN NUMBER,...,I_val5 IN V_type,
    P_out OUT sysrefcursor);
    END Pkg1;
    Create package body Pkg1 AS
    Procedure get_value((I_val1 IN date, I_val2 IN NUMBER,...,I_val5 IN V_type,
    P_out OUT sysrefcursor);
    IS
    BEGIN
    open P_out for
    For i IN I_val5.FIRST..I_val5.LAST
    LOOP
    SELECT * from tab1 t
    where t.col1 = I_val1
    t.col2 = I_val2
    t.col5 = I_val5(i);
    END LOOP;
    END;
    END get_value;
    END pkg1;
    Here we need loop for only I_val5 param and all other parameters are common for each fetch.
    will this work?

    954825 wrote:
    HI,
    I need to use one of the IN parameter as collection type eg Varray. If I correctly understand your reqs, you need SQL type, not PL/SQL type. Use could use pre-defined type sys.OdciNumber:ist:
    create or Replace
      package Pkg1
        is
          procedure getvalue(
                             I_val1 IN date,
                             I_val2 IN NUMBER,
                             I_val5 IN sys.OdciNumberList,
                             p_out OUT sysrefcursor
    end Pkg1;
    create or replace
      package body Pkg1
        is
          procedure getvalue(
                             I_val1 IN date,
                             I_val2 IN NUMBER,
                             I_val5 IN sys.OdciNumberList,
                             p_out OUT sysrefcursor
            is
            begin
                open p_out
                  for
                    select  *
                      from  tab1 t
                      where t.col1 = I_val1
                        and t.col2 = I_val2
                        and t.col5 in (
                                       select  column_value
                                         from  table(I_val5)
          end get_value;
    end pkg1;
    /SY.

  • How to pass multi-value input parameter to SQL command

    I'm having trouble following the threads related to passing multi-value parameters to a SQL command.
    I need more details on the work-around that exists for using a dummy main report to GET the input parameters and pass them to a subreport parameter that uses the input parameters in its sql command WHERE clause.
    So far the main report prompts user to enter badge numbers into a multi-value string type parameter field called badgeNumber.
    The main report getRequesters command executes the following SQL:
    SELECT requester FROM lawprod.requester WHERE lawprod.requester.requester IN  '{?badgeNumber}'
    order by requester
    The main report also contains a formula called requesterList that concatenates the input parameters and separates the values with commas:  (Join ({?badgeNumber}, ", ")  
    So if user enters badge numbers 1 and 2 and 3 the value of requesterList is 1, 2, 3
    From the main report I've used the Insert Subreport command to choose an existing report, and used the link tab to link @requesterList to ?requester; where ?requester is a multi-value parameter that is used in the subreport's SQL query as shown below:
    WHERE (lawprod.ictrans.update_date <=  {?endDate} AND
           lawprod.ictrans.update_date >= {?startDate} AND
           lawprod.ictrans.doc_type = 'IS' AND
           lawprod.ictrans.system_cd = 'RQ' AND
           lawprod.mmdist.posting_type = 'O1')
          AND
          (lawprod.ictrans.company = lawprod.mmdist.company AND 
           lawprod.ictrans.system_cd = lawprod.mmdist.system_cd AND
           lawprod.ictrans.location = lawprod.mmdist.location AND
           lawprod.ictrans.doc_type = lawprod.mmdist.doc_type AND
           lawprod.ictrans.document = lawprod.mmdist.doc_number AND
           lawprod.ictrans.shipment_nbr = lawprod.mmdist.doc_nbr_num AND
           lawprod.ictrans.line_nbr = lawprod.mmdist.line_nbr AND
           lawprod.ictrans.component_seq = lawprod.mmdist.component_seq)
          AND
          (lawprod.ictrans.company = lawprod.reqline.company AND 
           lawprod.ictrans.document = lawprod.reqline.req_number_a AND
           lawprod.ictrans.line_nbr = lawprod.reqline.line_nbr AND
           lawprod.reqline.company = lawprod.reqheader.company AND
           lawprod.reqline.req_number = lawprod.reqheader.req_number)
           AND
           (lawprod.reqheader.requester in '{?requester}')
    Following execution of the main report, Crystal appears to prompt for three values as expected: badge numbers for the main report, and start and end dates needed by the subreport.   I can't figure out why Crystal XI returns no data. Can anyone explain what I'm missing?
    Edited by: Patricia Sims on Sep 21, 2009 9:30 PM

    The reason no data is returned is that the multiple values are not (properly?) passed to the main report's SQL.  The main report's SQL should be (MS SQL):
    select 1 as dummy
    This causes exactly one record to be returned, which will basically be ignored (except the fact that it will drive the subreport; any query that returns only 1 record will suffice...).
    Change the concatenation of the selected values to be (basic syntax):
    formula = "|" + join({?badgeNumber}, "|") + "|"
    The leading and trailing vertical bars are important (otherwise a database value of 1 might match a selection of 123).
    Pass the concatenated string as the parameter value to the subreport.  In your subreport, select records on (basic syntax):
    formula = (instr({?sr-badgeParam}, "|"+cstr({requester},"0") + "|") > 0)
    (assumes is numeric in the database, and is integer; modify or eliminate cstr() if otherwise...)
    Put your subreport on the detail format of the main report, and you're all set...
    HTH,
    Carl

  • How to Use VARRAY Datatype?.

    I have three rows in one table.I have done some modifications to that table.I want to Update the Total Table at Single Database call?.May I Use Collections for that?.I want to Know about Collections.

    You should google before asking these questions.
    Here is a example
    -- VARRAY
    DECLARE
    TYPE varray_type IS VARRAY(5) OF INTEGER;
    v_varray varray_type;
    BEGIN
    --v_varray := varray_type(10,20,30,40,50);
    v_varray := varray_type();
    v_varray.extend;
    v_varray(1) := 10;
    v_varray.extend;
    v_varray(7) := 20;
    DBMS_OUTPUT.PUT_LINE(v_varray(1));
    END;
    Cheers.

  • WAD : 2 Queries in 2 tables : How to get only one input parameter ? :-(

    Hi,
    In my WAD Report, I've several tables ( each include a query result ). Those query have one variable ( which is a range of month ).
    How can I link the range of month to all my queries ?
    ( for the moment, the parameters(variables) screen display as much month variable as query )
    Thx,
    Regards,
    Erwan

    hi,
    u should use the same variable across all your queries.In the WAD there is a propoerty "display same variable once". Check that.
    hope it helps,
    regards,
    Parth

  • How to do set apps context in java concurrent program

    Hi,
    Can any body help me in setting apps context in Java Concurrent program. I tried using AppsContext class and methods but did not work.
    Thanks for help in advance
    Pavan

    Go on Unix box at $JAVA_TOP/oracle/apps/iby/scheduler
    You will get class file FDExtractAndFormatting.
    Decompile it to get source code.
    Thanks, Avaneesh

  • How to increment GL Period using Oracle Application concurrent program scheduler

    Hi All,
    In R12, I came to know that we can increment GL Period also using Oracle Application Concurrent Program scheduler.
    We have a requirement to schedule 'Account Analysis Report' for different legal entities. We would need to increment GL Periof for each department.
    In 11i, we can not increment GL Period.
    Is there a way, to increment GL Period to schedule 'Account Analysis Report'
    Please advise.
    Appreciate your time and help.
    Oracle Application Version: R12.1.2
    thanks in advance,
    Ganesh

    Hi,
    could you please help me?
    thanks.

  • How to notify user about concurrent Program Status from BPEL

    Hi,
      I'm calling Concurrent Program in Oracle Apps Adapter from BPEL 11g . I have to pass the mail id as one of the input parameters to concurrent program. I have to notify the status of the concurrent program to that mail id  it is Success or failure in the EBS itself.  Is there any jca file properties for this?
    Any suggestions Plz????

    Hi Ajay,
       Thanks, for ur reply.. Can u plz tell  how to pass one of the input parameter of concurrent program to that notification?

Maybe you are looking for

  • Display stopped working on Satellite A300

    Hi Guys, I have satellite a300 PSAg4a-02500m laptop. All of a sudden the display has stopped working on the laptop. I tried plugging an external display but that is also not working. I cannot even see the bios screen. The laptops normally, I don't he

  • IMac black screen when streaming to Appletv

    Does anyone have any idea why my 1 year old iMac gives me a black screen when we are watching a movie with our Appletv. Once we stop streaming the movie the iMac will respond again. It is running Lion with all the software updates.

  • Importing data from Access into InDesign...

    Hi I need to create 200 A6 sized profile cards.  Each card must contain a person's name, job role, three key things they are currently working on and a full body photograph. All the data is currently being collated in Microsoft Access (not currently

  • Unable to INSERT record but inserting. Forms 4.5 error through Apps 10.7

    Hi All, I have written the following code on save button on form 4.5 which has been used from APPS. I created the master-detail relation also. It suppose to insert a row into header and then into lines. Its inserting the row into both the tables but

  • HT201317 frozen iPad screen- help!

    a pop up on my iPad says: Photo Stream- photos for the iCloud account "iCloud" cannot be accessed. Review your account information in Settings. I can click "ignore"or "settings".  the screen is frozen and I can't do anything. How do I unfreeze the sc