SAP ADDR_PERSONAL_EXP_SUBSCREEN Function Module for
ADDR_PERSONAL_EXP_SUBSCREEN is a standard addr personal exp subscreen SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for addr personal exp subscreen FM, simply by entering the name ADDR_PERSONAL_EXP_SUBSCREEN into the relevant SAP transaction such as SE37 or SE38.
Function Group: SZA7
Program Name: SAPLSZA7
Main Program: SAPLSZA7
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ADDR_PERSONAL_EXP_SUBSCREEN pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'ADDR_PERSONAL_EXP_SUBSCREEN'".
EXPORTING
* ADDRESS_NUMBER = ' ' "Address Number (Key of Database Table)
* CHECK_ADDRESS = 'X' "Flag: Check address contents
* CURSOR_FIELD = "
* SET_CURSOR_MODE = '1' "Indicator: Automatic Cursor Positioning Permitted
* IV_VALID_FROM = ' ' "Communication Data: Valid From (JJJJMMTTSSMMSS)
* IV_VALID_TO = ' ' "Communication Data: Valid Until (JJJJMMTTSSMMSS)
* IV_SUGGESTED_VALID_FROM = "
* IV_SUGGESTED_VALID_TO = "
* ADDRESS_HANDLE = ' ' "
* PERSON_NUMBER = ' ' "
* PERSON_HANDLE = ' ' "
* PERSON_GROUP = "Person group (key)
* DIALOG_MODE = 'DISPLAY' "
* SUGGESTED_VALUES = "Field string created with proposals
* SUGGESTED_COMM_VALUES = "
* ADDRESS_IS_OPTIONAL = ' ' "
EXCEPTIONS
PERSON_NOT_EXIST = 1 GROUP_NOT_VALID = 2 PARAMETER_ERROR = 3 INTERNAL_ERROR = 4
IMPORTING Parameters details for ADDR_PERSONAL_EXP_SUBSCREEN
ADDRESS_NUMBER - Address Number (Key of Database Table)
Data type: ADRC-ADDRNUMBERDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
CHECK_ADDRESS - Flag: Check address contents
Data type: SZAD_FIELD-FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
CURSOR_FIELD -
Data type: SCRFNAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
SET_CURSOR_MODE - Indicator: Automatic Cursor Positioning Permitted
Data type: AD_SCMODEDefault: '1'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_VALID_FROM - Communication Data: Valid From (JJJJMMTTSSMMSS)
Data type: AD_VALFROMDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_VALID_TO - Communication Data: Valid Until (JJJJMMTTSSMMSS)
Data type: AD_VALTODefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_SUGGESTED_VALID_FROM -
Data type: AD_VALFROMOptional: Yes
Call by Reference: Yes
IV_SUGGESTED_VALID_TO -
Data type: AD_VALTOOptional: Yes
Call by Reference: Yes
ADDRESS_HANDLE -
Data type: SZAD_FIELD-HANDLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
PERSON_NUMBER -
Data type: ADRP-PERSNUMBERDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
PERSON_HANDLE -
Data type: SZAD_FIELD-HANDLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
PERSON_GROUP - Person group (key)
Data type: ADRGP-PERS_GROUPOptional: Yes
Call by Reference: No ( called with pass by value option)
DIALOG_MODE -
Data type: SZAD_FIELD-MAINT_MODEDefault: 'DISPLAY'
Optional: Yes
Call by Reference: No ( called with pass by value option)
SUGGESTED_VALUES - Field string created with proposals
Data type: ADDR2_DATAOptional: Yes
Call by Reference: No ( called with pass by value option)
SUGGESTED_COMM_VALUES -
Data type: ADDR2_COMMOptional: Yes
Call by Reference: No ( called with pass by value option)
ADDRESS_IS_OPTIONAL -
Data type: SZAD_FIELD-FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
PERSON_NOT_EXIST -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
GROUP_NOT_VALID -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PARAMETER_ERROR - Incorrect parameter values
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INTERNAL_ERROR - Serious internal error (MESSAGE A...)
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ADDR_PERSONAL_EXP_SUBSCREEN Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_address_number | TYPE ADRC-ADDRNUMBER, " SPACE | |||
| lv_person_not_exist | TYPE ADRC, " | |||
| lv_check_address | TYPE SZAD_FIELD-FLAG, " 'X' | |||
| lv_cursor_field | TYPE SCRFNAME, " | |||
| lv_set_cursor_mode | TYPE AD_SCMODE, " '1' | |||
| lv_iv_valid_from | TYPE AD_VALFROM, " SPACE | |||
| lv_iv_valid_to | TYPE AD_VALTO, " SPACE | |||
| lv_iv_suggested_valid_from | TYPE AD_VALFROM, " | |||
| lv_iv_suggested_valid_to | TYPE AD_VALTO, " | |||
| lv_address_handle | TYPE SZAD_FIELD-HANDLE, " SPACE | |||
| lv_group_not_valid | TYPE SZAD_FIELD, " | |||
| lv_person_number | TYPE ADRP-PERSNUMBER, " SPACE | |||
| lv_parameter_error | TYPE ADRP, " | |||
| lv_person_handle | TYPE SZAD_FIELD-HANDLE, " SPACE | |||
| lv_internal_error | TYPE SZAD_FIELD, " | |||
| lv_person_group | TYPE ADRGP-PERS_GROUP, " | |||
| lv_dialog_mode | TYPE SZAD_FIELD-MAINT_MODE, " 'DISPLAY' | |||
| lv_suggested_values | TYPE ADDR2_DATA, " | |||
| lv_suggested_comm_values | TYPE ADDR2_COMM, " | |||
| lv_address_is_optional | TYPE SZAD_FIELD-FLAG. " SPACE |
|   CALL FUNCTION 'ADDR_PERSONAL_EXP_SUBSCREEN' " |
| EXPORTING | ||
| ADDRESS_NUMBER | = lv_address_number | |
| CHECK_ADDRESS | = lv_check_address | |
| CURSOR_FIELD | = lv_cursor_field | |
| SET_CURSOR_MODE | = lv_set_cursor_mode | |
| IV_VALID_FROM | = lv_iv_valid_from | |
| IV_VALID_TO | = lv_iv_valid_to | |
| IV_SUGGESTED_VALID_FROM | = lv_iv_suggested_valid_from | |
| IV_SUGGESTED_VALID_TO | = lv_iv_suggested_valid_to | |
| ADDRESS_HANDLE | = lv_address_handle | |
| PERSON_NUMBER | = lv_person_number | |
| PERSON_HANDLE | = lv_person_handle | |
| PERSON_GROUP | = lv_person_group | |
| DIALOG_MODE | = lv_dialog_mode | |
| SUGGESTED_VALUES | = lv_suggested_values | |
| SUGGESTED_COMM_VALUES | = lv_suggested_comm_values | |
| ADDRESS_IS_OPTIONAL | = lv_address_is_optional | |
| EXCEPTIONS | ||
| PERSON_NOT_EXIST = 1 | ||
| GROUP_NOT_VALID = 2 | ||
| PARAMETER_ERROR = 3 | ||
| INTERNAL_ERROR = 4 | ||
| . " ADDR_PERSONAL_EXP_SUBSCREEN | ||
ABAP code using 7.40 inline data declarations to call FM ADDR_PERSONAL_EXP_SUBSCREEN
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single ADDRNUMBER FROM ADRC INTO @DATA(ld_address_number). | ||||
| DATA(ld_address_number) | = ' '. | |||
| "SELECT single FLAG FROM SZAD_FIELD INTO @DATA(ld_check_address). | ||||
| DATA(ld_check_address) | = 'X'. | |||
| DATA(ld_set_cursor_mode) | = '1'. | |||
| DATA(ld_iv_valid_from) | = ' '. | |||
| DATA(ld_iv_valid_to) | = ' '. | |||
| "SELECT single HANDLE FROM SZAD_FIELD INTO @DATA(ld_address_handle). | ||||
| DATA(ld_address_handle) | = ' '. | |||
| "SELECT single PERSNUMBER FROM ADRP INTO @DATA(ld_person_number). | ||||
| DATA(ld_person_number) | = ' '. | |||
| "SELECT single HANDLE FROM SZAD_FIELD INTO @DATA(ld_person_handle). | ||||
| DATA(ld_person_handle) | = ' '. | |||
| "SELECT single PERS_GROUP FROM ADRGP INTO @DATA(ld_person_group). | ||||
| "SELECT single MAINT_MODE FROM SZAD_FIELD INTO @DATA(ld_dialog_mode). | ||||
| DATA(ld_dialog_mode) | = 'DISPLAY'. | |||
| "SELECT single FLAG FROM SZAD_FIELD INTO @DATA(ld_address_is_optional). | ||||
| DATA(ld_address_is_optional) | = ' '. | |||
Search for further information about these or an SAP related objects