SAP BBP_CF_CANCEL_PREPARE Function Module for









BBP_CF_CANCEL_PREPARE is a standard bbp cf cancel prepare SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 bbp cf cancel prepare FM, simply by entering the name BBP_CF_CANCEL_PREPARE into the relevant SAP transaction such as SE37 or SE38.

Function Group: BBP_CF
Program Name: SAPLBBP_CF
Main Program: SAPLBBP_CF
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function BBP_CF_CANCEL_PREPARE 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 'BBP_CF_CANCEL_PREPARE'"
EXPORTING
* IV_INPUT_TYPE = 1 "
* I_CF_OBJECT_ID = "
* I_OBJECT_ID = "
* I_LOG_SYS = "
* I_NEW_READ = "

IMPORTING
E_CHANGED = "

CHANGING
CS_HEADER = "

TABLES
* CT_ITEM = "
* IT_CFITEM = "
* CT_ACTVAL = "
* ET_MESSAGES = "
.



IMPORTING Parameters details for BBP_CF_CANCEL_PREPARE

IV_INPUT_TYPE -

Data type: BBP_INP_TYPE
Default: 1
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CF_OBJECT_ID -

Data type: CRMD_ORDERADM_H-OBJECT_ID
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_OBJECT_ID -

Data type: CRMD_ORDERADM_H-OBJECT_ID
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_LOG_SYS -

Data type: BBP_BACKEND_DEST-LOG_SYS
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_NEW_READ -

Data type: CHAR1
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for BBP_CF_CANCEL_PREPARE

E_CHANGED -

Data type: XFELD
Optional: No
Call by Reference: No ( called with pass by value option)

CHANGING Parameters details for BBP_CF_CANCEL_PREPARE

CS_HEADER -

Data type: BBP_PDS_CONF_HEADER_D
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for BBP_CF_CANCEL_PREPARE

CT_ITEM -

Data type: BBP_CF_ITEM_APP
Optional: Yes
Call by Reference: Yes

IT_CFITEM -

Data type: BBP_CF_ITEM_APP
Optional: Yes
Call by Reference: Yes

CT_ACTVAL -

Data type: BBP_PDS_ACTVAL
Optional: Yes
Call by Reference: Yes

ET_MESSAGES -

Data type: BBP_PDS_MESSAGES
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for BBP_CF_CANCEL_PREPARE 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_ct_item  TYPE STANDARD TABLE OF BBP_CF_ITEM_APP, "   
lv_cs_header  TYPE BBP_PDS_CONF_HEADER_D, "   
lv_e_changed  TYPE XFELD, "   
lv_iv_input_type  TYPE BBP_INP_TYPE, "   1
lt_it_cfitem  TYPE STANDARD TABLE OF BBP_CF_ITEM_APP, "   
lv_i_cf_object_id  TYPE CRMD_ORDERADM_H-OBJECT_ID, "   
lt_ct_actval  TYPE STANDARD TABLE OF BBP_PDS_ACTVAL, "   
lv_i_object_id  TYPE CRMD_ORDERADM_H-OBJECT_ID, "   
lv_i_log_sys  TYPE BBP_BACKEND_DEST-LOG_SYS, "   
lt_et_messages  TYPE STANDARD TABLE OF BBP_PDS_MESSAGES, "   
lv_i_new_read  TYPE CHAR1. "   

  CALL FUNCTION 'BBP_CF_CANCEL_PREPARE'  "
    EXPORTING
         IV_INPUT_TYPE = lv_iv_input_type
         I_CF_OBJECT_ID = lv_i_cf_object_id
         I_OBJECT_ID = lv_i_object_id
         I_LOG_SYS = lv_i_log_sys
         I_NEW_READ = lv_i_new_read
    IMPORTING
         E_CHANGED = lv_e_changed
    CHANGING
         CS_HEADER = lv_cs_header
    TABLES
         CT_ITEM = lt_ct_item
         IT_CFITEM = lt_it_cfitem
         CT_ACTVAL = lt_ct_actval
         ET_MESSAGES = lt_et_messages
. " BBP_CF_CANCEL_PREPARE




ABAP code using 7.40 inline data declarations to call FM BBP_CF_CANCEL_PREPARE

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_iv_input_type) = 1.
 
 
"SELECT single OBJECT_ID FROM CRMD_ORDERADM_H INTO @DATA(ld_i_cf_object_id).
 
 
"SELECT single OBJECT_ID FROM CRMD_ORDERADM_H INTO @DATA(ld_i_object_id).
 
"SELECT single LOG_SYS FROM BBP_BACKEND_DEST INTO @DATA(ld_i_log_sys).
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!