Skip to Content
avatar image
Former Member

Error in cancel excise invoice

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jul 27, 2011 at 07:02 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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.