Menu

SAP Function Module ADDR_NUMBER_GET

Take address number for new address (Business Address Services)

The Function Module ADDR_NUMBER_GET (Take address number for new address (Business Address Services)) is a standard Function Module in SAP ERP and is part of the function group SZA0 within the package SZAD.

Technical Information

Function Module ADDR_NUMBER_GET
Short Text Take address number for new address (Business Address Services)
Function Group SZA0
Package SZAD
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ADDRESS_HANDLE LIKE SZAD_FIELD-HANDLE Address Handle (Temporary Key)
ADDRESS_REFERENCE LIKE ADDR_REF Address reference (fill correctly -> see long text)
E071K_WA LIKE E071K Prepopulated structure for transport entry
GENERATE_TRANSPORT_ENTRIES LIKE SZAD_FIELD-FLAG Indicator: Generate entries for transport request
NUMBERRANGE_NUMBER LIKE INRI-NRRANGENR '01' Number range from which the number is taken
OWNER LIKE SZAD_FIELD-FLAG 'X' Indicator: Application object is owner of address
PERSONAL_ADDRESS LIKE ADRC-PERS_ADDR SPACE Indicator: Personal Address (Address Type 2)

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ADDRESS_NUMBER LIKE ADRC-ADDRNUMBER Number taken from the number range
RETURNCODE_NUMBERRANGE LIKE INRI-RETURNCODE Return code when taking number

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
E071K_TAB LIKE E071K All transport entries that belong to address

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
ADDRESS_HANDLE_NOT_EXIST Transferred address handle does not exist
INTERNAL_ERROR Serious internal error (MESSAGE A...)
PARAMETER_ERROR Incorrect parameter values