SAP ADDR_PERSONAL_DIALOG_PREPARE Function Module for Sets parameters for address maintenance special cases (person)
ADDR_PERSONAL_DIALOG_PREPARE is a standard addr personal dialog prepare SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Sets parameters for address maintenance special cases (person) processing and below is the pattern details for this FM, 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 dialog prepare FM, simply by entering the name ADDR_PERSONAL_DIALOG_PREPARE into the relevant SAP transaction such as SE37 or SE38.
Function Group: SZA7
Program Name: SAPLSZA7
Main Program: SAPLSZA7
Appliation area: S
Release date: 02-Sep-1999
Mode(Normal, Remote etc): Normal Function Module
Update:
Function ADDR_PERSONAL_DIALOG_PREPARE 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_DIALOG_PREPARE'"Sets parameters for address maintenance special cases (person).
EXPORTING
* FIELD_SELECTION = ' ' "Field selection control template
* USE_PSEUDO_REQUIRED_FIELDS = ' ' "Display Required Entry Fields as Pseudo Required Entry Fields
* IV_TIME_DEPENDENCE = ' ' "Time-Specific Maintenance of Communication Data
* FIELD_SELECTION_FOR_NATION = ' ' "Field Selection Control Structure (Bus. Address Services)
* USE_FS_FOR_NATION = ' ' "Checkbox field
* KEYWORDS = ' ' "Dynamic keywords structure
* TITLEBAR = ' ' "Maintenance screen title line
* CHANGE_DEFAULT_COMM_TYPES = ' ' "Activate/deactivate communication types
* FRAME_TEXT = ' ' "Dynamic frame texts
* DEFAULT_URI_TYPE = ' ' "Default URI/URL/FTP type
* SHOW_PUSHBOTTONS_AT_TOP = ' ' "Display toolbar (subscreen only)
TABLES
* EXCLUDED_FUNCTIONS = "Functions to be excluded (GUI status)
* INCLUDED_FUNCTIONS = "Additional Functions (Transfer Communication Data)
* ERROR_TABLE = "Table with errors, warnings, information
EXCEPTIONS
INTERNAL_ERROR = 1
IMPORTING Parameters details for ADDR_PERSONAL_DIALOG_PREPARE
FIELD_SELECTION - Field selection control template
Data type: ADDR2_FSEL-FISELDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
USE_PSEUDO_REQUIRED_FIELDS - Display Required Entry Fields as Pseudo Required Entry Fields
Data type: XFELDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_TIME_DEPENDENCE - Time-Specific Maintenance of Communication Data
Data type: XFELDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FIELD_SELECTION_FOR_NATION - Field Selection Control Structure (Bus. Address Services)
Data type: ADDR2_FSEL-FISELDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
USE_FS_FOR_NATION - Checkbox field
Data type: SZAD_FIELD-FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
KEYWORDS - Dynamic keywords structure
Data type: ADDR2_KEYWDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TITLEBAR - Maintenance screen title line
Data type: SY-TITLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
CHANGE_DEFAULT_COMM_TYPES - Activate/deactivate communication types
Data type: ADDR_COMMDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FRAME_TEXT - Dynamic frame texts
Data type: ADDR_FRAMEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
DEFAULT_URI_TYPE - Default URI/URL/FTP type
Data type: ADURI-URI_TYPEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SHOW_PUSHBOTTONS_AT_TOP - Display toolbar (subscreen only)
Data type: SZAD_FIELD-FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ADDR_PERSONAL_DIALOG_PREPARE
EXCLUDED_FUNCTIONS - Functions to be excluded (GUI status)
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
INCLUDED_FUNCTIONS - Additional Functions (Transfer Communication Data)
Data type:Optional: Yes
Call by Reference: Yes
ERROR_TABLE - Table with errors, warnings, information
Data type: ADDR_ERROROptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
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_DIALOG_PREPARE 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_internal_error | TYPE STRING, " | |||
lv_field_selection | TYPE ADDR2_FSEL-FISEL, " SPACE | |||
lt_excluded_functions | TYPE STANDARD TABLE OF ADDR2_FSEL, " | |||
lv_use_pseudo_required_fields | TYPE XFELD, " SPACE | |||
lv_iv_time_dependence | TYPE XFELD, " SPACE | |||
lt_included_functions | TYPE STANDARD TABLE OF XFELD, " | |||
lv_field_selection_for_nation | TYPE ADDR2_FSEL-FISEL, " SPACE | |||
lt_error_table | TYPE STANDARD TABLE OF ADDR_ERROR, " | |||
lv_use_fs_for_nation | TYPE SZAD_FIELD-FLAG, " SPACE | |||
lv_keywords | TYPE ADDR2_KEYW, " SPACE | |||
lv_titlebar | TYPE SY-TITLE, " SPACE | |||
lv_change_default_comm_types | TYPE ADDR_COMM, " SPACE | |||
lv_frame_text | TYPE ADDR_FRAME, " SPACE | |||
lv_default_uri_type | TYPE ADURI-URI_TYPE, " SPACE | |||
lv_show_pushbottons_at_top | TYPE SZAD_FIELD-FLAG. " SPACE |
  CALL FUNCTION 'ADDR_PERSONAL_DIALOG_PREPARE' "Sets parameters for address maintenance special cases (person) |
EXPORTING | ||
FIELD_SELECTION | = lv_field_selection | |
USE_PSEUDO_REQUIRED_FIELDS | = lv_use_pseudo_required_fields | |
IV_TIME_DEPENDENCE | = lv_iv_time_dependence | |
FIELD_SELECTION_FOR_NATION | = lv_field_selection_for_nation | |
USE_FS_FOR_NATION | = lv_use_fs_for_nation | |
KEYWORDS | = lv_keywords | |
TITLEBAR | = lv_titlebar | |
CHANGE_DEFAULT_COMM_TYPES | = lv_change_default_comm_types | |
FRAME_TEXT | = lv_frame_text | |
DEFAULT_URI_TYPE | = lv_default_uri_type | |
SHOW_PUSHBOTTONS_AT_TOP | = lv_show_pushbottons_at_top | |
TABLES | ||
EXCLUDED_FUNCTIONS | = lt_excluded_functions | |
INCLUDED_FUNCTIONS | = lt_included_functions | |
ERROR_TABLE | = lt_error_table | |
EXCEPTIONS | ||
INTERNAL_ERROR = 1 | ||
. " ADDR_PERSONAL_DIALOG_PREPARE |
ABAP code using 7.40 inline data declarations to call FM ADDR_PERSONAL_DIALOG_PREPARE
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 FISEL FROM ADDR2_FSEL INTO @DATA(ld_field_selection). | ||||
DATA(ld_field_selection) | = ' '. | |||
DATA(ld_use_pseudo_required_fields) | = ' '. | |||
DATA(ld_iv_time_dependence) | = ' '. | |||
"SELECT single FISEL FROM ADDR2_FSEL INTO @DATA(ld_field_selection_for_nation). | ||||
DATA(ld_field_selection_for_nation) | = ' '. | |||
"SELECT single FLAG FROM SZAD_FIELD INTO @DATA(ld_use_fs_for_nation). | ||||
DATA(ld_use_fs_for_nation) | = ' '. | |||
DATA(ld_keywords) | = ' '. | |||
"SELECT single TITLE FROM SY INTO @DATA(ld_titlebar). | ||||
DATA(ld_titlebar) | = ' '. | |||
DATA(ld_change_default_comm_types) | = ' '. | |||
DATA(ld_frame_text) | = ' '. | |||
"SELECT single URI_TYPE FROM ADURI INTO @DATA(ld_default_uri_type). | ||||
DATA(ld_default_uri_type) | = ' '. | |||
"SELECT single FLAG FROM SZAD_FIELD INTO @DATA(ld_show_pushbottons_at_top). | ||||
DATA(ld_show_pushbottons_at_top) | = ' '. | |||
Search for further information about these or an SAP related objects