SAP Knowledge Base Article - Public

3622853 - How are the country or origin or region of origin are determine

Symptom

  • Country of origin is empty in the intrastat declaration.
  • Error message 'Enter a valid country of origin' occurs in transaction /ECRS/RP_EDIT. 
    • technical error message: /ECRS/BL_TD 071

Environment

  • SAP S/4HANA
  • SAP S/4HANA Cloud Private Edition
  • SAP S/4HANA Cloud Public Edition 
  • International Trade Management - Intrastat 

Reproducing the Issue

  1. Navigate to transaction /ECRS/RP_EDIT. 
  2. Select the POI. 
  3. Open the intrastat declaration. 
  4. Choose an item from the list. 
  5. Observe the error message 'Enter a valid country of origin' (/ECRS/BL_TD 071).

Cause

Country of origin is missing for the material. 

Resolution

Country of origin is determine as follow: 

  • For receipt side (purchase order) 
    1. If an info record exists, it is checked whether the country of origin is maintained in the info record or not. 
      1. Go into table EKPO and check the field EKPO-INFNR. 
      2. If an info-record exists, check in table EINA whether the country of origin (EINA-URZLA) is filled or not. 
    2. If no info-record exists or country of origin is not filed, it will be determine from batch. 
      1. Go into table 

Keywords

KBA , FT-ITR-ISR , Intrastat Reporting , Problem

Product

SAP S/4HANA Cloud Public Edition 2502