SAP BBP_USER_CHANGE Function Module for









BBP_USER_CHANGE is a standard bbp user change 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 change FM, simply by entering the name BBP_USER_CHANGE 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_CHANGE 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_CHANGE'"
EXPORTING
USERNAME = "
* CPADTTX = "
* CPADTLX = "
* CPADSMTP = "
* CPADRML = "
* CPADX400 = "
* CPADRFC = "
* CPADPRT = "
* CPADSSF = "
* CPADURI = "
* CPADPAG = "
* CPADDRESS = "
* CPAD_REM = "
* CPCOMREM = "
* CPADUSE = "
* CPADTEL_X = "
* CPADFAX_X = "
* CPADTTX_X = "
* CPADTLX_X = "
* CPADSMT_X = "
* CPADRML_X = "
* CPADX40_X = "
* LOGONDATA = "
* CPADRFC_X = "
* CPADPRT_X = "
* CPADSSF_X = "
* CPADURI_X = "
* CPADPAG_X = "
* CPAD_RE_X = "
* CPCOMRE_X = "
* CPADUSE_X = "
* DEFAULTS = "
* DO_COMMIT = 'X' "
* CPPERSON = "
* CP_INHOUSE_ADDRESS = "
* BUPA_CENTRAL = "
* COMPANY = "
* CPADTEL = "
* CPADFAX = "

TABLES
RETURN = "
.



IMPORTING Parameters details for BBP_USER_CHANGE

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)

CPADUSE -

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

CPADTEL_X -

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

CPADFAX_X -

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

CPADTTX_X -

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

CPADTLX_X -

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

CPADSMT_X -

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

CPADRML_X -

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

CPADX40_X -

Data type: BAPIADX40X
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)

CPADRFC_X -

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

CPADPRT_X -

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

CPADSSF_X -

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

CPADURI_X -

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

CPADPAG_X -

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

CPAD_RE_X -

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

CPCOMRE_X -

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

CPADUSE_X -

Data type: BAPIBUS1006002_ADDRESS_X
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)

DO_COMMIT -

Data type: CHAR1
Default: 'X'
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)

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)

COMPANY -

Data type: BAPIUSCOMP
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_CHANGE

RETURN -

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

Copy and paste ABAP code example for BBP_USER_CHANGE 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, "   
lv_cpad_rem  TYPE BAPIAD_REM, "   
lv_cpcomrem  TYPE BAPICOMREM, "   
lv_cpaduse  TYPE BAPIBUS1006_ADDRESSUSAGE, "   
lv_cpadtel_x  TYPE BAPIADTELX, "   
lv_cpadfax_x  TYPE BAPIADFAXX, "   
lv_cpadttx_x  TYPE BAPIADTTXX, "   
lv_cpadtlx_x  TYPE BAPIADTLXX, "   
lv_cpadsmt_x  TYPE BAPIADSMTX, "   
lv_cpadrml_x  TYPE BAPIADRMLX, "   
lv_cpadx40_x  TYPE BAPIADX40X, "   
lv_logondata  TYPE BAPILOGOND, "   
lv_cpadrfc_x  TYPE BAPIADRFCX, "   
lv_cpadprt_x  TYPE BAPIADPRTX, "   
lv_cpadssf_x  TYPE BAPIADSSFX, "   
lv_cpaduri_x  TYPE BAPIADURIX, "   
lv_cpadpag_x  TYPE BAPIADPAGX, "   
lv_cpad_re_x  TYPE BAPIAD_REX, "   
lv_cpcomre_x  TYPE BAPICOMREX, "   
lv_cpaduse_x  TYPE BAPIBUS1006002_ADDRESS_X, "   
lv_defaults  TYPE BAPIDEFAUL, "   
lv_do_commit  TYPE CHAR1, "   'X'
lv_cpperson  TYPE BAPIBUS1006_CENTRAL_PERSON, "   
lv_cp_inhouse_address  TYPE BAPIBUS1006002_ADDRESS, "   
lv_bupa_central  TYPE BAPIBUS1006_CENTRAL, "   
lv_company  TYPE BAPIUSCOMP, "   
lv_cpadtel  TYPE BAPIADTEL, "   
lv_cpadfax  TYPE BAPIADFAX. "   

  CALL FUNCTION 'BBP_USER_CHANGE'  "
    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
         CPADUSE = lv_cpaduse
         CPADTEL_X = lv_cpadtel_x
         CPADFAX_X = lv_cpadfax_x
         CPADTTX_X = lv_cpadttx_x
         CPADTLX_X = lv_cpadtlx_x
         CPADSMT_X = lv_cpadsmt_x
         CPADRML_X = lv_cpadrml_x
         CPADX40_X = lv_cpadx40_x
         LOGONDATA = lv_logondata
         CPADRFC_X = lv_cpadrfc_x
         CPADPRT_X = lv_cpadprt_x
         CPADSSF_X = lv_cpadssf_x
         CPADURI_X = lv_cpaduri_x
         CPADPAG_X = lv_cpadpag_x
         CPAD_RE_X = lv_cpad_re_x
         CPCOMRE_X = lv_cpcomre_x
         CPADUSE_X = lv_cpaduse_x
         DEFAULTS = lv_defaults
         DO_COMMIT = lv_do_commit
         CPPERSON = lv_cpperson
         CP_INHOUSE_ADDRESS = lv_cp_inhouse_address
         BUPA_CENTRAL = lv_bupa_central
         COMPANY = lv_company
         CPADTEL = lv_cpadtel
         CPADFAX = lv_cpadfax
    TABLES
         RETURN = lt_return
. " BBP_USER_CHANGE




ABAP code using 7.40 inline data declarations to call FM BBP_USER_CHANGE

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_do_commit) = 'X'.
 
 
 
 
 
 
 


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!