Config to email using output determination

Hi,
I'm trying to set up output determination that will email a PDF of the invoice at the time of invoice creation.  I've created a communication strategy with a single entry for communication method "INT" for email.  I added an entry for simple mail(7) in the processing routines config of the output type and pointed to my sapscript form and print program.  I created the master data record using VV31 and added my own email in the communication section of the master data record.  When I create my invoice, the correct output record is determined, but when it attempts to process at save, the system returns with errors in the processing log.  The error message states "No communication type from strategy RD00 could be used".  The diagnosis section of this error message says that the message type should be sent with a communication type, but I don't understand why this information is not pulling from the configuration that I set up.  Any help would be greatly appreciated!
Jim Tollett

Hi James,
   Every output type has a driver program (and subroutine combination) configured for each communication medium. Usually what you are looking for (email PDF) is not supported by most of the standard output types. You may need to write a driver program for this communication medium (7) or enhance the standard to support simple email.
Cheers,
Sanjeev

Similar Messages

  • Print HU label from Outbound delivery using output determination

    Hi,
      We have a business requirement to print HU labels from outbound delivery. The steps followed are
    1) User executes VL02N
    2) User clicks on packing
    3) Material is entered to pack. HU is automatically generated.
    4) After saving the delivery, output message is triggered.
    Output determination is as follows
    1) An Z output type is created.
    2) Form entry and smartform name is assigned to this output type
    Issue:
    The issue is when the output message is triggered and the code in the form entry is executed, the handling unit (from nast) is not yet committed in the database. Since it is not updated in the database table, we cannot get any handling unit data to be printed.
    Any inputs on how to print HU labels using output determination from outbound delivery is appreciated.
    Thanks,
    Sandeep

    Hi Surya,
         Thanks for the reply. But, my question was how to print labels from VL02N when i pack a material on this delivery.
    Regards,
    Sandeep

  • How to use output determination: track changes made on the contract

    We have a third party application which is requiring a delta change log of contract from SAP, does anyone know the mechanisms of using output determination to track all the changes on contact level?
    Thanks a lot!

    Hi,
    You can use SAP change documents.
    Please refer to the link below:
    [http://help.sap.com/saphelp_erp60_sp/helpdata/en/18/7e713ae142d65de10000000a114084/frameset.htm|http://help.sap.com/saphelp_erp60_sp/helpdata/en/18/7e713ae142d65de10000000a114084/frameset.htm]
    Cheers

  • Send email used output management in TM

    Dear expert,
            we has a requirement to send a email in the tm , as we know tm provide this function in the output mangement,
    but i don't know how to do this, can anyone tell how to send email used output mangement in the tm, thank you.
    Message was edited by: Michael Appleby

    Hi mansoor,
    <EmailAccounts xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"
    EmailMimeCharset=""
    NotificationMode="EMAIL">
         <EmailAccount>
              <Name>Default</Name>
              <GeneralSettings>
                   <FromName>BPEL POC</FromName>
                   <FromAddress></FromAddress>
              </GeneralSettings>
              <OutgoingServerSettings>
                   <SMTPHost>mail.oracle.com</SMTPHost>
                   <SMTPPort>25</SMTPPort>
              </OutgoingServerSettings>
              <IncomingServerSettings>
                   <Server>mail.oracle.com</Server>
                   <Port>993</Port>
                   <Protocol>IMAP</Protocol>
                   <UserName>xxxxxx</UserName>
                   <Password ns0:encrypted="false" xmlns:ns0="http://xmlns.oracle.com/ias/pcbpel/NotificationService"></Password>
                   <UseSSL>false</UseSSL>
                   <Folder>Inbox</Folder>
                   <PollingFrequency>1</PollingFrequency>
                   <PostReadOperation>
                   <MarkAsRead/>
                   </PostReadOperation>
              </IncomingServerSettings>
         </EmailAccount>

  • How could I configure Email in output determination

    hi
    The client wants to send the Output to cusotmers Email , can u pls tell me how could i configure the E mail in output determination
    Thanks in advance
    Regards
    Dinesh

    Hi
    SAPconnect provides a standard interface for external communication, which supports sending using telecommunication services, such as FAX, pager (SMS), Internet and X.400, as well as sending to printers and between several SAP Systems. It enables external communication components to be connected to the SAP System. 
    As of Release 6.10, SAPconnect also provides a direct connection to the Internet using the SMTP plug-in of the Web application server. This enables you to send messages directly to Internet addresses, without using an additional external communication system. As a result, it is also possible to communicate with SMTP-compatible fax gateways or paging gateways, which do not have to be set up specifically for the SAP System, as well as external fax and paging service providers.
    See the Useful Note for configuration and setup
    Note 455140 - Configuration of e-mail, fax, paging or SMS using SMTP
    Note 455127 - E-mail (SMTP) in different SAP releases
    Note 634006 - ICM messages explanatory note
    Note 517484 - Inactive services in the Internet Communication Framework
    Note 63480 - R/3 and MS Exchange linking
    Note 633265 - SMTP PlugIn: Multi-codepage ability
    Regards
    Anilsai

  • SapScript Form by email: Using output medium 5 - several email address

    Hello, ppl
    I've been doing some developing concerning the send of correspondence by email.
    I've used output medium 5, and have have build email recipient parameters as follow:
    Getting email address:
      CLEAR address.
      SELECT SINGLE smtp_addr FROM adr6
      INTO address
      WHERE addrnumber  = p_adrnr
        AND persnumber  = space
        AND flgdefault  = 'X'.
      IF  address IS INITIAL.
        p_device = 'PRINTER'.
        EXIT.
      ENDIF.
    create recipient
      swc_create_object lo_recipient 'RECIPIENT' space.
    swc_set_element   lt_container 'SendAsACopy'
                                     'X'.
      swc_set_element   lt_container 'AddressString'
                                      address.
      swc_set_element   lt_container 'TypeID'
                                     'U'.
      swc_call_method lo_recipient   'CreateAddress' lt_container.
      swc_object_to_persistent lo_recipient p_persistent_recipient.
    create sender (current user)
      swc_create_object lo_sender 'RECIPIENT' space.
      swc_set_element lt_container 'AddressString'
                                   sy-uname.
      swc_set_element lt_container 'TypeID' 'B'.
      swc_call_method lo_sender    'CreateAddress' lt_container.
      swc_object_to_persistent     lo_sender p_persistent_sender.
    And have called open_form as follows:
      CALL FUNCTION 'OPEN_FORM'
           EXPORTING form = xformular
                     language = ekko-spras
                     OPTIONS = itcpo
                     archive_index  = toa_dara
                     archive_params = arc_params
                     device = xdevice
                     dialog = xdialog
                     mail_sender     = p_persistent_sender
                     mail_recipient  = p_persistent_recipient
           EXCEPTIONS canceled = 01.
      IF sy-subrc NE 0.
        PERFORM protocol_update USING '142' ekko-ebeln space space space.
        retco = sy-subrc.
        EXIT.
      ENDIF.
    Everything works fine ... problem is i need to send the email to several adresses and also add some as CC: instead of TO: in the email parameters.
    Is this possible?
    As far as i know mail_ricipient only allows one email reference ...
    Please, provide some help.
    Thanks,
    Mário

    LOOP AT <receiver_table>.
                w_email = <receiver_table-mailid.
    *-- Create persistent send request
      send_request = cl_bcs=>create_persistent( ).
    *--Add document to send request
      CALL METHOD send_request->set_document( document ).
    *-- Get sender object
      sender = cl_sapuser_bcs=>create(<Sender mailid / userid ).
    *--Add sender
      CALL METHOD send_request->set_sender
        EXPORTING
          i_sender = sender.
      recipient = cl_cam_address_bcs=>create_internet_address( w_email ).
           RECIPIENT = CL_CAM_ADDRESS_BCS=>CREATE_INTERNET_ADDRESS( P_RECVR ).
    *--Add recipient with its respective attributes to send request
      CALL METHOD send_request->add_recipient
        EXPORTING
          i_recipient = recipient.
    *--set send immediately flag
      send_request->set_send_immediately( 'X' ).
    *--Send document
      CALL METHOD send_request->send( ).
      COMMIT WORK.
    endloop.

  • Email PO to buyer via output determination

    I'm trying to configure the emailing of a PO to a buyer (ME partner function) or alternatively user responsible (VU partner function) using output determination. I do not wish to use the vendor partner function.
    I've got a condition table where I can select by purchasing group. In the output condition record, where VU is assigned to the purchasing group, what should the Partner value be? The SAP User ID?
    Or if I were to use the ME buyer partner function, how do I tie the buyer specific email address to the condition record?
    Thanks, Vlad

    Hi,
    Hopefully this desc may be of some help to you.
    Basically there are two mail types: Internet mail (external mail) and
    SAPOffice mail.
    Mail is sent via the output determination in both cases.
    If you use the external mail, the message for the purchasing document is
    converted into a corresponding text file which is sent to the vendor via
    the Internet.
    SAPOffice mail is sent only within the R/3 System and has mainly the
    function of providing information.
    In particular, it is not possible to attach a message (form) for a
    purchasing document to a SAPOffice mail.
    When using external mail, the following basic settings are required:
    1. You must maintain an e-mail address in the address in the vendor
    master.
    2. The same applies to your own user master. You also have to specify
    an e-mail address there in order to identify the sender.
    o Note that it is not possible to change the e-mail address of the endor
    o You can use a temporary email address in Transaction ME21N.
    3. For the output type for default values, a communication strategy
    needs to be maintained in the Customizing that supports the e-mail.
    You can find the definition of the communication strategy in the
    Customizing via the following path: (SPRO -> IMG -> SAP Web
    Application Server -> Basic Services -> Message Control -> Define
    Communication Strategy). As a default, communication strategy CS01
    is delivered. This already contains the necessary entry for the
    external communication. Bear in mind that without a suitable
    communication strategy it is not possible to communicate with a
    partner via Medium 5 (external sending).
    4. Use the standard SAP environment (program 'SAPFM06P', FORM routine
    'ENTRY_NEU' and form 'MEDRUCK') as the processing routines.
    5. In the condition records for the output type (for example,
    Transaction MN04), use medium '5' (External send).
    6. You can use Transaction SCOT to trigger the output manually. The
    prerequisite for a correct sending is that the node is set
    correctly. This is not described here, but it must have already been
    carried out.
    7. To be able to display, for example, the e-mail in Outlook, enter PDF
    as the format in the node.
    To use the SAPOffice mail, the following basic settings are required:
    1. For the output type for default values, a communication strategy
    needs to be maintained in the Customizing that supports the e-mail.
    You can branch to the maintenance of the communication strategy via
    the input help.
    2. Use the SAP standard environment (program "RSNASTSO" and FORM
    routine "SAPOFFICE_AUFRUF") as the processing routines.
    3. In the condition records for the output type (for example,
    Transaction MN04), use medium '7' (SAPOffice) and also partner role
    'MP' (mail partner).
    Additional settings:
    Problem:
    How can you both change the mail title and text for the sending of a
    mail message and maintain a replacement parameter, for example a
    document number.
    Solution:
    1. The replacement routine is maintained in the Customizing for the
    output type in the detail screen on the 'General data' tab under
    'Replacement of text symbols' (for Release < 4.6B, this can be found
    on the 'Mail' tab page).
    Program: SAPMM06E
    FORM routine: TEXT_SYMBOL_REPLACE
    2. Maintain mail title and text.
    o If you want to send a purchase order within an R/3 system using
    the SAP office, you can maintain both the mail title ('Re:') and
    also a mail text in the Customizing for the output type To do
    this, select the directory mail title and text for the
    corresponding message type.
    o If you want to send a purchase order as (external) mail, for
    example, to a vendor, you have to maintain the mail title in the
    condition record for the output type (for example in Transaction
    MN05) on the 'Communication method' tab page. Enter the mail
    title in the 'Text for cover page' field. You cannot maintain an
    additional mail text.
    o Note that the values from the mail title are used to create the
    description for the attachment.
    3. The replacement parameters must be enclosed by &. Example: You want
    to enter the title 'PO number '. For this you have to enter
    the following in the Document Title field (Message Customizing ->
    sub-option: Mail title and texts) 'PO number &EKKO-EBELN&'

  • Vendor partner function is overriding my output determination for PO email

    I'm trying to get a PO emailed to the user who created the PO based on purchasing group. I configured output determination so that a message is correctly getting generated -- in MN05 I've got the purchasing group tied to the VU (user responsible) partner function which specifies the SAP User.
    My issue is that the PO is using the vendor (VN) partner function to pull in the vendor address which needs to appear on the PO form. So the system is always looking to the vendor's email for the output instead of my output determination message. Is there any way to disable this yet still use the vendor address for the PO form?
    Note that everything is configured properly and I am receiving PO email based on the email in the vendor master. I'm trying to do the same using output determination instead.
    Thanks, Vlad

    Hi,
    1.) got to transaction NACT, Select the Output type; say NEU, and then Select the Partner Function. You can change it as per your requirement for Ordering address, Vendor, Delivering plant.
    2.) Yes you can use Vendor's address in the PO Form. For that you would need assistance from ABAP.
    Prashant Rathore,

  • Output determination for purchase order

    Dear friends,
    Please help me, how to create condition record for both printout and email for output determination of standard PO.
    I have created condition record through MN04 for Purchase order with medium(external send) and it worked.
    I also need to create condition record for printout. Because Client wants to select either email,fax or printout. They will select whatever sending option.when i tried to create condition record for medium(1-printout).I got an error " The condition record entered already exists". So i tried to change that condition record,but i got here also error as "The condition is being processed in the current session".
    Please help me to set up condition record for both mail and printout for standard PO.
    Thanks

    For this kind of option you need diff message type like
    use NEU for Fax and Print and for Email create new message type than it will work.

  • Output determination for invoices

    Hi,
    I have tried using output determination to automatically output an INVOIC02 IDoc when I create one manually in MIRO. I have set up the partner profile and condition records OK, such that a message entry automatically appears when I create the invoice with the vendor in the condition record. I have set it to process immediately. When I save the invoice, no IDoc gets created (I have done something similar for POs and that works OK). I have even tried using program RSNAST00 to kick it off, but that doesn't do anything either. Why not?
    Useful answers will be rewarded. Many thanks in advance,
    Peter

    Hi Rakesh,
    I have set it to process immediately. The processing status is yellow after I have saved the invoice as well. Does this suggest that the config is right but something is not triggering the Idoc? MIRO does not allow me to process the message after I have posted the invoice.
    Peter

  • Output determination process

    hi
    my issue is how an outputdetermination happens from sales to invoice, please help me out in this process

    For getting any output either by print, Fax, or any media you have to do output determination. output determination is also carried by Condition techniques. The detail procedure for Output Determination is :
    OutPut Determintaion :
    Output is a form of media from your business to one of its business partners or it can be within the organization. The output can be sent to any of the partners defined in the document. Outputs are usually in the form of Order Confirmations, Freight List, Delivery Notes, Invoices & Shipping Notifications. Determining form of output is output determination.
    Types of Output:
    Print Output, Fax, Telex, E-Mail & EDI (Electronic Data Interchange)
    --> PRINT OUTPUT:
    Configuration path: ( following are the steps)
    1) SPRO-> IMG-> Basic Functions-> Output Control-> Output Determination-> Output Determination using Condition Technique- >Output Determination for Sales Documents (or you can use output determination for billing documents depending on your requirement).
    2) Create Condition Table: select the field Sales Doc Type from field catalog & Save
    3) Maintain Access Sequence: 4-digits code & description.
    4) Assign condition table to access sequence. Select Accesses line item and Go To Fields. Fields will display the fields we have selected in the condition table i.e. sales doc type.
    Maintain Output Types:
    AF00: Inquiry
    AN00: Quotation
    BA00: Order Confirmation
    LD00: Delivery
    RD00: Invoice
    Select BA00 & Copy & Rename. Give the same 4-digit code as given to access sequence.
    You Can Maintain:
    Languages of Output
    Partners (to whom you need to send output)
    Print Program- print specification
    Sap Script- layout
    Assign Output Types to Partner Functions: go to new entries & assign your output type to partner functions.
    Maintain Output Determination Procedure: V10000 (Standard Procedure). Go to new entries and create your own 6-digit code with description. Select the procedure, go to Control Data. Here mention the output type i.e. condition type and leave requirement and manual only columns as blank.
    Determination Rule: link the 6-digit procedure code to doc types.
    Create Condition Records: VV11. Select document type and click on Communication. Mention partner function, medium, time. Output device: LP01, Spool request Name: SD_003, Suffix 2: order_confir & flag on print immediately.
    Once you press enter you will come across 2 key combinations:
    Sales organisation/ Customer Number: fill SO, Customer No, Partner Function Abbreviation, Partner to whom the output should be sent, time, medium, language.
    It contains: Sales Orgnisation, Customer, Partner Function (The abbreviated form of the name that identifies the Partner) (During output determination, the system determines the recipient of the output from the master record for the specified partner function. In this field, you can explicitly specify a recipient that will override the standard partner. There must also be a master record for the partner that is specified explicitly.), Medium, Time & Language.}
    Order Type: Document Type, Partner Function (abbreviation), Partner, Medium, Time & Language.
    Path For Output Determination For Sales Documents: Logistics -> Sales/distribution -> Master data -> Output -> Sales Document -> Create (t-code VV11)
    Path for Output Determination for Delivery Documents : Logistics -> Sales/distribution -> Master data -> Output -> shipping -> Create ( t-ode VV21)
    Path for Output Determination for Billing Documents : Logistics -> Sales/distribution -> Master data -> Output -> Billing Document -> Create ( t- code VV31)

  • Output determination in SNC for order confirmation

    e want to use output determination to update SNC replenishment order when changes are done in R/3 sales order. We are not using new doc type. So no option left but to use 'Created by' as an option to trigger an output determination but it's not working as dezired. What could be best to use for output detrmination.
    thx

    Hi Vaibhav
    As far as i understood you have created
    Output type assignment to partner functions under spro-s&d-basic func-output control-maintain output deter for sales doc
    -assign output type to partner function-
    Output Type: XX
    Medimu : 6
    Funtion: $$
    Name :Created by
    Under  spro-s&d-basic func-Partner determination-setup partner determination-Set Up Partner Determination for Sales Document Header
    for each sales doc type a partner determination procedure is assgined under Partner Determination Procedure Assignment node
    Under Partner Functions, can you try using partner type as customer or logical system instead of user???
    and assign teh same partner type to ur Partner Determination Procedures under Partner Functions in Procedure node
    And try to check,
    Best Regards
    Vinod
    Edited by: Vinod Kumar Pedapati on Feb 14, 2011 1:19 PM

  • Output determination during delete order

    Hi,
    As per requirement, When a unprocessed order(which doesn't have any further documents) is deleted in SAP, it has to update certain Z tables. How can this be achieved using using Output determination/ output types?
    How does output determination works during order deletion?
    Thank You in advance.
    Thanks
    Challa

    Hi
    To update the Z table, use the USEREXIT_DELETE_DOCUMENT in include MV45AFZZ (see the comments).
    For output control, see SAP Note 960611 - FAQ: Output control in Sales and Distribution, question 2. It says that you have the report SD70AV1A to process messages for SO.
    Note 701163 - Correction report pricing create a ZZ subroutine in MV45AFZZ with a SUBMIT, so I understand that it's possible alghough I have doubts if it'd be advisable, but you can try to do a SUBMIT to SD70AV1A before update the Z-TABLE, but check it and be careful. For instance, be sure that the message exists in table NAST and so on, to avoid error messages.
    I hope this helps you
    Regards
    Eduardo
    PS: Other idea, cleaner than my first anwer. See SAP Note 32662 - User name added to new condition table. Perhaps you can enhance KOMKBV2 with any indicator of deletion and so, it could control the output scheme in a VOFM subroutine. For instance, if you are deleting, T180-TRTYP = 'L'. It's other idea.
    Edited by: E_Hinojosa on Jul 12, 2011 6:19 PM

  • Email output determination.

    Hi,
    I have configured the V3(Billing) output determination to send an email to my lotus notes, SAP and yahoo email address. It does send me an email the problem i am running into is the attachment which comes along with the out put is a blank text file, can any one help me of what config is missing. I am using the std sap program "RSNASTSO" and form "SAPOFFICE_AUFRUF_VX" no form routine. I have used both the transmission medium 5 and 7 still the same results. Any suggestions would be greatly appreciated.

    Dear,
             i want to send the email when the Cancellation invoice is saved . for the same i defined output type i.e
    Application: V3
    Output: YN54
    Function: MA
    Medium: 7
    and i maintained print/driver program name :RSNASTSO and form routine : SAPOFFICE_AUFRUF_VX
    replacement of text symbols :
    Program                     SAPMV45A
    FORM routine             TEXT_SYMBOL_REPLACE
    and i maintained Mail title and text : &VBRK-SFAKN& was cancelled by &VBRK-VBELN& under language EN.
    i am getting email but in the subject of the email it is giving only *was cancelled by * instead of cancel inv no was cancelled by invoice no as per the Mail title and text : *&VBRK-SFAKN& was cancelled by &VBRK-VBELN& .plz guide me.
    regards,
    vaddepally manoj

  • Imple mail v/s Email Fax functionality in message output determination

    Can someone tell me what is the difference between simple mail functionality v/s email fax functionality in output determination ...
    i have  a reqmt from client as follows
    1. A document neeeds to be sent to multiple email addresses and multiple faxes.
    also the document that we sending thru mail /fax shud be stored in oyr SAP system for records .
    Distribution lists is an option , but can i also use this functionality to send document via faxes ..but distribution list can only be set up for simple mail functionality ..
    Second , i donthave an option of maintaining group email id in master eg vendor master as , this functionality if sending the Agency Business documnet (ABD) to multiple email address is only for ABD ...
    However other documents like PO will be required to be sent to only someone in specific...
    Regards ,
    Madhavi solanki

    Hi,
    If you are using Simple mail functionality you can provide multiple mail ids (to whom you want to send the mail) during condition record maintenance.
    Where as in case of email - for ex: to send PO to vendor via email, you can maintain the output medium as email & system will pick the email id from the vendor master.
    Hope its clear.
    Thanks & Regards,

Maybe you are looking for