cancel
Showing results for 
Search instead for 
Did you mean: 

how to stop creating mutiple performa invoice from delivery document

Former Member
0 Kudos

case -

i am creating stock transfer performa invoice on the basis of stock trf purchase order and delivery document. i want to stop creating multiple performa invoice.

Mukesh Kumar

Accepted Solutions (0)

Answers (2)

Answers (2)

krishna_mohan34
Participant
0 Kudos

Dear Sap Sd Gurus,

This issue has been not solved as off now, what is the reason

whether standard settings are not available or we have to use any user exit.

Thanks in advance

Former Member
0 Kudos

Hi Mukesh,

I am assuming the proforma invoice is created from the delivery document. If you want to stop multiple proforma invoices, then you can use a copying requirements routine in the delivery to billing copy control.

In transaction VTFL, the copy control configuration between the relevant delivery type and proforma invoice type specifies a 'copying requirements' routine (e.g. 003 - Header / dlv .- related). A developer can make a copy of this routine and add additional code to check for existing proforma invoices against the delivery. If one is found then set SY-SUBRC to 4 which will fail the requirement and therefore no new proforma invoice will be created.

Cheers,

KC

Former Member
0 Kudos

Thanks Krishna for your immidiate response,

your assumption was right the billing document is based on the delivery document. i have tried in copy control 003. getting the error that document is not relavent for billing.

one more thing where wud i find the code the copy control 003 so that changes can be made.

Thanks

Former Member
0 Kudos

Hi,

In copy control (VTFL) for your Delivery to Billing document, select and go to details of your Item category.

Enter Copying requirement 311 avaiable in stadard SAP.

Now, only one Proforma can be created from the Delivery.

Before creating Proforma, you need to do PGI, otherwise system will give error message.

Regards

Pradyumna

Former Member
0 Kudos

i am trying with copy control 311 after PGI. still getting the error "The item is not relevant for billing" while creating billing document. my item category is NL.

Thanks reply awaited

csaba_szommer
Active Contributor
0 Kudos

If your requirement is to generate a certain output automatically only once for a certain document, you can set it for the output type in transaction NACE (for example - NACE --> select the application --> "Output types").

There's a "Multiple issuing" indicator (VN_T685B-MEHRF) through which you can control the desired behaviour.

Edited by: Csaba Szommer on Jul 28, 2010 1:40 PM

Sorry, I misunderstood your question...please neglect the suggestions above...

As per SAP online help there's no limitation how many proforma invoices can be created from one delivery / sales order:

http://help.sap.com/erp2005_ehp_04/helpdata/EN/dd/5610c9545a11d1a7020000e829fd11/frameset.htm

If you want to restrict this, I think you should follow KC's suggestion and modify your copy control routine.

Since in standard system this function does not exists you won't find suitable copy routine. That's why - in my opinion - you should use the same copy routine which has been set till now - you just have to modify it (add an ABAP code to check whether proforma invoice is already created or not; maybe you can check the entries in table VBFA)

Edited by: Csaba Szommer on Jul 28, 2010 1:46 PM