EXIST_POSTAL_CODE SAP Method Check if Postal Code is valid
Below is documentation, parameters and attributes of ABAP Method EXIST_POSTAL_CODE within SAP class /SCTM/CL_SP. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /SCTM/CL_SP into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method EXIST_POSTAL_CODE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method EXIST_POSTAL_CODE
.| Name | Type | Data Type | Description | Default Value |
| IV_COUNTRY | Importing | TYPE LAND1 | Country key | |
| IV_PCODE | Importing | TYPE AD_PSTCD1 | City Postal Code |
Exceptions of Method EXIST_POSTAL_CODE
/SCTM/CX_UI_RG_DATA - Routing Guide UI: Incorrect Input DataExample ABAP coding
DATA: lv_IV_COUNTRY TYPE LAND1,
lv_IV_PCODE TYPE AD_PSTCD1,
lv_other TYPE c.
CALL METHOD /SCTM/CL_SP=>EXIST_POSTAL_CODE(
EXPORTING
IV_COUNTRY = lv_IV_COUNTRY
IV_PCODE = lv_IV_PCODE ).
Links to Related Class(s)
/SCTM/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects