SAP BCFOLDER20_COL_CREATE Function Module for









BCFOLDER20_COL_CREATE is a standard bcfolder20 col create 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 bcfolder20 col create FM, simply by entering the name BCFOLDER20_COL_CREATE into the relevant SAP transaction such as SE37 or SE38.

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



Function BCFOLDER20_COL_CREATE 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 'BCFOLDER20_COL_CREATE'"
EXPORTING
IV_DESCRIPTION = "
* IV_DESCRIPTION_LONG = "
* IV_USERNAME_ADMIN = SY-UNAME "
* IV_TEMPLATE_ID = "
* IV_SZENARIO = 'competition' "
* IV_IS_TEMPLATE = "

IMPORTING
EV_CFX_AREA_URL = "
EV_CFX_AREA_GUID = "

TABLES
CONTROL_RECORD = "
RETURN = "
.



IMPORTING Parameters details for BCFOLDER20_COL_CREATE

IV_DESCRIPTION -

Data type: BBP_TEXT
Optional: No
Call by Reference: Yes

IV_DESCRIPTION_LONG -

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

IV_USERNAME_ADMIN -

Data type: SY-UNAME
Default: SY-UNAME
Optional: Yes
Call by Reference: Yes

IV_TEMPLATE_ID -

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

IV_SZENARIO -

Data type: STRING
Default: 'competition'
Optional: Yes
Call by Reference: Yes

IV_IS_TEMPLATE -

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

EXPORTING Parameters details for BCFOLDER20_COL_CREATE

EV_CFX_AREA_URL -

Data type: STRING
Optional: No
Call by Reference: Yes

EV_CFX_AREA_GUID -

Data type: BBP_GUID
Optional: No
Call by Reference: Yes

TABLES Parameters details for BCFOLDER20_COL_CREATE

CONTROL_RECORD -

Data type: BBP_CONTROL_RECORD
Optional: No
Call by Reference: Yes

RETURN -

Data type: BAPIRET2
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for BCFOLDER20_COL_CREATE 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_control_record  TYPE STANDARD TABLE OF BBP_CONTROL_RECORD, "   
lv_iv_description  TYPE BBP_TEXT, "   
lv_ev_cfx_area_url  TYPE STRING, "   
lt_return  TYPE STANDARD TABLE OF BAPIRET2, "   
lv_ev_cfx_area_guid  TYPE BBP_GUID, "   
lv_iv_description_long  TYPE BBP_TEXT, "   
lv_iv_username_admin  TYPE SY-UNAME, "   SY-UNAME
lv_iv_template_id  TYPE BBP_GUID, "   
lv_iv_szenario  TYPE STRING, "   'competition'
lv_iv_is_template  TYPE C. "   

  CALL FUNCTION 'BCFOLDER20_COL_CREATE'  "
    EXPORTING
         IV_DESCRIPTION = lv_iv_description
         IV_DESCRIPTION_LONG = lv_iv_description_long
         IV_USERNAME_ADMIN = lv_iv_username_admin
         IV_TEMPLATE_ID = lv_iv_template_id
         IV_SZENARIO = lv_iv_szenario
         IV_IS_TEMPLATE = lv_iv_is_template
    IMPORTING
         EV_CFX_AREA_URL = lv_ev_cfx_area_url
         EV_CFX_AREA_GUID = lv_ev_cfx_area_guid
    TABLES
         CONTROL_RECORD = lt_control_record
         RETURN = lt_return
. " BCFOLDER20_COL_CREATE




ABAP code using 7.40 inline data declarations to call FM BCFOLDER20_COL_CREATE

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 UNAME FROM SY INTO @DATA(ld_iv_username_admin).
DATA(ld_iv_username_admin) = SY-UNAME.
 
 
DATA(ld_iv_szenario) = 'competition'.
 
 


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!