cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict if the excise invoice isn't cancel we can't cancel the billing Doc

prasanna_kumar4
Active Contributor
0 Kudos

HI

How to Restrict if the excise invoice is not cancel we can't cancel the billing Document

I know if the billing document is Cleared we can restrict by using the copy control Requirement in VOFA (29)

Is it possible to Standard SAP ? if Yes how?

Regards,

Prasanna

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

There's no standard for this. We had a similar issue.

You'll have to use the billing user exit RV60AFZZ.

You can check the excise header table with the excise invoice status and the referred billing document.

Former Member
0 Kudos

Hi,

This is not possible with standard SAP.

It is enhancement.Use Program RV60AFZZ.This has to be done at VF11 T-code level.

Thank you.

Former Member
0 Kudos

Dear prasanna_sap,

It is not possible in standard SAP.

You have to go for a development.

Exit RV60AFZZ-USEREXIT_NUMBER_RANGE

Please find the logic

If XVBRP-WERKS = J_1IWRKCUS - J_1IWERKS Pass the XVBUK - VBELN to J_1IEXCHDR u2013 RDOC, If STATUS = R the document should not allow saving (Error message: Excise invoice to be cancelled first), else allow saving.

Please let me know if you have any further clarifications.

Thanks&Regards

Raghu.k

prasanna_kumar4
Active Contributor
0 Kudos

Thanks for reply,

Can you please provide same way like how to control in Delivery level also

without billing cancellation and without PGI Cancellation

Regards,

Prasanna

Former Member
0 Kudos

If you are doing delivery related billing, I dont think you need to use any userexit in the delivery since unless you cancel the billing you wont be able to reverse PGI / cancel delivery, assuming that you have the code written in your billing user exit for checking the excise invoice.

If you are talking about depot operations where you refer the delivery doc while creating the excise invoice, in that case you can use the same logic for billing, because in your excise table, the referred socument number would be your delivery document.

Userexit would be - MV50AFZZ.

prasanna_kumar4
Active Contributor
0 Kudos

Thanks for Reply,

I tries in my system , its accepting the Reverse Goods through VL09

i want to restrict that one also

In MV50AFZZ what user exit i need to use i found only 2 user-exits {FORM USEREXIT_BATCH_DETERMINATION, FORM USEREXIT_LGORT_DETERMINATION.}

Please guide me how to solve the issue

Regards,

Prasanna

Former Member
0 Kudos

But PGI reversal would be possible only after you have cancelled your billing. Are you trying to say that you can reverse PGI even without cancelling your billing doc?

Lakshmipathi
Active Contributor
0 Kudos

Check this thread

[billing document cancellation should not be allowed if excise invoice exist|;

G. Lakshmipathi