SAP BPAR_P_ADDRESS_SELECT Function Module for NOTRANSL: Auswahl einer Anschrift
BPAR_P_ADDRESS_SELECT is a standard bpar p address select SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Auswahl einer Anschrift 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 bpar p address select FM, simply by entering the name BPAR_P_ADDRESS_SELECT into the relevant SAP transaction such as SE37 or SE38.
Function Group: BPPC
Program Name: SAPLBPPC
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function BPAR_P_ADDRESS_SELECT 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 'BPAR_P_ADDRESS_SELECT'"NOTRANSL: Auswahl einer Anschrift.
EXPORTING
* ADDRESS_IN = ' ' "BP Structure: Address
* FLG_MAINTAIN = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* FLG_POPUP = 'X' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* FLG_WILDCARDS = 'X' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* FLG_NO_CHECK_ADDRESS = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* FLG_SAVE_IN_UPDT = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
IMPORTING
ADDRESS_OUT = "BP Structure: Address
FLG_MODIFIED = "DE-EN-LANG-SWITCH-NO-TRANSLATION
EXCEPTIONS
ADDRESS = 1 CANCELLED = 2
IMPORTING Parameters details for BPAR_P_ADDRESS_SELECT
ADDRESS_IN - BP Structure: Address
Data type: BPDADRDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FLG_MAINTAIN - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FLG_POPUP - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
FLG_WILDCARDS - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
FLG_NO_CHECK_ADDRESS - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FLG_SAVE_IN_UPDT - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for BPAR_P_ADDRESS_SELECT
ADDRESS_OUT - BP Structure: Address
Data type: BPDADROptional: No
Call by Reference: No ( called with pass by value option)
FLG_MODIFIED - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ADDRESS - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
CANCELLED - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for BPAR_P_ADDRESS_SELECT 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 | TYPE STRING, " | |||
| lv_address_in | TYPE BPDADR, " SPACE | |||
| lv_address_out | TYPE BPDADR, " | |||
| lv_cancelled | TYPE BPDADR, " | |||
| lv_flg_maintain | TYPE BPDADR, " SPACE | |||
| lv_flg_modified | TYPE BPDADR, " | |||
| lv_flg_popup | TYPE BPDADR, " 'X' | |||
| lv_flg_wildcards | TYPE BPDADR, " 'X' | |||
| lv_flg_no_check_address | TYPE BPDADR, " SPACE | |||
| lv_flg_save_in_updt | TYPE BPDADR. " SPACE |
|   CALL FUNCTION 'BPAR_P_ADDRESS_SELECT' "NOTRANSL: Auswahl einer Anschrift |
| EXPORTING | ||
| ADDRESS_IN | = lv_address_in | |
| FLG_MAINTAIN | = lv_flg_maintain | |
| FLG_POPUP | = lv_flg_popup | |
| FLG_WILDCARDS | = lv_flg_wildcards | |
| FLG_NO_CHECK_ADDRESS | = lv_flg_no_check_address | |
| FLG_SAVE_IN_UPDT | = lv_flg_save_in_updt | |
| IMPORTING | ||
| ADDRESS_OUT | = lv_address_out | |
| FLG_MODIFIED | = lv_flg_modified | |
| EXCEPTIONS | ||
| ADDRESS = 1 | ||
| CANCELLED = 2 | ||
| . " BPAR_P_ADDRESS_SELECT | ||
ABAP code using 7.40 inline data declarations to call FM BPAR_P_ADDRESS_SELECT
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.| DATA(ld_address_in) | = ' '. | |||
| DATA(ld_flg_maintain) | = ' '. | |||
| DATA(ld_flg_popup) | = 'X'. | |||
| DATA(ld_flg_wildcards) | = 'X'. | |||
| DATA(ld_flg_no_check_address) | = ' '. | |||
| DATA(ld_flg_save_in_updt) | = ' '. | |||
Search for further information about these or an SAP related objects