cancel
Showing results for 
Search instead for 
Did you mean: 

Error in cancel excise invoice

Former Member
0 Kudos

Hi,

When i try to canccel the excise document in J1IH, i get the error as Message: 4F235,Reference of xxxxx/YYYY exists in open ARE document. but, no ARE exists for this document. Please let me know how to cancel this document.

Thanks & regards,

Prasad

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member209761
Active Contributor
0 Kudos

Dear Prasad,

Please check the following thread

https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=765028

and apply note

Note 765028 - Error 4F235 occurs during excise invoice cancellation

Check and revert back.

Thanks & Regards,

Hegal K Charles

Former Member
0 Kudos

Dear Hegal K Charles,

Thanks For your Quick responce,

we are using ECC 6.0 ,is this note supports are not for this verson ?

Thanks & Regards,

Prasad.

former_member209761
Active Contributor
0 Kudos

Dear Prasad,

With the little ABAP knowledge, i request you to check the include MJ1IHF01 with the help of your ABAPer.

Check whether j_1iexchdr-expind is NOT EQUAL TO SPACE and NOT EQUAL TO N

if yes,

In table j_1iexcdtl put

( trntyp = 'ARE1' OR 'ARE3' ) AND

rdoc2 = excise_number AND

ryear2 = excise_year AND

and check status NOT IN ('B','R').

If status is not in B or R, then this error which you are facing will get triggered.

Check and revert back.

Thanks & Regards,

Hegal K Charles

Former Member
0 Kudos

Dear Charles,

Pls check below program in the include.and sugest accordingly.

Thanks & Regards,

PRASAD.

INCLUDE MJ1IHF01 *

----


  • All the forms which are used in this module pool

----


&----


*& Form EXIT_TRANSACTION

&----


  • Form to process the Exit transaction routine *

----


FORM exit_transaction.

PERFORM unlock_excise_invoice.

IF sy-dynnr EQ '0050'.

SET SCREEN 0.

LEAVE SCREEN.

ELSE.

SET SCREEN 50.

LEAVE SCREEN.

ENDIF.

ENDFORM. " EXIT_TRANSACTION

&----


*& Form VALIDATE_MATL_DOC_NUMBER

&----


  • To validate the Matl document number provided as reference *

----


FORM validate_matl_doc_number.

PERFORM clear_values.

  • to check if already used

PERFORM mat_doc_already_exists.

  • To display the line item data for valid material documents entered.

PERFORM retr_mat_doc_line_item_data.

  • Checking for Valid Material Document Number

IF sy-subrc NE 0.

MESSAGE e202.

ENDIF.

ENDFORM. " VALIDATE_MATL_DOC_NUMBER

&----


*& Form DOC_YEAR_NOT_INITIAL

&----


  • To ask for Document year if empty *

----


FORM doc_year_not_initial.

IF jv_document-year IS INITIAL.

MESSAGE e418.

ENDIF.