cancel
Showing results for 
Search instead for 
Did you mean: 

Proforma Invoice F8 automatic creation

Former Member
0 Kudos

Dear colleagues,

We are using the standard Proforma invoice F8 for some of our Deliveries.

I am searching for ways to have this document created and printed as soon as the Delivery has been created.

Any suggestions for me? Thanks a bunch,

Nickelodeon

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Nickelodeon

This can be achieved by two ways:

1) Schedule your VF04 or VF06 for 5-10minutes gap, such that they will create invoice from your delivery.

2) Create a Z program which will create invoice from your delivery. Assign that program to some Z output type for your delivery type. Once you save the delivery your output type will trigger and will create proforma invoice.

hope this answer your post

0 Kudos

Dear Bheem,

using VF04/VF06 for proforma invoices will not work for two reasons:

1) A delivery item which is only relevant for proforma, will not create an entry in the billing-due index, so the document will not be found by VF04/VF06.

2) Issuing a proforma invoice does not change the billing status of the delivery item. So running the batch job every five minutes will issue a new proforma invoice for all of your deliveries again and again and again — every 5 minutes.

Your 2nd suggestion does also not work, because output processing sets a lock on the delivery. When the Z-program tries to create the invoice, it cannot, because the delivery is locked...

Best regards

Elmar

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

Maybe you can use the Basic Shipping Function with Output Control.

The IMG Path is:

SPRO> Logistics Execution> Shipping -->Basic Shipping Functions -->Output Control

--> Output Determination --> Maintain Output Determination for Outbound Deliveries

Setting a new Output Type for automatic create the proforma Inovice.

Then create an ABAP program, use the BAPI: BAPI_BILLINGDOC_CREATEFROMDATA.

Tks.

Edited by: hui yang on Sep 23, 2009 1:46 PM