cancel
Showing results for 
Search instead for 
Did you mean: 

How to stop Billing docs to get cancelled once Debit/Credit memos are created

Former Member
0 Kudos

Dear All,

Please guide me how to stop Billing documents to get cancelled thru T-code: VF11 once subsequent Debit/Credit memos are created in the system.

At present, Original Invoice (billing type F2) created Debit memo (billing typr ZBL3) thru copu control but still User can cancel original Invoive F2 thru VF11.

As per user requirement, once subsequent DMR/CMRs are raised, system should not allow to cancel previous billed F2 invoices.Please suggest how to do it.

Thanks & Regards,

Saurabh

Accepted Solutions (1)

Accepted Solutions (1)

ivano_raimondi
Active Contributor
0 Kudos

Hello Saurabh,

in transaction VOFA there is the field Requirement 'TVFK-GRBED_S'.

This field can be filled with a routine, performed when the billing type is revered by VF11.

You could create your own routine by transaction VOFM checking in table VBFA if there are subsequent CMR/DMR.

Best regards,

Ivano.

Former Member
0 Kudos

Hello Ivano,

I have not understood how to do it. Can you please explain it in detail?

Regards,

Saurabh

Lakshmipathi
Active Contributor
0 Kudos

In VOFA select your billing document type and execute.  There you can see a field Copying requirements where you can assign a routine adding your own logic which your ABAPer can do.  Else, try with billing exit USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)

G. Lakshmipathi

Answers (0)