SAP BPAR_R_PARTNER_CHECK Function Module for NOTRANSL: ZGP: Prüfung auf das Vorhandensein eines Partners und Lesen Part
BPAR_R_PARTNER_CHECK is a standard bpar r partner check 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: ZGP: Prüfung auf das Vorhandensein eines Partners und Lesen Part 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 r partner check FM, simply by entering the name BPAR_R_PARTNER_CHECK into the relevant SAP transaction such as SE37 or SE38.
Function Group: BPR0
Program Name: SAPLBPR0
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function BPAR_R_PARTNER_CHECK 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_R_PARTNER_CHECK'"NOTRANSL: ZGP: Prüfung auf das Vorhandensein eines Partners und Lesen Part.
EXPORTING
PARTNER = "Partner
* RELEASE = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* READ_FROM_DB = ' ' "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_XMEMORY = ' ' "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
* I_XWA = ' ' "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
* I_CONV = 'X' "Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
* ZGP = ' ' "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
IMPORTING
BP000_ENTRY = "Business Partner Master (General Data)
E_BUS000 = "BP: General Data I (Read)
E_BUS001 = "BP: General Data II (Read)
E_BP001 = "FS-Specific Attributes; Organization
E_CUSTOMER = "Customer Number
EXCEPTIONS
PARTNER = 1 PARTNER_NOT_RELEASED = 2 WRONG_PARAMETERS = 3
IMPORTING Parameters details for BPAR_R_PARTNER_CHECK
PARTNER - Partner
Data type: BP000-PARTNROptional: No
Call by Reference: No ( called with pass by value option)
RELEASE - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
READ_FROM_DB - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_XMEMORY - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_XWA - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_CONV - Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
Data type: BOOLE-BOOLEDefault: 'X'
Optional: Yes
Call by Reference: Yes
ZGP - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for BPAR_R_PARTNER_CHECK
BP000_ENTRY - Business Partner Master (General Data)
Data type: BP000Optional: No
Call by Reference: No ( called with pass by value option)
E_BUS000 - BP: General Data I (Read)
Data type: BUS000Optional: No
Call by Reference: No ( called with pass by value option)
E_BUS001 - BP: General Data II (Read)
Data type: BUS001Optional: No
Call by Reference: No ( called with pass by value option)
E_BP001 - FS-Specific Attributes; Organization
Data type: BP001Optional: No
Call by Reference: No ( called with pass by value option)
E_CUSTOMER - Customer Number
Data type: KNA1-KUNNROptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
PARTNER - Partner
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PARTNER_NOT_RELEASED - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
WRONG_PARAMETERS -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for BPAR_R_PARTNER_CHECK 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_partner | TYPE BP000-PARTNR, " | |||
| lv_partner | TYPE BP000, " | |||
| lv_bp000_entry | TYPE BP000, " | |||
| lv_release | TYPE BP000, " SPACE | |||
| lv_e_bus000 | TYPE BUS000, " | |||
| lv_partner_not_released | TYPE BUS000, " | |||
| lv_e_bus001 | TYPE BUS001, " | |||
| lv_read_from_db | TYPE BUS001, " SPACE | |||
| lv_wrong_parameters | TYPE BUS001, " | |||
| lv_e_bp001 | TYPE BP001, " | |||
| lv_i_xmemory | TYPE BOOLE-BOOLE, " SPACE | |||
| lv_i_xwa | TYPE BOOLE-BOOLE, " SPACE | |||
| lv_e_customer | TYPE KNA1-KUNNR, " | |||
| lv_i_conv | TYPE BOOLE-BOOLE, " 'X' | |||
| lv_zgp | TYPE BOOLE-BOOLE. " SPACE |
|   CALL FUNCTION 'BPAR_R_PARTNER_CHECK' "NOTRANSL: ZGP: Prüfung auf das Vorhandensein eines Partners und Lesen Part |
| EXPORTING | ||
| PARTNER | = lv_partner | |
| RELEASE | = lv_release | |
| READ_FROM_DB | = lv_read_from_db | |
| I_XMEMORY | = lv_i_xmemory | |
| I_XWA | = lv_i_xwa | |
| I_CONV | = lv_i_conv | |
| ZGP | = lv_zgp | |
| IMPORTING | ||
| BP000_ENTRY | = lv_bp000_entry | |
| E_BUS000 | = lv_e_bus000 | |
| E_BUS001 | = lv_e_bus001 | |
| E_BP001 | = lv_e_bp001 | |
| E_CUSTOMER | = lv_e_customer | |
| EXCEPTIONS | ||
| PARTNER = 1 | ||
| PARTNER_NOT_RELEASED = 2 | ||
| WRONG_PARAMETERS = 3 | ||
| . " BPAR_R_PARTNER_CHECK | ||
ABAP code using 7.40 inline data declarations to call FM BPAR_R_PARTNER_CHECK
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 PARTNR FROM BP000 INTO @DATA(ld_partner). | ||||
| DATA(ld_release) | = ' '. | |||
| DATA(ld_read_from_db) | = ' '. | |||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_xmemory). | ||||
| DATA(ld_i_xmemory) | = ' '. | |||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_xwa). | ||||
| DATA(ld_i_xwa) | = ' '. | |||
| "SELECT single KUNNR FROM KNA1 INTO @DATA(ld_e_customer). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_conv). | ||||
| DATA(ld_i_conv) | = 'X'. | |||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_zgp). | ||||
| DATA(ld_zgp) | = ' '. | |||
Search for further information about these or an SAP related objects