UPDATE_ADDRESS_2 SAP Method Update an address of technical Type 2









Below is documentation, parameters and attributes of ABAP Method UPDATE_ADDRESS_2 within SAP class /BOFU/IF_ADDR_MODIFY. 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 /BOFU/IF_ADDR_MODIFY 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 UPDATE_ADDRESS_2 can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method UPDATE_ADDRESS_2

.

NameTypeData TypeDescriptionDefault Value
IT_DATAImportingTYPE
/BOFU/ADDRT_VERSION
International address versions of the address
IV_ADDRESS_HANDLEImportingTYPE
AD_HANDLE
Handle for Creating Addresses/Persons (Bus. Addr. Services)
IV_ADDRESS_NUMBERImportingTYPE
AD_ADDRNUM
Address number
IV_PERSON_HANDLEImportingTYPE
AD_HANDLE
Handle for Creating Addresses/Persons (Bus. Addr. Services)
IV_PERSON_NUMBERImportingTYPE
AD_PERSNUM
Person number
ET_ERRORExportingTYPE
ADDR_ERROR_TAB
ADDR_ERROR table type



Exceptions of Method UPDATE_ADDRESS_2

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /BOFU/IF_ADDR_MODIFY.
DATA: lv_ET_ERROR TYPE ADDR_ERROR_TAB,
lv_IT_DATA TYPE /BOFU/ADDRT_VERSION,
lv_IV_ADDRESS_HANDLE TYPE AD_HANDLE,
lv_IV_ADDRESS_NUMBER TYPE AD_ADDRNUM,
lv_IV_PERSON_HANDLE TYPE AD_HANDLE,
lv_IV_PERSON_NUMBER TYPE AD_PERSNUM,
lv_other TYPE c.

CALL METHOD lo_class=>UPDATE_ADDRESS_2(
EXPORTING
IT_DATA = lv_IT_DATA
IV_ADDRESS_HANDLE = lv_IV_ADDRESS_HANDLE
IV_ADDRESS_NUMBER = lv_IV_ADDRESS_NUMBER
IV_PERSON_HANDLE = lv_IV_PERSON_HANDLE
IV_PERSON_NUMBER = lv_IV_PERSON_NUMBER
IMPORTING
ET_ERROR = lv_ET_ERROR ).

Links to Related Class(s)

/BOFU/IF...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!