on 04-07-2008 3:41 PM
Hi,
I need to send the invoice details by mail that are currently only printed through the edit function.
When i go to VF02 enter invoice number and then edit, is it possible to send this message through email with the invoice as pdf attachment?
Also it would be necessary to enter receivers email at that time.
Maybe there is an exit before the sending that could raise a popup...
Do you think this can be done this way?
Thanks,
Laurent.
Hi Laurent
I have done this succesfully in a different way:
1) Create a Z Table for the email ID per Bill to party - this table accomodates up to 999 email ids per customer and also has a column for CC
2) Create a new output type for EMAIL purposes with the Transmission medium as 1 -
assign the output program and form to this.
In the program, add new code to refer to the new Z table for getting the email ids of respective Bill to parties
In the program add code to convert the form to PDF format and attach to the email craeted.
Your ABAPPER should be able to assist in this code writing - in my case it took some time to get the desired result but the customers are very happy with the end result -
best wishes
Nandu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nanda,
Thanks for your reply,
I already did the coding for this problem. Actually i just copied the standard form program triggered by the print button and added otf transformation popup addings so that user can fill in email and subject, body text. After this the email is sent correctly with pdf attached.
Could you confirm that it is not possible to make two outputs in nace transaction for one action?
I tried this but never made it work...
Thanks,
Best regards,
Laurent.
Hi Laurent
I have done the work in ver 40B and the work is custom developed to send to multi email ids - and since I am working on the ECC 6 upgrade, I have yet to come yet to this development -
however, my initial analysis on this shows that SAP has delievred witrh Output mode 5 or 6 for External send - in such case I would update the output type condition master with multiple email ids -
need to test this out though
cheers
nandu
User | Count |
---|---|
101 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.