Error output of a simultaneous program email

Hi all

I want to send the program contributing to send as an attachment.

So I followed the procedure that shows the following link.

http://www.erpschools.com/articles/email-the-output-of-a-concurrent-program-as-attachment

But I get the following error.

ORA-29279: SMTP permanent error: 501 5.1.7 Bad sender address syntax.

Any solution?

Hope this helps

http://www.psoug.org/reference/UTL_MAIL.html

Tags: Oracle Applications

Similar Questions

  • I can't see the output of a simultaneous program file.

    Hello
    I defined a program of oracle that normally will generate a text file after execution of a sql file.
    But when the progran competitor ended, this message appears:
    The output of the application < number > is empty (0 bytes)

    Help please.
    Thank you.

    Hi SAID

    Thanks for sharing. I think you can close this topic now.

    Thank you
    JD

  • 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

  • Table of simultaneous program delivery options

    Hello
    Please can someone tell me what picture delivery options for a simultaneous program (email, fax, etc.) are stored in once that demand is planned?

    Thank you
    John

    FND_CONC_PP_ACTIONS stores the action for a competing request for post-processing

    SELECT *  FROM fnd_conc_pp_actions WHERE concurrent_request_id = &&request_id
    

    See you soon,.
    ND
    Use the buttons "useful" or "correct" to award points to the answers / mark the thread as answered, if your question is answered.

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • Problem in passing several Arguments for simultaneous program

    Hello

    I need to pass two stamped in my simultaneous program

    but I am facing problem while adding the second parameter in the code below

    Please suggest how to pass several parameters for the simultaneous program
        Vector cpArgs = new Vector();
        cpArgs.addElement(shipmentId);
        cpAgrs.addElement(addId);
        System.out.println("Args"+ cpArgs);
    It's my submission of application code
        public int submitRequest(String shipmentId, String addId) throws Exception {  
        try {
          OADBTransaction tx = (OADBTransaction)getDBTransaction();
        java.sql.Connection pConncection = tx.getJdbcConnection();
        ConcurrentRequest cr = new ConcurrentRequest(pConncection);
            cr.addLayout("XXAPL", "XXAPLPORMSD", "en", "US", "RTF");
        String applnName = new String("XXAPL"); 
        System.out.println("ApplName"+ applnName);
        String cpName = new String("XXAPLPORMSD"); 
        System.out.println("Concc Name"+ cpName);
        String cpDesc = null;
        Vector cpArgs = new Vector();
        cpArgs.addElement(shipmentId);
        cpAgrs.addElement(addId);
        System.out.println("Args"+ cpArgs);
         
            int requestId = cr.submitRequest(applnName, cpName,cpDesc, null,  false, cpArgs);        
    
        tx.commit();    
    
        return requestId;
    
        } 
         
        catch (RequestSubmissionException e) {
        OAException oe = new OAException(e.getMessage());
        oe.setApplicationModule(this);
        throw oe;
    
        }
            catch(Exception exception)
            {
            throw OAException.wrapperException(exception);
            }
    
        }
    Krishna

    I did most of the changes. IAM do not know why the error is come

    This is the reason why...

    It should be cpA rg s

    NOT

    cpA gr s

    Thank you
    -Anil
    http://oracleanil.blogspot.com

  • Simultaneous program is not not in the responsibility of OM

    Hello

    As per Doc-ID 113769.1 point-11 I have to run simultaneous program "Build rules of Sourcing" for error below.

    ((1) ' point and UOM not on prices' and ' 2) APP-Ontario-250271: updating online zero price is not allowed or not ", trying to enter an item on a command line client.

    But I can't find the concurrent program in the responsibility of OM. How to add the same.

    Thank you
    Concerning
    GSM

    Hello

    -Go to security > responsibility > ask
    -Query the name of the Group of the request
    -Add the concurrent program
    -Click Save
    -You should be able to view concurrent request then the responsibility

    Thank you
    Hussein

  • 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

Maybe you are looking for

  • FIRST HP: Normal Distribution

    Hello I am trying to solve the following equation: X - N(50,15^2) find Pr (50 < X < 70) When I type the above in the calculator, the following occur: I don't understand why I get a 'erf' rather than a decimal answer. Can anyone help me please with th

  • Re: Smoker L30-10 X PSL33E does not start after upgrading RAM

    Hello I have a problem with my laptop.It has 1024 MB of RAM (2 x 512), but it wasn't enough, so I decided to update to 2048 MB (2 x 1024). I bought two modules and my computer does not start after changing them.It was only a screen black (same BIOS h

  • Re: Problem starting L300

    Hello. I'm having a problem starting my L300 - it works very well up until now and has suddenly developed this problem. When turned on it, - very slowly - boots for the logo toshiba with the message "F2 for the Setup utility, F12 for Boot Manager" st

  • Problem initializing shift register

    Hello I'm using labview 7.1 to control a spectrometer. In my program, I have a certain function that runs 32 times and adds up, and all works again n times. I use two 'loop' for s in the other. In the inner loop, I have a shift register to send infor

  • USB 2.0 profits do not recognize the external hard drive: Matsunichi model DM189

    I have a HP Pavilion dv4-1125nr, running Vista Home Premium 64 - bit with Service Pack 2. When I plug my: matsunichi dm189 60GB drive external hard - driver has not loaded - poster Device Manager as unknown device USM - works fine under xp sp3