on 07-27-2011 7:48 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.