SAP BPAR_R_BPCENTRAL_REFKONT Function Module for NOTRANSL: Lesen der kont.-relev. Daten eines G-Partners aus dem globalem M
BPAR_R_BPCENTRAL_REFKONT is a standard bpar r bpcentral refkont 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: Lesen der kont.-relev. Daten eines G-Partners aus dem globalem M 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 bpcentral refkont FM, simply by entering the name BPAR_R_BPCENTRAL_REFKONT into the relevant SAP transaction such as SE37 or SE38.
Function Group: BPCD
Program Name: SAPLBPCD
Main Program: SAPLBPCD
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function BPAR_R_BPCENTRAL_REFKONT 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_BPCENTRAL_REFKONT'"NOTRANSL: Lesen der kont.-relev. Daten eines G-Partners aus dem globalem M.
EXPORTING
PARTNER = "Partner number
* BUKRS = ' ' "Company code
* EMP_DATE = SY-DATUM "Key employment date
* ZGP = "
* XMEMORY = "
IMPORTING
VZKPART_N = "Account assignment reference characteristics (new)
VZKPART_O = "Account assignment reference characteristics (old: at start of transaction)
VZKPART_T = "Account assignment reference characteristics (old: within transaction)
E_BPSREP = "
EXCEPTIONS
NO_ENTRY_FOUND = 1
IMPORTING Parameters details for BPAR_R_BPCENTRAL_REFKONT
PARTNER - Partner number
Data type: BP000-PARTNROptional: No
Call by Reference: No ( called with pass by value option)
BUKRS - Company code
Data type: T001-BUKRSDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EMP_DATE - Key employment date
Data type: BP011-EMPL_SINCEDefault: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)
ZGP -
Data type: CHAR1Optional: Yes
Call by Reference: No ( called with pass by value option)
XMEMORY -
Data type: BOOLE-BOOLEOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for BPAR_R_BPCENTRAL_REFKONT
VZKPART_N - Account assignment reference characteristics (new)
Data type: VZKPARTOptional: No
Call by Reference: No ( called with pass by value option)
VZKPART_O - Account assignment reference characteristics (old: at start of transaction)
Data type: VZKPARTOptional: No
Call by Reference: No ( called with pass by value option)
VZKPART_T - Account assignment reference characteristics (old: within transaction)
Data type: VZKPARTOptional: No
Call by Reference: No ( called with pass by value option)
E_BPSREP -
Data type: BPSREPOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_ENTRY_FOUND - No data found for partner specified
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for BPAR_R_BPCENTRAL_REFKONT 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_vzkpart_n | TYPE VZKPART, " | |||
lv_no_entry_found | TYPE VZKPART, " | |||
lv_bukrs | TYPE T001-BUKRS, " SPACE | |||
lv_vzkpart_o | TYPE VZKPART, " | |||
lv_emp_date | TYPE BP011-EMPL_SINCE, " SY-DATUM | |||
lv_vzkpart_t | TYPE VZKPART, " | |||
lv_zgp | TYPE CHAR1, " | |||
lv_e_bpsrep | TYPE BPSREP, " | |||
lv_xmemory | TYPE BOOLE-BOOLE. " |
  CALL FUNCTION 'BPAR_R_BPCENTRAL_REFKONT' "NOTRANSL: Lesen der kont.-relev. Daten eines G-Partners aus dem globalem M |
EXPORTING | ||
PARTNER | = lv_partner | |
BUKRS | = lv_bukrs | |
EMP_DATE | = lv_emp_date | |
ZGP | = lv_zgp | |
XMEMORY | = lv_xmemory | |
IMPORTING | ||
VZKPART_N | = lv_vzkpart_n | |
VZKPART_O | = lv_vzkpart_o | |
VZKPART_T | = lv_vzkpart_t | |
E_BPSREP | = lv_e_bpsrep | |
EXCEPTIONS | ||
NO_ENTRY_FOUND = 1 | ||
. " BPAR_R_BPCENTRAL_REFKONT |
ABAP code using 7.40 inline data declarations to call FM BPAR_R_BPCENTRAL_REFKONT
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). | ||||
"SELECT single BUKRS FROM T001 INTO @DATA(ld_bukrs). | ||||
DATA(ld_bukrs) | = ' '. | |||
"SELECT single EMPL_SINCE FROM BP011 INTO @DATA(ld_emp_date). | ||||
DATA(ld_emp_date) | = SY-DATUM. | |||
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_xmemory). | ||||
Search for further information about these or an SAP related objects