SAP ERP_WEC_BUPA_CHKOUTPRF_REMOVE Function Module for Remove the checkout profile
ERP_WEC_BUPA_CHKOUTPRF_REMOVE is a standard erp wec bupa chkoutprf remove SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Remove the checkout profile 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 erp wec bupa chkoutprf remove FM, simply by entering the name ERP_WEC_BUPA_CHKOUTPRF_REMOVE into the relevant SAP transaction such as SE37 or SE38.
Function Group: ERP_WEC_BUPA_CHKOUT_PROFIL
Program Name: SAPLERP_WEC_BUPA_CHKOUT_PROFIL
Main Program: SAPLERP_WEC_BUPA_CHKOUT_PROFIL
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function ERP_WEC_BUPA_CHKOUTPRF_REMOVE 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 'ERP_WEC_BUPA_CHKOUTPRF_REMOVE'"Remove the checkout profile.
EXPORTING
IV_PARTNER = "Business Partner Number
IV_APPL_ID = "Web Channel Application ID
* IV_COMMIT = "Logical Variable
IMPORTING
RETURNCODE = "Return Code of Function Module
TABLES
* IT_CHECKOUT_PROFILE = "CheckOut Profile : External structure
* ET_RETURN = "Return Parameter
IMPORTING Parameters details for ERP_WEC_BUPA_CHKOUTPRF_REMOVE
IV_PARTNER - Business Partner Number
Data type: KUNNROptional: No
Call by Reference: Yes
IV_APPL_ID - Web Channel Application ID
Data type: ERP_WEC_APP_IDOptional: No
Call by Reference: No ( called with pass by value option)
IV_COMMIT - Logical Variable
Data type: CRMT_BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ERP_WEC_BUPA_CHKOUTPRF_REMOVE
RETURNCODE - Return Code of Function Module
Data type: ERP_WEC_RETURNCODEOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ERP_WEC_BUPA_CHKOUTPRF_REMOVE
IT_CHECKOUT_PROFILE - CheckOut Profile : External structure
Data type: WEC_BP_CHKOUTPRFOptional: Yes
Call by Reference: Yes
ET_RETURN - Return Parameter
Data type: BAPIRET2Optional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for ERP_WEC_BUPA_CHKOUTPRF_REMOVE 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_iv_partner | TYPE KUNNR, " | |||
lv_returncode | TYPE ERP_WEC_RETURNCODE, " | |||
lt_it_checkout_profile | TYPE STANDARD TABLE OF WEC_BP_CHKOUTPRF, " | |||
lt_et_return | TYPE STANDARD TABLE OF BAPIRET2, " | |||
lv_iv_appl_id | TYPE ERP_WEC_APP_ID, " | |||
lv_iv_commit | TYPE CRMT_BOOLEAN. " |
  CALL FUNCTION 'ERP_WEC_BUPA_CHKOUTPRF_REMOVE' "Remove the checkout profile |
EXPORTING | ||
IV_PARTNER | = lv_iv_partner | |
IV_APPL_ID | = lv_iv_appl_id | |
IV_COMMIT | = lv_iv_commit | |
IMPORTING | ||
RETURNCODE | = lv_returncode | |
TABLES | ||
IT_CHECKOUT_PROFILE | = lt_it_checkout_profile | |
ET_RETURN | = lt_et_return | |
. " ERP_WEC_BUPA_CHKOUTPRF_REMOVE |
ABAP code using 7.40 inline data declarations to call FM ERP_WEC_BUPA_CHKOUTPRF_REMOVE
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.Search for further information about these or an SAP related objects