Calling a concurrent request from within the trigger

Oracle apps r12.
Calling a concurrent request from within the trigger.
Does it requre apps initilization.
Thanks,
Lavan

Hi,
Whether apps initialization needed or not will depend on followings
1. Trigger is written on which table seeded or custom. In case of seeded tables, there is no need for apps initialization (although oracle does not recommend writing trigger on seeded tables).
2. Triggering Table Update/Insert/Delete event processing is done from apps front end or Backend. In case of front end apps initialization is not required.
Regards,
Saurabh

Similar Messages

  • How to call a Oracle Form from within the APEX

    Hi,
    I have a requirment where need to call a oracle form from within the Oracle APEX application?
    I will appriciate if can someone help me out.
    Thanks

    Hi,
    are you working with Forms 6i or 10g?
    If you want to call a forms 10g page. Just use a button with javascript:
    - Target type: URL
    - URL Target: javascript:window.open ('http://<server>:<port>/forms/frmservlet?config=<conf>','Forms window');
    With Forms 6i you can open the directory where your forms file is inside (works just with IE):
    <script type="text/javascript">
    function fnc_window()  {w = open('C:\\FormsFiles', "winLov","scrollbars=yes,resizable=no,width=600,height=400");
    if (w.opener == null)
    w.opener = self;
    </script>Or execute the forms file with vbscript (IE only):
    <script language = "vbscript">
    sub fnc_forms()
    dim progName
    progName = "c:\FormsFiles\myForm.exe"
    set oShell = createobject("wscript.shell") 'create a shell
    '***use the line below to call your app, defined above with the "progName" variable:
    oShell.run(progName)
    end sub
    </script>

  • How to call a Oracle Form from within the oracle APEX application

    Hi,
    I am new for Oracle APEX. I have a requirment where need to call a Oracle form (.fmx file) from within the Oracle APEX application.
    Can someone help me out ?
    it would be a great help.
    Thanks

    This might help you...
    http://roelhartman.blogspot.com/2008/11/integrate-oracle-forms-with-apex.html

  • How do I submit an Oracle concurrent request from inside a page within Apex

    Hi all,
    Have an app that basically loads an interface table.I want to call a concurrent job from the page within my apex app that will submit the concurrent job in Oracle when I press the submit button. The only parameter is group id and typically end user enters 101010.
    I am unsure of the syntax.....
    the dba gave me this as an example but I believe its incomplete and not sure how to complete it or call it. I tried just creating a process to execute after submit but it errors out as in_user_id, in_resp_id and in_appl_id must be declared. Logic tells me I have to provide those somehow but I dont see how it fits into the submit request function.....
    BEGIN
    fnd_global.apps_initialize (in_user_id, in_resp_id, in_appl_id);
    x_request_id := fnd_request.submit_request ('XXBG'
    ,'XXBGBURSTPAY'
    ,NULL
    ,NULL
    ,FALSE
    ,in_outfile
    ,'XXBG_TOP'
    ,'xxbg_pydepadv_ctl.xml'
    COMMIT;
    Edited by: DSULLIVAN on Apr 13, 2010 10:33 AM

    This is really not an APEX issue, but a fundamental EBS one.
    You need to find out which respsonsibility and request group your concurrent program is in, and the user who is submitting the request. You can look in FND_USER for the USER_ID, FND_APPLICATION for teh RESP_APPL_ID and FND_RESPONSIBILITY for the RESP_ID. This call sets up the global security context, so if you are calling it from outside of an authenticated EBS session, it doesn't know who you are.
    Then you just call those - you can store them as application variables or jsut hardcode them.
    So here is a sample call:
    begin
      fnd_global.apps_initialize(1, 50000, 275);
    end;So just hardcode it for now - later you can get fancier.

  • Problem in calling concurrent request from oracle forms

    Hi,
    I am using the following code to call the above concurrent request to transfer the data from AR interface table to the base table.
    req_id := FND_REQUEST.SUBMIT_REQUEST('AR','RAXMTR','','',FALSE,
    '1', '1023', 'CONTRA', '2009/10/30 00:00:00' ,'','','','','',''
    ,'','','','','Y','','103','','',''
    if app_form.quietcommit then
    MESSAGE(req_id);
    MESSAGE(req_id);     
    end if;
    The request gets completed with error. The diagnostic shows the following error
    "*This request finished with an error and produced the following completion message: Usage: program oracleid request_id Y*
    *The processing began on 30-OCT-2009 17:53:13 and ended on 30-OCT-2009 17:53:14. You may find more information on the cause of the error in the request log or the concurrent manager log*."
    I have used similar method to execute AP interface import program and it worked. The above request is a spawned request. Any help would be appreciated.
    Regards
    Deepak

    Pl see if these MOS Docs can help
    170729.1 - Autoinvoice Master Program fails with USAGE: PROGRAM ORACLEID REQUEST_ID Y
    460048.1 - AutoInvoice Master Log Shows "Usage: Program Oracleid Request_id Y"
    217054.1 - Autoinvoice Errors USAGE: PROGRAM ORACLEID REQUEST_ID Y
    HTH
    Srini

  • Securing a JSP call from within the OAF

    Dear All
    I am calling a custom JSP file ($OA_HTML/test.jsp) from within the controller class of an OAF page using the pageContext.setForwardURL where the JSP file is registered as an AOL function, so therefore the first parameter of the setForwardURL call is the function name.
    Now the whole reason of wrapping this JSP file around OAF, is to take advantage of OAF’s security framework and Apps Specific Functionality, so that we can perform various security checks and validation before proceeding with the call to the JSP page.
    This is working fine and we are getting the desired result, however, there is nothing stopping someone from directly typing the call to the JSP into the browser and executing the JSP and effectively bypassing the OAF page/controller, e,g:
    http://server.host.domain:port/OA_HTML/test.jsp
    Now the question is, is there any way for us to either
    ·     Prevent a direct execution of the JSP from the URL, by placing some kind of special JSP commands, which intrinsically ties the JSP with the OA controller.
    ·     Inside JSP validate and authenticate a user.
    ·     Any other methodologies that will secure the JSP file.
    Your help and Guidance is appreciated.
    Thanks
    Patrice

    Actually there is AOL security u can use to validate whether the particular jsp is directly invoked or coming from secure session.You can use code like
    WebAppsContext webAppsContext = WebRequestUtil.validateContext(request, response);
    The validateContext method checks whether the session associated with the request and response streams is a valid one - if so it returns a properly validated context. If the session is invalid or expired, this will take care of displaying a login page to the user and the method will return null.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Making an RFC call from within the VM container

    Hi all,
    since a long time I am searching for information on how to implement an RFC call from within the VMC. The problem is that we have implemented several (p)functions in ABAP and we need to implement them in JAVA.
    Now I am searching for a way how to just call the already existing pfunctions???
    Is it possible to read CRM DB tables too?
    Thank you in advance
    Boris

    Hi Freeto,
    This may be due to the Network Failures.
    If you have triggered a job then because of the Network fluctuations the system may not respond properly and cannot execute the job.
    So, this is the cause for the failure.
    Hope you understood.
    With Regards,
    Ravi Kanth

  • How can we get a url for a "Meet Now" conference call from within the Windows Store App?

    Hi,
    Is it possible to get the url for the current meeting / new "Meet Now" call from within the Windows Store app?
    You have the option of inviting your current Lync contacts, but I don't see a way of giving a URL to clients that would launch Lync on their device, or take them to the web app.
    I can see how to get the link using the Outlook plugin, for pre-scheduled meetings. Is this link always the same and the one that should be used for an impromptu "Meet Now" meeting? It would still be good to know how to get this URL from within
    the store app so I can tell clients where to get it.
    Some people may be on Windows RT devices and not have access to the plugin in Outlook, and want to start a meeting at short notice and then invite others via email or pasting a link to them elsewhere.
    Any help appreciated.
    If I have answered your question, please mark it as the correct answer. If I have provided helpful information, please mark it as so.

    Hi,
    Agree with Holger, I check on my Lync Windows Store app and can't find the meeting URL as well.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Had to restore iphone from a backup that was done 1 week ago.  any way to get back the texts, call logs, etc. that happened within the last week?

    this morning, i had to restore iphone from a backup that was done 1 week ago.  is there any way to get back the texts, call logs, etc that happened within the last week?

    No

  • How to submit a concurrent request from Discoverer report.

    I would like to know If any one has tried submitting a concurrent request from Discoverer Report?_
    This is no stupid question, but our team here finally decided with a solution to our long pending issues with few of the discoverer report. To Proceed further, we would like to know, how to submit a concurrent request from Discoverer report?
    We are looking for calling a package from the Disco admin by passing the parameters from the disco to the 6i report.
    All help us in this regards are much appreciated.
    Kindly help us in the same!
    Thanks
    Arun

    Thanks Rod for confirming the same.
    I will be trying the same today and will let you know if I succeed in doing it.
    If I can share the actual requirement with you, it goes like this.
    "I will be triggering the Oracle 6i standard AP Trail balance report through the Disco report. The standard report will be inserting the required data to one of my custom table. Once the concurrent program completes normal, my custom table will be having the required data to create the workbook specific to the current run of the concurrent program.
    The one problem which I think could happen is, How can I make my disco report to wait till the standard program to complete in normal so that my disco report can be generated with the data from custom table.
    Will the above requirement is possible If I follow the way you mention in the PDF or Could you suggest a better way for achieving the same.
    In short, my requirement is: The custom table(say XX_TABLE) will be populated with data when the standard 6i report is run and the disco admin will be making of the custom table (XX_TABLE) to generate the report.
    Please advice.
    Thanks
    Arun

  • How to submit a concurrent request from a button in Selfservice

    Hi,
    I hope this is the forum where to start.
    I want to submit a concurrent request when a button is pushed in selfservice.
    I've implementend the event for button in java and its woring fine, but how to submit a conurrent request in java?
    Can anyone help me or tell me if this is not the correct forum?
    Thank you!
    Best regards
    Gjermund Lunder
    Developer/DBA

    hi,
    This question suppose to be in framework forum.
    you can try:
    OA Framework provides the ConcurrentRequest class to call the concurrent program from the page. The submitRequest() method in the ConcurrentRequest class takes 6 parameters and returns request id of the submitted concurrent request:
    public int submitRequest(
    String ProgramApplication ,
    String ProgramName ,
    String ProgramDescription ,
    String StartTime,
    boolean SubRequest,
    Vector Parameters ) throws RequestSubmissionException
    ProgramApplication -Application Short name of application under which the program is registered.
    ProgramName - Concurrent Program Name for which the request has to be submitted
    ProgramDescription - Concurrent Program Description
    StartTime - Time at which the request has to start running.
    SubRequest - Set to TRUE if the request is submitted from another running request and has to be treated as a sub request.
    Parameters - Parameters of the concurrent Request
    Here is the example for calling a concurrent program from a OA framework page.
    import oracle.apps.fnd.cp.request.ConcurrentRequest;
    import oracle.apps.fnd.framework.server.OADBTransaction;
    public int submitCPRequest(Number headerId) {
    try {
    OADBTransaction tx = (OADBTransaction)getDBTransaction();
    java.sql.Connection pConncection = tx.getJdbcConnection();
    ConcurrentRequest cr = new ConcurrentRequest(pConncection);
    String applnName = "PO"; //Application that contains the concurrent program
    String cpName = "POXXXX"; //Concurrent program name
    String cpDesc = "Concurrent Program Description"; // concurrent Program description
    // Pass the Arguments using vector
    // Here i have added my parameter headerId to the vector and passed the vector to the concurrent program
    Vector cpArgs = new Vector();
    cpArgs.addElement(headerId.stringValue());
    // Calling the Concurrent Program
    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;
    I got it from http://prasanna-adf.blogspot.com/2008/11/call-concurrent-program-from-oa.html

  • Calling User Preference event from within portlet

    Not sure if anybody else has looked at this but we are in the process of rolling out a new G6 Portal and on a number of portlets want to take advantage of the ability to turn off the portlet header. However in doing so you loose access to the inbuilt support for providing access to the User Preference, if one has been defined as part of the portlet definition. This is relevant on a number of portelts that we want to migrate to the new G6 portal.
    So rather than try and re-invent this from scratch using a different 'link' in the portlet itself we were wondering if you can 'call' the inbuilt user preference functionality from within the portlet code. i.e. When a user clicks on the link within the portlet it performs exactly the same action and interaction within the portal as if they clicked on the User Preference icon in the portlet header.
    We have had a look around to see if this is possible but not come up with anything yet so thought we would seek comments from this forum.
    Many thanks in advance,
    Ross Ellard
    Devonport Management Ltd

    Hey Ross,
    I just realized I have to do the same thing on a very limited scale (3-5 portlets).
    SO I just wrote a little bit of (shoddy) code to show community preferences based on group membership.
    It works for me, but I get the feeling your looking for something like communityactionsdata geared toward portlets, which unfortunately I dont think exists. If you put it in as an enhancement request then support will contact you to discuss your options.
    Here is the code that I'm using for now:
    <pt:standard.choose>
    <pt:standard.when pt:test="stringToACLGroup('group=1,755,760;').isMember($currentuser)">
    <immg border="0" src="htttp://localhost/imageserver/plumtree/portal/public/img/action_portlet_edit.gif">
    </pt:standard.when>
    </pt:standard.choose>
    The only problem is that the preferences submit button refreshes the popup to the portal. So I might need to tweak that a hair so it just closes the popup.
    edited to prevent the forum from trying to use the code I provided
    Message was edited by:
    geoffgarcia

  • Calling a Portal Service from within a Web Dynpro DC

    Hello,
    I am trying to call a Portal Service from within a Web Dynpro development component without sucess.
    Can anyone give me some hints on the necessary steps in order to accomplish this task?
    Thanks
    Diz

    Hi Diz,
    I tried doing the same thing by following the steps as mentioned by you. Just to re iterate,
    1. Created a DC "Portal Application Standalone" project by the name myservice.
    2. Created a portal service inside myservice by the ame AmitsService.
    3. Exposed IAmitsService.class in the public part.
    4 Build and deployed the DC on server and tested it through an abstract portal component and it worked FINE !!
    Now..
    5. Created anoter DC of type WebDynPro
    6. Added SAP_JTECHS -> epbc.prtapi._api as a "Used DC" with dependency build time and runtime
    7. Specified the sharing reference in the properties as PORTAL:sap.com/myservice
    8. Tried to reference the service using the following code..
    IAmitsService portalservice=(IAmitsService)WDPortalUtils.getServiceReference(IAmitsService.KEY);
    9.Build and deployed the DC.
    10. When I run the application I am getting the following error
    Processing HTTP request to servlet [dispatcher] finished with error.
    The error is: com.sap.engine.frame.core.load.SAPNoClassDefFoundError: com/sapportals/portal/prt/service/IService
    Exception id: [000D6008418B005C0000002C00000D200004163CE6719E1D]
    PLEASE ADVISE

  • Is it possible to fire DDL queries from within a trigger?

    Hi,
    In Oracle 8.0.5, Is it possible to fire DDL queries from within a trigger?
    e.g. when no. of rows is multiple of 1000, I wish to call a procedure which
    analyzes the table and finds the size of the table. I am getting :
    "ORA-04092: cannot COMMIT in a trigger" error message.
    Regards
    Sanchayan

    One way around this is to use the AUTONOMOUS_TRANSACTION pragma, but I think that was introduced in 8i. Check your docs. Another way is to set up a procedure to do the ANALYZE and in your trigger submit a job using DBMS_JOB to run that procedure.
    Anyway, the second option is best because you really don't want to impose the overhead of running an ANALYZE onto a DML transaction.
    You are also going to run into the mutating table problem: you can't find out how big the table is, because you can't run queries against the table from within a trigger. You could use DATE_LAST_ANALYZED from USER_TAB_COLUMNS, but really you should just schedule jobs to run ANALAYZE at regular intervals - once a day, once a week, once a month, depending on the volatility and usage of any given table.
    Cheers, APC

  • How to call a concurrent program from a Custom JSP page.

    Hi,
    I have a custom JSP page which i have deployed by creating a form function with the path of the JSP Page
    and added the JSP Page to the OA_HTML top.
    Now, i need to call a concurrent program from the JSP Page, i have all the parameters in my page and i am using the standard class as below:
    ConcurrentRequest cr= new ConcurrentRequest(con);
    int requestId= cr.submitRequest("XXINV",programName,null,null,false,vec);
    I have verified my connection object and it is OK but i am getting the exception that user is not set to run the program.
    I tried the below code in my JSP page and getting -1 for all test variables :-
    int userId = wctx.getUserId();
    int respApplId = wctx.getRespApplId();
    int respId = wctx.getRespId();
    I think i need to set the context in JSP page to run the program..
    Pls help ....
    Regards
    Saurabh Jaiswal

    Hi,
    Thanks for the reply,,,
    This is a possible solution but this will allow to run the program anyhow.
    But the procedure which i call thru callable statement will start with
    fnd_global.apps_initialize (3825, 50603, 704);
    fnd_request.submit_request API call.
    Now, the values of user and Responsibilty is required in the program and it changes.
    With this approach we have to hardcode the user and resp.
    The same JSP page is attached to other responsibilities and there the concurrent program would get fired as if fired from the resp Id hardcoded as above.
    Need to capture user Id and RespId.
    How can i set the apps Context in JSP page???
    Regards
    Saurabh Jaiswal

Maybe you are looking for

  • Best partitioning strategy for OS 8.6?

    Hello, I have two hard drives on my beige 233 MHz G3 minitower (rev 1): 4 GIG SCSI 80 GIG ATA I need to install OS 8.6. I was considering using both drives but I do not know what I should put on each drive. Should I install OS 8.6 onto the 4 GIG driv

  • Error -195067896​5 Shared Variable

    I have a VI that reads a SV array. If I just plop this down on a blank vi and hit the run key it works fine with no errors. But when I put it inside of a loop it runs once then gives me this error. It doesn't matter how long of a wait I put into the

  • Weird things in middle of slideshow

    I take my grankids photos from iphoto into slideshow then burn to idvd. Sometimes when playing on the tv dvd player I get weird little distrupts of color during the slideshow, usually the middle part. I use either disk burn or sometimes toast. It see

  • Wrong Screenresolution on Apple 15" analog Studio Display under 10.5

    Hi everybody, I'm still using one of the good old blue TFT 15" Studio Displays with VGA and ADB connectors as my secondary display. The correct resolution should be 1024x768px at either 60hz or 75hz. When the display is connected and I start the mach

  • ABAP Objects Casting error

    Hi, I have declared two classes with names, ZCL_ONE, ZCL_TWO. ZCL_TWO is inhering ZCL_ONE. Now i am using them in the se38 program. While i use it, Narrow casting is working fine, But widening casting is not working. It is throwing an exception or a