MODIFY_ADDRESS SAP Method Modify a number of addresses









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

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


Parameters of Method MODIFY_ADDRESS

.

NameTypeData TypeDescriptionDefault Value
IT_ADDRESS_MODIFICATIONImportingTYPE
/BOFU/ADDRT_ADDRESS
Table of Addresses
IV_USE_CHANGED_FIELDSImportingTYPE
XFELD
Consider CHANGED_FIELDS for Updates and Inserts
ET_CHANGE_NOTIFICATIONSExportingTYPE
/BOFU/ADDRT_CHANGE_NOTIFI
Table of address change notifications
ET_DELETION_RESULTExportingTYPE
/BOFU/ADDRT_DELETION_RESULT
Result of the deletion of multipel addresses
ET_ERRORExportingTYPE
/BOFU/ADDRT_ERROR
Error Table for class CL_ADDR_MAIN
ET_NEW_ADDRESS_IDExportingTYPE
/BOFU/ADDRT_CREATED_ID
Newly created Ids



Exceptions of Method MODIFY_ADDRESS

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /BOFU/CL_ADDR_MAIN_AP_FACADE.
DATA: lv_ET_CHANGE_NOTIFICATIONS TYPE /BOFU/ADDRT_CHANGE_NOTIFI,
lv_ET_DELETION_RESULT TYPE /BOFU/ADDRT_DELETION_RESULT,
lv_ET_ERROR TYPE /BOFU/ADDRT_ERROR,
lv_ET_NEW_ADDRESS_ID TYPE /BOFU/ADDRT_CREATED_ID,
lv_IT_ADDRESS_MODIFICATION TYPE /BOFU/ADDRT_ADDRESS,
lv_IV_USE_CHANGED_FIELDS TYPE XFELD,
lv_other TYPE c.

CALL METHOD lo_class=>MODIFY_ADDRESS(
EXPORTING
IT_ADDRESS_MODIFICATION = lv_IT_ADDRESS_MODIFICATION
IV_USE_CHANGED_FIELDS = lv_IV_USE_CHANGED_FIELDS
IMPORTING
ET_CHANGE_NOTIFICATIONS = lv_ET_CHANGE_NOTIFICATIONS
ET_DELETION_RESULT = lv_ET_DELETION_RESULT
ET_ERROR = lv_ET_ERROR
ET_NEW_ADDRESS_ID = lv_ET_NEW_ADDRESS_ID ).

Links to Related Class(s)

/BOFU/CL...
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!