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

Tags: Oracle Applications

Similar Questions

  • Problem with cursor Max for the PLSQL called by OAF Page

    All,

    We developed a custom and Self Service OFA this page page, we call PLSQL package to validate and insert the data into the database tables. It worked well, but when we deployed this form throughout the Organization (meaning more users), we reach the limits of MAX cursor for a session.

    This for allows Manager to update all their coordinated under, so in a session, a Manager may work on more than one employee so reach the limit of MAX cursor.

    Please help on how we can solve this problem, I checked all of the cursors used in the PLSQL package are closed properly.

    Ex PLSQL Call:

    String createRow = null;

    try {}

    OADBTransaction oadbtransaction = (OADBTransaction) pageContext.getApplicationModule (webBean) .getTransaction ();

    java.sql.Connection connection = oadbtransaction.getJdbcConnection ();

    CallableStatement callablestatement = oadbtransaction.createCallableStatement ("start: 1: = xxx_hr_multiple_rates_pkg.is_create_job_row (pc_job_name = >: 2);") end; ", 1);

    callablestatement.setString (2, primaryJob.getText (pageContext));

    callablestatement.registerOutParameter(1,Types.VARCHAR);

    CallableStatement.Execute ();

    createRow = callablestatement.getString (1);

    String [] retVals = am.invokeMethod ("createWFMJob", parameter1) (String []);

    System.out.println("CreateRow:"+CreateRow);

    CallableStatement.Close ();

    }

    catch (Exception e) {}

    e.printStackTrace ();

    pageContext.writeDiagnostics (this, try (), 1);

    }

    Thank you

    A

    Ankit,

    Please attach your PL/SQL code, so that we can have a look that the issue could be in that.

    In addition,

    Why do you call the code inside this test below? What is the link?

    String [] retVals = am.invokeMethod ("createWFMJob", parameter1) (String []);

    Why do you need the code below? Delete this.

    java.sql.Connection connection = oadbtransaction.getJdbcConnection ();

    Move the callablestatement.close ();  outside of try catch.

    See the link, if you need some examples below:

    Advice from the Oracle Johny: OAF: sample code to call the function PL/SQL of OA Framework

    See you soon

    AJ

  • I managed to stop annoying popup windows from amazon today by the uninstall of a program called firefox maintenance. Was this spyware or software legitimate?

    I started getting pop ups very recently (oct 2015) I went to the Panel and programs a characteristic and class list install by date. At first it was one that I distrusted, maintenance on a hunch and firefox decided to uninstall it. I made the right choice - and how this program type of spyware/adware on my computer.

    Hi, there is a legitimate program called Mozilla Maintenance Service, which in your programs, should show the same under Firefox version number - what is the Service of Maintenance Mozilla?. If that's what you mean, it would be not responsible for pop-ups advertising. If it is really "Maintenance of Firefox", then I would have certainly considered with suspicion.

    You can check your settings pop up here - the Blocker settings, exceptions, and troubleshooting.

    If the problem persists, 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!

  • 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!

  • my browser was commandered by the program called moy. How can I get it back to normal

    My two primary browsers have been taken over by AVG, I have no idea how get my settings back to normal, was tried for 2 days now with no luck

    Hello

    If that's what I think it is, follow the removal instructions:

    AVG 2011 Antivirus is a fake anti-spyware from the same family as AVG 8. This infection of the computer is named, and should not be confused with the legitimate antivirus program called AVG anti-virus. This rogue is promoted through web sites that pretend to be online anti-malware scanners, but rather are advertisements that once completed the State of your computer is infected. This fake scanner then you will prompt to download and install AVG Anti-Virus 2011 on your computer in order to protect. It is worth noting that these fake online scanners are just advertising that have absolutely no way of knowing what is running on your computer. In fact they will show the same infection results to anyone who visits the page. Therefore, not worry about what you show these online scanners.

    http://www.bleepingcomputer.com/virus-removal/remove-AVG-Antivirus-2011

    If this is not the case, after the above, in the AVG Forums for assistance:

    http://forums.Avg.com/us-en/AVG-forums

    See you soon.

  • OAF Page expand to change the button action

    Hello

    We have a standard page of the OPS in iProcurement, where there are a standard change request button, which redirects to another standard page. We want to change the button action to call another custom OAF page. Please let me know how to do the same.

    Attached screenshot for reference

    Follow the steps below to create a button through customization.

    1. click on customize page where you want to create an element.

    2. find the area where you want to create

    3. click on Create icon, which opens a new window.

    4. Select the style of the item as button and give the values for the element.

    Browse link below

    Oracle concepts for you: Add a button to a Page of the OFA

    Also paste the error if you get none after following steps above.

    BR, FLS

  • Use the OAF page and Workflow:

    Hello

    In a workflow, I have a region refered as OAF

    JSP:/OA_HTML/OA.jsp?page=/Oracle/Apps/AP/invoice/request/negotiation/WebUI/NotifPGRN & REFFACTURE = - & INVOICE_ID -.

    Now, instead of this region, I created a new area to satisfy my needs.

    Then, the region and import to the server.

    In the workflow, I changed the new name of the region.

    Now, when I run my page to the old area shows only. OAF page as I can't find the area to be called. But the region is available in the server.

    Please someone help me.

    Thanks in advance,
    Roselyne

    Roselyne,

    Bounce once on the server. It will solve your problem.

    Thank you
    Kumar

  • A black band appears just below the bookmarks toolbar immediately after the uninstall of a program called 'Picexa '.

    A black band appears just below the bookmarks toolbar immediately after the uninstall of a program called 'Picexa '.
    Please, what is your solution?

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem.

    • Put yourself in the DEFAULT theme: Firefox/tools > Modules > appearance
    • Do NOT click on the reset button on the startup window Mode safe

    You can use one of them to set toolbars to display.

    • Firefox '3-bar' menu button > customize > show/hide toolbars
    • View > toolbars
      Press the ALT key, or press F10 to display the Menu bar
    • Right click on empty toolbar space
  • Design of railroad model - need a version update of a Trax program called the wiring diagram

    I need a version update of a Trax program called the wiring diagram

    John

    Try the following link

    http://www.AnyRail.com/index_en.html

  • I'm trying to uninstall a program called speed of PC fix. But it continues to tell me that the program is missing. So, how can I remove it my program and features.

    I'm trying to uninstall a program called speed of PC fix. But it continues to tell me that the program is missing. So, how can I remove it my program and features.

    Use the system restore. Next time think before you install the obvious fakeware.

  • 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.

  • I have a program called auto maintenance, it haSA nosource info and I can not get rid of it?

    I have a program called automotive service, it shows no source and I can't remove it, I suspect a problem

    The only results of a Google search for "Autocare" to bring up links to a legitimate program called Autocare, apparently to have something to do with the car maintenance. Without knowing more about your computer and find out where you see the program what exactly 'impossible to remove that' means (have you uninstall it? it is even installed?), all I can say, is that you perform the fundamental step to ensure that your computer is free of viruses/malware first:

    http://www.elephantboycomputers.com/page2.html#Removing_Malware

    If you can't do the work yourself (and there is no shame in admitting this isn't your cup of tea), take the machine to a professional computer repair shop (not your local equivalent of BigComputerStore/GeekSquad). If possible, have all your data backed up before taking the machine into a shop. MS - MVP - Elephant Boy computers - don't panic!

  • How to adjust settings on a windows program called DEP (data execution prevention) (windows xp)

    He doesn't let not my son starts a game that he bought and downloaded from a secure site and he told us that it software is not recognized by a Windows program called DEP (date execution prevention) and cela can be solved by adjusting the settings. We do not know where yet the DEP program. Can someone help us please?

    Make a right click my computer, properties, Performance - the Advanced Settings tab, Data Execution Prevention tab.

    Make sure it is on turn on DEP for Windows essential and services only.

    http://i.imgur.com/iuGsgnf.PNG

    If this does not work, there is a way to disable to boot.ini but first tell me the game and site where it downloaded the game.

  • My computer has been hit was a virus hiding all programs, called him Smart HDD. The technician fixed the things except that now we cannot books library audio d/load. Error OxCood2751

    My computer has been hit was a virus hiding all programs, called him Smart HDD.  The technician fixed the things except that now we cannot books library audio d/load. OverDrive Media Console gives error OxCood2751 and said to Contact Support technical of Microsoft. Can anyone help, thnx

    Hi Sharohbbrd,

    ·         You have made no changes to the Windows Media Player before the show?

    You may be able to solve the problem by installing the Windows Media Format 9.5 Runtime. Download the same from the following.

    Download details - Microsoft Download Center - Update for supported Media DRM (KB891122) players

    http://www.Microsoft.com/download/en/details.aspx?displaylang=en&ID=3141

    You can also see the following articles for more information:

    File Readme for Windows Media Player 11 for Windows XP - Microsoft Windows

    http://Windows.Microsoft.com/en-us/Windows-XP/products/Windows-Media-Player/11/Readme

     

    An update for Windows Media Digital Rights Management-enabled players is available

    http://Windows.Microsoft.com/en-us/Windows-XP/products/Windows-Media-Player/11/Readme

    Let us know if that helps.

  • I did a clean habit with a program called BleachBit and others, but in Safe Mode, in order to get more deleted

    I did a clean habit with a program called BleachBit and others, but in Safe Mode, in order to get more deleted. That sure worked before, but now I find that I can not find Freecell or disk cleanup, anywhere on my XP computer. I have SP3, but I don't have the CD from Microsoft. I tried all the answers suggested with no luck. I got an another disk cleanup, which will probably do, but my main concern is the Freecell, it doesn't seem to be any where on the net more. Can you help me please?

    Hello

    I would sugget you follow these steps and see if it helps:

    Method 1:
    Do the product of the steps in this link and check if this may help:
    http://support.Microsoft.com/kb/307768

    Method 2:
    Try the running System File Checker and see if it helps:
    http://support.Microsoft.com/kb/310747

Maybe you are looking for

  • My yahoo mail download more.

    My yahoo mail always downloaded fine until yesterday. Now, it will only download one email at a time. I get a few hundred per day. I checked my settings and they seem to be good. Can you help me?

  • NumberSync activate on my number but no wife on the same account 9.2 iOS, iPhone 6

    Just my wife and my phones updated iOS 9.2, the two iPhone on AT & T 6.  I was immediately able to activate support for Numbersync under Wifi calling on mine and then was able to add Wifi calling for my Apple Watch, but when I updated the phone to my

  • Real test

    Hello I made an installation of web of an app, I have developed a real BB 9500. Although the application was signed with all 3 keys, I met a secure access API error. Then, I built a new version of debugging in JDE 5.0 and tried to run on the real dev

  • How can I change the filegroup file format?

    Original title: the Extension .jpg I worked with html for 17 years and kept jpeg images in .jpg cursive lower. Windows 8 win explore uses superior cursive. JPG. How can I batch change a subdirectory of 700 images of. JPG in .jpg Thank you.

  • RAW photo in develop

    Just loaded Lightroom ver 6can load RAW photos and they look ok in the 'Library '.Go to "Develop" and the picture below, I expected more of an image of normal appearance, is there something that I am missing?Here's a copy of my system info:Lightroom