Problem in passing several Arguments for simultaneous program

Hello

I need to pass two stamped in my simultaneous program

but I am facing problem while adding the second parameter in the code below

Please suggest how to pass several parameters for the simultaneous program
    Vector cpArgs = new Vector();
    cpArgs.addElement(shipmentId);
    cpAgrs.addElement(addId);
    System.out.println("Args"+ cpArgs);
It's my submission of application code
    public int submitRequest(String shipmentId, String addId) throws Exception {  
    try {
      OADBTransaction tx = (OADBTransaction)getDBTransaction();
    java.sql.Connection pConncection = tx.getJdbcConnection();
    ConcurrentRequest cr = new ConcurrentRequest(pConncection);
        cr.addLayout("XXAPL", "XXAPLPORMSD", "en", "US", "RTF");
    String applnName = new String("XXAPL"); 
    System.out.println("ApplName"+ applnName);
    String cpName = new String("XXAPLPORMSD"); 
    System.out.println("Concc Name"+ cpName);
    String cpDesc = null;
    Vector cpArgs = new Vector();
    cpArgs.addElement(shipmentId);
    cpAgrs.addElement(addId);
    System.out.println("Args"+ cpArgs);
     
        int requestId = cr.submitRequest(applnName, cpName,cpDesc, null,  false, cpArgs);        

    tx.commit();    

    return requestId;

    } 
     
    catch (RequestSubmissionException e) {
    OAException oe = new OAException(e.getMessage());
    oe.setApplicationModule(this);
    throw oe;

    }
        catch(Exception exception)
        {
        throw OAException.wrapperException(exception);
        }

    }
Krishna

I did most of the changes. IAM do not know why the error is come

This is the reason why...

It should be cpA rg s

NOT

cpA gr s

Thank you
-Anil
http://oracleanil.blogspot.com

Tags: Oracle Applications

Similar Questions

  • How to create a value fixed for simultaneous program?

    Hi friends,
    I create a simultaneous program with a period of setting...

    In the value set for parameter period, I use the following query:
    -where application_id = 101
    and set_of_books_id =: $PROFILES$ .gl_set_of_bks_id
    and closing_status IN ('o', 'F', 'C')
    order of period_year, period_num' -.

    In my cursor, I have one condition ' where set_of_books_id = '.
    How can I switch the whole above ID of books in the cursor? It does not work when I'm defining another parameter like book and passing this value to the cursor...
    I need this period parameter to return all periods for all the books where we run the concurrent application of... I also need to get all of the books for my cursor IDs...

    I hope I'm making sense... What I'm trying must have the period setting and also an OB id in condition of cursor...
    Rgds,

    Please use the following example

    Start
    FND_GLOBAL. APPS_INITIALIZE (user_id-online-1, resp_id-online 51901, resp_appl_id-online 222);
    end;

    DECLARE
    SET_BKS VARCHAR2 (20);
    BEGIN
    FND_PROFILE. GET ('GL_SET_OF_BKS_ID', SET_BKS);
    DBMS_OUTPUT. PUT_LINE (SET_BKS);
    END;

    Maybe this will help you

    Concerning
    Nitin

  • FNDLOAD for simultaneous program

    Hi all

    I'm moving from Dev to UAT instance objects I could use FNDLOAD to do
    I use the following commands to download from dev and transfer to UAT

    "" "FNDLOAD apps/apps O DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct GPSSA_FA_DEPRN_QUAR_REP.ldt button APPLICATION_SHORT_NAME =" GPSSACUST "CONCURRENT_PROGRAM_NAME =" GPSSA_FA_DEPRN_QUAR_REP "

    FNDLOAD apps/apps O DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct GPSSA_FA_DEPRN_QUAR_REP.ldt


    they are compiled successfully when I download the DEV file "GPSSA_FA_DEPRN_QUAR_REP.ldt", I consider & put in "" $FND_TOP/patch/115/import / ' path in UAT & I upload & it also download successfully "

    But when I open the app & query for this simultaneous I can't find... Am I missing something here?

    Updating just the thread with the command that worked for the OP...

    The correct command is:

    FNDLOAD apps / 0 DOWNLOAD GPSSA_FA_DEPRN_QUAR_REP.ldt PROGRAM APPLICATION_SHORT_NAME $FND_TOP/patch/115/import/afcpprog.lct = "GPSSACUST" CONCURRENT_PROGRAM_NAME = "GPSSA_FA_DEPRN_QUAR_REP".

    Thank you
    Hussein

  • problem in passing the parameters for dashboard invites you in the URL

    Hello

    We have created a dashboard on OBI has a few invited dashboard. We have a requirement that we open the dashboard of an external application. We do this by invoking a URL. We want the dashboard to turn guests already applied.

    I tried to open the dashboard with the following URL

    http:// < servername:port > /Analytics/Saw.dll? GB & PortalPath=/shared/Procurement%20and%20Spend/_portal/Supplier%20Performance & Page = overview

    But when I use the URL above to see the dashboard is not coming. It shows the following error

    No column
    The request cannot be performed because it contains no columns.

    When I use the following URL (which has the keyword "Dashboard" not "Go") the dashboard is coming fine

    http:// < servername:port > /Analytics/Saw.dll? Table edge & PortalPath=/shared/Procurement%20and%20Spend/_portal/Supplier%20Performance & Page = overview

    He invites dashboard in the dashboard. When I try to send the value of filter with URL (given below) it does not work. I just saw the upcoming dashboard.

    http:// < servername:port > /Analytics/Saw.dll? Dashboard & NQUser = Admin & NQPassword = SADMIN & PortalPath=/shared/Procurement%20and%20Spend/_portal/Supplier%20Performance & Page = Preview & P0 = 1 & P1 = eq & P2 = provider. "" Provider % 20Name ' & P3 = 1 + AccessMicron

    When we use the keyword of the dashboard in the URL, can pass us the parameter for the dashboard proimpt... ? If we can do that... How to make... ? Is this the same way we do to go the URL. ..?

    Please let me know if you need more information on this.

    Thanks in advance for your time,
    Regnier

    Published by: Raja Kumar on January 22, 2010 03:29

    Hello

    You must also have '& Action = Navigate' clause too.

    You can pass parameters to the dashboard reports too.

    For syntax, see these sites

    http://download.Oracle.com/docs/CD/E12096_01/books/AnyWebAdm/AnyWebAdm_APIWebIntegrate6.html#wp1005251

    http://oraclebizint.WordPress.com/2007/07/30/customizing-Obi-EE-%E2%80%93-go-URL-parameters/

    Kind regards
    Rambeau

  • When you try to download iTunes I get the following error ' there is a problem with this windows package install a program required for this install complete could not be run.

    Problem Windows install

    When you try to download iTunes I get the following error ' there is a problem with this windows package install a program required for this install complete could not be run.

    I looked at several forums and tried cleaning patches, etc they suggest.  I also tried to download Windows Installer 4.5 but keep says "the update does not apply to my system" (I tried all.)

    I am running Windows Vista and have downloaded the service pack 2 (one remedy suggestions!)  Someone out there has a solution?

    Hello, Atwitsend...,

    Try to repair.
    Go into Add Remove Programs, then select Apple Software Update > change > repair.

    If this does not work, try to uninstall. .

    Remove and reinstall ITunes, Quicktime, and other software components
    http://support.Apple.com/kb/HT1923

    Download the iTunes Installer and save it on your desktop.

    http://www.Apple.com/iTunes/download/

    Try to install iTunes using the installer that you saved.

  • Installer for the simultaneous program defined with the parameters - Script SQL

    I wrote a very simple sql script and I want to save it as a simultaneous Oracle program. I have included a parameter field in the sql script to allow the entry of a value to determine the number of days prior to the script. The script runs correctly in SQL * Plus, but when I try to record it as a competitor Oracle program I get the following errors below:
    This works in SQL* PLUS
    
    SELECT emp_id, amount
    FROM tblSalaries
    WHERE hire_date > SYSDATE-&Days;
    
    Enter value for Days: 7
    old    3: hire_date > SYSDATE-&Days
    new  3: hire_date > SYSDATE-7
    
    And it provides my results....
    Although when I save this as a simultaneous program and set the configuration setting and run the simultaneous program and enter the number in the parameter field, work ends with an ERROR with the following:
                                                                                                             
    Enter value for Days: EXEC FND_CONC_STAT.COLLECT;
    hire_date > SYSDATE-EXEC FND_CONC_STAT.COLLECT; and
                                        *
    ERROR at line 3:
    ORA-00933: SQL command not properly ended 
    If I put single quotes around '& days', in line 3, I get a different error:
    ERROR at line 3:
    ORA-01722: invalid number 
    Do you know what could be the problem?
    Thanks for the review!

    You can try one of these approaches-

    1. replace '& days' in your script with "& 1"- or-".

    2. Add the following to your script at the beginning

    Days := &1;
    

    PL see the developer's Guide Application for your specific version http://www.oracle.com/technology/documentation/applications.html EBS

    HTH
    Srini

  • Cannot run Microsoft Fix It for Program_Install_and_Uninstall error: ' we're sorry, but we encountered an unexpected problem, one or several upload components and can not run...»

    Original title: cannot run Microsoft Fix It to Program_Install_and_Uninstall

    When I run Microsoft Fix It for Program_Install_and_Uninstall, I get "we're sorry, but we encountered an unexpected problem, one or several upload components and cannot run the troubleshooter now...» »

    Hello

    Why you try to run the fix it tool?

    Post to fix any problem with Microsoft tool in Microsoft Fix it Center forums.
    http://social.Microsoft.com/forums/en-us/category/msftsupporttools

  • I see several duplicate processes appear in my task manager, both for the programs I use for my system.

    I am a user of Windows Vista Premium Home Edition (64-bit) and I recently met a strange and frustrating problem:

    Process/images in my task manager appear as duplicates, native processes on Windows for the process for other programs such as my web browser or the video card drivers.
    Treatments that are be duplicated are as follows:
    Chrome.exe * 32 - 2-3 process at the same time, currently a browser open with 3 tabs (Google Chrome)
    Csrss.exe - 2 process, the values of different memory of 1820 and 2500 (Client Server Runtime Process)
    nvvsvc.exe - 2 process, different values of 1556 and 2988 (Nvidia driver helper service, worm 191.07) memory
    Pen_tablet.exe - 2 process, the values of different memory of 10112 and 1788 (service) Tablet for driver of consumer
    Svchost.exe - This is listed in 12 different processes under different user names - 3 for the system, local 5 and 4 for network - all with the memory values (Windows Service host process)
    taskeng.exe - 3 process, listed under different usernames of the system, premises and owner (Task Scheduler Engine)
    I'm worried about this because I have recently updated my anti-virus and malware, however this problem is still present. I have no idea what that means or how to fix this and would appreciate any assistance that could be given.

    Hi Mohiten,

    It is normal that you currently live. As the scan came clean, you should be good.

    If you wish, you can try to run a scan online and check.

    Check out the link:

    http://safety.live.com

  • I pay for several months for a subscription, but the program propose to install only the demo version of the software.

    I pay several months for a subscription cloud creative but the program offers me to install only demo version of the software. Why what is happening ?

    Hello

    Please see the below help documents:

    Applications creative Cloud back in test mode after an update until 2015 for CC

    Solutions to connection errors, activation and connection with creative Cloud applications and Creative Suite

    Kind regards

    Sheena

  • Changing the format of output for simultaneous Standard programs

    Hi gurus,

    Can someone let me know if we can change the output format of the simultaneous Standard program.

    I have a requirement where I need to change the output format of the program simultaneous to text in the PDF Format.

    Will be supported Oracle if we make this change in the Standard program to print output to PDF Format.

    Thanks in advance

    Yes it is possible to change the output format of Standard concurrent programs.

    for our needs.

    We changed the output format of simultaneous program 'Active users' text to PDF...

  • problem when simultaneous program call

    Hello

    I'm trying to run a simultaneous program that is report xml editor. I googled and I got the following code and tried to run the xml report.

    public int submitCP (String scorecardId, String planId, oaam, OAApplicationModule) {}
    int cpRequestId = 0;
    Connection conn is oaam.getOADBTransaction () .getJdbcConnection ();.
    ConcurrentRequest cr = new ConcurrentRequest (conn);
    String applShortName = "TO";
    String cpName = "XX_GOAL_SETTING_PRINT";
    "String param = planId +": "+ scorecardId;
    Vector args = new Vector();
    args.addElement (param);
    args.addElement (planId);
    args.addElement (scorecardId);

    try {}

    cr.addLayout (applShortName, cpName, "en", "US", "PDF");


    cpRequestId = cr.submitRequest (applShortName, cpName, "", "", false, args);
    try {}
    cr.addLayout (applShortName, cpName, "fr", null, "RTF", "PDF");
    Conn.Commit ();
    } catch (Exception e) {}
    throw new OAException ("Add available returns the question" + try (), OAException.ERROR);
    }
    Return cpRequestId;

    } catch (RequestSubmissionException e) {}
    OAException oe = new OAException (e.getMessage ());
    oe.setApplicationModule (oaam);
    throw oe;


    }
    }

    I tried without layout, I get application Id but I can only see this request to sysadministrator responsibility. But I took this report in HRMS Manager.

    But it does not put because there is provision specified in the request.

    Please suggest me to fix this problem and also tell me how to open this output in another tab.

    Thank you
    SAN

    Hi SAN,

    Use getOutputURL method get is work.

    public String getOutputURL (String requestId)
    {

    String s4 = null;

    OADBTransactionImpl oadbtransactionimpl = (OADBTransactionImpl) getDBTransaction ();
    String s1 = oadbtransactionimpl.getAppsContext () .getEnvStore () .getEnv ("TWO_TASK");
    String s2 = oadbtransactionimpl.getAppsContext () .getEnvStore () .getEnv ("GWYUID");
    String s3 = "START: 1: = fnd_webfile.get_url (fnd_webfile.request_out,: 2: 3: 4: 1); end; « ;
    CallableStatement callablestatement = getOADBTransaction () .createCallableStatement (s3, 1);
    If (requestId! = null)
    {
    Try
    {
    Number = new Number (requestId);
    callablestatement.registerOutParameter (1: 12);
    callablestatement.setInt (2, number.intValue ());
    callablestatement.setString (3, s2);
    callablestatement.setString (4, s1);
    CallableStatement.Execute ();
    S4 = callablestatement.getString (1);

    throw new OAException (retrivePLSQLError ());
    oadbtransactionimpl.putValue ("OutputURL", s4);

    }
    catch (Exception exception1)
    {
    S4 = exception1. ToString();
    }
    Finally
    {
    Try
    {
    CallableStatement.Close ();
    }
    catch (Exception exception2)
    {
    throw OAException.wrapperException (exception2);
    S4 = exception2. ToString();
    }
    }
    return s4;
    } else
    {
    S4 = "no id of request sent";
    return s4;
    }

    } / / end of method getOutputURL() * /.

    Kind regards
    Ordronneau

  • a problem in passing multiple values in the loop settings for

    Hi all

    I am facing a problem in passing multiple values in the loop settings for.


    EX:

    CREATE or REPLACE PROCEDURE (pr_id OUT NUMBER) HAVE


    tab type is table of NUMBER;

    TEMP_TAB TAB;

    BEGIN

    Select the COLLECT LOOSE pr temp_tab pr_id;

    I'm in 1.TEMP_TAB. loop of COUNTING

    PR_ID: = temp_tab (i);

    end loop;

    END TEST;

    OUTPUT:-

    pr_id = 234578


    in the example above, I'm only a value as an out parameter. but I send you PR_ID of the loop.
    why I don't get all the values that the parameters.please offer a solution for me.

    Thank you my friend.

    More clarification, let's look at your code...

    -- create a procedure and have a single numeric out variable
    CREATE OR REPLACE PROCEDURE TEST ( pr_id OUT NUMBER ) AS
      -- declare a type as an array of numbers
      type tab is table of NUMBER;
      -- declare a varianble of that array type
      TEMP_TAB TAB;
    BEGIN
      -- query all the values from the table into the array
      select pr_id BULK COLLECT INTO temp_tab from pr;
      -- loop through each value in the array
      for i in 1..TEMP_TAB.COUNT loop
        -- set the value of the single OUT parameter, OVERWRITING any previous value it has
        PR_ID := temp_tab(i);
        -- loop around to the next value
      end loop;
      -- end the procedure with the final value of PR_ID
    END TEST;
    
  • Premium HP: HP Premium - problems with the TRIANGLE_P command in the programs.

    I have version 2015 7 28 (8151) firmware and can not be updated any further because I have only the Android app.

    Maybe the next problem has also been fixed already in a more recent update, as a previous problem of mine. We'll see.

    I want a 3-dimensional triangle of the project on the screen using the advanced form of TRIANGLE_P.

    First the good news.

    The following program works:

    EXPORT experiment1
    BEGIN
    LOCAL P1, P2, P3;
    RECT_P(); Clears the screen

    P1: = {100,100,75};
    P2: = {200,100,75};
    P3: = {100,200,225};

    TRIANGLE_P ({P1, P2, P3}, {{1,2,3, #FF}});

    GEL;
    END;

    Explanation: I define three dimensions 3 points P1, P2, P3 and insert them in a list in the triangle command. What are the angles of the triangle.

    In the second argument, I defined the triangle specifying these points in the first list indices, which are 1,2,3. #FF means that it is blue.

    Here is the result:

    It's not very spectacular, because the only thing that the program leaves the coordinate z points away and drawing of the triangle 2 dimensions resulting. So there is not a lot 3-dimensionality thereon. In fact nothing.

    Now, I'll try to do a little more complicated by the third argument, I have left aside until now. The first 2 arguments are the 2 lists of lists.

    The simplest form is a rotation matrix or list trivial-{1}:

    Syntax: TRIANGLE_P ([G], points_definition, triangle_definitions,

    rotation_matrix or {rotation_matrix or - 1, ["N"], [{eye_x, eye_y, eye_z}

    or - 1], [{3Dxmin, 3Dxmax, 3Dymin, 3Dymax, 3Dzmin, 3Dzmax}]}, [zstring])

    User manual

    The simplest rotation matrix is the identity matrix which consists of all zeros except the diagonal elements, which are 1. So I create this way M1.

    Now, I have replace the triangle command by:

    TRIANGLE_P ({P1, P2, P3}, {{1,2,3, #FF}}, M1);

    Or

    TRIANGLE_P ({P1, P2, P3}, {{1,2,3, #FF}}, {-1});

    "Two return output programs: ' error: invalid entry.

    "I tried several forms of the third argument, for example by specifying all possible sub arguments, but all what I try, I always get nothing else than: ' error: entry invalid.

    So I would like to know if if my firmware update is the cause, or I did something wrong or it is a bug.

    Hello

    I thought about it...

    The 'problem' is that, with only 3 entries in the first list and matrice matrix of a rotation, think the system, the first review, 3 3 points x, y parameters are, z coordinates for each of the 3 points. On second review, we see that they are not valid and an error. This stems from the fact that the Triangle can take so many different types of arguments and that it is not always easy to distinguish between the different forms.

    You can make sure the system interprets the input data in the form that you want to ensure that the list of the point has at least 5 Articles (even if they are not used). Then, he will work as in:

    EXPORT tt
    BEGIN
    LOCAL P1, P2, P3;
    RECT_P();                   Clears the screen

    P1: = {100,100,75};
    P2: = {200,100,75};
    P3: = {100,200,225};

    TRIANGLE_P ({P1, P2, P3, P1, P1}, {{1,2,3, #FF}}, [[0.5,1,0,0], [0,2,0,0], [0,0,1,0], [0,0,0,0]]);

    GEL;
    END;

    Cyrille

  • How to pass an argument to a standalone java class JDeveloper

    For the experienced:

    In JDeveloper when you write a java class with a main() method that takes no arguments, you just click with the right button on the java file and choose run to run the program. But suppose the main() method takes arguments, how to move your arguments to the program? This is especially a problem I use the studio version of JDeveloper (10.1.3.4 and 11.1.1.3 Versions) that each uses the version of the JDK included with, rather the JDK (which is yet another different version) installed at the level of the OS on the PC.

    Thanks a lot for your help!


    Newman

    Hello

    If you mean how to pass arguments in JDeveloper:
    Tools > Project Properties > run/debug > change the default run Configuration (or create a new) > settings start > program Arguments - here you can set arguments

    Kind regards
    Branislav

  • Can I get several buttons for my various search engines?

    Is there some add-on I can get which allows me to create buttons to search with the search engines specific, rather than having to go to the dropdown menu, or if not, is it possible to get many search bars? Often, I use several search engines simultaneously and would save a reasonable amount of time with a such add-on.

    Better yet, you can create bookmarks and assign a keyword of each bookmark shortcuts.

    Firefox even help you create a keyword shortcut.

    1. Right-click in the search box on a web page
    2. Choose "add a keyword for this search".
    3. Tell it to this folder to put your bookmark in.

    Suppose you have used the search box on this page and assigned a keyword of "extra:

    Your bookmark could look like this:

    Name: support questions search supp:q

    File: K (as in key words)
    Place: https://support.mozilla.com/en-US/search?q=%s
    Keywords: supp:q

    For him use %s is substituted by your arguments
    the SUPP:q module create search buttons

    See: Firefox keyword shortcuts

    http://dmcritchie.MVPs.org/Firefox/KWS.htm

    and help with research, see, in particular, Google searches

    http://dmcritchie.MVPs.org/Firefox/search.htm

    If I had to find the modules it is than my bookmark
    would look like with a keyword of "addons:

    http://www.Google.com/search?NUM=100 & q=site%3Aaddons.mozilla.org+inurl%3Aen-US%2Ffirefox%2Faddon+-inurl:collection+-cat = personas + %s

    That is to say 100 visits per page, site:addons.mozilla.org and the
    URL contains no collection won't be the personas of category
    included. The substitution will be entered it won't htmlified.

Maybe you are looking for

  • Maintenance for Satellite 1900 305 manual?

    Are there downloadable for Toshiba laptops service manuals - as some other manufacturers have on their Web sites. I have the usual problem with a laptop computer when the power connector is intermittent. I suspect that there is need to resolder as I

  • Want my iPhone and Apple Watch both ding when I get a text / SMS message.

    My wife has a watch and iPhone 5 s and she wants SMS / text messages from the watch or the phone to beep. Is there a way to do this? If not, is there a way to make sure it's always the ringing telephone, even if the watch is connected?

  • Waveshaping circuit using a 555 timer

    I tried to reproduce this circuit much longer. I am trying to use a timer 555 as an Astable multivibrator with a suddenly IC monostable circuit.  However, when I create the circuit and use different combinations of RC I actually get a correct output

  • I have a dell windows xp installation disc. can I use this disc to install it on my other pc dell?

    I have a dell reinstall xp home disc one of my computers, I can load this disc in my other dell computer? computers have stickers of legal product key on them, both editions home but one is terribly damaged and is initially loaded with media center e

  • BlackBerry Smartphones incoming calls on Curve 8500 series

    After I hang up a call, I will sometimes save this caller to my folder 'Contacts'  However, on this phone, I can't find the incoming telephone numbers.  I see it when I hang up first with the appellant, but once that they cling, she disappears. No id