Simultaneous program output. EXCEL must replace .xls

Hi all

We have a custom report xmlp with exit excel. Thanks to simultaneous program delivery options, we send out that email.

E-mail from with an attachment. EXCEL format.

If some users not able to open it. So how do you change the .csv or .xls format?

Thank you

But it is not useful.

Anyway I got it by referring to the following Doc ID 1289476.1

Tags: Oracle Applications

Similar Questions

  • Simultaneous program with RTF/EXCEL output

    Hi all


    I updated java version 7. When I go to the simultaneous program with HTML/PDF output, is the opening.

    But when I display the output of the simultaneous program with RTF/EXCEL, it does not open. I think we have to put something in the Solution Explorer.

    I was able to open before the upgrade and java 6.

    Version of the EBS - 12.1.3

    DB 11.2.0.3

    OS - RHEL5 64 bit

    JRE - 7u25

    Please help me solve the problem.

    Thank you

    SAL

    Hi Sal.

    How do you set Internet Options ask confirmation for file downloads and download file?

    Octavio

  • Control break to email program output in Excel file

    Hello

    Can someone provide me with a sample of break-up of the control file to send the output of a program in Excel.

    Thank you
    Ashish

    Please check the delivery channel properties:

    SMTP_SERVER, from, to, etc.

  • the log output to a master simultaneous program log file

    I run a simultaneous (cc1) program that calls a simultaneous program (cc2) XML editor and the production of a file.

    I implemented an afterReport trigger to return some report details that are required to be recorded in the log file of cc1.
    I am passing the value of request of CE1 in CE2.
      </dataStructure>
      <dataTrigger name="afterReport" source="My_PKG.after_report(:TOTAL_DR,:TOTAL_CR,:TOTAL_ROWS,:CC1_REQ_ID)"/>
    </dataTemplate>
    In My_PKG.after_report, I can write the information easily to write to the usage of CE2 log file...
    fnd_file.put_line(fnd_file.log,'total_dr: ' || to_char(total_dr));
    .. .as is the program running simultaneously.

    but... anyone know if it is possible to write this detail in the log file of cc1 while still under the control of cc2?

    Thanks in advance,

    Gus...

    I don't think you can do it with standard features, but (in theory!), it would be possible to write custom code to determine the name of the log created by the concurrent request of parent and use utl_file file add / to write about it.

    HTH
    Srini

  • Error on the definition of the stored procedure in the simultaneous program

    Hello

    I created a stored procedure and wanted it attached to the concurrent program. The purpose of this stored procedure when you run it in simultaneous program, the system retrieves the data from the csv file downloaded from the server, then it will insert in the tables of SO / the Interface API. Below, the error occurred.


    * Starts * 18 April 2012 18:18:42
    Error ORACLE 6550 in FDPSTP

    Cause: FDPSTP failed due to the ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in the call to 'SPKO1 '.
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored

    Steps I did to set the stored proc
    < < simultaneous executable program > >

    Executable: RDRAGON_SO_IMPORT
    Short name: RDRAGON_SO_IMPORT
    Application: Order management
    Method of execution: PL/SQL, stored procedure
    Run file name: SPKO1

    < < concurrent program - set > >

    Program: RDRAGON SO IMPORT
    Short name: RDRAGON_SO_IMPORT
    Application: Order management
    Name of executable: RDRAGON_SO_IMPORT
    Method: PL/SQL, stored procedure

    Format: text
    No set

    -Here are my stored procedure-


    CREATE OR REPLACE PROCEDURE APPS. SPKO1 IS
    FH UTL_FILE. TYPE_DE_FICHIER;
    v_line VARCHAR2 (32767).
    v_source_id NUMBER (10);
    v_created_by NUMBER (10);
    v_creation_date DATE;

    v_org_id NUMBER (10);
    v_orig_sys_docref VARCHAR2 (50);
    V_Customer VARCHAR2 (360);
    v_customer_prev VARCHAR2 (360);
    v_sold_to_org NUMBER (10);

    v_orig_line_ref NUMBER (10);
    v_item_code VARCHAR2 (2000);
    v_ordered_qty NUMBER (10);
    v_selling_price NUMBER (10);
    v_count NUMBER (10);
    v_stat NUMBER;


    /******************************************************************************
    NAME: SPKO
    PURPOSE:

    REVISIONS:
    Worm Date Description of the author
    --------- ---------- --------------- ------------------------------------
    1.0 16/04/2012 administrator 1. Created this procedure.

    NOTES:

    Keywords to replace automatically available Auto:
    Object name: SPKO
    SYSDATE: 16/04/2012
    Date and time: 16/04/2012, 17:55:42 and 16/04/2012 17:55:42
    Username: admin (set in Options of TOAD, editor of the procedure)
    Name of the table: (defined in the dialog box "New PL/SQL object")

    ******************************************************************************/
    BEGIN
    v_source_id: = 6;
    v_created_by: = - 1;
    v_org_id: = 204;
    v_customer_prev: = null;
    v_orig_line_ref: = 0;
    v_stat: = 0;

    SELECT header_id in (DE) v_orig_sys_docref
    Select header_id
    of OE_ORDER_HEADERS_ALL
    creation_date desc order
    ) WHERE ROWNUM = 1;


    FH: = UTL_FILE. FOPEN ('XXANDDIR2', 'myfile1.csv', 'R', 32767);
    < < file_read_lines > >
    LOOP
    BEGIN
    UTL_FILE. GET_LINE (fh, v_line);

    V_Customer: = LTRIM (RTRIM (REGEXP_SUBSTR (v_line, "[^,] +' 1, 1") ',' "') ','" ');
    v_creation_date: = LTRIM (RTRIM (REGEXP_SUBSTR (v_line, "[^,] +' 1, 2") ',' "') ','" ');
    v_item_code: = LTRIM (RTRIM (REGEXP_SUBSTR (v_line, "[^,] +' 1, 3") ',' "') ','" ');
    v_ordered_qty: = LTRIM (RTRIM (REGEXP_SUBSTR (v_line, "[^,] +' 1, 4") ',' "') ','" ');
    v_selling_price: = LTRIM (RTRIM (REGEXP_SUBSTR (v_line, "[^,] +' 1, 5") ',' "') ','" ');
    v_orig_line_ref: = (v_orig_line_ref + 1);

    If v_stat = 0 then
    v_orig_sys_docref: = (v_orig_sys_docref + 1);
    end if;

    SELECT hca.cust_account_id from v_sold_to_org
    OF hz_cust_accounts AOB.
    HP hz_parties
    WHERE hca.party_id = hp.party_id
    AND hca.request_id is null
    AND hp.party_name = v_customer;

    If v_stat = 0 then
    INSERT INTO OE_HEADERS_IFACE_ALL)
    order_source_id,
    orig_sys_document_ref,
    org_id,
    CREATION_DATE,
    created_by,
    last_update_date,
    last_updated_by,
    operation_code,
    sold_to_org_id,
    booked_flag)
    VALUES)
    v_source_id,
    ('TEST' | v_orig_sys_docref).
    v_org_id,
    v_creation_date,
    v_created_by,
    v_creation_date,
    v_created_by,
    "INSERT."
    v_sold_to_org,
    'Y') ;
    commit;
    end if;

    INSERT INTO OE_LINES_IFACE_ALL)
    order_source_id,
    orig_sys_document_ref,
    orig_sys_line_ref,
    inventory_item,
    org_id,
    ordered_quantity,
    unit_selling_price,
    unit_list_price,
    CREATION_DATE,
    created_by,
    last_update_date,
    last_updated_by,
    operation_code)
    VALUES)
    v_source_id,
    ('TEST' | v_orig_sys_docref).
    v_orig_line_ref,
    v_item_code,
    v_org_id,
    v_ordered_qty,
    v_selling_price,
    v_selling_price,
    v_creation_date,
    v_created_by,
    v_creation_date,
    v_created_by,
    "INSERT");
    commit;

    v_customer_prev: = v_customer;
    If v_customer_prev = v_customer then
    v_stat: = 1;
    on the other
    v_stat: = 0;
    end if;
    -DBMS_OUTPUT. Put_line ('Col1: ' | v_source_id |', Col2: ' | v_creation_date |', Col3: ' | v_created_by |', Col4: ' | v_updated_date |', Col5: ' | v_updated_by);
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    OUTPUT file_read_lines;
    END;
    END LOOP;
    SELECT count (*) in the OE_HEADERS_IFACE_ALL v_count;
    DBMS_OUTPUT. Put_line (' record Total inserted successfully: ' | v_count);
    UTL_FILE. FCLOSE (FH);

    END SPKO1;
    /


    But when I run the stored procedure using TOAD his work.

    Help, please. This is my first time to attach the stored procedure in the concurrent program.

    Thank you very much.

    Kind regards
    Diane

    Published by: peopsquik08 on April 18, 2012 03:58

    as clive_t solier
    >
    You must explicitly reference the settings out
    >

    Try

    DECLARE
    VFILE VARCHAR2(32767);
    V_SOURCE_ID NUMBER;
    --
    ERRBUF VARCHAR2(200);
    RETCODE NUMBER;
    
    BEGIN
    VFILE := 'myfile1.csv';
    V_SOURCE_ID := 6;
    
    --APPS.OMORDERLOADER.SPKO1 ( VFILE, V_SOURCE_ID );
    --COMMIT;
    
    APPS.OMORDERLOADER.SPKO1(
        ERRBUF => ERRBUF,
        RETCODE => RETCODE,
        VFILE => VFILE,
        V_SOURCE_ID => V_SOURCE_ID
      );
    END;
    

    but the code above to test your proc

    to run concurrent SQL, you can use fnd_submit.submit_program

  • PDF generated by simultaneous program, do not print to the default printer

    Hello

    I have a simultaneous program which has a RTF (XML model) model attached to it. In the definition of concurrent program, we missed a printer (it's an old printer). but the output that is printed about him is a kind of exit with all sorts of strange characters, weird. but when I try to open outpput simultaneous program and print it to a printer the out prints correctly.
    So how can make the pdf out put to print directly to a printer? Is there a set we need to do.

    Help, please. and if there is no documentation for this issue then please send it to me. My id is [email protected]

    Thank you
    Nisha

    Hi Nisha

    Ello again...

    You must configure the blocks print driver. This will allow the conversion of XMLP PDF to postscript or PCL - depends on your printer. see the user's guide for pasta available from Metalink

    Pie

  • XML editor &amp; simultaneous program

    Hi all


    I have a simultaneous and multiple program model rtf which related to the definition of a given.

    Depends on parameters selected in the simultaneous program is possible by default for another model.


    Is there a way for her to do?


    Thank you

    You could attach a control break file to your data definition which reads the parameter and uses the appropriate model. Note: depending on your simultaneous program, may have to tweak it a bit to get the parameter if poster in the xml output it produces to burst on this subject.

  • How to create simultaneous program of type PL/SQL stored procedure?

    I have the procedure to reset sequence as below:

    CREATE OR REPLACE PROCEDURE DEV_RESET_XX IS

    V_NEXT_VAL1 NUMBER;

    BEGIN

    RUN IMMEDIATELY "ALTER SEQUENCE DEV_RECEIPT_S1 MINVALUE 0';"

    RUN IMMEDIATELY "SELECT DEV_RECEIPT_S1. DOUBLE NEXTVAL ' IN V_NEXT_VAL1;

    RUN IMMEDIATELY "ALTER SEQUENCE DEV_RECEIPT_S1 INCREMENT BY ' |" -V_NEXT_VAL1;

    RUN IMMEDIATELY "SELECT DEV_RECEIPT_S1. DOUBLE NEXTVAL ' IN V_NEXT_VAL1;

    RUN IMMEDIATELY "ALTER SEQUENCE INCREMENT DEV_RECEIPT_S1 1 ';"

    END DEV_RESET_XX;

    And if I run this query don't use PL/SQL, no problem and success.

    EXEC DEV_RESET_XX

    And then I want to create simultaneous program for this procedure.

    1. create the executable program

    -Methods: PL/SQL, stored procedure

    2. create the simultaneous program

    -Call the executable program

    -Nothing parameter

    3. assign the application group to receive

    And then I try to run this competitor.

    But, status complete error.

    8-31-2015 7-10-22 PM.jpg

    Help, please.

    Thank you.

    Hello

    To save pl sql program, we have two required parameters. ERRBUFF and RETCODE

    Steps to create a concurrent program of type PL/SQL stored procedure. Techmandate.com

    No need to create these parameters in the simultaneous program window. Just use those in your procedure.

    hope this will help you

  • Release of e-mail from a simultaneous program in PDF to any member of the team


    Hi team,

    I am running Forms of verification Signon periodically, I want the output of this program should be sent to my client in PDF Format.

    How to set up above the need simultaneously to exit in a PDF Format email.

    Please suggest me.

    Thank you

    Anmisha.

    If the output of the program is already a pdf file, then you can just set delivery Options on screen presentation simultaneous program, which will automatically send program output to the e-mail address specified (s).

    Or

    If the output of your program is not in pdf format, you can create a model of data & data definition and exit at the pdf format and set the delivery option.

    I hope this helps.

    See you soon

    AJ

  • 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

  • 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;
    
  • Reports that generate output Excel do not open under ie8/Oracle Forms

    Hello

    We run Oracle Forms (no matter whether under Jinitiator 1.3.1.22 (28) or SUN's JVM) and generate output Excel with Oracle Reports (web.show_document). This works well in Internet Explorer 6 (ie6), but not in Internet Explorer 8 (ie8).

    The effect is that a new browser window opens and closes very quickly, without anything more happening.

    Honestly, I guess it doesn't have to do with oracle reports, but ask this, however, in this forum, because it could be people who have made the same experiences...

    In addition, I discovered that the same problem exists when gerenating excel or ms word via a db (with http modules) procedure output. There, I found this deletion of the issue (open/save/cancel) before opening a file (via the menu windows Explorer file type association) helped with excel and ms word output (but this can be regarded as an unsatisfactory workaround).

    The problem persists with the types of applications other than XLS or DOC files that are also properly registered on the client.

    I'm not sure whether mimetypes sent as files (which were obviously OK with ie6) play a role in this problem.

    Peter

    Hello

    Your problem with IE 8 seems to be similar to the one discussed here:

    IE7 windows opens and closes immediately

    http://www.experts-exchange.com/software/Internet_Email/Web_Browsers/interne
    t_Explorer/Q_23304982.html

    You can test the suggested solution:

    We found the framework we needed, in the Internet Options
    Security tab, if you select the internet zone, then click Custom level
    button, then scroll down to the downloads section, the first option is
    Ask confirmation for file downloads, set this to allow Guard IE 7
    to interfere with this kind of download.

    Example with screenshots:
    http://www.Celt.iastate.edu/WebCT/SecuritySettings.html

    Concerning

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

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

    You can try one of these approaches-

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

    2. Add the following to your script at the beginning

    Days := &1;
    

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

    HTH
    Srini

  • Oracle Apps: Simultaneous program: host: program state WARNING of return

    Hello

    Is there a way we can send the ALERT status for the host in simultaneous program (shell script) function in Oracle applications.
    Exit 0 <-success
    Output 1 <-error
    Output 2 <-returns ALWAYS State as ERROR

    Thank you.

    Yes, put something like the following in your shell script to define the status of implementation in custody:

    MYSTATUS ='sqlplus-s $1 SET FIELD FEEDBACK OFF PAGESIZE 0
    declare
    l_result boolean;
    number of l_session_id;
    Start
    fnd_global. INITIALIZE (l_session_id, null, null, null, null,-1, null, null, null, null, $4, null, null, null, null, null, null,-1);
    l_result: = fnd_concurrent.set_completion_status ('WARNING', 'Log file review for more details.');
    commit;
    end;
    /
    "exit";
    !`

    Kind regards
    Gareth

  • How to create a value fixed for simultaneous program?

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

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

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

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

    Please use the following example

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

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

    Maybe this will help you

    Concerning
    Nitin

Maybe you are looking for