Outputting PO attachements

Hi all,
   I have a requirement which is as follows in SRM system.
When the purchase order is sent to the vendor through fax, it should also include the attchemnts that are in the Purchase order along with the general header data for the purchase order.
Thanks and Regards,
Sireesha

Hello,
In SRM 5.0 the FM   CALL FUNCTION 'BBP_OUTPUT_SEND_BCSFAX' sends across the attachments
along with the PO header. Hope this helps with your posted requirement.
Best Regards,
Sapna

Similar Messages

  • Send Output as attachment to email address

    Hi friends,
    My requirement is to send the Output as attachment to a specific email address.
    I have created a new output type and using transmission medium as External Send.
    If I use SH/BP/SP it is picking the mail address and working fine.
    Now my requirement is to send to fixed standard email address irrelevant of document.
    Can anyone help me to explain how can I achieve this by setting in Parner functions of that output type?
    I dont want to add any parner function in partner determination.
    Thanks in advance.
    Rgds,
    AK

    Hi there,
    Define a new customized Z table & maintain the required mail ids in the table.
    in the O/p processing prog, call the Z table & send the mail to the mail ids mentioned in it.
    For formality, assign the O/p to an partner function in your condition records.
    Regards,
    Sivanand

  • How to send SMARTFORMS output as attachment through?

    how to send SMARTFORMS output as attachment through e-mail?
    after executing SMARTFORMS how to send that output via e-mail.
    Help me.
    thanks
    surya.
    Moderator Message: Please search for available information first
    Edited by: kishan P on Nov 7, 2010 7:19 PM

    hi Vinod,
    Can you please tell me how you have zipped the file.
    I am having a text file in application server. I need to zip that file. Then the middleware moves it to Legacy system.
    I used the following code. With this I am having the data in Binary format which my midleware cannot understand.
    What I need on the whole is just to reduce the size of the file.
    form ZIP_FILE .
    DATA: lt_data TYPE TABLE OF x255,
          lt_textdata TYPE TABLE OF x255.
    DATA: ls_data LIKE LINE OF lt_data.
    DATA: lv_dsn1(100) VALUE '/ECD/120/GIS/FTP/IB/DNBPAYDEX.TXT'.
    DATA: lv_dsn3(100) VALUE '/ECD/120/GIS/FTP/IB/DNBPAYDEXZIP.zip'.
    *DATA: lv_dsn3(100) VALUE '/interfaces/SM5/test.zip'. " Contains sample1.xls and sample2.xls
    DATA: lv_file_length TYPE i.
    DATA: lv_content TYPE xstring.
    DATA: lo_zip TYPE REF TO cl_abap_zip.
    CREATE OBJECT lo_zip.
    Read the data as a string
    clear lv_content .
    OPEN DATASET lv_dsn1 FOR INPUT IN BINARY MODE.
    READ DATASET lv_dsn1 INTO lv_content .
    CLOSE DATASET lv_dsn1.
    lo_zip->add( name = 'sample.TXT' content = lv_content ).
    lv_content = lo_zip->save( ).
    *clear lv_content .
    Conver the xstring content to binary
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
    EXPORTING
    buffer = lv_content
    IMPORTING
    output_length = lv_file_length
    TABLES
    binary_tab = lt_data.
    OPEN DATASET lv_dsn3 FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    LOOP AT lt_textdata INTO ls_data.
    TRANSFER ls_data TO lv_dsn3.
    ENDLOOP.
    CLOSE DATASET lv_dsn3.
    IF sy-subrc EQ '0'.
        MESSAGE s999(zfi_ap_gl) WITH text-t10.
      ENDIF.
    Can you please help.
    Thanks Aravind

  • Send ALV output as attachment (exceeding 255 columns) to Inbox or email

    Hello,
    My requirement is to send the ALV output as attachment (csv or xls) to either Office Inbox or external email.  The trick is the ALV output is way more than the 255 columns (about 2000).
    I have read a number of threads on this matter.  It seems that it is either SO_NEW_DOCUMENT_ATT_SEND_API1 or class BCS (cl_document_bcs=>create_document) but both has restriction on the line size (max 255 chars) (please correct me if I am wrong).
    Could anyone suggest other approaches?  Your input is much appreciated.
    Regards
    Calvin

    Hi,
    Comapare with your code,
    DATA: docdata LIKE sodocchgi1,
    objpack LIKE sopcklsti1 OCCURS 1 WITH HEADER LINE,
    objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE,
    objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE,
    objbin LIKE solisti1 OCCURS 10 WITH HEADER LINE,
    objhex LIKE solix OCCURS 10 WITH HEADER LINE,
    reclist LIKE somlreci1 OCCURS 1 WITH HEADER LINE.
    DATA: tab_lines TYPE i,
    doc_size TYPE i,
    att_type LIKE soodk-objtp.
    DATA: listobject LIKE abaplist OCCURS 1 WITH HEADER LINE.
    TABLE objtxt LINES tab_lines.
    READ TABLE objtxt INDEX tab_lines.
    docdata-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
    CLEAR objpack-transf_bin.
    objpack-head_start = 1.
    objpack-head_num = 0.
    objpack-body_start = 1.
    objpack-body_num = tab_lines.
    objpack-doc_type = 'TXT'.
    APPEND objpack.
    Packing Info Attachment
    att_type = whatatt_type..
    DESCRIBE TABLE objbin LINES tab_lines.
    READ TABLE objbin INDEX tab_lines.
    objpack-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objbin ).
    objpack-transf_bin = 'X'.
    objpack-head_start = 1.
    objpack-head_num = 0.
    objpack-body_start = 1.
    objpack-body_num = tab_lines.
    objpack-doc_type = att_type.
    objpack-obj_name = 'ATTACHMENT'.
    objpack-obj_descr = whatname.
    APPEND objpack.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    document_data = docdata
    put_in_outbox = 'X'
    commit_work = 'X' "used from rel. 6.10
    IMPORTING
    SENT_TO_ALL =
    NEW_OBJECT_ID =
    TABLES
    packing_list = objpack
    object_header = objhead
    contents_bin = objbin
    contents_txt = objtxt
    CONTENTS_HEX = objhex
    OBJECT_PARA =
    object_parb =
    receivers = reclist
    EXCEPTIONS
    too_many_receivers = 1
    document_not_sent = 2
    document_type_not_exist = 3
    operation_no_authorization = 4
    parameter_error = 5
    x_error = 6
    enqueue_error = 7
    OTHERS = 8
    IF sy-subrc  0.
    MESSAGE ID 'SO' TYPE 'S' NUMBER '023'
    WITH docdata-obj_name.
    ENDIF.

  • How can i sedn report output as attachment in workflow  automatically in ma

    hi,
      i want to send mail with attachment of report output as acrobat reader format.
      how can i do this one autimatically,
    please let me know.
    thanks
    Sankar

    For this you need to activate access method M in spool administration tcode SPAD.
    Refer to this links below.
    Change mail subject and body text
    http://www.geocities.com/rmtiwari/Resources/MySolutions/Dev/Codes/Report/Z_RMTIWARI_SEND_SPOOL_MAIL_ATT.html
    Regds
    Manohar

  • XML output email attachment.

    Hi All,
    Our client is currently suing the XMLP reports in their Receivables applications. The current functionalities are covered in the current report.
    1. Generate the invoice report in pdf output. (It uses RDF to generate the xml data)
    2. Based on the bursting setup deliver the pdf report to various destination.
    3. Send the pdf report as attachment though email.
    For this, We need to submit the one concurrent program at the time of processing, it submits the second concurrent program for bursting and then it submits the third concurrent program for attaching the pdf with the mail.
    Now based on the latest partner system changes this requirement is changed to deliver the xml file instead of pdf file. They have given the specific tags that needs to be included in the xml file. Please note, these tags are different or same as the table column names.
    Example:
    Column Name : INVOICE_NUMBER
    xml tag : VendorInvoiceNumber.
    Is it possible to achieve the whole new requirement. If so, could you please tell me how? I very much appreciate your help in this.
    Thanks in advance.

    Go to OTN and get the mail example.
    http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/Utl_Smtp_Sample.html
    Then use something like this (example below is sending xml to render as an Excel sheet, has to be opened as an XML table in Outlook 2007):
    declare
    conn utl_smtp.connection;
    begin
    conn := demo_mail.begin_mail('sender','recipient list','Subject of email','multipart/mixed; boundary="-----7D81B75CCC90D2974F7A1CBD"');
    demo_mail.attach_text(conn,'Enter comments for the message body','text/plain');
    demo_mail.attach_text(conn,dbms_xmlgen.getxml('select whatever from wherever'),'application/msexcel',TRUE,'Name of your file.xls');
    demo_mail.end_mail(conn);
    end;
    You can use this as the framework to create your mail sending package:
    http://dizwell.com/2008/04/28/automatically-emailing-excel-spreadsheets-from-oracle/
    Then just figure out how/where you want the mail sending to be triggered.

  • BI Publisher Schedular:CSV output filename - attachment.out

    Hi
    is it possible to change the filename when bursting thru e-mail.
    the file always shows up as attachment.out.
    if it possible can you please tell me how it can be done.

    Hi,
    This is can be resolved by applying "patch-9026236"
    Thank you.

  • Compression artifacts in validate dng output - proof attached

    I have uploaded a zip file - out.dng is the output of validate dng.
    https://dl.dropboxusercontent.com/u/9906333/dngs.zip
    Look at the edges of the white chair - you will see classic jpeg compression artifacts.
    Note that this is the default lossless jpeg conversion only.
    I used the program as
    dng_validate -dng out.dng <input>
    I confirmed this with a build in Visual Studio using qDNGUseLibjpg=0
    I would appreciate the admins looking at the provided examples.

    Some suggestions and answer at least the 16 questions at the end of the Wiki article.

  • Send Report output as attachment in excel

    Hi All,
    I am scheduling background Job for Auto mail of standard SAP report. I am able to send the details in html format, please guide me how to send report details in excel format.
    I have already check SCN but unable to find exact solution for same.
    Regards
    Rashid

    Rashid,
    When u Go  SM37 Follow This Step Then U Get The Data In Excel Format.
    Follow step
    Select Spool Option
    Then U got the screen
    Select the type option then u got screen.
    In This Screen U Find the option save in Local File  then get the option.
    When U Select the Spreadsheet Option You can Able to save your data in excel format.
    Hope its help full for you

  • Need to sent alv output as html or as pdf attachment in mail

    +Hello
    I want to send an ALV output as attachement in html or as pdf format. how to do that? line size is greater than 600(nearly 40 fields).
    +please help me in this query.
    Regards
    Guruvayurappan
    Moderator Message: Please search before posting your question. Thread locked.
    Edited by: Suhas Saha on Dec 29, 2011 4:57 PM

    Hi,
    For sending the ALV output as PDF attachment, you can create a spool (proper page size in print parameters) and convert the spool to PDF using the FM CONVERT_ABAPSPOOLJOB_2_PDF and then send the same as attachment in mail.
    For send the data as HTML attachment, try the below FMs
    WWW_ITAB_TO_HTML_HEADERS & WWW_ITAB_TO_HTML_LAYOUT to create the HTML layout
    WWW_ITAB_TO_HTML to create the HTML for the actual data.
    Hope this helps you.
    Regards,
    Sachinkumar Mehta

  • ALV output as an attachment to mail

    Hi all,
    I have an requirement where in an interface i populate a ALV data and i need to pass the ALV output as an attachment to a mail send to some shared folder in SAP mail office. Indeed i should not display the output but rather capture the output and send it as an attachment to mail. Tried using with SPOOL, able to capture the ALV output in background but the retrieval of spool id being generated during that process seems to be difficult. if some one has already worked on this kind of requirement may throw some light on this.
    thanks,
    Jagath

    Hi Zhenglin hu,
    thanks for your valuable information. well it indeed was really helpful, but i have a small problem which is when i call the FM print_report and executemy ALV the output gets attached to spool but it displays a spool request screen which will stop my interface process until or unless i press back manually. how to avoid this screen being displayed after i execute the same.
    are there any different approach apart from this?
    Thanks,
    Jagath
    Message was edited by: Jagathguru Chandrasekharan

  • Function to send fax the attachment of the pur. order when i output control

    Hi friends,
    when i output control purchase order -
    user want to send also the attachment documents when i click on output push button.
    is anyone know how can i do that?
    wich function can send the attachmant to fax?(it could be image, document,excel...etc).
    thanks in advanced,
    Michal.

    Hi,
    Which FAX server software do you use?
    PO output with attachment is standard function in SRM.
    SRM -> PO with attachment via SMTP -> FAX server (attachment conversion) -> FAX protocol -> Vendor
    Regards,
    Masa

  • How to attach custom output type to tcode VT02N

    HI All,
    My requirement to  create a new print program, form and output type i.e. to be attached to transaction VT02N when called.
    Please help to resolve
    -  How we create new output type
    -  Attach smartform/ spascript to the output type
    -  Take print of the smartforms using output type .
    there is some predefined output type in different application like in application v7 we are using the output type ALTR and there is smartrform associated with that output type but unable to take the print of that smartform.
    Regards,

    How we create new output type
    Copy the existing std output type to some Z*** output type
    menu path
    IMG Guide - Logistic Execution - Transportation - Basic Transportation Function - Output Control - Maintain Output Determination for shipment -Maintain Output Types
    Attach smartform/ spascript to the output type
    onthe same screen of output type click on processing routine folder on right and under form field assign ur smartform
    Take print of the smartforms using output type
    Either create a condition record (dont remember the tcode but u can search from SAP menu)  or while creating shipment doc...assign the ouput type (in shipment doc screen, from menubar  Goto ->Output ).......do not forget to specify the communication mode ie logical destination
    take printout from VT02n screen( initial screen goto-> output) or using VT70
    Regards
    Jagdish
    Edited by: jagdish parihar on Jan 23, 2008 11:31 AM

  • Output type is not appearing in ME22N

    Hi,
    I have created some POs through sales order.i.e created a sales order and taken the PR from that.
    Using ME59N, I have converted the PR to PO. The PO will have some output types attached (in the unprocesssed status).
    The Output types (in the MESSAGES) are visible in ME23N. When I look into the PO in change mode ME22N, the output  types are not appearing....  this is not the case with all the POs. Happening only for few POs.
    Could you please suggest.
    Ramana Malladi.

    Hello,
    Review your condition record values against the PO's that don't have an output type.
    Could be something like purchasing group, material group, etc.
    Regards
    Waza

  • Naming of the PDF attachment when mailing from Bursting engine

    Hi,
    We have a xml publisher report for which we have implemented Bursting Engine to archive the and burst the PDF output.
    We have a requirement now to send the PDF output as attachment to external email ids(to suppliers).I am trying to test using e the below control file to send the PDFs as attachments but the name of the PDF attachment in the mail is numeric '3','6','9' etc...
    I would like to know how do we name the PDF output attachment of the bursting engine.
    -------------------------Burst Control File------------------------------------------
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
    <xapi:globalData location="stream">
    </xapi:globalData >
    <xapi:request select="/XXX_XMLPUB_ARINV/LIST_G_INVOICES/G_INVOICES">
    <xapi:delivery>
    <xapi:email server="127.0.0.1"
    port="25"
    from="[email protected]"
    reply-to="[email protected]"
    >
    <xapi:message id="123"
    to="${PURCHASE_ORDER_NUM}"
    bcc=""[email protected]""
    attachment="true"
    subject="${TRX_NUMBER}"
    >
    <html><body>test</body></html>
    </xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document output-type="pdf" delivery="123">
    <xapi:template type="rtf" location="${XMLPUB_RTF_TEMPLATE}" filter=".//G_INVOICES[PRINTING_COUNT='0']">
    </xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    Thanks,
    Krishnan
    Edited by: Krishnan-Apps on Dec 23, 2009 2:30 AM

    Hi,
    I seriously doubt your control file is a working one. Can you upload your working/correctly formatted file?
    Or check this working sample below. Hope this helps.
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
    <xapi:request select="/">
         <xapi:delivery>
           <xapi:email server="xxmail.mail.com" port="25" from="[email protected]" reply-to ="[email protected]">
             <xapi:message id="${TRX_NUMBER}" to="[email protected]" cc="" bcc=""
              attachment="true" content-type="text/html" subject="${TRX_TYPE_NAME} Number ${TRX_NUMBER}">
           </xapi:message>
           </xapi:email>
         </xapi:delivery>
         <xapi:document output="Invoice_Number_${TRX_NUMBER}" output-type="pdf" delivery="${TRX_NUMBER}">
           <xapi:template type="rtf" location="xdo://AR.XXRAXINV_SEL.en.US/?getSource=true" filter="">
           </xapi:template>
         </xapi:document>
    </xapi:request>
    </xapi:requestset>regards,
    Rownald

Maybe you are looking for

  • Smooth Scrolling not available

    I tried to enable Smooth Scrolling in Adobe Reader by using Preferences -> Page Display, but the option is not even available for me to select. According to the Reader help pages, the last option on the page (below) should be "use smooth scrolling".

  • Origin Flash Player Deployment

    Hi EveryBody Here, I have a Question About Deployment A full Version of FlashPlayer(not FlashLite Edition) on a device. in fact on a consumer device. as you know some magic features in flashplayer is removed in flashlite edition. for exaplme Play Vid

  • Help! Windows won't start up on iMac

    My computer freezes every time I try to start Windows 7. I get the window where you have the Mac and Windows icons, but when I click on Windows and then the arrow underneath it, the computer freezes and I have to shut it down manually and restart. I'

  • How do we now print off the Jewel Case Inserts after burning a Playlist to a disk?

    How do we now print-off a Jewel Case Insert after burning off a Playlist to Disk?

  • IPad2 drops wifi; iPad3 works great

    in my house, (avg sized home) I can use my iPad2 in the first half of my home. The router is located in the front of the house, if I use my iPad in the back of the house, or upstairs it will not pick up any wifi. In fact, when in the back half of the