cancel
Showing results for 
Search instead for 
Did you mean: 

Control Excise invoice cancellation

Former Member
0 Kudos

Hi All

Our Business process is Proforma invoice -


Excise invoice -


Commercial invoice (Pass to accounting )

Problem - After generating Commercial invoice system is allowing to cancel Excise invoice through J1IH or J1IIN with out checking commercial invoice ..

We need the system to check Commercial invoice at the time of cancelling Excise invoice .

Is there any user exit or Badi to control the Cancellation of Excise invoice if commercial invoice exists

View Entire Topic
Lakshmipathi
Active Contributor
0 Kudos

You can try in J_1I7_USEREXIT_EXCISE_BEF_SAVE where you can define a logic such that if there is F2 preceding document, then the respective excise invoice should not be cancelled. For this, you can consider table J_1IEXCHDR and the Field STATUS.

thanks

G. Lakshmipathi