SAP BUPA_PFCT_REMOVEFUNCTION Function Module for SAP BP, BAPI: Delete Partner Function
BUPA_PFCT_REMOVEFUNCTION is a standard bupa pfct removefunction SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for SAP BP, BAPI: Delete Partner Function 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 bupa pfct removefunction FM, simply by entering the name BUPA_PFCT_REMOVEFUNCTION into the relevant SAP transaction such as SE37 or SE38.
Function Group: CRM_BUPA_FRG0080_INTERN
Program Name: SAPLCRM_BUPA_FRG0080_INTERN
Main Program: SAPLCRM_BUPA_FRG0080_INTERN
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function BUPA_PFCT_REMOVEFUNCTION 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 'BUPA_PFCT_REMOVEFUNCTION'"SAP BP, BAPI: Delete Partner Function.
EXPORTING
* IV_PARTNER1 = "Business Partner 1
* IV_PARTNERGUID1 = "
* IV_SALES_AREA = "BAPI Structure for Sales Area
IV_BPFUNCTION = "Partner Function
* IV_PARTNER2 = "Business Partner Number 2
* IV_PARTNERGUID2 = "
* IV_TESTRUN = ' ' "
* IV_X_SAVE = 'X' "
* IV_SHOW_ALL = 'X' "
TABLES
* ET_RETURN = "Messages
IMPORTING Parameters details for BUPA_PFCT_REMOVEFUNCTION
IV_PARTNER1 - Business Partner 1
Data type: BAPIBUS1006_RELHEAD-BUSINESSPARTNER1Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_PARTNERGUID1 -
Data type: BU_PARTNER_GUIDOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_SALES_AREA - BAPI Structure for Sales Area
Data type: BAPIBUS1006_SALES_AREAOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_BPFUNCTION - Partner Function
Data type: BAPIBUS1006080_BPFUNCTION-PARTNERFUNCTIONOptional: No
Call by Reference: No ( called with pass by value option)
IV_PARTNER2 - Business Partner Number 2
Data type: BAPIBUS1006_RELHEAD-BUSINESSPARTNER2Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_PARTNERGUID2 -
Data type: BU_PARTNER_GUIDOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_TESTRUN -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_X_SAVE -
Data type: BOOLE-BOOLEDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_SHOW_ALL -
Data type: XFELDDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for BUPA_PFCT_REMOVEFUNCTION
ET_RETURN - Messages
Data type: BAPIRET2Optional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for BUPA_PFCT_REMOVEFUNCTION 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: | ||||
| lt_et_return | TYPE STANDARD TABLE OF BAPIRET2, " | |||
| lv_iv_partner1 | TYPE BAPIBUS1006_RELHEAD-BUSINESSPARTNER1, " | |||
| lv_iv_partnerguid1 | TYPE BU_PARTNER_GUID, " | |||
| lv_iv_sales_area | TYPE BAPIBUS1006_SALES_AREA, " | |||
| lv_iv_bpfunction | TYPE BAPIBUS1006080_BPFUNCTION-PARTNERFUNCTION, " | |||
| lv_iv_partner2 | TYPE BAPIBUS1006_RELHEAD-BUSINESSPARTNER2, " | |||
| lv_iv_partnerguid2 | TYPE BU_PARTNER_GUID, " | |||
| lv_iv_testrun | TYPE BOOLE-BOOLE, " SPACE | |||
| lv_iv_x_save | TYPE BOOLE-BOOLE, " 'X' | |||
| lv_iv_show_all | TYPE XFELD. " 'X' |
|   CALL FUNCTION 'BUPA_PFCT_REMOVEFUNCTION' "SAP BP, BAPI: Delete Partner Function |
| EXPORTING | ||
| IV_PARTNER1 | = lv_iv_partner1 | |
| IV_PARTNERGUID1 | = lv_iv_partnerguid1 | |
| IV_SALES_AREA | = lv_iv_sales_area | |
| IV_BPFUNCTION | = lv_iv_bpfunction | |
| IV_PARTNER2 | = lv_iv_partner2 | |
| IV_PARTNERGUID2 | = lv_iv_partnerguid2 | |
| IV_TESTRUN | = lv_iv_testrun | |
| IV_X_SAVE | = lv_iv_x_save | |
| IV_SHOW_ALL | = lv_iv_show_all | |
| TABLES | ||
| ET_RETURN | = lt_et_return | |
| . " BUPA_PFCT_REMOVEFUNCTION | ||
ABAP code using 7.40 inline data declarations to call FM BUPA_PFCT_REMOVEFUNCTION
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 BUSINESSPARTNER1 FROM BAPIBUS1006_RELHEAD INTO @DATA(ld_iv_partner1). | ||||
| "SELECT single PARTNERFUNCTION FROM BAPIBUS1006080_BPFUNCTION INTO @DATA(ld_iv_bpfunction). | ||||
| "SELECT single BUSINESSPARTNER2 FROM BAPIBUS1006_RELHEAD INTO @DATA(ld_iv_partner2). | ||||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_testrun). | ||||
| DATA(ld_iv_testrun) | = ' '. | |||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_iv_x_save). | ||||
| DATA(ld_iv_x_save) | = 'X'. | |||
| DATA(ld_iv_show_all) | = 'X'. | |||
Search for further information about these or an SAP related objects