Email output type.
We have created a custom output type to send an email confirmation. The config was done with transmission medium 7. RSNASTSO has been copied into ZRSNASTSO as processing program and the routine being called within this program is SAPOFFICE_AUFRUF_VX. The output determination process works upon creating and saving the sales order. However, we were not able to debug the ZRSNASTSO program since the va01/va02 t-code doesn't stop where the break-point was set. The processing log shows that the ZRSNASTO routine SAPOFFICE_AUFRUF_VX as being executed. Any inputs on this is higly appreciated.
Jayant.
Hi,
Have the UPDATE DEBUGGING ON..As the messages are triggered in UPDATE TASK..
Set a break-point in the function module RV_MESSAGES_UPDATE and have the update debugging on..
Then when the debugging comes to the FM RV_MESSAGE_UPDATE..do a single step where the subroutine configrued in NACE will be called..
Thanks,
Naren
Similar Messages
-
Problem with PO email output type
hi guys,
we have done the setting for PO email output type DEML with transmission medium 5 External Send, program SAPFM06P form MEDRUCK.
we have done setting at MN04 as well, but when we preview at PO, no form display is coming out , and if i cancel the output, it got error Element TOTAL_NET_VALUE window MAIN is not defined for form MEDRUCK
pls adviceHi Anya,
The setting is suggested by oss note 191470 , medruck is standard form, why i need to change this form if it is as per note 191470 suggested .. then i changed to our customised program and form, another error message occurs Text ID F13 language EN not found , how come all these weird msgs are coming out.. pls advice -
Email Output type : No Automatic trigger of output type while saving doc.
Hi Gurus - To trigger an email from the output type, I've configured a output type with medium as 5(external send) with communication strategy and created condition records with medium as 5 to trigger immediately.
While creating corresponding document, the output is not automatically determined, it required to manually feed the output type every time. Can you please provide if any settings were missed to trigger immediately!!
In Output analysis showing a message as "No print data determined for the communication strategy"
Steps:
1. Configured the output type with Medium as"5" and associated partner functions.
2. Created the condition records with medium as 5 and trigger immediately.
Thanks,
SreeHi ,
while maintaining condition record for output type when you click on communication method, give logical destination as 'LP01'.Hope this will solve.PLease let me know if you have any issues on this.
Thanks and regrads,
Rajeshwar -
PO email output type program causes unable to print preview
Hi Guys,
i am customising a program for print preview email for PO output type, but the preview does not come out , here is the code:
form entry_neu using ent_retco ent_screen.
data: dtext like tline.
data: l_druvo like t166k-druvo,
l_nast like nast,
l_from_memory,
l_doc type meein_purchase_doc_print.
clear ent_retco.
if nast-aende eq space.
l_druvo = '1'.
else.
l_druvo = '2'.
endif.
call function 'ME_READ_PO_FOR_PRINTING'
exporting
ix_nast = nast
ix_screen = ent_screen
importing
ex_retco = ent_retco
ex_nast = l_nast
doc = l_doc
changing
cx_druvo = l_druvo
cx_from_memory = l_from_memory.
check ent_retco eq 0.
concatenate l_nast-kschl 'for ' l_doc-xekko-ebeln into
l_nast-TDCOVTITLE separated by space.
ekko = l_doc-xekko.
perform set_textsymbol using '&EKKO-WAERS&' EKKO-WAERS.
select adrc~name1 into rm06b-ltex1
from t001
join adrc
on adrcaddrnumber eq t001adrnr and
adrc~date_from le sy-datum and
adrc~nation eq space
where t001~bukrs = ekko-bukrs.
endselect.
select single regno into t9s01-regno
from t9s01
where bukrs = ekko-bukrs.
if sy-subrc eq 0.
T9S01-BUKRS = EKKO-BUKRS.
endif.
perform set_textsymbol using '&RM06B-LTEX1&' RM06B-LTEX1.
perform set_textsymbol using '&T9S01-REGNO&' t9s01-regno.
perform set_textsymbol using '&T9S01-BUKRS&' T9S01-BUKRS.
lfa1-lifnr = ekko-lifnr.
select single adrc~str_suppl3 into lfa1-name4
from lfa1
join adrc
on adrcaddrnumber = lfa1adrnr
where lfa1~lifnr = ekko-lifnr.
perform set_textsymbol using '&LFA1-LIFNR&' LFA1-LIFNR.
perform set_textsymbol using '&LFA1-NAME4&' LFA1-NAME4.
perform set_textsymbol using '&EKKO-WAERS&' EKKO-WAERS.
perform read_text using 'F15' DTEXT-TDLINE.
if dtext-tdline is initial.
if ekko-ekgrp eq 'CP1' or ekko-ekgrp eq 'C03' or
ekko-ekgrp eq 'P01' or ekko-ekgrp eq 'P02' or
ekko-ekgrp eq 'P03' or ekko-ekgrp eq 'P04' or
ekko-ekgrp eq 'P08'.
move 'Requisitioner.' to DTEXT-TDLINE.
elseif ekko-ekgrp eq 'CP2' or ekko-ekgrp eq 'C01' or"B0691
ekko-ekgrp eq 'C04' or ekko-ekgrp eq 'P05' or
ekko-ekgrp eq 'P06' or ekko-ekgrp eq 'P07' or
ekko-ekgrp eq 'P09' or
ekko-ekgrp eq 'C05'. "B0691
move 'Accounts Payable.' to DTEXT-TDLINE.
else. "B0691
move 'Accounts Payable.' to DTEXT-TDLINE. "B0691
endif.
endif.
t9s02-text4 = DTEXT-TDLINE(17).
perform set_textsymbol using '&T9S02-TEXT4&' T9S02-TEXT4.
CLEAR GV_NO_CONTRACT.
perform read_text using 'F13' T9S02-TEXT7.
IF T9S02-TEXT7 IS INITIAL. "Buyer did not type anything
MOVE 'stipulated at the end of this PO.' TO T9S02-TEXT7.
MOVE 'X' TO GV_NO_CONTRACT.
ENDIF.
perform set_textsymbol using '&T9S02-TEXT7&' T9S02-TEXT7 .
SELECT SINGLE VERKF into LFM1-VERKF
FROM LFM1
WHERE LIFNR = EKKO-LIFNR
AND EKORG = EKKO-EKORG.
perform set_textsymbol using '&LFM1-VERKF&' LFM1-VERKF .
loop at l_doc-XEKPO into ekpo where zwert = 0.
if ekpo-peinh ne 0.
ekpo-zwert = ( EKPO-MENGE * EKPO-NETPR ) /
( EKPO-PEINH * 1000 ).
else.
ekpo-zwert = ( EKPO-MENGE * EKPO-NETPR ) / 1000 .
endif.
modify l_doc-XEKPO from ekpo.
endloop.
clear: gv_print, gv_terms, gv_tcode.
gv_print = tnapr-FUNCNAME.
gv_terms = tnapr-sform.
gv_tcode = tnapr-FONAM5.
call function 'Z_ME_PRINT_PO'
exporting
ix_nast = l_nast
ix_druvo = l_druvo
doc = l_doc
ix_screen = ent_screen
ix_from_memory = l_from_memory
ix_toa_dara = toa_dara
ix_arc_params = arc_params
ix_fonam = tnapr-fonam "HW 214570
gv_no_contract = gv_no_contract
gv_print = gv_print
gv_terms = gv_terms
gv_tcode = gv_tcode
end of additions
importing
ex_retco = ent_retco.
endform.
did i miss anything in the coding? pls advicehi,
There are two options.
1. Change the output medium of the output type to Print putput 1(No 1).
2. For the sender customer go to transaction XD02 and give your mail ID instead of the customers and check. You will get the output in PDF format.
Thanks,
Kasiraman R -
Delivery Note By Email -Output type LD00
Hi All,
We have a requirement to send delivery note by email.
At the moment we are using output type LD00.
I've created a similar output type with a transmission medium '5'.
But it is not triggering any email.Can you pelase advice what do I need to do in order to trigger an email.
Thanks
VenkatHi Santhosh,
I've checked in NACE transaction ,Partner function SH is already assigned to it.
Can you pelase give me the steps to create a new output type in NACE.
Here is how I've created:
1.NACE->V2 Shipping->Output types->New Entries->ZLDM(New output type)
In processing routines:
Transm.Medium: 5
Program ZVADDN00
FORM routine ENTRY
Form ZRVDELNOTE00
Partner Functions:
External send SH Ship-to party
Then I went to Procedures:
I've added my new output type here.
Do I need to do anything else?Please let me know.
Thanks
venkat -
New Email output type: How to make invoice 'Copy' rather than 'Original'?
Hello SD Friends-
FICO guy here. I created an output type to email invoices to customers however how do I change the invoice from saying 'Original' to 'Copy' when using this output type?
Thank you!!Actual logic should be first copy s Orginal and next copies as Copy or Duplicate, if you want the output alsways as copy, then ask your abaper to write logic that what ever output processing status, email output should send as Copy.
Please let me know if any questions.
Regards
Ramki -
Email's content for PO's email output type
hi guys,
I have created new output type for Po's emaling : DEML.
It can send email to the vendor, but how can i include email's content instead of sending email with attachment only ?
pls advice
thanksHi
Go to MN04 and select the Porg/DocType/Vendor; Input vendor number, partner role, medium 7 and timing 1 and click on communication tab. It takes you to "Note to receipient". Add your text there and it will be sent as email bod text. <REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Apr 10, 2008 5:54 PM -
EMAIL Output Type for order confirmation
We have created a custom output type to send an email confirmation. The config was done with transmission medium 7. RSNASTSO has been copied into ZRSNASTSO as processing program and the routine being called within this program is SAPOFFICE_AUFRUF_VX. The output determination process works upon creating and saving the sales order. However, we were not able to debug the ZRSNASTSO program since the va01/va02 t-code doesn't stop where the break-point was set. The processing log shows that the ZRSNASTO routine SAPOFFICE_AUFRUF_VX as being executed. Any inputs on this is higly appreciated.
have to checked out output type is taken in output of the SO .
check VA02->Extras>output--->Edit, here u have to check the o/p type.
Regards
Prabhu -
I am having problem in executing email output in order.In customer master email address is mentioned correct.But from order when I am executing the email output its going to some the customer email address not the one which is mentioned in the customer master.Can anybody tell me why it is happening??
Dear Chakri,
As per my thinking this the cause for your problem so please check regarding that,
Go to VA02 transaction there you enter your Sales order no which is in the problem ,then click on sales document (at top of the left corner) --> Issue output to , system will take you to output popup screen there you click on print options it will take you to details of the issue output, there you check who is Recipient of that output at Recipient field and medium of the output.
If recipient is different change the recipeint to whom you wan to send the mail.
I hope it will help you
Thanks,
Murali. -
Hi,
I hace newly created email output type and it is working fine, that is mail is sent to the vendor with attachment.
Issue is when the vendor is having fax number and also email id in his master data, Though I am using the email message type, output type is created as FAX.
Where is this priority set?
Regards,
KumarIt looks like you have just one message type and allow various ways of transmission
In transaction OLME under Messages > Output Control > Message Types > Define Message Types for purchase order
execute Maintain Message Types
select your message type and go to the Default Values tab
I think your Fax message is first
the better approach would be to use different message type as explained in Strategy Procedure - Message Control -
Is there a way to change the output type for Email Remittance Program?
Hello,
We are trying to implement Separate Remittance Program.The seeded output type is PDF( I have checked the output type for send separate remittance concurrent program) however the
email which we receive looks like a regular email I mean with a normal text . Is there a way to get the output in different type like excel,attachment,pdf.
Any inputs would be highly appreciated.
Thanks,
SushmaCurrently there is a bug raised
Bug 8208646 : R12 UNABLE TO SEND SEPARATE REMITTANCE ADVICE AS EMAIL ATTACHMENT IN PDF.
If you want to customize this process you need to create data definition,new rtf template and bursting program to send pdf as attachment. -
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. -
Step by step on how to set up email as output type
Hello everyone,
can someone pls help me with the configuration and the steps I have to do to set up email as output type for order confirmation, delivery and shipping. Also can you tell me the programs and forms I have to select from in the condition type. Do I need to get the ABAP guys involved and what do I ask of them, how finally is it interfaced with the email. Please give me step by step for the configuration and any other set up I have to do. I am working on ECC 6.0 and I need all the help I can get.
ThanksHi,
Please go through this link it will help you about Output process in SAP R/3 for sales documents and billing documents.
http://help.sap.com/saphelp_47x200/helpdata/en/93/745017546011d1a7020000e829fd11/frameset.htm
I hope it will help you,
Thanks,
Raja -
Output type of purchase order as email
Hi Experts,
I want to configure the output type of my purchase order as email also so that when i can save it as a pdf file. kindly tell me the procedure of configuring it with path in SPRO.
Thanks
HarmandeepCheck this Link purchase order as email - SAPMM06E and TEXT_SYMBOL_REPLACE
it will be helpful for you.
Regards,
S Anand -
Print program for the smartform for selecting the output type (email/fax)
Hi All,
Requirement :I have to create a print program for the smartform where the output type may be print out,email or fax ,so i need to put the condition for selecting the output type (like printout,email,fax).
can any body please let me know how to put the condition for selecting the desired output type ?
Thanks in advance
RahulHi
It is not the output type that has to be changed
it is the MEDIUM which you have to change and configure
for printout medium is 1
for FAX medium is 2
for MAIL it is 7.
so instead of printout change the medium to 2 or 7 for the same output type and attach to the same driver program and smartform/form.
Reward points for useful Answers
Regards
Anji
Maybe you are looking for
-
Problem in calling abap editor with the program name in Web Dynpro ABAP
Hi, I have to caal ABAP Editor screen with the display of program after clicking a button from web dynpro abap application. I am able to call the ABAP Editor initial screen, but i want the editor display screen with a program. How to do that? Please
-
Error OSR 11g when tring to open in browser
Hi for All I installed OSR 11g, got this error when tring to open in browser: Http://localhost:7777/registry/uddi/web In browser: Error 500--Internal Server Error From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1: 10.5.1 500 Internal Server Error
-
Problems installing cs3 production premium: database corrupt
I have a new computer with windows 8. On my old computer i used Premiere Pro CS3, now i tried Premiere Elements 11. I´m not happy with it so i deinstalled it and tried to install the CS3 production premium on the new Computer. When I insert the disk
-
Certification Question on SAP HANA
Hello All, It would be great if you can share some sample certification questions on SAP HANA. Thanks & regards, Jomy Edited by: Jomy123 on Jan 20, 2012 12:35 PM
-
Quickview acting up after update
Since I installed the latest Mavericks update Quickview won't preview some images when I have multiple images in a folder and try to scroll through them. I'm also seeing the beach ball of death spinning an awful lo when ever I do anything in the find