Srw.user_exit('FND FLEXIDVAL

Hi All,
function G_BALANCINGGroupFilter return boolean is
begin
srw.reference(:STRUCT_NUM);
srw.reference(:BAL_DATA);
srw.user_exit('FND FLEXIDVAL CODE="GL#"
NUM=":STRUCT_NUM"
APPL_SHORT_NAME="SQLGL"
DATA=":BAL_DATA"
VALUE=":BAL_FIELD"
SHOWDEPSEG="N"
DISPLAY="GL_BALANCING"
IDISPLAY="GL_BALANCING"
SECURITY=":BAL_SECURE"');
IF(:BAL_SECURE = 'S') then
return(FALSE);
ELSE
return (TRUE);
END IF;
end;
I am working on Foreign Currency General Ledger Oracle report,
we want to change this report into select by account #,
My question is when it run " srw.user_exit('FND FLEXIDVAL CODE="GL#" ... "
does it return any value like :BAL_SECURE
How can i find this script or program in Linux?
Thanks,

Oh my god,I have encountered same problem,Did you found reason?

Similar Messages

  • SRW.USER_EXIT('FND SRWINIT')  not working

    Hi
    Instance : R12.1.3, SRW.USER_EXIT('FND SRWINIT') is not working .
    the org context is not set when calling SRW.USER_EXIT('FND SRWINIT') from Before Report Trigger.
    Pls advice.
    Regards
    Yram

    Pl see if MOS Doc 420787.1 (Oracle Applications Multiple Organizations Access Control for Custom Code) can help
    HTH
    Srini

  • How to find the foreign function source code of srw.user_exit in report?

    Hi,
    We know that srw.user_exit can invoke a foreign function,for example SRW.USER_EXIT('FND SRWINIT').
    But how can I find the source code of the foreign function in SRW.USER_EXIT(e.g. the source code of FND SRWINIT)?
    Thanks in advance,

    Hi,
    You build user exits when you want to pass control from Report Builder to a program you have written, which performs some function, and then returns control
    to Report Builder.
    So you will have to know the foreign function you want to invoke.
    For information on writing a user exit, see the following note on Metalink:
    179324.1
    And the "Programmer's Guide to the Oracle Precompilers, 1.8"
    Navneet.

  • Not able to use SRW.USER_EXIT in oracle forms.

    Hi,
    Below is my requirement in oracle forms:
    I have a query form, which has Inventory Category Set field and Category 'From' and 'To' fields. Based on the values selected by the user for Category Set, possible combinations for Categories should be displayed in Cateogory 'From' and 'To' fields. Upon clicking the 'Find' button, only the items which belong to this category set and the range of Cateogies selected should be displayed.
    Note that 'Item Categories' Key flex field should be used here. Number of Segments for each Category set will differ. To acheive this, I have attached the Key flex field to the Cateogory 'From' and 'To' fields.
    In the PRE-QUERY trigger of the datablock, I have to use where condition to filter the items based on the category sets and categories. This where condition should be generated dynamically based on the search criteria.
    In oracle report, we have provision to use the below USER_EXIT to get the where condition to append to my PRE-QUERY statement.
    SRW.USER_EXIT('FND FLEXSQL CODE = "MCAT"
    OUTPUT = ":P_WHERE_CAT"
    APPL_SHORT_NAME= "INV"
    MODE = "WHERE"
    DISPLAY = "ALL"
    NUM = ":P_STRUCT_NUM"
    TABLEALIAS = "MCA"
    OPERATOR = "BETWEEN"
    OPERAND1 = ":P_CATEGORY_FROM"
    OPERAND2 = ":P_CATEGORY_TO"');
    But in forms, I am not able to use this USER_EXIT. Please let me know the alternate ways to get the where condition dynamically in forms.
    Thank you in advance.
    Regards,
    Kalyan

    RAISE APPLICATION_ERROR built-in is raised in a DB procedure/function or trigger.
    You can write an ON-error trigger that will trap any DB error messages
    or
    You can use Dbms_Error_Code & Dbms_Error_Text for trapping the Error.

  • SRW.USER_EXIT

    Can any one explain me how to use SRW.USER_EXIT in oracle reports?
    If possible with an example.
    Thanks.

    Hi,
    If you will be using it in .rdf program understand the sequence of 'Program Unit' in Report trigger which it kick's of
    1. Before Parameter Form
    2. After Parameter Form
    3. Before Report.
         - This where you add the code
              srw.USER_EXIT('FND SRWINIT');
          This will hold in memory all the user related information and profile values
         Example uses on user values in the report to display after add the above code will be;
                  srw.message(406, fnd_global.user_name);
                  srw.message(407, fnd_global.resp_name);
    4. After Report
        - This is where you add the second set of code
              srw.user_exit('FND SRWEXIT');
             - This code will clear the memory. however you still have the capability to display user related information. Example;
                  srw.message(406, fnd_global.user_name);
                  srw.message(407, fnd_global.resp_name);
    Must add user parameter (P_CONC_REQUEST_ID)
    Above has been tested in Report Builder 2000 and Report Builder 10g.
    Try it and let me know your comment

  • How to display flex fileld data in Oracle Reports

    Hi All,
    I am using Oracle Reports to display Key Flex field information of Oracle Applications in reports by using SRW.user_exit.
    These are steps which I did during my development time
    P_FLEX_DATA
    P_STRUCT_NUM intial value as 101
    defined as Parameters, in P_FLEX_DATA calling all segment values as shown in standard reports.
    I've used P_FLEX_DATA in sql query of the report and defined two formula cols C_FLEXFIELD and C_DESC_ALL and added below mentioned codes:
    C_FLEXFIELD formula column query:
    SRW.REFERENCE(:P_STRUCT_NUM);
    SRW.REFERENCE(:C_FLEXDATA);
    SRW.USER_EXIT('FND FLEXIDVAL
    CODE="GL#"
    NUM=":P_STRUCT_NUM"
    APPL_SHORT_NAME="SQLGL"
    DATA=":C_FLEXDATA"
    VALUE=":C_FLEXFIELD"
    DISPLAY="ALL"');
    RETURN(:C_FLEXFIELD);
    C_DESC_ALL formula column query:
    SRW.REFERENCE(:P_STRUCT_NUM);
    SRW.REFERENCE(:C_FLEXDATA);
    SRW.USER_EXIT('FND FLEXIDVAL
    CODE="GL#"
    NUM=":P_STRUCT_NUM"
    APPL_SHORT_NAME="SQLGL"
    DATA=":C_FLEXDATA"
    DESCRIPTION=":C_DESC_ALL"
    DISPLAY="ALL"');
    RETURN(:C_DESC_ALL);
    But I did not find any output for these two columns. I want to display flex fileld description as per code combination id wise in reports. I am using reports 10g for developing the reports. Please help in this regard.
    Regards,
    Prasad

    How do you execute the call for a Report?
    URL?

  • Security Rule API

    Hi,
    Is there a PL/SQL Equivalent for the Oracle Report user exit
    SRW.USER_EXIT('FND FLEXIDVAL
    CODE="GL#"
    APPL_SHORT_NAME="SQLGL"
    DATA=":SEGMENT4"
    NUM=":CP_COA_ID"
    DISPLAY="4"
    IDISPLAY="4"
    SHOWDEPSEG="N"
    VALUE=":SEGMENT4"
    SECURITY=":CF_CC_SECURE" ');
    to find out if the current user has access to SEGMENT4. I would like to create a DATABASE PACKAGE that retrieves all the SEGMENT4's that satisfies the security rules for the person logged in.
    Best Regards
    Ramdas

    Hi Spark,
    It looks like Journal Import doesn't check for Security rules, but it checks for cross validation rules upon dynamic insertion. Sorry for the misled earlier. You can check the metalink note, Journal Import - FAQ [ID 107059.1]. Here are the comments for the note,
    A04. Does the Journal Import process check for Cross-Validation or Security
    Rules violations?
    Journal Import does not check security rules. Transactions that come
    from Oracle subledgers (AR, AP, etc.) already have the CCID (Code
    Combination ID) in the GL_INTERFACE table. These have been validated
    in the feeder system.
    You can also populate the accounting segments directly into the
    gl_interface table and let Journal Import populate the
    code_combination_id. If dynamic insertion is enabled, and this is a
    new combination, then the import program will check for cross
    validation rule violations.
    Thanks,
    Kiran

  • Need explanation on FND FLEXSQL function

    Hi, when I'm making documentation for an old report, I encountered such a construct in Before Report Trigger (variable names are altered to make this a generic question and avoid revealing business logic):
    SRW.USER_EXIT('FND FLEXSQL CODE=":p_code"
                    NUM=":p_num_struct"
                    APPL_SHORT_NAME="APP1"
                    OUTPUT=":rp_flex_item"
                    MODE="SELECT"
                    DISPLAY="ALL"
                    TABLEALIAS="SAP"
              ');I'm reading the Oracle docs now, but still have no idea what each elements inside the user exit means, and how this 'FND FLEXSQL' function interacts with the report. Any help?
    Many thanks.

    This is a user exit which is used to retrieve and display flexfield values. You can find full documentation on this and other flexfield user exits in the Oracle Applications Flexfields guide. You should find references to user exit FND FLEXIDVAL which works alongside this user exit to provide full functionality.
    Hope this helps

  • Global temp table usage obstructed by FND SRWINIT

    Hi Friends,
    I am using a Global temporary table in one of my Oracle reports which is being populated in After-Param-Form trigger. But the problem I am facing is if I use the SRW.USER_EXIT('FND SRWINIT') in the Before-Report trigger, the records in Global temporary table gets deleted and the data can't be used in the report query.
    Can you please suggest some work-around for this?
    Thanks in advance!
    --Diptiman :)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Two ideas:
    - Move the population of the GT table to after the call to SRWINIT
    or
    - change the GT table to be ON COMMIT PRESERVE ROWS - I expect that SRWINIT is doing a commit/rollback which would remove your data if the GT table is set to ON COMMIT DELETE ROWS (the default).
    Barry Goodsell.
    ps: Please mark if helpful!
    Edited by: BarryGoodsell on May 8, 2013 9:58 AM

  • Oracle Report -FND FORMAT_CURRENCY

    Hi,
    I am using the folowing code in group level formula column(CF_CURR) for formatting currency.The report output is set to xml.
    The output of CF_CURR in xml is wierd for example:
    <UNIT_SELLING_PRICE>68043.48</UNIT_SELLING_PRICE>
    <CF_CURR>68</CF_CURR>
    <UNIT_SELLING_PRICE>9170</UNIT_SELLING_PRICE>
    <CF_CURR>9</CF_CURR>
    <UNIT_SELLING_PRICE>6843.28</UNIT_SELLING_PRICE>
    <CF_CURR>6</CF_CURR>
    srw.user_exit('FND FORMAT_CURRENCY
    CODE="USD"
    DISPLAY_WIDTH="17"
    AMOUNT=":UNIT_SELLING_PRICE"
    DISPLAY=":CF_CURR"');

    961040 wrote:
    Resolved. First Commented the code, ran the report, it ran fine and then un-commented it after putting the SRWINIT in before parameter report trigger, it returned DATA and everything is perfect.Thanks for the update and for sharing the solution!

  • Reg SRW function

    Hye Guys,
    I am working in Reports 6i and as per the standard/requirement of APPS in most of thereports below line with different - different parameters is placed and due to which in most of the cases I am unable to run this report in report builder it self, fo an any single modification, all time I have to copy the report on server and only then able to check the report. Please brief me that what is the meaning/purpose of this command/syntax.
    SRW.USER_EXIT('FND MESSAGE_NAME APPL="SQLAP" NAME="AP_APPRVL_NO_DATA"');
    Thanks
    If you provide your reply on my personal mail id then highly thankfull to you
    [email protected]
    Shishu Paul

    Hi
    SRW.User_exits related to FND's are used to get apps environment .
    So they work in apps environment only.
    they wont work in report builder 6i.

  • Rewrite query

    hi
    i have a standard oracle report query which i ve taken from the data model
    is it possible to rewrite this query without the bind variable , also the data given as output should be same when rewritten
    wht does &C_vendor_dynamic_SQL stand for
    SELECT /*+ ORDERED_PREDICATES */  DISTINCT (v.vendor_id)           C_vendor_id,
                       v.vendor_name                               C_vendor_name,
         DECODE(:SORT_BY_ALTERNATE, 'Y', UPPER(v.vendor_name_alt),
                       UPPER(v.vendor_name))      C_sort_vendor_name,
         v.segment1          C_vendor_num
    FROM    ap_invoices i, po_vendors v
    WHERE  0 < (SELECT SUM(nvl(prepay_amount_remaining,amount))
                     FROM  ap_invoice_distributions aid
                     WHERE aid.invoice_id = i.invoice_id
                     AND   aid.line_type_lookup_code IN ('ITEM','TAX')
                     AND   nvl(aid.reversal_flag,'N') <> 'Y')
    AND v.vendor_id = i.vendor_id  
    AND i.invoice_type_lookup_code =  'PREPAYMENT'
    AND       i.cancelled_date IS NULL
    &C_vendor_dynamic_SQL
    ORDER BY DECODE(:SORT_BY_ALTERNATE, 'Y', UPPER(v.vendor_name_alt), UPPER(v.vendor_name))thanking in advance
    Edited by: makdutakdu on Jun 21, 2010 10:54 AM

    hi
    thank u for the speedy response
    there is after report and before report trigger and i dont see C_vendor_dynamic_SQL in both of them from the data model i see its a placeholder type column with no pl/sql formula specified
    this is the code for before report trigger
    function BeforeReport return boolean is
    begin
    /* This is the before report trigger for Oracle Payables Release 10 reports  */
    DECLARE
      init_failure    EXCEPTION; 
    BEGIN
      /* Start tracking report run time */
      :C_REPORT_START_DATE := sysdate;
      /* Init AOL - only necessary if AOL user exits are called           */
      /* If this is deleted, also delete SRWEXIT in After Report Trigger! */
      SRW.USER_EXIT('FND SRWINIT');
      IF (:p_debug_switch in ('y','Y')) THEN
         SRW.MESSAGE('1','After SRWINIT');
      END IF;
       /* get the set of books id and charge account id for this org */
      SELECT   ap.set_of_books_id, gl.chart_of_accounts_id
        INTO   :P_set_of_books_id, :P_chart_of_accounts_id
        FROM   ap_system_parameters ap, gl_sets_of_books gl
        WHERE  ap.set_of_books_id = gl.set_of_books_id;
      IF (:p_debug_switch in ('y','Y')) THEN
         SRW.MESSAGE('2','After initialize parameter p_set_of_books_id and p_charge_of_accounts_id');
      END IF;
      /* Get the organization name and SYSDATE from GL_SETS_OF_BOOKS */
      IF (get_company_name != TRUE) THEN  -- Call report level PL/SQL function
         RAISE init_failure;
      END IF;
      IF (:p_debug_switch in ('y','Y')) THEN
         SRW.MESSAGE('3','After Get_Company_Name');
      END IF;
      /* Get NLS strings for "All","Yes","No", and "No data exists..."  */
      IF (GET_NLS_STRINGS != TRUE) THEN -- Call report level PL/SQL function
         RAISE init_failure;
      END IF;
      IF (:p_debug_switch in ('y','Y')) THEN
         SRW.MESSAGE('4','After Get_NLS_Strings');
      END IF;
      /* Get code, precision, min.accountable unit,and descr. for base currency */
      IF (get_base_curr_data != TRUE) THEN   -- Call report level PL/SQL function
         RAISE init_failure;
      END IF;
      IF (:p_debug_switch in ('y','Y')) THEN
         SRW.MESSAGE('5','After Get_Base_Curr_Data');
      END IF;
      /* If you need to print cover page values, add the code to the existing */
      /* get_cover_page_values function and uncomment the call below.         */
      /* IF (get_cover_page_values != TRUE) THEN  */
      /*    RAISE init_failure;                   */
      /* END IF;                                  */
      /* IF (:p_debug_switch in ('y','Y')) THEN   */
      /*    SRW.MESSAGE('6','After Get_Cover_Page_Values'); */
      /* END IF;                                  */
      /* If this is a flex report, uncomment the following lines */
      /* IF (get_flexdata != TRUE) THEN             */
      /*    RAISE init_failure;                     */
      /* END IF;                                    */
      /* IF (:p_debug_switch in ('y','Y')) THEN     */
      /*    SRW.MESSAGE ('7', 'After Get_Flexdata');*/
      /* END IF;                                    */
      /* Add any custom code to the existing custom_init PL/SQL function and */
      /* uncomment the call to it below */
      IF(custom_init != TRUE) THEN             
        RAISE init_failure;                    
      END IF;                                   
      IF (:p_debug_switch in ('y','Y')) THEN   
        SRW.MESSAGE('7','After Custom_Init');  
      END IF;                                  
      /* If the debug switch is turned on, do an SRW.BREAK to show current */
      /* parameter and column assignments.                                 */
      IF (:p_debug_switch in ('y','Y')) THEN
         SRW.BREAK;
      END IF;
      /* If there have been no exceptions so far, RETURN(TRUE) */
      RETURN (TRUE);
    /* Exception Handler Section.  If there is an exception, abort program */
    EXCEPTION
      WHEN   OTHERS  THEN
        RAISE SRW.PROGRAM_ABORT;
    END;
      return (TRUE);
    end;this is for after report trigger
    function AfterReport return boolean is
    begin
    BEGIN
       SRW.USER_EXIT('FND SRWEXIT');
       IF (:P_DEBUG_SWITCH = 'Y') THEN
          SRW.MESSAGE('20','After SRWEXIT');
       END IF;
    EXCEPTION
    WHEN OTHERS THEN
       RAISE SRW.PROGRAM_ABORT;
    END;  return (TRUE);
    end;kindly help
    Edited by: makdutakdu on Jun 21, 2010 11:22 AM

  • R12 Report customised report not working.

    i have developed a report in R12 for purchasing module.
    simple quey: select * from po_headers_v where po_number=45;
    in Before report trigger.
    mo_global.set_policy_context('S',101);
    In PC report is working but didn't show any record when i attach it R12.

    We have had a similar problem in R12 with getting data output from custom reports pulling data from purchasing tables such as PO_VENDORS.
    You have to add this in the after parameter form trigger of the Oracle Report:
    SRW.USER_EXIT( 'FND SRWINIT');
    Do not call it from the before report trigger like I was used to doing under 11i. This user exit sets up various Oracle Report environment info, including initializing Oracle Reports to work with the new multi-org system used by R12.
    Don't forget to call this in the after report trigger:
    srw.user_exit( 'FND SRWEXIT' );
    Also under R12, you need to set the Operating Unit Mode setting on the web based define concurrent program page. Go to (R) System Administration -> (N) Concurrent -> Programs, once you have queried up your concurrent program for your report, click the Request tab. You will find the Operating Unit Mode option there. This Operating Unit Mode option needs to be set to Single for most R12 instances. This mode setting is not available in the Oracle Forms concurrent program define form, so watch out!
    Cheers
    Daryl

  • FND_REQUEST.SUBMIT_REQUEST is not working in After Report Trigger Reports6i

    Hi Guys,
    I am calling the another conc program in After report trigger using FND_REQUEST.SUBMIT_REQUEST. The below are the statement which i use in my program.
    req_id := FND_REQUEST.SUBMIT_REQUEST('APPL_SHORT','CONC_SHORT',NULL,NULL,FALSE);
    I have also use the SRW.USER_EXIT('FND SRWINIT') in Before Report Trigger and SRW.USER_EXIT('FND SRWEXIT') in After Report Trigger also.
    I am getting the error in Log file saying that
    REP-0736: There exist uncompiled program unit(s).
    REP-1247: Report Contains uncompiled PL/SQL.
    Quick Response is highly appreciated.
    Thanks in Advance.
    Regards
    Madhan.S

    Hi Sawwan,
    I was compiled in Unix platform also. If i comment that FND_REQUEST.SUBMIT_REQUEST line it executes fine. It gives the same error in Unix also.
    Can anyone pls help this issue.
    Thanks in Advance.
    Regards
    Madhan.S

  • XML Report Publisher program is erroring out

    Hi All,
    I've customized the AR Customer Statements.
    I've created a data definition as "ARXSGP" and uploded the sample_output.xml of Statement Generation Program to it. Also I've created a Data template as "ARXSGPO" and attached the data definition "ARXSGP" to it and uploaded the customized rtf file "XXHCC_CLE_F_ARCUSBALSL.rtf" and set the default output type to PDF.
    As I donot wish to call the XML Report Publisher program manually every time when I Print the Statements through Print Documents-->Statements.
    So I've done the below customization in ARXSGP.rdf file ie; Print Statements Report which is an Oracle Report.
    I've added the below code in After Report trigger.
    =======================================
    FUNCTION AfterReport
    RETURN BOOLEAN
    IS
    BEGIN
    Below code added for Customer Statement Case Study
    DECLARE
    l_req_id NUMBER := 0;
    L_XML_LAYOUT BOOLEAN := TRUE;
    BEGIN
    L_XML_LAYOUT := FND_REQUEST.ADD_LAYOUT (TEMPLATE_APPL_NAME => 'AR', TEMPLATE_CODE => 'ARXSGP', TEMPLATE_LANGUAGE => 'en', TEMPLATE_TERRITORY => 'US', OUTPUT_FORMAT => 'PDF');
    IF L_XML_LAYOUT THEN
    srw.message(20001, 'Template is picked ');
    srw.message(20002,'Concurrent request Id : '||:p_conc_request_id);
    l_req_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
    'XDOREPPB',
    NULL,
    NULL,
    FALSE,
    :p_conc_request_id,
    222, -- Receivables
    'ARXSGPO', -- Statement Generate
    'en-US', -- English
    'N',
    'RTF',
    'PDF');
    IF l_req_id > 0 THEN
    COMMIT;
    ELSE
    srw.message(20004, 'Failed to submit request');
    END IF;
    ELSE -- Not L_XML_LAYOUT
    srw.message(20005, 'Template is not picked ');
    END IF;
    END;
    --------------------Code Ends----------------------------
    SRW.USER_EXIT('FND SRWEXIT');
    RETURN (TRUE);
    END;
    ==============================================
    After Printing the Statements through Print Documents-->Statements
    Statement Generation Program is being called and later XML Report Publisher program is also being invoked.
    But the XML Report Publisher Program is erroring out with below error.
    XML Publisher: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XDOREPPB module: XML Report Publisher
    Current system time is 03-SEP-2012 17:42:18
    Oracle XML Publisher 5.6.3
    java.lang.NumberFormatException: For input string: "ARXSGPO"
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
         at java.lang.Integer.parseInt(Integer.java:447)
         at java.lang.Integer.parseInt(Integer.java:497)
         at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:215)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    Output file size:
    0
    ------------- 1) PUBLISH -------------
    Disabling requested Output Post Processing. Nothing to process. The output of the request is zero byte.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 03-SEP-2012 17:42:22
    Please help out with a solution.
    Thanks,
    Tech D

    for r12 add one row for parameter "Dummy for Data Security" from desc of XDOREPPB
    follow works for me
    SQL> set serveroutput on
    SQL>
    SQL> declare
      2    v_request_id   number;
      3  begin
      4 
      5   begin fnd_global.apps_initialize(0, 20419, 0); end;
      6   v_request_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
      7                                              'XDOREPPB',
      8                                              NULL,
      9                                              NULL,
    10                                              FALSE,
    11                                              'N', -- Dummy for Data Security
    12                                              9888637, -- Request
    13                                              0, -- Template Application
    14                                              'XXAND10_1', -- Template
    15                                              'en-US', -- Template Locale
    16                                              'N', -- Debug Flag
    17                                              'RTF', -- Template Type
    18                                              'RTF' -- Output Format
    19                                              );
    20 
    21    dbms_output.put_line(v_request_id);
    22    if v_request_id > 0 then
    23      dbms_output.put_line('successfully submitted.');
    24      commit;
    25    else
    26      dbms_output.put_line('not submitted.');
    27      rollback;
    28    end if;
    29 
    30  end;
    31  /
    9888651
    successfully submitted.
    PL/SQL procedure successfully completed
    SQL> 'Y' for "Dummy for Data Security" also works for me
    SQL> declare
      2    v_request_id   number;
      3  begin
      4 
      5   begin fnd_global.apps_initialize(0, 20419, 0); end;
      6   v_request_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
      7                                              'XDOREPPB',
      8                                              NULL,
      9                                              NULL,
    10                                              FALSE,
    11                                              'Y', -- Dummy for Data Security
    12                                              9888637, -- Request
    13                                              0, -- Template Application
    14                                              'XXAND10_1', -- Template
    15                                              'en-US', -- Template Locale
    16                                              'N', -- Debug Flag
    17                                              'RTF', -- Template Type
    18                                              'RTF' -- Output Format
    19                                              );
    20 
    21    dbms_output.put_line(v_request_id);
    22    if v_request_id > 0 then
    23      dbms_output.put_line('successfully submitted.');
    24      commit;
    25    else
    26      dbms_output.put_line('not submitted.');
    27      rollback;
    28    end if;
    29 
    30  end;
    31  /
    9888652
    successfully submitted.
    PL/SQL procedure successfully completed
    SQL>

Maybe you are looking for

  • Deletion and creation of Configuration Objects using JAVA Transports

    Hi Guys I hope you guys can help me make some sense out this situation. We have 2 systems in the QA Landscape which shares the Integration Server, Lets call it SYS.A1 and SYS.A2. In the SLD both SYS.A1 and SYS.A2 have the transport track pointing to

  • BAPI_SALESORDER_CREATEFROMDAT2 - Configurating Items

    Hi  everybody!   Now i'm trying to create an order but  configurating some items, i'm testing the BAPI at SE37, when  i test the BAPI it gives me the order number but the configuration in the item WHERE  i SEND the data is not made, I give YOU the pa

  • How to unsuspend my website

    I have a free Azure website where I've been testing out an idea, but today I notice it was suspended. My free Azure trial did recently expire, but I think the website was supposed to be indefinitely free. Does anyone know where I can find more inform

  • Video titles missing from iOS 7 video app

    The new video app in iOS 7 shows you icons of each video.  But the title of the video has been removed (iOS 6 would show an icon AND the title).  Can that be restored?  I don't want to have to select each individual video, go to that video's screen t

  • Leading zeros in rename photos

    When renaming a group of images it would be great if (as in Bridge) Lightroom would put in the leading zeros. I found it a pain to have to put in the extra zeros (using windows explorer) so they would appear in the correct order - even in bridge.