PO Output type with Option 5 External Send (&EKKO-EBELN&)

Dear Friends,
We have come across and interesting issue.
We want PO output to be send to vendor via email and the email subject should be "New Purchase Order <po document no>". To achieve this requirement we have set the Output type NEU --> Mail title and Text as NEW PURCHASE ORDER &EKKO-EBELN&.
When PO is created and before saving the PO user select the option 5 External Send in Message and further go to the communication tab. he can see the 'NEW PURCHASE ORDER &EKKO-EBELN&.' in Cover Page Text.
But the movement user saves the PO, Message --> communication is replaced with 'NEW PURCHASE ORDER".
And finally when the mail is sent with no PO document number and subject as "NEW PURCHASE ORDER".
Has any one has come across this issue before?
Or is there any OSS note for this?
Please Help!!
Sandeep

dear sandeep
you can follow below mention steps or reffer OSS
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.
Note that it is not possible to change the e-mail address of the vendor via the SAP purchase order transaction (ME21N, ME22N, and so on). The system only uses the e-mail address of the vendor that is maintained in the vendor master!
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.
For more details, check out the OSS note :191470
Hope this will help.
reward points if helpful
thanks and regards
ravikant dewangan

Similar Messages

  • How to define output types email or external send in the report program

    Hi all,
    now we are using a zprogram for output type printer and standard program RVADOR01 for output type external send. Now i want to modify my zprogram itself to support external send email as well as printer also. What modifications should I have to make in my zprogram. My form is a script.
    Thank you,
    Mallik

    hi all,
    i made the following changes in my code and it worked well.
    thank you for all who tried to share my pain.
    thanks one and all.
    hope this code will help anybode.
    thanks & regards
    FORM OPEN_FORM_EMAIL.
    TABLES: TNAPR,                         "Programs & Forms
            ITCPO,                         "Communicationarea for Spool
            ARC_PARAMS,                    "Archive parameters
            TOA_DARA,                      "Archive parameters
            ADDR_KEY.                      "Adressnumber for ADDRESS
    TYPE-POOLS SZADR.
    DATA: LVF_DEVICE LIKE ITCPP-TDDEVICE,
          LVF_DIALOG(1)     TYPE   C   VALUE ' ',
          LVS_RECIPIENT     LIKE   SWOTOBJID,
          LVS_SENDER        LIKE   SWOTOBJID,
          LVS_SNAST         TYPE   SNAST,
          LVF_PROGRAM       LIKE   SY-REPID,
          LVS_COMM_TYPE     TYPE   AD_COMM,
          LVS_COMM_VALUES   TYPE   SZADR_COMM_VALUES,
          LVS_TITLE LIKE SNAST-TDCOVTITLE.
    reset return code
      RETCODE = 0.
    if there is a communication strategy used ...
    IF NOT NAST-TCODE IS INITIAL AND NAST-NACHA EQ '5'.
      ... use stratagy to get communication type
        CALL FUNCTION 'ADDR_GET_NEXT_COMM_TYPE'
             EXPORTING
                  STRATEGY           = NAST-TCODE
                ADDRESS_TYPE       =
                 ADDRESS_NUMBER     = KNA1-ADRNR
                PERSON_NUMBER      = VBDKA-ADRNP
                  PERSON_NUMBER      = ADDR_KEY-PERSNUMBER
             IMPORTING
                  COMM_TYPE          = LVS_COMM_TYPE
                  COMM_VALUES        = LVS_COMM_VALUES
           TABLES
                STRATEGY_TABLE     =
             EXCEPTIONS
                  ADDRESS_NOT_EXIST  = 1
                  PERSON_NOT_EXIST   = 2
                  NO_COMM_TYPE_FOUND = 3
                  INTERNAL_ERROR     = 4
                  PARAMETER_ERROR    = 5
                  OTHERS             = 6.
        IF SY-SUBRC <> 0.
          RETCODE = SY-SUBRC.
          SYST-MSGTY = 'E'.
          PERFORM PROTOCOL_UPDATE.
        ENDIF.
    ENDIF.
       LVS_COMM_TYPE = 'INT'.
      CLEAR LVS_COMM_VALUES-ADSMTP-SMTP_ADDR.
      CLEAR LVS_SNAST.
            LVS_COMM_VALUES-ADSMTP-SMTP_ADDR = V_CUST_EMAIL.
    convert communication data
       MOVE-CORRESPONDING NAST TO LVS_SNAST.
            LVS_SNAST-ANZAL = 1.
            LVS_TITLE = 'Mail Header Title'.
      MOVE LVS_TITLE TO LVS_SNAST-TDCOVTITLE.
       MOVE SY-REPID TO LVF_PROGRAM.
      CALL FUNCTION 'CONVERT_COMM_TYPE_DATA'
           EXPORTING
                PI_COMM_TYPE              = 'INT'
                PI_COMM_VALUES            = LVS_COMM_VALUES
                PI_SCREEN                 = XSCREEN
              PI_NEWID                  =
                PI_COUNTRY                = ADRC-COUNTRY
                PI_REPID                  = SY-REPID
                PI_SNAST                  = LVS_SNAST
                PI_MAIL_SENDER            = SY-UNAME
           IMPORTING
                PE_ITCPO                  = ITCPO_LS
                PE_DEVICE                 = LVF_DEVICE
                PE_MAIL_RECIPIENT         = LVS_RECIPIENT
                PE_MAIL_SENDER            = LVS_SENDER
           EXCEPTIONS
                COMM_TYPE_NOT_SUPPORTED   = 1
                RECIPIENT_CREATION_FAILED = 2
                SENDER_CREATION_FAILED    = 3
                OTHERS                    = 4.
      IF SY-SUBRC <> 0.
        RETCODE = SY-SUBRC.
        SYST-MSGTY = 'E'.
        PERFORM PROTOCOL_UPDATE.
      ENDIF.
      CHECK RETCODE EQ 0.
    fill structure itcpo
      ITCPO = ITCPO_LS.
    open form
      CALL FUNCTION 'OPEN_FORM'
           EXPORTING
              APPLICATION        = 'TX'
               ARCHIVE_INDEX      = TOA_DARA
               ARCHIVE_PARAMS     = ARC_PARAMS
                DEVICE             = 'MAIL'
                DIALOG             = 'X'
                FORM               = 'ZSDLS003'
                LANGUAGE           = SY-LANGU
                OPTIONS            = ITCPO_LS
                MAIL_SENDER        = LVS_SENDER
                MAIL_RECIPIENT     = LVS_RECIPIENT
              MAIL_APPL_OBJECT   = ' '
              RAW_DATA_INTERFACE = '*'
         IMPORTING
              LANGUAGE           =
              NEW_ARCHIVE_PARAMS =
              RESULT             =
           EXCEPTIONS
                CANCELED           = 1
                DEVICE             = 2
                FORM               = 3
                OPTIONS            = 4
                UNCLOSED           = 5
                MAIL_OPTIONS       = 6
                ARCHIVE_ERROR      = 7
                OTHERS             = 8.
      IF SY-SUBRC NE 0.
        CASE SY-SUBRC.
          WHEN 7.
            RETCODE = SY-SUBRC.
            SYST-MSGID = 'VN'.
            SYST-MSGNO = '096'.
            SYST-MSGTY = 'E'.
            SYST-MSGV1 = NAST-KSCHL.
            SYST-MSGV2 = NAST-KAPPL.
            PERFORM PROTOCOL_UPDATE.
          WHEN OTHERS.
            RETCODE = SY-SUBRC.
            PERFORM PROTOCOL_UPDATE.
        ENDCASE.
      ENDIF.
      SET COUNTRY ADRC-COUNTRY.
    ENDFORM.

  • Error while trying to assign an output type to medium external send in smar

    Hi,
    My requirement is to send a smartform through e-mail as PDF attachment.I have made the changes in the print program of the smart form.When I try to assign the output type to the medium external send in vt02n transaction,it is being saved but it is showing the status as 'not processed'.When I check the processing log it is showing 'Please maintain a output device in your user master data'.But I am able to send the mail and open the attachment.When I try to assign the same o/p type to medium special function,this is being successfully processed .Why am I getting error when I try to assign theo/p type to external send?
    Regards,
    Hema

    Check the logic in the entity adapter ENT_Prov_Permitted_Resources.
    This adapter is causing problems when you are trying to assign the resource.

  • SD Billing Document Output to email via external send

    Hi all,
    I hope you can helpt with following issue as I need to send invoices via email using the option 'external send' in the message determination. The settings are as follows:
    Message Determination VV32/VV33
    Output Type ZI04
    Billing Type ZIV
    Condition Record Sales Org / Billing Type / Payer
    Medium 5 - external send
    Dispatch Time 1, 3 or 4
    Cover Page Text: any text followed by invoice no. &VBRK-VBELN&
    Expectation
    With this setting we expect the billing document number to be included in the subject line of the email sent out.
    This works fine as long as you maintain the message in the billing document -> header -> output manually.
    Problem
    If you create a new invoice and the message is created automatically based on above Message Determination settings and you issue the output using any of these options
    - option 1 and report RSNAST00
    - option 3 using VF31 running in background mode or
    - option 4 issuing immediately,
    the document number is printed into the subject line but instead is printed the tempory document number $000000001. The correct billing document number is printed on the PDF form included in the mail output which confirms that the document number is available from the database at the point of output issue already.
    Any idea how to maintain the settings correctly to get the billing document number on the subject line of the email after creating a new invoice?
    Best regards
    Karsten

    Hi,
    I dont have ABAP skills, but ask your ABAP programmer, (or yourself), to find the point in the invoicing program that get internaly the invoice number.
    And you should try to asign the field from the internal temporary structure XVBRK-VBELN.
    Should be something like:
    Cover Page Text: any text followed by invoice no. &XVBRK--VBELN&
    Please confirm with someone that have technical skills.
    Regards,
    Demétrius
    Edited by: Demetrius Pereira de Miranda on Aug 20, 2008 4:21 PM

  • Error while trying to assign an o/p type to medium external send in smartfo

    Hi,
    My requirement is to send a smartform through e-mail as PDF attachment.I have made the changes in the print program of the smart form.When I try to assign the output type to the medium external send in vt02n transaction,it is being saved but it is showing the status as 'not processed'.
    When I check the processing log it is showing 'Please maintain a output device in your user master data'.But I am able to send the mail and open the attachment.
    When I try to assign the same o/p type to medium special function,this is being successfully processed .Why am I getting error when I try to assign theo/p type to medium external send?
    Regards,
    Hema

    Well ok, think i don't need it anymore. thx anyways...

  • Hello Guru's reg IMG settings for output det of PO External Send

    Hello Guru’s,
    While configuring output determination Medium for External Send  At Message Type Purchase order step in IMG Settings, I need to configure the following settings
    Program, routine, form
    I have Output type:  Neu ( for Purchase orders)
    Application: EF Purchase Order
    Medium----External Send
    Program:?????
    Routine:
    Form:
    What is the the program name, routine Name and Form, should I select from the drop down bar. There is no description for the SAP STD program for External Send mode will anyone guide me.
    Full points for the answer

    HI,
    You can get some idea by clicking this.
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/75/ee122c55
    c811d189900000e8322d00/frameset.htm
    regards

  • Assigned the output type with AR also,It is printing in ENGLISH Only.

    Hi,
    I have written a Z Smartforms and Z print program.
    I have used ZRV56TD00(Copied from standard program RV56TD00),Inside it I have submitted the program(Z print Program) for the shipment number for the transaction code VT03N.
    It is now printing the form in english well and good.
    Now I want the same to work for the ARABIC.
    I had done the arabic translation in SE63 and If I run the program It is printing only in English.
    When the assigned the output type with AR also,It is printing in ENGLISH Only.
    Suitable answers will be rewarded.
    Regards
    Manohar S
    Edited by: Manoj on Jun 17, 2008 4:13 PM
    Edited by: Manoj on Jun 17, 2008 4:14 PM
    Edited by: Manoj on Jun 17, 2008 4:15 PM

    Hi Manoj,
    Goto transaction NACE and check wether you have mentioned the language in Mail title and texts for the particular message type.
    let me know if you require in more detail.
    Regards,
    Sharath

  • Output type is used for sending / printing "schedule lines" against sch agr

    hi
    which output type is used for sending / printing "schedule lines" against sch agreement
    LPET or LPH1?
    sara

    Hi Sara,
    It is LPET.
    Thanks & Regards,
    Kiran

  • Synchronise digital pattern output(6533) with a external signal

    I use a PCI-DIO32HS and i want to synchronise an output pattern with an external signal(TTL;T=1.7ms).
    ie :every time external signal become high(every 1.7ms)
    my dio32HS output a define pattern on a line.
    How can i do this?Thanks

    Thanks for your answer but see attached file to see what i want to do.
    I want to control delay between trigger(input signal T=1.7ms) and ouput and control the width of the ouput pulse
    Best regards
    Attachments:
    signal.txt ‏1 KB

  • Regarding output type NEUM with medium EXTERNAL SEND l

    hi Experts,
    we r using trasaction Zmcp instead of me23..after creatig PO,
    mail should be go to partcular vendor through medium EXTERNAL SEND..but  it displaying Medium FAX..can you please tell me what may be problem and for that what we have to do for resolve it...please tell meirts very urjent.
    T
    hanks and regards
    durga.K

    hi Experts,
    we r using trasaction Zmcp instead of me23..after creatig PO,
    mail should be go to partcular vendor through medium EXTERNAL SEND..but  it displaying Medium FAX..can you please tell me what may be problem and for that what we have to do for resolve it...please tell meirts very urjent.
    T
    hanks and regards
    durga.K

  • Problem with the External send output for Portugal in Smartforms

    Hello All,
    I am facing an issue with a particular outtype for external send for portugal country.The print priview is of different font than original font of the form.
    But When the same output type is assigned with the print output the form is showing the font with the original fonts of the form.
    can any one suggest the solution for this?

    Hello ,
    Actually the same external send output type is working fine in the development system.This is having issue only in quality system.
    And the  condition records are maintained same in both dev system and quality system.
    Does the capturing of Font play any Role...
    I read some where that sometimes in translations a particular coutry might not hold the fonts.
    Regards,
    Varun

  • Output type with send immediately or with job

    Hi,
    I want to solve the following with only 1 output type. Is this possible:
    I have output type ZNAS when it is triggered initially it should only be sent by RSNAST00.
    If it is triggered again and the delivery has a specific status it should be triggered immediately.
    Can this be arranged with only 1 output type or do I have to use 2 output types.
    Regards
    Ron

    Two output types seemed the only way to work.
    Edited by: Ron van der Sterren on May 15, 2009 8:51 AM

  • WE03 Output type with print version '3' (Collective Slip)

    I am using output type WE03 with combination of print version 3 (Collective Slip) to print GR slips.
    My requirement is to print all the line items on single page (unless there is no room) .
    However with this output type one line item is printed per page.
    Does anyone manage to print items continously on the page without page break?
    Is there any other output type/print version for that?
    Well, the last option will be to change the print program and sapscript, but I am trying to avoid that...

    Created new print program and replaced sapscript with smartform

  • Purchase document, mail output type, name of the sender in title...

    Hello everyone,
    when a user send a purchase document by mail, the vendor, in the mail title, see the user ID instead if his First+LAST name (field "BNAME" instead of "NAME_TEXT" in the SUO1d, adress part). How can i change that?
    Thanks a lot for answering.

    Hi Friend,
    I think mail is firing through output type.
    Check the program name in NACE transaction. Consult with ABAPer that the program is sending with which header information and changed it accordingly.
    Generaly SO_OBJECT_SEND_AP11 is used for sending.
    Hope it will help you.
    Regards
    Krishnendu

  • WTA: How to use output type with medium T (Task)

    Dear Gurus,
    Can anyone shed some light how to use output medium T?
    I tried one but at the end the output analysis says: Task T 50000125 is not available for object category BUS2032
    My task clearly calling BUS2032 with method DELETEBILLINGBLOCK
    Anyone can advise?
    Please don't focus on the DELETEBILLINGBLOCK and suggest me workaround how to remove billing block.
    It just my sample as I just anyhow select random method.
    What I need to know is how to use medium T.
    Thanks in advance.

    Hello Erwin,
    I know this is an incredibly old post, but I am wondering if you found a resolution to this issue.  I have the same issue and cannot determine why I can see the enter in NAST for an output resulting from a condition record set as medium 9 with timing of 3.  If I am in display mode of the sales order I can see it and also see the record in NAST.  Like you, if I change the medium to Print, it proposes as expected in VA01, VA02, VA03.  If I have the medium of 9, and change the timing to 4, my workflow process executes as expected.
    Please let me know if you have any thoughts on how to resolve.
    Thanks!
    Jan

Maybe you are looking for