SAP Knowledge Base Article - Public

3554496 - GST: "Error in routine MRM_INVOICE_POST" on MIRO/MR8M -S/4HANA Cloud Public Edition - GST IN

Symptom

Using app Create Supplier Invoice - Advanced (MIRO) / Cancel Supplier Invoice Document (MR8M) the following error appears: "Error in routine MRM_INVOICE_POST" / M8607

Environment

  • Materials Management (MM)
  • SAP S/4HANA Cloud Public Edition
  • This is relevant for India Localization or Country India version (CIN) component

Reproducing the Issue

1. Execute app Create Supplier Invoice - Advanced (MIRO) / Cancel Supplier Invoice Document (MR8M).

2. Fill in the required details (depending on the transaction).

3. Press "Save".

4. Error M8607 shows up.

Cause

Validation is done for GST related fields, the possible errors raised are:

MSGID = J_1IG_MSGS / MSGNO = 014 -> "Missing GST Partner"
MSGID = J_1IG_MSGS / MSGNO = 015 -> "Missing Place of Supply"
MSGID = J_1IG_MSGS / MSGNO = 020 -> "Missing Business Place"
MSGID = J_1IG_MSGS / MSGNO = 018 -> "Missing HSN/SAC validation"

Resolution

Dividing it into two categories:

1. The first three errors (014, 015, 020) are known to be raised during transaction MIRO if any of the following fields is blank:

So in order to avoid them these should be filled.
If you are trying to cancel a document through Cancel Supplier Invoice Document (MR8M), the opposite document can be created in transaction Create Supplier Invoice - Advanced (MIRO) and in that way fill these fields to avoid the error.
If, though, these are to be empty, you can follow point 2.

2. If the business requirement is to have any of those fields empty, the Errors may be customized into Warning messages (under own responsibility)           
Use the SSCUI: 101923 for Customizing the error message into warning message 

Keywords

GST, IN, India, Localization, validation, MIRO, MR8M, J_1IG_MSGS, Invoice, Create, Cancel, BAPI, EDI, ERS, supported, CUSTOMS_VAL.ECC, GST, IN, SSCUI, Cloud,  Indien, Lokalisierung, Validierung,  J_1IG_MSGS, Rechnung, anlegen, stornieren, unterstützt, J_1IG_CL_LIV_VALIDATE, J_1IG_LIV_GST_VALIDATIONS, MRM_INVOICE_POST , KBA , FI-LOC-MM-IN , India (aka XX-CSC-IN-MM) , FI-LOC-SD-IN , India (aka XX-CSC-IN-SD) , FI-LOC-LO-IN , India , Problem

Product

SAP S/4HANA Cloud Public Edition all versions