Sends mail to vendor as well as generates spool
Hi All,
1)I am triggering PO for output type ZNEU for external send option(transmission medium is 5).it sends mail to vendor as well as generates spool.
I want to stop spool generation.
2) Also i can debug the driver program while i click on print preview buttion in ME22n but i can't debug the driver program while i trigger the output type although i use /h and update debugging
Could you please help me out.
Thanks
MSI
Hi,
I need to send a mail to inbox of an user and external mail id of the same user.
Can I achieve this through a single send mail step?,
First Check as Mentioned by Arghadip Kar , if not working follow the below method.
1) Through the FM "SO_NEW_DOCUMENT_ATT_SEND_API1" you can send.
2) You have to write a Program and Using the above FM you have send the mail.
3) Refer this [Link|https://wiki.sdn.sap.com/wiki/x/nYKdAw]
Regards,
Surjith
Similar Messages
-
How to send mail to vendor mail id from Tcode MIGO when GR is created
Hi Experts,
My requirement is to send one mail to vendor when GR is created in Tcode MIGO.
I tried to setup configuration in tcode NACE, creating new message type MAL1. but i am not able to locate Message tab in tcode MIGO, also, When i goto transaction MB02 i can give message type MAL1 in output types then mail is going to scot, but my main problem is as:
Output type MAL1 is not automacially trigerred from transaction MIGO (I need to go to MB02 and add output type in Messages)
Please help me to configure this. Again, i did configuration only in NACE and not any other tcode. So please tell me whether i need to configure in other tcodes specifcally WE20 (if yes, please give me message type and process code for GR) .
Many thanks, please help me. points assured!
Thanking you,
Jogdand M BHi,
Via t-code NACE select inventory management, then you can use output type WE01 or MLGR base on transmission medium -- 5 External send. After that you need to maintain the condition record accordingly, then that will be ok! After GR with MIGO, system will generate a email to vendor's mailbox in the vendor master data!
Good luck
Tao -
Convertion of Smart form to pdf and sending mail to vendor for PO
Hello all,
I have modified a standard PO Smartform and running it through ME23N.
In this i have to convert it to a pdf file and then send it through mail to the vendor.
I have found out FMs'CONVERT_OTF'and
'SO_NEW_DOCUMENT_ATT_SEND_API1'
to convert it and send mail. But can u tell me how to go about using it.
As i am using a standard program do i have to copy this prog to zprog and then call the fm out there. I am not sure.
Thanks
SalilHi,
Here is the sample code.If you find this as useful,kindly reward points by clicking the star on the left of reply.
Internal Table declarations
DATA: i_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
i_tline TYPE TABLE OF tline WITH HEADER LINE,
i_receivers TYPE TABLE OF somlreci1 WITH HEADER LINE,
i_record LIKE solisti1 OCCURS 0 WITH HEADER LINE,
Objects to send mail.
i_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
i_objtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
i_objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE,
i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
Work Area declarations
w_objhead TYPE soli_tab,
w_ctrlop TYPE ssfctrlop,
w_compop TYPE ssfcompop,
w_return TYPE ssfcrescl,
w_doc_chng typE sodocchgi1,
w_data TYPE sodocchgi1,
w_buffer TYPE string,"To convert from 132 to 255
Variables declarations
v_form_name TYPE rs38l_fnam,
v_len_in LIKE sood-objlen,
v_len_out LIKE sood-objlen,
v_len_outn TYPE i,
v_lines_txt TYPE i,
v_lines_bin TYPE i.
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZZZ_TEST2'
importing
fm_name = v_form_name
exceptions
no_form = 1
no_function_module = 2
others = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
w_ctrlop-getotf = 'X'.
w_ctrlop-no_dialog = 'X'.
w_compop-tdnoprev = 'X'.
CALL FUNCTION v_form_name
EXPORTING
control_parameters = w_ctrlop
output_options = w_compop
user_settings = 'X'
IMPORTING
job_output_info = w_return
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
i_otf[] = w_return-otfdata[].
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = v_len_in
TABLES
otf = i_otf
lines = i_tline
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Convert PDF from 132 to 255.
LOOP AT i_tline.
Replacing space by ~
TRANSLATE i_tline USING ' ~'.
CONCATENATE w_buffer i_tline INTO w_buffer.
ENDLOOP.
Replacing ~ by space
TRANSLATE w_buffer USING '~ '.
DO.
i_record = w_buffer.
Appending 255 characters as a record
APPEND i_record.
SHIFT w_buffer LEFT BY 255 PLACES.
IF w_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
Refresh: i_reclist,
i_objtxt,
i_objbin,
i_objpack.
clear w_objhead.
Object with PDF.
i_objbin[] = i_record[].
DESCRIBE TABLE i_objbin LINES v_lines_bin.
Object with main text of the mail.
i_objtxt = 'Find attached the output of the smart form.'.
APPEND i_objtxt.
i_objtxt = 'Regards,'.
APPEND i_objtxt.
i_objtxt = 'J.Jayanthi'.
APPEND i_objtxt.
DESCRIBE TABLE i_objtxt LINES v_lines_txt.
Document information.
w_doc_chng-obj_name = 'Smartform'.
w_doc_chng-expiry_dat = sy-datum + 10.
w_doc_chng-obj_descr = 'Smart form output'.
w_doc_chng-sensitivty = 'F'. "Functional object
w_doc_chng-doc_size = v_lines_txt * 255.
Pack to main body as RAW.
Obj. to be transported not in binary form
CLEAR i_objpack-transf_bin.
Start line of object header in transport packet
i_objpack-head_start = 1.
Number of lines of an object header in object packet
i_objpack-head_num = 0.
Start line of object contents in an object packet
i_objpack-body_start = 1.
Number of lines of the object contents in an object packet
i_objpack-body_num = v_lines_txt.
Code for document class
i_objpack-doc_type = 'RAW'.
APPEND i_objpack.
Packing as PDF.
i_objpack-transf_bin = 'X'.
i_objpack-head_start = 1.
i_objpack-head_num = 1.
i_objpack-body_start = 1.
i_objpack-body_num = v_lines_bin.
i_objpack-doc_type = 'PDF'.
i_objpack-obj_name = 'Smartform'.
CONCATENATE 'Smartform_output' '.pdf'
INTO i_objpack-obj_descr.
i_objpack-doc_size = v_lines_bin * 255.
APPEND i_objpack.
Document information.
CLEAR i_reclist.
e-mail receivers.
i_reclist-receiver = '[email protected]'.
i_reclist-express = 'X'.
i_reclist-rec_type = 'U'. "Internet address
APPEND i_reclist.
Sending mail.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = w_doc_chng
put_in_outbox = 'X'
TABLES
packing_list = i_objpack
object_header = w_objhead
contents_hex = i_objbin
contents_txt = i_objtxt
receivers = i_reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
Convertion of Smart form to pdf and sending mail to vendor for Invoice
Hi All...
now I am getting the output form of Invoice by the T-code VF02
here Im using Zreport & Zform...
my requirment is to convert smartform output to PDF and send as an e-mail attachment on my Existing report
where I use the FM - CONVERT_OTF_2_PDF ..
here my code
REPORT yinvoice_is.
TABLES: vbrk,vbrp, vbak, vbap, vbkd .
DATA : it_vbap TYPE STANDARD TABLE OF vbap WITH HEADER LINE ,
it_vbrk LIKE STANDARD TABLE OF vbrk with header line,
it_vbkd TYPE STANDARD TABLE OF vbkd WITH HEADER LINE ,
it_vbrp TYPE STANDARD TABLE OF vbrp WITH HEADER LINE ,
it_vbrp1 TYPE STANDARD TABLE OF vbrp WITH HEADER LINE ,
it_vbfa TYPE STANDARD TABLE OF vbfa WITH HEADER LINE ,
it_adrc1 TYPE STANDARD TABLE OF adrc WITH HEADER LINE,
it_adrc2 TYPE STANDARD TABLE OF adrc WITH HEADER LINE.
DATA: sum TYPE vbrp-kzwi5.
DATA: v_vkbur TYPE vkbur,
v_adrnr1 TYPE adrnr,
v_adrnr2 TYPE adrnr,
v_vbelv TYPE vbelv,
v_delch TYPE vbeln,
v_bstkd TYPE bstkd,
v_kdmat TYPE kdmat,
v_kwert TYPE kwert.
DATA : fm_name TYPE rs38l_fnam.
PARAMETER p_inv_no LIKE vbrk-vbeln OBLIGATORY .
Selecting Data
SELECT VBELN
ERDAT
VKORG
KUNRG
STCEG
NETWR
MWSBK
KNUMV
KUNAG
REGIO
FROM vbrk
INTO CORRESPONDING FIELDS OF TABLE it_vbrk
WHERE vbeln = p_inv_no .
SELECT matnr
kzwi1
kzwi2
kzwi3
kzwi4
kzwi5
netwr
mwsbp
meins
fklmg
arktx
FROM vbrp
INTO CORRESPONDING FIELDS OF TABLE it_vbrp
WHERE vbeln = p_inv_no .
Selecting Sales Order No.
SELECT SINGLE vbelv
FROM vbfa
INTO v_vbelv
WHERE vbeln = p_inv_no
AND vbtyp_v = 'C'.
IF sy-subrc = 0.
Selecting Delivery Challan...
SELECT SINGLE vbeln
FROM vbfa
INTO v_delch
WHERE vbelv = v_vbelv
AND vbtyp_n = 'J'.
SELECT SINGLE bstkd
FROM vbkd
INTO v_bstkd
WHERE vbeln = v_vbelv .
SELECT matnr kdmat
FROM vbap
INTO CORRESPONDING FIELDS OF TABLE it_vbap
WHERE vbeln = v_vbelv.
ENDIF.
READ TABLE it_vbrk INDEX 1.
IF sy-subrc = 0.
SELECT SINGLE kwert
FROM konv
INTO v_kwert
WHERE knumv = iT_vbrk-knumv
AND kschl = 'HD00'.
ENDIF.
Selecting From Address
SELECT SINGLE vkbur
FROM vbak
INTO v_vkbur
WHERE vbeln = v_vbelv.
IF sy-subrc = 0.
SELECT SINGLE adrnr
FROM tvbur
INTO v_adrnr1
WHERE vkbur = v_vkbur.
IF sy-subrc = 0.
SELECT SINGLE *
FROM adrc
INTO CORRESPONDING FIELDS OF it_adrc1
WHERE addrnumber = v_adrnr1.
APPEND it_adrc1.
ENDIF.
ENDIF.
APPEND it_adrc.
Selecting TO Address
SELECT SINGLE adrnr
FROM vbpa
INTO v_adrnr2
WHERE vbeln = p_inv_no
AND parvw = 'RE'.
IF sy-subrc = 0.
SELECT SINGLE *
FROM adrc
INTO CORRESPONDING FIELDS OF it_adrc2
WHERE addrnumber = v_adrnr2.
APPEND it_adrc2.
ENDIF.
Calling Function Module
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'YINVOICE_IS'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
fm_name = fm_name
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Calling Function Module
CALL FUNCTION fm_name
*'/1BCDWB/SF00000496'
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
i_vbelv = v_vbelv
i_bstkd = v_bstkd
i_kdmat = v_kdmat
i_kwert = v_kwert
i_delch = v_delch
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
it_vbrk = it_vbrk
it_vbrp = it_vbrp
it_vbap = it_vbap
it_adrc1 = it_adrc1
it_adrc2 = it_adrc2
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. "ENTRYhi,
use this code..
DATA: i_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
i_tline TYPE TABLE OF tline WITH HEADER LINE,
i_record LIKE solisti1 OCCURS 0 WITH HEADER LINE,
Objects to send mail.
i_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
i_objtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
i_objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE,
i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
Variables declarations
v_len_in LIKE sood-objlen, "#EC NEEDED
v_lines_txt TYPE i,
v_lines_bin TYPE i,
Work Area declarations
w_ctrlop TYPE ssfctrlop,
w_return TYPE ssfcrescl,
w_compop TYPE ssfcompop,
wa_objhead TYPE soli_tab,
wa_doc_chng TYPE sodocchgi1,
wa_buffer TYPE string. "To convert from 132 to 255
Put a IF ELSE condition whether u want form output or E-mail output..
if it is a E-mail.. then call a small Sub-routine within your program..
FORM f_email .
w_ctrlop-getotf = 'X'.
w_ctrlop-no_dialog = 'X'.
w_compop-tdnoprev = 'X'.
CALL FUNCTION fnam
EXPORTING
control_parameters = w_ctrlop
output_options = w_compop
nast = nast
v_tcode = v_tcode
IMPORTING
job_output_info = w_return
TABLES
it_vbdkr = it_tvbdkr[]
it_vbdpr = tvbdpr[]
it_zglentitycode = it_zglentitycode[]
it_vttk = it_vttk[]
it_kna1 = it_kna1[]
it_t005 = it_t005[]
it_adrc = it_adrc[]
it_ekpo = it_ekpo[]
it_ekko = it_ekko[]
it_vbrp = it_vbrp[]
it_mara = it_mara[]
it_vbrk = it_vbrk[]
it_likp = it_likp[]
it_vttp = it_vttp[]
it_t001 = it_t001[]
it_zlogdely = it_zlogdely[]
it_prod = it_prod[]
it_lineitems = it_lineitems[]
it_tvzbt = it_tvzbt[]
it_t173t = it_t173t[]
it_t005t = it_t005t[]
it_zplant = it_zplant[]
it_stxbitmaps = it_stxbitmaps[]
it_prod_desc = it_prod_desc[].
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
i_otf[] = w_return-otfdata[].
*Converting the OFT format data to PDf format
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = v_len_in
TABLES
otf = i_otf
lines = i_tline.
LOOP AT i_tline.
TRANSLATE i_tline USING '~'.
CONCATENATE wa_buffer i_tline INTO wa_buffer.
ENDLOOP.
TRANSLATE wa_buffer USING '~'.
DO.
i_record = wa_buffer.
APPEND i_record.
SHIFT wa_buffer LEFT BY 255 PLACES.
IF wa_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
Attachment
REFRESH:
i_reclist,
i_objtxt,
i_objbin,
i_objpack.
CLEAR wa_objhead.
i_objbin[] = i_record[].
Create Message Body
Title and Description
i_objtxt = 'COMMERCIAL INVOICE'.
APPEND i_objtxt.
DESCRIBE TABLE i_objtxt LINES v_lines_txt.
READ TABLE i_objtxt INDEX v_lines_txt.
wa_doc_chng-obj_name = 'COMMERCIAL INVOICE'.
wa_doc_chng-expiry_dat = sy-datum + 10.
wa_doc_chng-obj_descr = 'COMMERCIAL INVOICE'.
wa_doc_chng-sensitivty = 'F'.
wa_doc_chng-doc_size = v_lines_txt * 255.
CLEAR i_objpack-transf_bin.
i_objpack-head_start = 1.
i_objpack-head_num = 0.
i_objpack-body_start = 1.
i_objpack-body_num = v_lines_txt.
i_objpack-doc_type = 'RAW'.
APPEND i_objpack.
Attachment
(pdf-Attachment)
i_objpack-transf_bin = 'X'.
i_objpack-head_start = 1.
i_objpack-head_num = 0.
i_objpack-body_start = 1.
DESCRIBE TABLE i_objbin LINES v_lines_bin.
READ TABLE i_objbin INDEX v_lines_bin.
i_objpack-doc_size = v_lines_bin * 255 .
i_objpack-body_num = v_lines_bin.
i_objpack-doc_type = 'PDF'.
i_objpack-obj_name = 'COMMERCIAL INVOICE'.
i_objpack-obj_descr = 'COMMERCIAL INVOICE'.
APPEND i_objpack.
IF it_adr6[] IS NOT INITIAL.
LOOP AT it_adr6 INTO wa_adr6.
CLEAR i_reclist.
i_reclist-receiver = wa_adr6-smtp_addr.
i_reclist-rec_type = 'U'.
i_reclist-com_type = 'INT'.
APPEND i_reclist.
ENDLOOP.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = wa_doc_chng
put_in_outbox = 'X'
TABLES
packing_list = i_objpack
object_header = wa_objhead
contents_bin = i_objbin
contents_txt = i_objtxt
receivers = i_reclist.
ENDIF.
ENDFORM. " f_email
regards
vijay -
Xacute Send Mail by placing an iGrid in the message
It has been a few years since I have tried or seen this, but could someone either direct me or submit a sample of the format I should use when placing MII's applets in the message portion of the Send Mail in Xacute?
Well applets generally don't work in emails for a couple of reasons. For one.. MII security, second, outlook won't display it... But other than that, its just like any other HTML page if you set the Message Content Type to text/html.
Then you can drop in an applet call using the same syntax you would in a web page.
However I would highly recommend using pictures or html tables instead, not applets. -
Sending mail to OUTLOOK from SAP when error encountered in MM creation
Hi ,
I am able to send a message to SAP inbox which i can view from SBWP. But as well i need to send mail to the OUTLOOK .How can i send this OUTLOOK .
I have configured the mail id in SCOT.
Even i configured in SCOT with BASIS team i m not able to send mail to outlook.I even checked in SOST their is no entry in that .
Is their a need for writing separate logic for sending mail to OUTLOOK as well?
Regards,
Ranjith ,
+91-8431858286.HI Modak,
Please help me in getting out of this error encountered during a sample workflow thing.
Here is the requirement I need to send a OUTLOOK mail from SAP.If the user accepts the workflow task then mail need to send a recipient ,stating that he accepthed the request.
Below I designed that task.
In send Mail step I added the recipent thing as stated below.But I was unable to send mail to OUTLOOK .In this I am not even getting notification in my SBWP in SAP INBOX. -
Sending Vendor balance confirmation as a mail to vendor
Hi experts,
We have a requirement of sending the vendor balance confirmation as mail to vendor. Can anyone guide me in the nace configuration. What would be the application to be selected for configuration?
Thanks in advance,
NeelaHi Neela,
I am also looking for the same functionality and hence looked at your resolution comment.
I used tcode FIBF and looked for BTE in Environtment --> Infosystem (P/S) as well as Environtment --> Infosystem(Processes).
However I could not find the BTE 2140 in my system.
May be I am not loooking at the right place as I am new to this tcode.
Could you please guide me how to look for it?
Thanks in anticipation,
Nitish -
Things were going well. Mail was working fine and then the following error message appears out of nowhere. I had not changed any settings. From that point on all efforts to send mail failed, and the error message appeared even thought I used the password to log back in after I quit. Now, an hour after the problem started it takes my password (on the second try after the error message appears) once and sends a test message. Then, one minute later it gives the error message again and refuses to send anything. Why is mail so inconsistent? What can I do in the future to address the problem?
Error message reads "The SMTP server "xxxxx" rejected the password for user "xxx" Please re-enter your password or cancel.
When mail does work again. Should I click the remember this password in keychain or am I just asking for more trouble?
I'm writing this using my IMac computer in a different room. The error also occurs on my powerbook running my new MacBook Pro 12 inch.
Fed up Mac user.I"m no expert but this used to happen to me all the time (stop downloading, asking for my password, nothing downloading, walking away- 24 hours or more later, all is fine, only to later start all over again)
Well, i gave up for a long time and stopped using that account with mac mail and only accessed it online..recently went and changed the pop3 to only pop and now it works beautifully and seamlessly. Don't ask me why or how, but it does so thought I'd share. -
Print out as well as Sending mail of invoice
Hi
I have a requirement in invoice like, i need print out as well as I need to send mail to the user.
In T-code VF03 , My user will be giving only one transaction medium as External send.
But he needs the print out of the invoice also. how can we arrive at the solution for this..
Kindly send me reply .
Regards
UmaHello Uma,
Yes, it is possible.
As you are aware, the medium will be selected as per the input:
1 Print output
2 Fax
4 Telex
5 External send
6 EDI
7 Simple Mail
8 Special function
9 Events (SAP Business Workflow)
A Distribution (ALE)
If the user is selecting the Print output and he wants the same to be mailed, then add the logic to send the mail in the Z program.
You can get the value for medium in the program with the NAST-NACHA structure.
Please let me know if any more details are required.
Regards,
Selva K -
Send mail to spool list recipient from dynamically generated job
Hi Friends,
We are running the SAP payment run daily in background mode using the transaction F110S (program SAPF110S). We have scheduled the program SAPF110S to run in SM36 and have specified an email address there as Spool List Recipient.
The problem is that SAPF110S itself will dynamically create two new jobs: a job for the Proposal Run and a 2nd job for the Payment Run of F110. The name the system assigns to these jobs are generated at job release/start time in the format F110_CompanyCode_yyyymmdd - X (for the proposal step) and F110_CompanyCode_yyyymmdd (for the payment step).
The proposal and payment steps can create spool output. We want to have that mailed automatically by the system to a spool list recipient.
The problem is that these proposal and payment job steps which are created do not get a spool list recipient assigned, it is empty in SM37.
Is there any way to ensure that the spool list recipient which is populated in the calling job in SM36 gets transferred to the dynamically created proposal and payment steps jobs?
Thanks for your advice.
regards
MikeHi,
At the moment sending custom e-mails from front-end via forms is not a feature on our road-map.
What information do you want to include in the respective form, what are the fields supposed to be present in the form? You still have the auto-responder and the custom message in the workflow that could hopefully assist.
Kind Regards,
Alex -
Need an enhancement after releasing a PO Need to send a mail to vendor
Hi all,
I am having a requirement that, need to send a mail and attachment whenever a PO get released.
Can anyone help to find the enhancement for to write the code to send a mail to vendor.
Regards.
Ranganadh.Hi,
To send a mail when a new PO is created.
can be achievd by using class cl_bcs and BADI method
IF_EX_ME_PROCESS_PO_CUST~POST of BADI ME_PEOCESS_PO_CUST.
We can aslo configure the OUTPUT TYPE as MAIL in transaction NACE. This is usually doen by the Functional consultant.
Pls look into these exapmles which clearly explains abt the process of sending a mail-
Sending Mail using class cl_bcs
Re: Mail sending program
Re: SCOT and FM 'SO_NEW_DOCUMENT_ATT_SEND_API1'
Reward if helpful.
Best Wishes,
Chandralekha -
Payment Advice needs to be send as mail to Vendor through SAP.
Hi,
There is a requirement in my businees related to payment advice mail. After running T-Code: F110, spool getting generated with all the payment advice (lets say 20 advice at a time for different vendor). now we want to mail each advice to respective mail through SAP itself. Could you please provide me some idea through which i can achieve this functionality.
Thank you,
Manya.Please search SDN, you will find all the information already existing on this feature, e.g.:-
[F110 payment advice by e-mail;
Basically BTE event 2040 and 2050 is used for it.
Regards,
Gaurav -
i can't send an e-mail from thunderbird, it was working well though , suddenly it says the following message:An error occurred while sending mail. The mail server responded An error occurred while sending mail. The mail server responded: (Alis-MacBook-Air.local) [46.138.187.135]:51054 is currently not permitted
OR
i have changed the port from 587 to 465 but still cannot send e-mail, it keep sending and sending for 5 minutes and respond is time out?Can you post your Troubleshooting Information?
Help (Alt-H) - Troubleshooting Information -
Send e-mail to Vendors when Close Bid Invitation
I have a issue with SRM.
In Process BID Invitation, when the Bid is close by the button action "Close", Is possible to send an e-mail to the selected vendors, advising them about the closure of the BID invitation? Can I do this thru any BADI or another solution?
I think that in Auction, when I CLOSE them, an email is send to the vendors. Am I correct about this?
Can anyone please tell me how I can solve this problem?
This problem can be the Configuration? Is a SRM Problem or ABAP Problem?
Modaration Please, if this question is an incorrect forum, check and move to the appropriate.
Regards and tks a lot!
Edited by: Edgard Henrique Balam on Oct 29, 2008 8:21 PMHi Henri,
This blog may be useful for you.
I think it is possible if you have event which you desired
Bidder Alert Notifications
You can try.
Muthu
Edited by: Muthuraman Govindasamy on Oct 31, 2008 5:55 AM -
BADI for Vendor Invoice after Posting to send a mail to vendor
Hi,
My requirement Is like this.
I have to send a mail to vendor after the Invoice for vendor is Posted.
For dat I am searching for a badi to implement after the invoice is successfully posted.
Please give some solution about this.
Regards,
Jyoti..if it is F-43 . check out the following
BAdI Definition Description
AC_QUANTITY_GET Transfer of Quantities to Accounting - Customer Exit
BADI_ENJ_ALT_ADR Go to alternative vendor/customer data
BADI_F040_SCREEN_600 Screen Enhancement on F040 0600 Document Header
BADI_FDCB_SUBBAS01 Screen Enhancement 1 on FDCB Basic Data Screen (010, 510)
BADI_FDCB_SUBBAS02 Screen Enhancement 2 on FDCB Basic Data Screen (010, 510)
BADI_FDCB_SUBBAS03 Screen Enhancement 3 on FDCB Basic Data Screen (010, 510)
BADI_FDCB_SUBBAS04 Screen Enhancement 4 on FDCB Basic Data Screen (010, 510)
BADI_FDCB_SUBBAS05 Screen Enhancement 5 on FDCB Basic Data Screen (010, 510)
BADI_PRKNG_NO_UPDATE BAdI for Deactivating Update of Parked Documents
F050S008 FIDCC1, FIDCC2 Inbound IDoc: Update Comparison Ledger
FBAS_CIN_LTAX1F02 Tax interface
FBAS_CIN_MF05AFA0 EWT - Downpayment Clearing - Tax transfer for CIN
FI_AUTHORITY_ITEM Extended Authorization Check for Document Display (FB03)
FI_GET_INV_PYMT_AMT BAdI for determining the payment amount for an invoice
FI_HEADER_SUB_1300 Screen Enhancement for Document Header SAPMF05A
FI_PAYREF_BADI_010 BAdI: Payment Reference Number
FI_TRANS_DATE_DERIVE Derive BKPF-WWERT from Other Document Header Data
INVOIC_FI_INBOUND BADIs for Inbound IDoc INVOIC FI (Vendor Invoice)
RFESR000_BADI_001 BAdI for Own Processing of POR Item
otherwise - find out the package of the program of the transaction.
go to se84 - enhancements- business add ins - definitions - enter package and execute - you will see all the definations.
Maybe you are looking for
-
How can I include the article text/body in the RSS feed of the wiki updates section?
I recently migrated from Snow Leopard Server to Lion Server. Largely, because some people had trouble accessing via their PC under SLS. Our primary tool is the wiki. In Snow Leopard Server, we could generate an RSS feed for specific saved searches
-
Execute ABAP code in Start Routine only once
I have ABAP code in a start routine that I only want to execute once. Is there a way to tell this is first execution of the start routine? Also can I find out these value in the start routine ABAP: 1. How many data packets there are? 2. What data pac
-
How do I retrieve my newer photos if I restored from an old back up?
Hi, my sister lost all of her contacts somehow yesterday and wasn't prepared to save them all manually once again so she asked me to restore from a really old back up that I had of her phone on my iTunes. We didn't realise that this would affect her
-
How to test whether AIA got integrated with BRM system successfully
Is there a procedure to test whether AIA got integrated with BRM system successfully.How can i test whether BRM Adapter is able to connect to BRM system. Thanks well in advance Santosh
-
Expert advice needed on Remodeling and line item Dimension
Hi All, Scenario: I have a cube 0FIAP_C03 for line Item. Now in this cube one of the dimensions u201CC036 -Document Detailsu201D is reaching the size of the Fact table. We are planning to use Re-Modelling and shift some of the characteristics like 0D