Ansicht
Dokumentation

/SAPCE/IUTR_COUNTY_CHANGE - Change County

/SAPCE/IUTR_COUNTY_CHANGE - Change County

RFUMSV00 - Advance Return for Tax on Sales/Purchases   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You use this function module to change the properties of a county such as the county name and code, as well as the county's assignment to country and city (note that, in Turkey, you use the city code to identify the province). The function module makes these changes in the /SAPCE/IUTR_COU table and, in the case of county names, in the /SAPCE/IUTR_COUT table.

You specify the parameters as follows:

  • The existing properties of the township in the following import parameters:
  • IV_COUNTRY

  • IV_CITY_CODE

  • IV_COUNTY_CODE

So that the system can identify the county that you want to change, specifying values for the above parameters is mandatory.
  • The properties with which you want to replace existing properties in the corresponding fields of the IS_COUNTY import parameter
  • If you want to change the name of the county, you must also specify the corresponding language key in the IV_SPRAS import parameter structure.
    Note, the system uses only the language key that you define in this parameter. It does not use any language keys that you specify in the IS_COUNTY-SPARS parameter.

The return value of the EV_DB_UPDATE export parameter indicates whether the function module has run successfully:

  • 'X' ,,Successful run
  • No value,,No entries have been created in the address database

Example

The examples below illustrate how you can use this function module to change county properties:

  • You want to reassign the county to a different city
In addition to the mandatory import parameters, you specify the new city code in the IS_COUNTY import parameter structure.
The system changes the city assignment for the given county in the /SAPCE/IUTR_COU and the /SAPCE/IUTR_COUT tables to the new values.
  • You want to change the name of a county in a given language:
In addition to the mandatory import parameters, you also specify a language key in the IV_SPRAS parameter, and a new county name in the COUNTY_NAME parameter field of the IS_COUNTY import parameter structure.
The system changes the county name in the /SAPCE/IUTR_COUT table in the specified language
  • You want make the following changes in a single run:
  • Reassign the county to a different city

  • Change the county's name in a given language

In addition to the mandatory import parameters, you also specify a new city code and a language key in the IS_COUNTY parameter structure.
The system changes the city assignment for the given county in the /SAPCE/IUTR_COU and /SAPCE/IUTR_COUT tables. It also changes the county name in the /SAPCE/IUTR_COUT table in the specified language.

Notes

Further information





Parameters

EV_DB_UPDATE
IS_COUNTY
IV_CITY_CODE
IV_COUNTRY
IV_COUNTY_CODE
IV_SPRAS

Exceptions

GENERAL_FAULT
INPUT_ERROR

Function Group

CE/SAPLIUTR_ADDRESS_UPDATE

CPI1466 during Backup   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 3749 Date: 20240329 Time: 070649     sap01-206 ( 83 ms )