on 11-03-2009 9:30 AM
Hello to all,
this is my first post in this big, special and great community.
Many thanks to all people in background for realizing and customizing !
I have a request to print the normal invoice and to send the invoice as pdf copy to the creator of the invoice at the same time.
Using include RVADOPFO and medium 5 would be the correct solution, if I could use the email field in customer master data entering the mail adress of the creator.
But it is not possible, the field is used otherwise.
Can anybody help me to solve the problem ?
Thanks in advance and regards
Claus
Hi Claus,
I would like to add to solution given above.
For second output, In the print program you can read the user who has created the output, this is available in NAST-USNAM. then you can read his email id in PA0105 (assuming you are maintaining this in SAP).
You can maintain condition record for output with billing type with timing 4.
Thus whenever you save the invoice, the creator will receive the mail with PDF.
Hope this is helpful, let me know if you need anything.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello together,
thanks for your answers at the moment, but I have an additional question:
Must I have to different printprograms, I mean one for medium1 and one for medium 5 ( including RVADOPFO ? ).
Shoul I read the NAST-USNAM then in the second printprogram ?
My problem is, we have an older z_program without RVADOPFO.
How should I realize in detail ? Can you give me a little step-by-step information ?
Thanks for your answers.
Best Regards
Claus
Edited by: Claus on Nov 12, 2009 2:14 PM
Hi,
One Print Program is sufficient to generate the Print invoice and send the Invoices as PDF to customer.
In the NACE transaction code , In the OUTPUT TYPE define a output with the Transaction medium as 1 & 5
In the CONDITION RECORDS in VV33 also maintain the MEDIUM as 1 and 5
Alternatively you can you one program to generate the PDF and save to your LOCAL file and send to customer
The PROGRAM to generate the PDF is RSTXPDFT4
Please check them and let us know your feedback
regards,
santosh
Hello to all,
thanks again for your answers.
But I assume, there is a missunderstanding.
I will not send a PDF to the customer. The request is to send a PDF to the creator of the invoice.
Unfortunately I have no possibiltiy to use HR-datas of the user.
So in the first step I have to set the user email address hardcoded in the printprogram.
That is the request.
Thanks for further answers and
Kind regards
Claus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Claus
You could do this by having 2 output types defined in T Code NACE one for print output (Medium 1) & Dispatch Time --> Send with application transaction (Option 3)
and the other for Medium 5 (External Send) & Dispatch Time --> Send with application transaction (Option 3)
When you issue the print output from the first output type, it will go to the printer, where as the second one will be created as a spool request. Now you need to schedule a job to send this as mail attachment (PDF).
...
regards
Sundar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
97 | |
10 | |
9 | |
6 | |
3 | |
3 | |
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.