Ansicht
Dokumentation
/SAPCE/IUTR_TOWNSHIP_CHANGE - Change Township Properties
Vendor Master (General Section) PERFORM Short ReferenceThis documentation is copyright by SAP AG.
Functionality
You use this function module to change the properties of a township such as the township name and code, as well as the township'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_TS table and, in the case of township names, in the /SAPCE/IUTR_TST 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
- IV_TOWNSHIP_CODE
- So that the system can identify the township 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_TOWNSHIP import parameter
- If you want to change the name of the township, 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_TOWNSHIP-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 township properties:
- You want to reassign the township to a different county and city
- In addition to the mandatory import parameters, you specify the new city and county codes in the IS_TOWNSHIP import parameter structure.
- The system changes the city and county assignments for the given township in the /SAPCE/IUTR_TS and the /SAPCE/IUTR_TST tables to the new values.
- You want to change the name of a township 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 township name in the TOWNSHIP_NAME parameter field of the IS_TOWNSHIP import parameter structure.
- The system changes the township name in the /SAPCE/IUTR_TST table in the specified language
- You want to make the following changes in a single run:
- Reassign the township to a different county and city
- Change the township's name in a given language
- In addition to the mandatory import parameters, you also specify a new city code, county code and a language key in the IS_TOWNSHIP parameter structure.
- The system changes the city and county assignments for the given township in the /SAPCE/IUTR_TS and /SAPCE/IUTR_TST tables. It also changes the township name in the /SAPCE/IUTR_TST table in the specified language.
Notes
Further information
Parameters
EV_DB_UPDATEIS_TOWNSHIP
IV_CITY_CODE
IV_COUNTRY
IV_COUNTY_CODE
IV_SPRAS
IV_TOWNSHIP_CODE
Exceptions
GENERAL_FAULTINPUT_ERROR
Function Group
CE/SAPLIUTR_ADDRESS_UPDATESUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up Addresses (Business Address Services)
This documentation is copyright by SAP AG.
Length: 3971 Date: 20240419 Time: 144531 sap01-206 ( 52 ms )