01-31-2014 5:57 AM
Hi friend's,
I have to send mail to a specific vendor for VF02 when click on output type how we can reach that goal can any one tel me..
Regard's,
Shaikh Ali.
01-31-2014 6:06 AM
How to send the customer billing document to the vendor - it is wrong!
I guess you want to send the billing document to the customer ( sold-to -party)
- for that need maintain the email address of the customer in customer master
- configure the output type for print program and form
go to the VF31 - enter the sold to party which you want to send the mail and process!
01-31-2014 6:32 AM
Hi Kiran,
thanks for soon replay,
actually my requirement is something like that when runing VF02 with value for billing docment and then user go to menu bar billing document and from there he select 'Issue Output To'in that time I need to send mail to given mail id of Vendor.i written code on save button is it going to trigger on output type.
Regard's,
Shaikh ali..
01-31-2014 6:34 AM
Hi,
- From where you are maintaining the mail id's
- are you using the standard print program or customized one?
01-31-2014 6:35 AM
When you create our Output, you could select the partner profil & the partner number to send the correspondance. You have to catch this in your Smartforms.
regards
Fred
01-31-2014 6:38 AM
01-31-2014 6:46 AM
Just based on the output type and output medium just write the own logic to send the mail!
- If you have the spool number - convert to PDF and send the mail - FM and codes are available
01-31-2014 6:49 AM
hi,prasanth,
thank's for replay
let me check first.
Regard's,
sheikh ali..
01-31-2014 9:57 AM
Hi shaikh,
Check it,
ask me if you want to further help.
thanks and regards
S V Prasanth
02-01-2014 7:18 AM
Hi Prasanth.
k diffentily I will do,
even I have another issue regarding to workflow...which I rise a issue in scn can you go through it...
Regard's,
Shaikh Ali.
01-31-2014 6:35 AM
Hi Shaikh Ali
I hope this will work.
Thanks and regards,
S.V Prasanth
01-31-2014 6:53 AM
Hi Shaik,
When you configure your out put type in NACE, there is a place where you can register a program and form (subroutine) as shown below:
So create one report program with a subroutine. In the subroutine you can place your code to send email.
For example, create a report with name ZSENDEMAIL and create a form FORM ENTRY.....ENDFORM.
In the above snapshot, enter program = ZSENDEMAIL and FORM routine = ENTRY.
Thank You,
Gajendra.
01-31-2014 7:05 AM
Hi gajendra
I know that even I written code by creating subroutine and attached in nace as output type..everything done I want to know when click on menu bar billing document and select issue output to in that time is it vl trigger my output from there or not?it's working on save but I want from menu bar billing documentf-issue output to..
Regard's,
sheikh khalid
01-31-2014 7:08 AM
It will trigger! Put the break point on your from entry_XXX Endform.
01-31-2014 7:14 AM
02-10-2014 5:26 AM
Hi prasanth,
I am not able to send mail using VF02 BILLING DOCUMENT I want It will send mail when I go menu bar billing document and select output issu to that time can you tel me badi or exit to reach that goal...
regard's,
sheikh ali..
02-10-2014 6:44 AM
Hi Shaik,
there may be BADI's or enhancement points exists, while click on menu bar billing document Output type. You can write the Email trigger FM code over there... It will work.
regards,
krishnaek.
02-10-2014 7:21 AM
Hi sheikh ali,
As per my knowledge,
We are not going to enhance the standard things.
Thanks and Regards
Prasanth.
02-12-2014 4:34 AM
Hi Prasanth,
Now i am able to send mail through output...
thank's for your help...
but I have another issue for same SF while sending mail. user are asking when I select output type it will send 2 copy of mail at a time..is it possible if so then how we can reach this goal ?
Regard's,
sheikh ali.
02-12-2014 11:26 AM
Hi Shaikh,
Go to VF02 - output messages - Header details - communication method
In that you can set the Number of messages as 2: it will give the two prints for each invoice document!
Rg, Kiran
02-12-2014 11:26 AM
Hi Sheikh ali,
You are welcome.
I didnt understand your requirement properly, can u please elaborate your requirement.
what are the 2 copies of mail?. Is that 2 mails or Original copy and duplicate copy of smartform or related to cc and bcc of mails or some thing else?
If u provide this information i will help u to resolve your issue
Regards
Prasanth SV
02-12-2014 11:33 AM
hi prasanth,
I need to print 2 copy of smartform which is attach to output type in vf02 but when I run vf02 and select output type and press ok it will not showing pop-up for spool control where I can give number of copyes as'2' how will get that pop-up present it showing form output..
regard's,
sheikh ali.
02-12-2014 11:43 AM
hi kiran,
Thank's for your soon replay.
let me check first ,will get back to you ..
regard's,
sheikh ali.
02-12-2014 11:59 AM
Hi Sheikh ali,
We dont get that popup when we process through VF02.
If the user need 2 copies all the time then you change your code as follows.
Call SSF_OPEN FM in that
provide exporting parameters pass OUTPUT_OPTIONS-TDCOPIES = 2.
Where we print this form 2 copies will come by default.
Note : when using SSF_OPEN use SSF_CLOSE also.
Hope i fulfill your requirement.
Regards,
Prasanth
02-13-2014 5:42 AM
hi prasanth,
let me go through it as you told.
regard's,
sheikh ali.
02-15-2014 5:08 AM
hi prasanth,
again my issue come from start when I run VF02 and press enter and go option goto and select output type and press save in that time my output with mail body will triggering correct but from vf02 -menu bar billing document and selecting output type and press print button then it will not triggering mai mail body(which contain text) but direct output will come correct I want mai text to be come with output in pdf?
is any exit or badi else there let me know?I develop code in (BADI_SD_BILLING~INVOICE_DOCUMENT_CHECK)but it not working from vf02 billing document-output type.on high priority
regard's,
sheikh.ali
02-18-2014 9:29 AM
hi shaikh ali,
what you want exactly from VF02?
either smartforms ?
or PDF?
or mail with attach PDF?
or you print directly(PDF/SF)?
Please convey your requirement clearly.
if my answers are helpful or correct pl mark that option then i understand which answer is correct which answer is help you.
regards
Prasanth
02-19-2014 4:58 AM
Hi,
thank's a lot my problem was solve.
thread was closed..
Regard's,
sheikh ali.