cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict to Create duplicate Billing doc

Former Member
0 Kudos

Dear Experts,

We need to restrict duplicate billing document number (VF01) against same Debit or Credit note Sales order reference.

presently system allowed to create multiple billing document number against same sales order

Regards

BK GAIKWAD

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Hi

In table TVCPF the field PLMIN has to be set to '+' for a regular billing scenario. This allows the system to correctly calculate the status of each document. When you create a billing document the system writes an for that document entry in to table VBFA against the reference document with the corresponding PLMIN entry. So if you have a G2 DMR for a Qty of 5, and you create a G2 debit memo in VF01 for Qty 5 the VBFA-PLMIN will have + and the result of this will be the reference G2 DMR will show as fully billed (VBUK-FKSAK = 'C')

So this is the first thing that could be wrong if you are able to create another billing document
Otherwise your TVCPF-PLMIN field is set correctly but you are not checking the status of the
reference document. In a normal standard order related case you would have copy requirement 002 assigned at the item category level in table TVCPF. This routine would check the billing status
(VBUP-FKSAA) and it would not allow a second billing document if it was already billed.

Hope this helps you identify the issue in your case

kind regards
Brian


Former Member
0 Kudos

Sir,

Thanks to reply,

Requirement is correct. will check copy control & replay

BK GAIKWAD

Lakshmipathi
Active Contributor
0 Kudos

I presume, you intend to say Credit Note or Debit Note and not Billing Document being created multiple times against same CMR or DMR.  Nevertheless, system will not allow multiple Debit Memos or Credit Memos or Billing Documents.  In your case, if it is allowing, then check your copy control settings.

G. Lakshmipathi