FORMAT_ADDRESS_DESCRIPTION SAP Method Format address description
Below is documentation, parameters and attributes of ABAP Method FORMAT_ADDRESS_DESCRIPTION within SAP class /SCTM/CL_SP_ROUTE. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.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_ROUTE into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method FORMAT_ADDRESS_DESCRIPTION can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method FORMAT_ADDRESS_DESCRIPTION
.| Name | Type | Data Type | Description | Default Value |
| IS_ADDRESS | Importing | TYPE ADDR1_DATA | Address transfer structure | |
| IV_ADDRESS_NUMBER | Importing | TYPE AD_ADDRNUM | Address number | |
| RV_ADDRESS_DESCRIPTION | Returning | TYPE STRING |
Exceptions of Method FORMAT_ADDRESS_DESCRIPTION
This method does not have any exceptionsExample ABAP coding
This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.DATA: lo_class TYPE REF TO /SCTM/CL_SP_ROUTE.
DATA: lv_IS_ADDRESS TYPE ADDR1_DATA,
lv_IV_ADDRESS_NUMBER TYPE AD_ADDRNUM,
lv_RV_ADDRESS_DESCRIPTION TYPE STRING,
lv_other TYPE c.
CALL METHOD lo_class=>FORMAT_ADDRESS_DESCRIPTION(
EXPORTING
IS_ADDRESS = lv_IS_ADDRESS
IV_ADDRESS_NUMBER = lv_IV_ADDRESS_NUMBER
RECEIVING
RV_ADDRESS_DESCRIPTION = lv_RV_ADDRESS_DESCRIPTION )
"Alternate coding for Method Call with returning parameter
lv_RV_ADDRESS_DESCRIPTION = lo_class=>FORMAT_ADDRESS_DESCRIPTION(
EXPORTING
IS_ADDRESS = lv_IS_ADDRESS
IV_ADDRESS_NUMBER = lv_IV_ADDRESS_NUMBER ).
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