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

Tags: Oracle Applications

Similar Questions

  • I play world of warcraft and use a program called ventrilo to talk with other players. the problem I have is my game sounds can be heard

    I play world of warcraft and use a program called ventrilo to talk with other players. the problem I have is my game sounds can be heard.
    Vista makes my headphones 'speakers', so when I use a program called ventrilo to talk with other players in my game sounds are heard through ventrilo. My headset is a headset/microphone generic plug-and-play.

    When I run not WoW, I can hear my own voice through the headset speakers when I talk.

    I want my headphones to work so I can hear my friends talking and the sounds of the game, but I don't want the game sounds to be filtered on the server for voice chat

    Any help would be much appreciated. I asked the same question to Geek Squad and their response has been to try to charge me $49.99 + tax for one of their "agents" can remote in and fix it. Do not use them unless you have: P

    Hey CassiusVa,

    Welcome to the Microsoft Answers Forum!

    Since when are you facing the issue?

    Can I know the version of Ventrilo you use on your computer?

    It may be that World of Warcraft focuses on your audio hardware.  You can try to reduce the audio settings in WoW to see if this makes the use of Ventrilo better.  It may also be a driver problem.  I would check to make sure that you have the latest drivers for your audio device.

    Use the following steps to ensure that the audio drivers are up to date.

    1. connect to the Internet.

    2. click on start and enter the Device Manager in the start search field.

    3. click on the plus sign next to sound, video and game controllers.

    4. right click on the name of the sound material and select software update of the driver...

    5. click on search automatically for a driver updated and wait for Windows to update the driver software.

    6 Windows checks a remote Web site to see if the update of the driver software is available.

    * If an update is available, let Windows install the update.

    * If an update is not available, proceed to the next step.

    7. once the update is successfully installed, test the microphone.

    Please follow the steps below and check if you still have questions echo.

    Go into Ventrilo Setup and select mixer for the sound card, which will be the audio input (as determined by the "Input device" option) device. This will populate the Mux and line options. Normally it would take only a Mux. It is possible that you may have many options of the line. Go ahead and select "Microphone" or anything that is appropriate for the input line and then click OK.

    This should solve the problem.

    Please note that you select mixer, mux and line will allow the "Hardware Volume" slider This gives you the control hardware on the audio input signal and is the best way to control how strong you are. Setting the cursor to halfway better seems to work for most people, but it will be hardware and system load.

    You can also browse the links for more information on ventrilo and try to contact them if the problem persists.

    http://www.Ventrilo.com/FAQ.php

    http://www.Ventrilo.com/about.php

    http://www.Ventrilo.com/dlprod.php?id=1

    Let us know how it works.

    Kind regards
    Technical support of Microsoft-yama.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How can I remove a program called Browser support. I have not asked for it. I think it might come when I updated Adobe

    How can I remove a program called Browser Support?

    Sometimes a problem with Firefox can be a result of malware installed on your computer, you may not be aware of.

    You can try these free programs to search for malicious software that work with your existing anti-virus software:

    Microsoft Security Essentials is a good permanent antivirus for Windows 7/Vista/XP, if you do not already have one. Windows 8 already has integrated antivirus.

    More information can be found in the article troubleshooting Firefox problems caused by malware .

    This solve your problems? Please report to us!

  • I have a problem when I want to print an email page.it shows me an error that seems to come from a program that blocks the appearance windows.thos do sais.what do?

    Question
    I have a problem when I want to print an email page.it shows me an error that seems to come from a program that blocks the emerged Windows.ce do sais.what do? Edit

    Can you check this problem on Firefox 9?

  • Problem on asynchronous call: façade Subvi is not pop up when it is called.

    Dear all,

    I'm new to LabVIEW, and this is the first time I try to use the asynchronous call.

    I'm using LabVIEW 2011.

    I want to build a directory for several screws, and it should enable users to open more than one of the screws at the same time pressing the buttons. Before the construction of this directory, I just tried asynchronous call allows you to call a form of VI VI, but found a big problem.

    I followed the steps described in the help file, created a strictly typed reference, set the option on 80 x because I need not return. When I run it for the first time, it worked fine: the Subvi popped up and run. Then I closed the Subvi. But for the second time and, when I run the appellant VI, the Subvi does not pop up, instead it seemed to work silently on background because when I manually opened from the file that I found running. In fact, I have found no option as "display front when it is called" of the asynchronous call.

    The appellant VI and Subvi are attached. The address of Subvi calling VI should be amended accordingly.

    What should I do to make it work correctly? Thanks a lot for any idea!

    Linjxz,

    If you have ever thought a solution via the property node, then you can ignore this response.  However the easist if not the best method practice to do what you want is to: with your PS open press ctrl + I, with an "appearance of the window" selected in the drop-down window, click Customize.  Check the box "Display front panel when called" and then the correspondent "close front after ward initially closed".  Mind you as your under VI must begin execution closed to make it work while programmaticly you can over come this obstacle.

    Looking to do more with less code.

    Mark R

  • Hi, actually I want the program stops when you press the stop button. but the problem is the program is runing in loop only he doesn't return tile view deleted complete execution of any body can help me for this.

    Hi, actually I want the program stops when you press the stop button. but the problem is the program is runing in loop only he doesn't return tile view deleted complete execution of any body can help me for this.

    Here

  • How to solve a problem when the windows setup program does not open a program, says I need to install it. and an error message 1706

    How to solve a problem when the windows setup program does not open a program, says I need installation cd and a 1706 error message happens.

    Hi PAtwoodwu,

    1. what program are you trying to install?

    2. did you of recent changes on the computer?

    3 does happen with all programs?

    Check and make sure that the Windows service install is running on the computer.

    (a) click on start to reduce this includes this image, click run , type services.msc , and then press enter to open Services.

    (b) right click on the Windows Installer service and then click Properties.

    (c) if the box Startup type is set to Disabled, change it to Manual.

    (d) click on OK to close the Properties window.

    (e) right click on the Windows Installer service and then click Start. The service should start without errors.

    (f) click on the file menu, and then click exit.

  • The program called WiFi radar installation problems

    I am trying to install a program called easy WiFi radar with and without admin and it will not install or tell me the problem. What should I try?

    I think that if the application only problems with Easy WiFi Radar (and just the installation of it) the chances are low that it is caused by a virus.

  • When you try to open some sites Web my computer crashes and I get a message "a problem caused this program blocking interact with windows.

    Hello

    From time to time, I'm having a problem with internet access - when, finally, access is allowed and trying to open some websides my computer crashes and I get a message "a problem caused this program blocking interact with windows ' why?
    I'm not technically capable, but I did I tried different ways-nothing doesn't. I want to talk about Windows 7 Edition home premium.
    At the same time, there is no problem on my laptop which runs under Win XP and with the same internet provider! Any suggestion will be appreciated

    Original title: problems with Win7 and MozillaFirefox

    Hi Ulica,

    Thank you to contact Microsoft Community and we will be happy to help you with your concern.

    According to the description, it looks like you are facing an Internet problem on the Windows 7 operating system.

    It would be great if you can answer these questions to help you further.

    1. is the question confined with Mozilla Firefox?

    2 are you able to access the same Web site using Internet Explorer?

    3. have you made changes on the computer before this problem?

    4 are you facing this problem while accessing the secure Web site?

    Problem with Internet Explorer, I would suggest trying the following methods and check.

    Method 1:

    I suggest you add this particular website as a trusted site and check.

    To add a Web site to a security zone: http://windows.microsoft.com/en-US/windows7/Security-zones-adding-or-removing-websites

    Method 2:

    I suggest you to see the steps in the following Microsoft article and check.

    Can't access some Web sites in Internet Explorer: http://support.microsoft.com/kb/967897

    You cannot connect to or connect to secure in Internet Explorer Web sites: http://support.microsoft.com/kb/813444

    Why can't I view some websites? http://Windows.Microsoft.com/en-in/Windows7/why-cant-I-view-some-websites

    Note: There are rather than Internet Explorer 9 as well.

    Note: The feature reset the Internet Explorer settings can reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings.

    Method 3:

    Internet Explorer not responding, stops working, or restarts: http://support.microsoft.com/gp/PC_IE_EnvManualID

    Note: If the question is limited only with Mozilla Firefox, I suggest you to post the same question in the Mozilla Firefox's Support Forums.

    http://support.Mozilla.org/en-us/questions

    Hope that the information provided is useful.

    If you need Windows guru, do not hesitate to post your questions and we will be happy to help you.

  • Hi I have a problem when I try to make phot I stacking Photo shop stop program to react and stack thank you elimor

    Hi I have a problem when I try to make phot I stacking Photo shop stop program to react and stack thank you elimor

    Finally, I solved the problem

    I just did a new version update

    And everything works as it should

    I thank all the helpers

    Thank you!!!

  • I face a problem in photoshop cc 2015. When I close a tab, then a pop - up massage a problem caused the program to stop working correctly. Please close the program. solve this problem

    I face a problem in photoshop cc 2015. When I close a tab, then a pop - up massage a problem caused the program to stop working correctly. Please close the program. solve this problem

    Try to uncheck 'use graphics processor' in preferences and restart Photoshop.

  • Call the simultaneous program

    Hello

    Could you suggest me a logic on the below:
    ============================================

    I've written a procedure/package (program main competitor).
    In this (procedure above), I have to call a child simultaneous program 5 times (these 5 programs must run in parallel).
    That is to say... I'll call him through FND_REQUEST. SUBMIT_REQUEST.
    1 Conc socekt child will be setting = 1
    .
    . Simillarly
    .
    5th child Conc socekt will be setting = 5

    I thought I had TO LOOP 1.5 and then call FND_REQUEST. SUBMIT_REQUEST.
    Exactly how call.

    Could you thow some thoughts.

    Database: 10g

    Thank you

    something

    declare
    v_request_id   number;
    begin
      for i in 1 .. 5 loop
        v_request_id := fnd_request.submit_request(application => ,
                                                   program     => ,
                                                   description => NULL,
                                                   start_time  => NULL,
                                                   sub_request => FALSE,
                                                   argument1   => i);
    
        if v_request_id > 0 then
          fnd_file.put_line(fnd_file.log, 'successfully submitted');
          commit;
        else
          fnd_file.put_line(fnd_file.log, 'not submitted');
          rollback;
        end if;
      end loop;
    end;
    
  • problem when call one side Committee client-side Server

    Hello world! I have a problem when I call a side Committee client-side server.

    Here's the code. When the swf file is connected to the FMS (the connection is successful) I use this application.user_so.send ("enterContestGroup"); to call the Committee client side. You can see that in the client side, I've defined the Committee 'enterContestGroup '. However, the fact is that it does not call that Committee. Can someone tell me what is the error?

    Thanks for any help!

    This is the code on the server side:

    application.onAppStart = function()
    {
    application.user_so = SharedObject.get ("user_so", false);
    application.nextId = 0;
    }
    application.onConnect = function (newClient)
    {
    application.acceptConnection (newClient);
    application.user_so. Send ("enterContestGroup");
    }

    This is the code on the client side:

    var nc:NetConnection = new NetConnection();
    var url: String = "rtmp://localhost:1935 / testapp";
    var user_so:SharedObject = new SharedObject();

    NC. Connect (URL);

    nc.onStatus = function (info)
    {
    If (info.code is "NetConnection.Connect.Success")
    {
    trace ("Success!");

    }
    on the other
    {
    trace (info.code)
    }
    }
    user_so = SharedObject.getRemote ("user_so", nc.uri, false);
    user_so. Connect (NC);

    user_so.enterContestGroup = function (uname, uimg, uid, cid)
    {
    trace ("do something about enterRoom")
    }

    Hello

    In fact, you can use broadcastMsg API to deliver the object to the customers.

    Here is an example of its use.

    Server-side:

    var obj = new Object();
    application.onConnect = {function (customer)}

    obj. Prop1 = "1";
    obj. Prop2 = '2 ';
    application.acceptConnection (client);
    Broadcast (obj);
    }

    var broadcast = {function (obj.)}
    application.broadcastMsg ("m1", obj);
    }

    (AS2) client-side

    var nc = new NetConnection();
    nc.onStatus = {function (info)}
    trace (info.code);
    }

    NC. M1 = {function (obj.)}
    trace (obj. Prop1);
    trace (obj. Prop2);
    }

    NC. Connect ("rtmp://localhost/test");

    Let me know if experience you problems with this.

    Thank you

    Abhishek

  • 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

  • simultaneous oaf page program call

    hi................

    I need to call a simultaneous program with parameters of the oaf page...
    Can U suggest, how to do?
    Suggest me the sample code please...

    Hello

    Note the following method in your AMImpl.java

    public int submitCPRequest (String name) {}

    Try
    {
    OADBTransaction tx = (OADBTransaction) getDBTransaction ();
    java.sql.Connection pConncection = tx.getJdbcConnection ();
    ConcurrentRequest cr = new ConcurrentRequest (pConncection);
    cr.addLayout("XXEGA","XXEGA_IBR_BOM_EXPORT","en","US","EXCEL");

    String applnName = new String ("xxcus"); Application that contains the concurrent program
    String cpName = new String ("SUPPLIER_PRODUCT"); The simultaneous program name
    String cpDesc = new String ("this is a report that shows the details about the products supplied by the supplier"); simultaneous description of the program
    String time = new String("");
    Pass Arguments using the vector
    Here I added my headerId parameter to the vector and passed the vector to the concurrent program

    Vector cpArgs = new Vector();
    cpArgs.addElement (SupplierName);

    Call the simultaneous program
    requestId int = cr.submitRequest (applnName, cpName, cpDesc, null, false, cpArgs);
    TX.Commit ();

    return requestId;

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

    }
    }
    Public Sub RefreshData()
    {
    ConcurrentProgramVOImpl vo = getConcurrentProgramVO1();
    vo.executeQuery ();
    }
    }

    call from controller

    Also please rate my answer.

    Kind regards
    Pitiot

Maybe you are looking for

  • Why Web Content Cache Clear works plus-Mac-Snow Leopard

    I'm on a MacBook Pro newish, using Snow Leopard with FF 11. Lately, I can use is no longer the clear button when I'm in Advanced - Network - Cached Web content clear now.I used to use it when I had severalwildlife webcams Flash running that caused la

  • Satellite A100 - 599 PSAARE-> need XP drivers

    I just bought a Satellite A100-599. It comes with Vista, but I wanted to go back to XP. I have not found any place where Toshiba offers drivers for the PSAARE part number, still less for A100-599. Someone had the same problem?I could find so far the

  • Since I've updated my Pages app, all my documents Pages won't open on my Mac!

    Since I've updated my Pages app, all of my Pages of documents will not open on my Mac, however, only open on my iPhone app Pages. What is a recent issue of Pages (problems of opening documents) or a technical problem with my Mac?

  • No way to win 8?

    OK, I was stupid. I'll tell the whole story: I recently bought a HP 255 G1 (laptop/Notebook computer?), with processor AMD E2-2000, 4 GB of DDR3 - 1600 RAM, 500 GB HDD and AMD Radeon 7340 M - and Windows 8 graphics card. I was surprised to win 8 ran

  • Disable the identification of network cams

    Hi all I use LV2010 with 2 USB cameras. The cameras are controlled as NOR-IMAQdx devices and everything works fine. However, there is an irritating behavior: LabVIEW is always looking the intranet for all connected devices. In my company are more tha