SAP Function ADDR_DELETE - Deletion of an address without dialog

Parameter Reference Type Length Default Optional Text
ADDRESS_HANDLE SZAD_FIELD-HANDLE C 140 SPACE X Address handle (temporary key)
ADDRESS_NUMBER ADCP-ADDRNUMBER C 10 SPACE X Address Number (Key of Database Table)
ADDRESS_REFERENCE ADDR_REF u 145 Reference to Address
DATE_FROM ADCP-DATE_FROM D 8 '00010101' X (Reference Date for Address)

Parameter Reference Type Length Text
RELATIONS_EXIST SZAD_FIELD-FLAG C 1 Persons are still assigned to the address
RETURNCODE SZAD_FIELD-RETURNCODE C 1 Return code: ' '(ok), 'I'nfo, 'W'arning, 'E'rror

Parameter Reference Length Optional Text
ERROR_TABLE ADDR_ERROR 288 X Table with errors, warnings, information

Exception Text
ADDRESS_NOT_EXIST Address does not exist
INTERNAL_ERROR Serious internal error
PARAMETER_ERROR Incorrect parameter values
REFERENCE_NOT_EXIST Entered reference does not exist

Notes
The deletion of the address (or the reference) initially affects thelocal memory of the function group SZA0.
The function module ADDR_MEMORY_SAVE must always be called in order tosave the changes.

Further information
Function group documentation