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
Similar Messages
-
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 -
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,
hemanthCheck whether Note 960088 - FAQ: Sending SD messages externally, helps you
thanks
G. Lakshmipathi -
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 -
Hi all,
I can not manage to set the title of my output ZMAI, which is a mail automatically tigger when the RFQ is saved.
I've already try Messages>Output Control >Message Types > Define Message Types for Request For Quotation > Maintain Message Types for Request For Quotation > Mail Title and text. I enter my text and the title I wish, but it is not working.
I've already read the SAP Note 191470, and find nothing I manage to do in it to solve my issue.
Someone may help me ?
Thanks
Best regards
MathieuDhruba
Thanks for your answer. But I'm not able to find the general data tab you are talking about.The closest thing I found is in "Assign Form and Output Program for RFQ".
I look in the customizing, in "Assign Form and Output Program for RFQ". The programe name was ZHA00000R00 (I think it is a specific one), I put SAPMM06E. I find a field Form Routine, I put "TEXT_SYMBOL_REPLACE" in it, but and I dont' find the field "Replacement of Text Symbol" there.
But now when I create a RFQ, the mail is trigger, but I don't receive any mail (I put my own mail adress in the Vendor data to check the mail). So I look in SOST, and when I go in I got a message : <i>" Express document "Update was terminated" received from author "Mathieu PAINEAU" </i>" and the mail doesn't appear in the list "SAPconnect : Transmission Request".
Before I made the change, the mail was send (but with the wrong title and text). Perhaps there is something else to do ? I continue to look by myself, please if you have other ideas let me know !
Thanks and regards
Mathieu -
Send output types by mail as atteched file with mail text
Hello,
I need to send an invoice by E-mail. A psecific output type has been created (transmission meium 5).In NACE section ''Mail title and texts'' is processed (Texte created and Document title created).
When I generate this output type in the invoice, the mail is sent to the partner defined in NACE but the mail contains only the invoice in pdf format, and no mail text.
How can I send a text at the same time as the pdf file?
Thanks.
BenjaminI konw the way to send mail using function modules with pdf file as attachement.
What I want to do is to use an ouput type with communication medium 5 and to add a text in the mail.
Benjamin
Edited by: Benjamin CABOT on May 11, 2009 1:30 PM -
PO output type to send a mail to the user along with PO output as PDF file
Hi Friends,
I have one requirement from client.
Client wants the PO output to be converted to PDF format and sent to User while doing the PO release through e-mail. Can anybody guide me how to Configure a New Output Type and convert the PO output into PDF and send to User through e-mail.
Thanks
NazerThis can be done with the standard form itself.
first find out the output type u r using.
Then goto T-code NACE and then choose EF- purchase order and then select the output type u r using.
Then goto the 'processing Routines' at the lefe side of the screen.
There u can find out the output forms for this output typr u r using. Here add 'Simple mail-7' in the list and then give the program name and the smartform or the script u r using.
We can also give the mail texts for this output form.
After that goto ME22N and then choose the 'Messages' tab and then click the simple mail and in the 'communication method' kindly provide the mail id for which the PO mail has to be sent.
And then the mail can be viewed in the inbox of the recipient.
in this way we can sent the PO mail to the corresponding mail address,.
I guess this will solve ur issue.
Thanks and Regards
Siva
Edited by: Sivaprakash R on Apr 20, 2009 1:00 PM
Edited by: Sivaprakash R on Apr 20, 2009 1:00 PM -
External mail using output types in inbound delivery.
Hi Experts,
I want to send an external mail to vendor after creating inbound delivery. for this i want to use only output types in messages. Can somebody help me step-by-step how to configure the output type to send mail to external ID.
Thanks in advance!
Machindra Jogdandwe can have print out from delivery from header output & item output.
ok now for output ypu need to go to T.code: NACE, Take V2 -shipping and click on output types tab at the top most u will get a output type standard "MAIL"
For the MAIL output type u assign a access sequence of your own.
Maintain condition records in VV2.
Select the output type in delivery
GO to Vl02n enter the delivery no: take extras from the menu and take delivery output header /item enter the output type MAIL. -
Mail with PO doc and link document iwhile using output type 7 - Urgent
Hi all,
I'm facing a problem for my customer.
I need to send a mail with the PO forms and all link document of each item .
This mail have to be send to several user maintain with transaction MN05 and user want to change the recipient of the mail in MESSAGE Screen of PO so we try to use output type 7 which allow this modification .
Unfortunatly, with this output type i can't add by abap code document in the mail .
Does somebody face the same problem or add a solution to retrieve all recipient define by the user ?
Best regards.Requirement Cancel
-
New Output Type for E-MAIL - What Programs to use
Hi ,
I am Configuring a new Output Type for E-mail Invoices. Based on the Billing Indicator on the Customer Master the New output type for E-mail should be determined and send an e-mail. To test this i have setup a new output type and used the below parameters:
Program : RSNASTSO
Form Routine: SAPOFFICE_AUFRUF
PDF/SmartForm Form: SAPOFFICE_AUFRUF_VX
Form Type: PDF
I have the e-mail address in the general data of both Bill to and Sold TO. The partner Function for this output type is BP.
When i created an Invoice i got the below error, I have highlighted the line with astericks which are showing up as error.
Processing log for program RSNASTSO routine SAPOFFICE_AUFRUF
Function module SO_NAME_CONVERT with return code
Text 220V30900018667 ZRD3E0500000425 ID STAM language E not found
**No address exists - Error**
**Error while copying recipient object - Error**
**Specify at least one recipient - Error**
Message object FOL29000000000004SCR33000000000044 created or sent
At this point i just want to be able to send an invoice via e-mail using standard program. I am looking to confirm if i am using the correct parameters. Any help will be greatly appreciated.
Thanks,
Irfan.Hi ,
You can ty using the function module SO_NEW_DOCUMENT_ATT_SEND_API1
here you will to also pass the logic that the PDF should be sent to a email recipient as per mentione din the bill to party function module
Thanks
Prashant -
Send a text Doc as attachment to mail-id through sales order output type
Hi,
when i create a SD document and select an output type and external mode before i save the document, it generates a PDF document as an attachment and sents an email. I would like to send a text document as an attachment. Can anybody please tell me the procedure to convert or send the text document as attachment.
Thanks,
RaviHi Ravi sirigiri,
Donot convert the data into PDF just pass the OTF data to the
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = W_DOC_CHNG
PUT_IN_OUTBOX = 'X'
commit_work = 'X'
TABLES
PACKING_LIST = I_OBJPACK
CONTENTS_BIN = I_OBJBIN
OBJECT_HEADER = W_OBJHEAD
CONTENTS_TXT = I_OBJTXT
RECEIVERS = I_RECLIST
Regards,
Sravanthi -
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,
Mallikhi 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. -
Output Type MLGR, 'Report Goods Receipt to Buyer' not proccessed correctly
Hi
We are using output type MLGR to send a doc 'Report Goods Receipt to Buyer' which is defined
under->Output Types->Mail title and texts.
Its 'Proccessing Routine' is: RSNASTSO
Form Routine is: SAPOFFICE_AUFRUF
All is well when we use MB02 MLGR,'Simple Mail',MP, UserName
It sends the email to SAPConect.
BUT the form comes with the definitions not with the actual values.
Like so:
INCLUDE MMIM_SE71_NEUER_EDITOR_MAIL2 OBJECT DOKU ID TX LANGUAGE EN
$DATE$, $TIME$
$SGF$ oder $SGH$ $EKKO-ERNAM$ !
A goods receipt for your purchase order $MSEG-EBELN$
item $MSEG-EBELP$ has just been entered.
Material: $MSEG-MATNR$ $EKPO-TXZ01$
Quantity delivered: $MSEG-ERFMG$
Vendor: $MSEG-LIFNR$, $AM07M-NAME1$
Posting date: $MKPF-BLDAT$
$MFG$
$MKPF-USNAM$
Reg's
Edan1. use variables '&' instead of '$'
2. In transaction M706 for output type MLGR, make sure you have maintained the include by going in the long text, Choose Goto -> Change Editior, and maintain the form here :
"A goods receipt for your purchase order &MSEG-EBELN&
item &MSEG-EBELP& has just been entered.
Material: &MSEG-MATNR& &EKPO-TXZ01&
Quantity delivered: &MSEG-ERFMG&
Vendor: &MSEG-LIFNR&, &AM07M-NAME1&
Posting date: &MKPF-BLDAT&
&MFG&
&MKPF-USNAM&"
Then in MN22, delete the earlier condition record and create a new condition record in MN21
Here in the Communication in the MENU select
Goto -> Execution Parameter. You reach the dialog box Change Execution Parameter. Here you maintain the following data for mail processing:
Execution type U Transaction with memory
Execution element MB03
Memory ID MBN
Par name: RM07M-MBLNR Parameter value: MSEG-EBELN
Save
Then create a PO (please remember to click on the GR message in the header), and create a GR against the PO.
In SBWP, you will get the values and not definitions this time for the message created. -
Reg.Output type for purchase order
Dear Sir
I followed your steps but not come to "List of allowed output"
when I select the message for Purchase order(ME21N). There are listing NEU,SPO,MAHN and AUFB.
I just copy the NEU and all,I did not change anything.
Maintain Output of Purchase Order
1. Condition Table
SPRO > Material Management> Purchasing -> Message -> Output Control->Condition Tables->Define Condition Table for Purchase Order
Select:
Purchasing Doc. Type,
Purch. Organization,
Vendor
2. Access Sequences
SPRO -> Material Management-> Purchasing -> Message -> Output Control->Access Sequences->Define Condition Table for Purchase Order
3. Message Type
SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Types->Define Message Type for Purchase Order
Ex:
EF---> TES
Select TES and double click on Mail title and texts and go to
EN- New Purchase Order Print Out,
Select TES again and double click on Processing routines,
Select TES again and double click on Partner Roles
4. Message Determination Schemas
4.1. Message Determination Schemas
SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Maintain Message Determination Schema
4.2. Assign Schema to Purchase Order
SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Assign Schema to Purchase Order
5. Partner Roles per Message Type
SPRO -> Material Management-> Purchasing -> Message -> Output Control-> Partner Roles per Message Type ->Define Partner Role for Purchase Order
6. Condition Record
Navigation Path: SAP Menu-> Logistics -> Material Management -> Purchasing-> Master data->Messages-> Purchase Order-> MN04-> Create
Now you create PO(ME21N) and save it. Go to ME22N and print the PO by giving output type TES.
Please help me sir
RajjHi
Go to NACE
Select application as EF Purchase Order
Define TES as out put type there
Vishal...
Maybe you are looking for
-
URGENT!!!! - Reading Archived Data from a Report.
Hi, The data, prior to 15 months, of some tables (BSEG, BSAK), used in the report YGF11347 has been archived. Previously this report YGF11347 was run for vendor payment information for any time frame through FBL1N. So any vendor line items from 2004
-
HT4847 How can I see what's been uploaded to iCloud and delete any unwanted?
I only have my contacts & photos automatically backed up to iCloud. I've gotten a warning that I'm at the limit of my iCloud storage amount. I'd like to see what is stored on my iCloud account to see if there are any unwanted items I can delete, thu
-
So I start a new file, or open an existing file and all my tracks that have setero information all of a sudden take up 2 channels on the mixer, so if the audio is on track 1, meters for track 1 and 2 move. If I make track 1 a stereo track, track 2 di
-
Grey out a particular row in ALV based on some condition.
Hi All, How can we grey out the particular row in ALV based on some condition( I am using the function modules and not OOPS). Regards Ramesh.
-
Error when synchronizing using HTTPS in NW Mobile Client
Hi all, we are required to have secure communication during synchronization of data between the PDA handheld and the DOE. Therefore, we are using the HTTPS synchronization you can select in the NW Mobile Client under Connection Settings (just set the