Symptom
Error code - SCHEMA ERROR
Error Description- The field Unit must be a string with a minimum length of 3 and a maximum length of 8.
Environment
SAP Business ByDesign
Reproducing the Issue
- Create Sales order with any product with UoM lenght Less than 3 i.e EA, m, WK. and sales active
- Release the sales order and Release the customer demand.
- Procress the Delivery proposal.
- Post the Goods Issue.
- Create the sales invoice with refrences to Invoice request.
- Send the invoice for Legal approval.
- Download the E-Inoice ( JSON File)
- Upload the JSON file on the Govt Portal with valid login.
- Receive the Error msg
Error Description- The field Unit must be a string with a minimum length of 3 and a maximum length of 8.
Cause
This error is due to master data setup issue with your unit of measure as per e-invoicing requirement.
Resolution
Since GST portal expects the UoMs to be minimum of 3 characters.
Kindly adapt all your UoMs which you will be using to send to GST portal to minimum 3 characters via BC activity “Quantities and Units of Measure”.
For example, from “ea” to “nos” or “eac” OR "h" to "hrs" etc. This ‘nos’ or ‘eac’ or 'hrs' are just suggestions, it could be anything that your end user also understands, but with minimum of 3 characters since GST portal needs it.
- Go to the Business Configuration work center.
- Select the Implementation Projects view.
- Select your implementation project and click on the Open Activity List button.
- Navigate to the Fine Tune step.
- Open the fine tuning activity Quantities and Units of Measure.
- Select the respective hyperlink for the Unit e.g. for EA select Create and Maintain Trading Units.
- Change the UoM Symbol of the respective Unit of measure e.g. ea to nos or eac.
- Save your changes.
For affected e-invoices which are already created, you could either
1) change the UoM symbol in file manually and upload in GST portal or
2) you could 'Rollback Legal Approval' and then 'Request Legal Approval' in case you would prefer system to generate file with new UoM symbol value(Re-Login and try this)
Keywords
India GST , KBA , AP-CI-CI-GLO , Cross-Country Extensions , Problem