Mailing Invoice through output type - Getting Error "No address exists"

Hi Experts,
I am trying to mail the invoice using out put type. I am using the standard out put type MAIL, Print program RSNASTSO and routine SAPOFFICE_AUFRUF_VX for external send 5 and using SP partner type.   I maintained email address in Customer master. When I am assigning output type to send mail its failing and am getting an error as following.
Object 1001101366
Output type: Mail
Processing log for program RSNASTSO routine SAPOFFICE_AUFRUF_VX
Function module SO_NAME_CONVERT with return code
Text 110V31001101366                    MAILE0000200290 ID STAM lang
No address exists
Error while copying recipient object
Specify at least one recipient
Message object FOL35000000000004SCR36000000000089 created or sent
And the mail is not triggering. Please help me out to resolve this issue. I am an Abaper, SD consultant is not available for me now.
Thanks and Regards,
hemanth

Check whether Note 960088 - FAQ: Sending SD messages externally,  helps you
thanks
G. Lakshmipathi

Similar Messages

  • Error while triggering program through output type while saving invoice

    Hi,
    I have a scenario where in my Z program needs to be triggered when saving a invoice.
    For that we have attached out Z program to output type which gets picked while saving invoice.
    In the Z program we have written the entire code in Form Entry subroutine.
    In the Z program we have called a FM "SD_SALESDOCUMENT_CREATE", to create a sales order.
    After sales order is created we have used a Commit statement.
    If I run the Z program individually, Salesorder gets created perfectly.
    How ever as per scenario when trying to save the invoice, output type gets picked. But program doesn't get called.
    and when I go to the saved the invoice I get the following error immediately:
    "Error document - Update was terminated"
    I have found that the problem is with COMMIT statement through transaction SM13.
    Can anybody help me with this. I cannot save the sales order without COMMIT, so I have to use it.
    Thanks in Advance,
    Rohan.

    Hi Rohan,
    I have worked on almost similar kind of requirement as you. 
    "Error document - Update was terminated" is because saving of invoice is done in u201CUpdate Tasku201D. Again in that work process, FM also calls for update task, which is not allowed and give short dump.
    Here are two different approaches to cope up in this scenario.
    1.Call FM in NEW TASK.
    Calling Function module in new task will assign new work process and will use different update task.
    Use:
    CALL FUNCTION 'SD_SALESDOCUMENT_CREATE' STARTING NEW TASK 'task'
    This will not give update termination error.
    Call of FM in this way will work, but as this will be asynchronies call you will be not able to get status/message out of the FM call result.
    If capturing return message is mandatory, use below approach
    2, Process output type via Job
    Set output type, dispatch time u201CSend with periodically scheduled jobu201D in u201CDefault valueu201D tab.
    Run batch job for program u201CRSNAST00u201D with appropriate variant.
    Please let me know if you need any further details.
    Best Regards,
    Nisarg

  • Same output type getting triggered twice upon saving the document

    Dear SDNers,
    I have a shipment Document.
    Upon saving it the same Output type gets generated twice. ( in a gap of 1 second)
    Clarification needed:
    1. Please guide as to where i need to look for the error as to why same output is getting triggered twice  simultaneously( gap of 1 second).
    2. i have checked in the processing routine associated with it. Is it the right place?
    P.S. I had posted another similar thread. Closed it since i felt it lacked clarity.
    Regards,
    SuryaD.

    Hi,
    Fetch the data from Nast table for that document number
    Check the vstat  . if it is 0 then use the below function module.
    CALL FUNCTION 'RV_MESSAGE_SET_PROCESS_STATE'.
    Then it will update the existing single record for the first time .
    Next time on wards you will get the multiple records for te document in the Nast table.
    For that you need to change the VSTAT status as per the requirement.
    Hope this might solve your problem.
    With Regards,
    Sumodh.P

  • As I try to load adobe photoshop elements 12 I get error "object already exists"

    As I try to load adobe photoshop elements 12 I get error "object already exists" does anyone knows why?

    Please post Photoshop Elements related queries over at
    http://forums.adobe.com/community/photoshop_elements

  • Invoice output type getting triggered after setting SY-SUBRC = 4 in routine

    Dear Friends,
    When ever invoice document is generated, if the invoice document is completed and if its accounting document is generated successfully, we need to trigger an output type for invoice ZRD0
    For this purpose, we have created a routine 902 in our system. If the required condition, mentioned above, fails then SY-SUBRC set as 4 else set as 0 to trigger the output type.
    Currently we are facing a problem, even after setting SY-SUBRC as 4 in routine 902, output type ZRD0 getting triggered.
    Please help me to fix this bug.
    Thanks a lot.
    Best regards,
    Amol Chaudhari.

    Hello Aditya,
    I have maintained same code in both routines 'kobed_902' and 'kobev_902'.
    Required code maintained in the routine,
    sy-subrc = 4.                          " Do not trigger output type
    * If the posting document is created or Billing document canceled    *
    * and if invoice document is Completely processed then the output    *
    * type ZRD0 is Triggered.                                            *
      IF komkbv3-uvall CA gc_c.   "Invoice document is complete or not
        IF komkbv3-rfbsk CA gc_ce.   "For VF01 and VF11
          sy-subrc = 0.
        ENDIF.
      ENDIF.
    We are getting this problem on production client and not able to generate the scenario on quality.
    The output type is actually an EDI output type which is generating an IDOC for the invoice.
    Thank you.
    Best regards,
    Amol Chaudhari.

  • Mail Title for Output Type

    Hi,
    I have created an output type which needs to send the invoice through mail. I have written a custom program to do this. Every thing is working fine. But the problem is with the Mail Title. I mean subject of the mail. I have given -- Invoice &VBRK-VBELN& as the mail title in the outtype definition. It is working fine for all invoice. But when we cancel an invoice and if we try to send the cancelation document, it is not taking the cancelation number as invoice. Inseted it is taking the first invoice number as the invoice number. This problem is only with the subject line of the mail. But the pdf document which actually contains the invoice is showing correct Invoice number and details. Which means there is no problem with the program. And when we try to create an invoice for the cancelled invoice again, at that time the subject doesn't have any invoice number.
    Please help me out in solving this problem.
    Thanking you inadvance.

    if your mail title is set up to be 'Invoice &VBRK-VBELN&' and is coming out with the wrong number it must be because your program has this other number in VBRK-VBELN! What you could do is change your mail title to use a work variable or field symbol, eg instead of &VBRK-VBELN& use &W_invoice&...then change your program to determine which field has the correct number and move or assign that to your work variable/field symbol, you'll have to search for available variables in your program so that the work variable gets populated properly in each case.

  • Custom E-mail instead of Standard e-mail for PO Output type standard config

    The requirement goes something like this..
    "We need to create a custom table and based on the values maintained in this custom table the email addresses would be displayed when the user saves a PO. The user would select a email address from the list of email address that is shown on the screen. User would get a message confirming the email address that has been selected.
    Output type would be configured to use the standard email program to send out mails. We need to ensure that the email address which would usually be the vendor's mail address is replaced with this new email address selected by the user. This functionality should work for ME9F as well."
    My questions -
    1) Which medium to be chosen in O/P type configuration for sending out standard e-mail. Is the PO Details send out via attachment or in the body of the mail? How would that be configured?
    2) Output type would be configured to use the standard email program to send out mails. - If this is done, is there any exit where i can handle the change of e-mail address?
    3) In case, i attach a Z-program for that output type, how it can be handled.

    Hi abhisek,
    You try for Implicit enhancement where you call screen as popup. Design POPUP screen as per requirement which will fetch details from your Custom table. Find the internal table which contains the standard email ids maintained through the ran transaction and  update the existing EMAIL ID in that statndard internal table.
    Hope this will guide you to proceed.
    Thanks
    Sumesh

  • Copies window printing in VF02/VF03 through output type

    Dear Experts,
    I have copied the standard smartform of the Invoice into YLB_BIL_INVOICE and i did the modification according to the client's requirement.
    In YLB_BIL_INVOICE, i have taken one window type as Copies Window and i have chosen the radio button Original and Copies. In the window I wrote the code for Copies like Original, Factory Copy, Buyer Copy, Triplicate and Marketing Copy based on SFSY-COPYCOUNT checking. I haven't changed the standard program(RLB_INVOICE).
    And I have assigned the smartform YLB_BIL_INVOICE and RLB_INVOICE in NACE settings. When I am viewing the print using VF02/VF03 with output type which configured by SD Consultant it is not showing the Copies means if I mention Number of Copies as 4 in print preview it is showing only single Page and when I gave the print with number of copies as 4 Pages are printing 4 copies but the name of the copies is same for all 4 pages like 1st page as Original and 2nd page as Original etc..
    I debugged the code and i am getting NAST-ANZAL = 1. in program, I think it should be 4. Please give me some input to resolve this issue?
    Thanks n Regards,
    Muralikrishna
    Edited by: muraliabap on Feb 14, 2011 6:35 AM

    Hi,
    I am not clear about the following context.
    muraliabap wrote:
    if I mention Number of Copies as 4 in print preview it is showing only single Page and when I gave the print with number of copies as 4 Pages are printing 4 copies
    Where did you give the no of copies as 4? In the message or Print Dialog?
    NAST-ANZAL is from message and OUTPUT_OPTIONS-TDCOPIES is from the Print Dialog. For copies window, no of copies is fetched through OUTPUT_OPTIONS-TDCOPIES (or the Print Dialog), thus SFSY-COPYCOUNT is changed accordingly .
    Check the this [link|http://wiki.sdn.sap.com/wiki/display/ABAP/Copies(duplicate,etc.)]

  • Output type RD00 Error sending email "External Send"

    Hello friends,
    There is an output type RD00 for Invoice. It sends two outputs Print out and Mail. Print out work fine but Mail is running into errors.
    actual error msgs are here below:
    1. Please enter the address number
    2. Communication type cannot be used
    there is a zprogram configured against "External Send" in output type. I am trying to debug it but it doesn't stop the break point.
    Need help in this regard and appreciated.
    Thank you

    HI,
    After triggering the output,goto T.Code SOST and process it.
    So that e-mail will be triggered immediately.
    You can use External send/EDI/simple mail for this.
    First of all the email service should be confirgued by basis team. Second you need to create Y3 partner to send electronic invoice. That can be created in customer master and also you have to specify email address in customer master. once this is done then set up output conditon record for RD00 to spit out electronic invoice in VV31.
    You can refer link
    http://help.sap.com/saphelp_nw70/helpdata/en/55/a8b538891b11d2a25a00a0c943858e/frameset.htm
    Regards,
    Saju.S

  • Triggering Outbound proxy through Output type

    I am sending sales order Acknowledgement to a file sytem from SAP. For this I am using a outbound proxy. I have a output type say ZCCS created in SAP . My question is how will the outbound proxy will get triggerred.
    what should be the medium type(Print,Mail,External send ...etc) in the output type. & where do I write my outbound proxy code ( I mean should it be a executable program).
    Message was edited by: SACHIN KAGLIWAL

    Lets say you want to send the data whenever you kick off your Print program. just call the proxy method in your ABAP program and it will be kicked off. Or write an ABAP program, use SUBMIT command.
    regards
    Shravan

  • Mail title in output type

    When creating Output type (for email), Is there any way we can set Mail Title to pick the value for the relevant run .
    eg if PO 1234 is created , then the mail title sould pic up PO <whatever value> and Date ?
    Thanks,
    Rayudu

    In mail title i included as
    <b>PO &EKKO-EBELN* Created on &sy-datum&</b>
    Here the problem is PO no not getting generated... date is comming...
    When I press F1 on title bix its saying as below...(My understanding is we need to fill this field...)
    Use
    When faxing or printing, you can use parameters in the title, which are
    then evaluated when the document is sent. As a result, the sent
    documents can be identified more easily, for example, if you have
    specified the document number as a parameter.
    If you send faxes via SAPconnect, the title appears in your outbox. If
    you print the message, the title appears in the spool list.
    Dependencies
    Parameters have to be evaluated by a special program with form routine
    (Exception: System fields, such as SY-UNAME or SY-DATE). You specify the
    program and form routine in the correponding fields in the tab page
    General data.
    Could you please help me on this....
    Rayudu

  • Output type config error:No communication data has been defined for transmi

    Hi Gurus,
    i have copied an existing output type ZOCT to ZORD . when i change the sales order the output is automatically triggered but is not processed successfully instead it is in red. when i see the processing log i could see the error below.
      green Object 0000000133                                        
      green Output type: UK Sales Order                              
      green  Processing log for program RSNASTED routine ALE_PROCESSING
       RED   No partner profiles (message control) maintained         
    I tried adding communication data in VV11 but i get the below error.
    No communication data has been defined for transmission medium A
    Message no. VK603.
    I am using ordrsp and orders05 in partner profiles and in message control tab i am giving
    V1 ZORD SD10 values.
    Please suggest me to correct these errors. Your help is much appreciated.Thanks.
    Regards.
    Sanjeev

    Hi V V Reddy,
    Thanks a lot for your inputs. I have debugged the program rsnasted at routines and in EDP12 there were repeated entries .
    So i deleted all the partner profiles and created and generated them agian.
    I have also missed to maintain SP partner function in output type partner functions. I do not see any errors now.
    Thank you very much.
    Regards,
    Sanjeev

  • Output type processing error for adobe forms

    We have created one output type in NACE transaction for Application V1(Sales) and attached the Adobe form to that output type. Whevener i am creating or saving a quotation / Sales order that output type is not processesed rather it is giving an Express document error that 'Update was terminated'.
    Please help me out to solve it.

    It is processed as there was a issue in the program.

  • Form triggering through Output type

    Hi All,
    There is a issue which i am facing , I have create a output type ZFIN and attached a custome program xyz with this outputtype. when the output is triggered throught transaction VL32n the custom program should be trigger but ther is an error raising which is going to my SAP inbox that is " PERFORM_TOO_MANY_PARAMETERS".
    Regards
    Dhiraj Shetty

    Hi,
    1. Run transaction SU01
    2. Enter <user name> => EDIT
    3. Go to tab 'Parameters'
    4. Select parameter ID = 'NDR' and enter value 'X'
    5. Save
    Done

  • Same output type gets generated twice when we create PO

    Hi,
    I have a problem. When I create PO the same output type ZEA gets generated twice. It should come only once. What could be the problem?
    Please give me some pointers.
    Regards
    Purva

    Hi
    goto the PO in ME22N
    goto Messages
    select the Output type and check the settings in Communication Method and Further data about the messages etc and other print parameters
    Regards
    Anji

Maybe you are looking for

  • How to configure mail service in DRM 11.1.2.3.500

    How to configure mail service in DRM 11.1.2.3.500. There is a feature in Workflow Models to Notify users by sending mail. Can anyone help me find from where to configure mail service.

  • Submit program to send a smartform to the spool and obtain a PDF

    Hi all, I wanna know if there is a way to submit (execute) a program that print a smartform for print this smartform to the spool and then obtain a PDF file from the spool order. I wanna do this because the program that allows to print the smartform

  • My N96 is not accepting my new SIM Card

    To whom it may concern, I bought my N96 branded from Vodafone UK around 1 year ago and when I tried it the first time I used it on an other network and it worked flawlessly. I did two upgrades with the WLAN with no issues and meanwhile I changed to V

  • SCM over distributed network?

    Hi All, Have a query on Oracle Software Configuration Manager. Can Oracle SCM work in a distributed environment? Here is the scenario Remote Dev Environment      |      | SCM Master Server      |      | Internet      |      | SCM Slave Server | | | D

  • Mid 2011 MBA can't see Apple tv

    Hi There, My Macbook Air is Mid 2011 running Mountain Lion 10.8.2 and is unable to see a 3rd generation Apple Tv on the network in itunes. Other posts indicate the Mid 2011 MBA is compatable with the apple tv and Itunes on my windows laptop is able t