on 08-22-2011 10:28 PM
After completing PGI, business wants to take a printout of proforma invoice F8 automatically. How to do this?
The truck driver shall take this invoice to the SH To address. Give him 1 copy and get another signed copy back.
Please help, thank you in advance!
hi,
Option 1: Setup a batch job for VF04/ VF06 which will pick up this delivery and do the billing.
Assign an output type to this billing doc, F8 and configure it to trigger automatically in NACE.
Option 2: Assign a output type to the delivery with medium as special function which should be a Z-program. This z-program should trigger the F8 invoice immediately and the F8 invoice should have an output type for the printing part.
The same has been discussed here:
[http://www.sapfans.com/forums/viewtopic.php?f=5&t=332840]
Regards,
RS.
Edited by: Rags on Aug 22, 2011 10:57 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
From this link, below post is the best answer -
Two questions -
1. Is it functional consultant's job or technical consultant / ABAPer's job to do - to setup a Batch job for the Proforma invoice with the Program SDBILLDL in the transaction code SM36?
2. Below indicates that when delivery is created then - via program running in batch - Proforma shall be created, but my business requirement is upon PGI, how to handle this?
Thank you!
Re: Proforma Invoice F8 automatic creation
Posted: Sep 23, 2009 1:54 PM in response to: NICKELODEON Reply
Hi,
You need to setup a Batch job for the Proforma invoice with the Program SDBILLDL in the transaction code SM36.
Goto the Transaction code SM36 and setp a job with the program SDBILLDL , then it will fetch all the Deliveries which are pending for the Billing of proforma.
And in the Transaction code NACE create a output type and assign the Print program and the smartform to the output type .
Create the print program in SE38 and the Smartform in the transaction code SMARTFORMS with the help of ABAPers
Assign this Output to the Output determination procedure .
Now maintain the condition records for the Pfororma billing document F8 and the sales organisation
In the condition records maintain the Medium as PRINT OUTPUT
and the Despatch mode as the 4 ( process the output once the document was saved).
Now once the Delivery was created, the batch job will fetch the delivery and create the proforma invoice and then the output which was created in the NACE will trigger automatically and process.
Once it was process, Spool will generate and simltaneously the output request and the invoice will send to the printer maintained in the condition records.
Please do the above steps and revert back if u find any issue in doing.
regards,
santosh
Edited by: Typewriter on Aug 23, 2011 1:17 AM
Edited by: Typewriter on Aug 23, 2011 1:25 AM
Hi,
1) Functional needs to decide on whether batch job needs to be setup or not and ABAPer will set it up.
2) Create a z-program which checks if PGI is done or not..if PGI is done only then the billing F8 should be created. You'll have to build a logic and call standard FM/ BAPI to create billing for F8 and then attach an output to F8 for the printing part.
Regards,
RS
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
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.