SAP Knowledge Base Article - Public

3848060 - DRC ES: Spain VAT Return Model 303 error: 'Value ES01 is not listed in the permitted values'

Symptom

Spain VAT Return Model 303 (ES_VAT_DCL_M303_NATIONAL) is generated with the error: "Value ES01 is not listed in the permitted values".

Environment

SAP S/4HANA Cloud Public Edition.

Reproducing the Issue

  1. Open the Statutory reports app.
  2. Run the report Spain VAT Return Model 303 (ES_VAT_DCL_M303_NATIONAL).
  3. Observe the error: "Value ES01 is not listed in the permitted values".

Cause

Incorrect value maintained for configuration parameter ES_IAE_MAIN_ACTIVITY_CODE (value ES01), which is not among the legally permitted values.

Resolution

  1. Open the Setting Up Your Statutory Reporting (101071) configuration activity. 
  2. Choose the reporting entity, i.e.: ES_RPG_ENT
  3. Choose the report category: ES_VAT_DCL_M303_NATIONAL 
  4. Access the Enter Parameters Specific to Reporting Entity
  5. Identify the configuration parameter ES_IAE_MAIN_ACTIVITY_CODE used for Spain Form 303.
  6. Update ES_IAE_MAIN_ACTIVITY_CODE to a permitted value according to the current legal list for Spain.
  7. Save the configuration and regenerate the Spain VAT Return Model 303 report.

See Also

refer to: Configuration Parameters for Setting Up Form 303

Keywords

Spain VAT, Modelo 303, Model 390, ES_VAT_DCL_M303_NATIONAL, ES_IAE_MAIN_ACTIVITY_CODE, "Value ES01 is not listed in the permitted values", statutory reports, VAT return, Spain form 303, permitted values error, configuration parameter, activity code, legal values, reporting error , KBA , FI-LOC-FI-ES , Spain , Problem

Product

SAP S/4HANA Cloud Public Edition all versions