SAP BBP_USER_CREATECP Function Module for









BBP_USER_CREATECP is a standard bbp user createcp 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 user createcp FM, simply by entering the name BBP_USER_CREATECP into the relevant SAP transaction such as SE37 or SE38.

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



Function BBP_USER_CREATECP 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_USER_CREATECP'"
EXPORTING
USERNAME = "
* CPADTTX = "
* CPADTLX = "
* CPADSMTP = "
* CPADRML = "
* CPADX400 = "
* CPADRFC = "
* CPADPRT = "
* CPADSSF = "
* CPADURI = "
* CPADPAG = "
* CPADDRESS = "
* CPAD_REM = "
* CPCOMREM = "
* CP_INHOUSE_ADDRESS = "
* BUPA_CENTRAL = "
* ORGUNIT_ID = "
* IS_MANAGER = "
* DEFAULTS = "
* CALL_FROM_AT03 = "
* NO_SU01_USER_CREATION = "
* DEBUG_MODE = "
* LOGONDATA = "
* SEARK = "
* POSITION_ID = "
* USE_POSITION_ID = "
* DO_NOT_NOTIFY = "
* NO_DEFAULT_ROLE_ASSIGNMENT = "
* REPAIR_MODE_SAVE_ATTRIBUTES = "
* HANDLE_FOR_HR_REPAIR = "
* PASSWORD = "
* VERIFYPWD = "
* CPCENTRAL = "
* CPPERSON = "
* CPADTEL = "
* CPADFAX = "

TABLES
RETURN = "
* ACTGROUPS2 = "
.



IMPORTING Parameters details for BBP_USER_CREATECP

USERNAME -

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

CPADTTX -

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

CPADTLX -

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

CPADSMTP -

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

CPADRML -

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

CPADX400 -

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

CPADRFC -

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

CPADPRT -

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

CPADSSF -

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

CPADURI -

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

CPADPAG -

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

CPADDRESS -

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

CPAD_REM -

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

CPCOMREM -

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

CP_INHOUSE_ADDRESS -

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

BUPA_CENTRAL -

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

ORGUNIT_ID -

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

IS_MANAGER -

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

DEFAULTS -

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

CALL_FROM_AT03 -

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

NO_SU01_USER_CREATION -

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

DEBUG_MODE -

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

LOGONDATA -

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

SEARK -

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

POSITION_ID -

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

USE_POSITION_ID -

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

DO_NOT_NOTIFY -

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

NO_DEFAULT_ROLE_ASSIGNMENT -

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

REPAIR_MODE_SAVE_ATTRIBUTES -

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

HANDLE_FOR_HR_REPAIR -

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

PASSWORD -

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

VERIFYPWD -

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

CPCENTRAL -

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

CPPERSON -

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

CPADTEL -

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

CPADFAX -

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

TABLES Parameters details for BBP_USER_CREATECP

RETURN -

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

ACTGROUPS2 -

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

Copy and paste ABAP code example for BBP_USER_CREATECP 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_return  TYPE STANDARD TABLE OF BAPIRET2, "   
lv_username  TYPE BAPIBNAME, "   
lv_cpadttx  TYPE BAPIADTTX, "   
lv_cpadtlx  TYPE BAPIADTLX, "   
lv_cpadsmtp  TYPE BAPIADSMTP, "   
lv_cpadrml  TYPE BAPIADRML, "   
lv_cpadx400  TYPE BAPIADX400, "   
lv_cpadrfc  TYPE BAPIADRFC, "   
lv_cpadprt  TYPE BAPIADPRT, "   
lv_cpadssf  TYPE BAPIADSSF, "   
lv_cpaduri  TYPE BAPIADURI, "   
lv_cpadpag  TYPE BAPIADPAG, "   
lv_cpaddress  TYPE BAPIBUS1006_ADDRESS, "   
lt_actgroups2  TYPE STANDARD TABLE OF BAPIAGR, "   
lv_cpad_rem  TYPE BAPIAD_REM, "   
lv_cpcomrem  TYPE BAPICOMREM, "   
lv_cp_inhouse_address  TYPE BAPIBUS1006002_ADDRESS, "   
lv_bupa_central  TYPE BAPIBUS1006_CENTRAL, "   
lv_orgunit_id  TYPE OBJEC-OBJID, "   
lv_is_manager  TYPE CHAR2, "   
lv_defaults  TYPE BAPIDEFAUL, "   
lv_call_from_at03  TYPE BBPSAPNEW-CUSTOMIZED, "   
lv_no_su01_user_creation  TYPE BBPSAPNEW-CUSTOMIZED, "   
lv_debug_mode  TYPE BBPSAPNEW-CUSTOMIZED, "   
lv_logondata  TYPE BAPILOGOND, "   
lv_seark  TYPE HRF4PARAM-SEARKX, "   
lv_position_id  TYPE OBJEC-OBJID, "   
lv_use_position_id  TYPE BBPSAPNEW-CUSTOMIZED, "   
lv_do_not_notify  TYPE BBPSAPNEW-CUSTOMIZED, "   
lv_no_default_role_assignment  TYPE CHAR1, "   
lv_repair_mode_save_attributes  TYPE CHAR1, "   
lv_handle_for_hr_repair  TYPE I, "   
lv_password  TYPE CHAR8, "   
lv_verifypwd  TYPE CHAR8, "   
lv_cpcentral  TYPE BAPIBUS1006002_CENTRAL, "   
lv_cpperson  TYPE BAPIBUS1006_CENTRAL_PERSON, "   
lv_cpadtel  TYPE BAPIADTEL, "   
lv_cpadfax  TYPE BAPIADFAX. "   

  CALL FUNCTION 'BBP_USER_CREATECP'  "
    EXPORTING
         USERNAME = lv_username
         CPADTTX = lv_cpadttx
         CPADTLX = lv_cpadtlx
         CPADSMTP = lv_cpadsmtp
         CPADRML = lv_cpadrml
         CPADX400 = lv_cpadx400
         CPADRFC = lv_cpadrfc
         CPADPRT = lv_cpadprt
         CPADSSF = lv_cpadssf
         CPADURI = lv_cpaduri
         CPADPAG = lv_cpadpag
         CPADDRESS = lv_cpaddress
         CPAD_REM = lv_cpad_rem
         CPCOMREM = lv_cpcomrem
         CP_INHOUSE_ADDRESS = lv_cp_inhouse_address
         BUPA_CENTRAL = lv_bupa_central
         ORGUNIT_ID = lv_orgunit_id
         IS_MANAGER = lv_is_manager
         DEFAULTS = lv_defaults
         CALL_FROM_AT03 = lv_call_from_at03
         NO_SU01_USER_CREATION = lv_no_su01_user_creation
         DEBUG_MODE = lv_debug_mode
         LOGONDATA = lv_logondata
         SEARK = lv_seark
         POSITION_ID = lv_position_id
         USE_POSITION_ID = lv_use_position_id
         DO_NOT_NOTIFY = lv_do_not_notify
         NO_DEFAULT_ROLE_ASSIGNMENT = lv_no_default_role_assignment
         REPAIR_MODE_SAVE_ATTRIBUTES = lv_repair_mode_save_attributes
         HANDLE_FOR_HR_REPAIR = lv_handle_for_hr_repair
         PASSWORD = lv_password
         VERIFYPWD = lv_verifypwd
         CPCENTRAL = lv_cpcentral
         CPPERSON = lv_cpperson
         CPADTEL = lv_cpadtel
         CPADFAX = lv_cpadfax
    TABLES
         RETURN = lt_return
         ACTGROUPS2 = lt_actgroups2
. " BBP_USER_CREATECP




ABAP code using 7.40 inline data declarations to call FM BBP_USER_CREATECP

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 OBJID FROM OBJEC INTO @DATA(ld_orgunit_id).
 
 
 
"SELECT single CUSTOMIZED FROM BBPSAPNEW INTO @DATA(ld_call_from_at03).
 
"SELECT single CUSTOMIZED FROM BBPSAPNEW INTO @DATA(ld_no_su01_user_creation).
 
"SELECT single CUSTOMIZED FROM BBPSAPNEW INTO @DATA(ld_debug_mode).
 
 
"SELECT single SEARKX FROM HRF4PARAM INTO @DATA(ld_seark).
 
"SELECT single OBJID FROM OBJEC INTO @DATA(ld_position_id).
 
"SELECT single CUSTOMIZED FROM BBPSAPNEW INTO @DATA(ld_use_position_id).
 
"SELECT single CUSTOMIZED FROM BBPSAPNEW INTO @DATA(ld_do_not_notify).
 
 
 
 
 
 
 
 
 
 


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!