SAP Reports / Programs

WB2B_CREATE_TC_USER SAP ABAP Report - Create User For TC At Web







WB2B_CREATE_TC_USER is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter WB2B_CREATE_TC_USER into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

WB2B_NETUSER - Create User For TradingContract@Net


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT WB2B_CREATE_TC_USER. "Basic submit
SUBMIT WB2B_CREATE_TC_USER AND RETURN. "Return to original report after report execution complete
SUBMIT WB2B_CREATE_TC_USER VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_COMPNY = Company
Selection Text: P_FNAME = First Name
Selection Text: P_LNAME = Last Name
Selection Text: P_WEBNAM = User ID
Selection Text: P_WEBPRF = Web-Profile
Title: Create User For TC At Web
Text Symbol: 001 = User Data For Contract @ Net
Text Symbol: T01 = creation of


INCLUDES used within this REPORT WB2B_CREATE_TC_USER

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

SUSR_GENERATE_PASSWORD CALL FUNCTION 'SUSR_GENERATE_PASSWORD' * EXPORTING * DOWNWARDS_COMPATIBLE = IMPORTING PASSWORD = l_password EXCEPTIONS GENERATOR_ERROR = 1 OTHERS = 2.

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = 'E' cl = 'S_WAP_MESSAGES' number = '044' par1 = l_par_1 IMPORTING return = l_return.

BAPI_USER_CREATE CALL FUNCTION 'BAPI_USER_CREATE' EXPORTING username = p_webnam logondata = l_bapilogond * LOGONDATA = space "#EC NOTEXT password = l_bapipwd * DEFAULTS = address = l_address * COMPANY = * SNC = * REF_USER = * ALIAS = * EX_ADDRESS = TABLES * PARAMETER = return = t_return * ADDTEL = * ADDFAX = * ADDTTX = * ADDTLX = * ADDSMTP = * ADDRML = * ADDX400 = * ADDRFC = * ADDPRT = * ADDSSF = * ADDURI = * ADDPAG = * ADDCOMREM = * GROUPS = .

BAPI_USER_APPLICATION_OBJ_PUT CALL FUNCTION 'BAPI_USER_APPLICATION_OBJ_PUT' EXPORTING username = p_webnam_b TABLES applref = t_bapiapref return = t_return.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' * EXPORTING * I_S_DISPLAY_PROFILE = * I_T_LOG_HANDLE = * I_T_MSG_HANDLE = * I_S_LOG_FILTER = * I_S_MSG_FILTER = * I_T_LOG_CONTEXT_FILTER = * I_T_MSG_CONTEXT_FILTER = * I_AMODAL = ' ' * IMPORTING * E_S_EXIT_COMMAND = * EXCEPTIONS * PROFILE_INCONSISTENT = 1 * INTERNAL_ERROR = 2 * NO_DATA_AVAILABLE = 3 * NO_AUTHORITY = 4 * OTHERS = 5 .

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING * I_LOG_HANDLE = i_s_msg = msg * IMPORTING * E_S_MSG_HANDLE = * E_MSG_WAS_LOGGED = * E_MSG_WAS_DISPLAYED = * EXCEPTIONS * LOG_NOT_FOUND = 1 * MSG_INCONSISTENT = 2 * LOG_IS_FULL = 3 * OTHERS = 4 .

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = logh * IMPORTING * E_LOG_HANDLE = * EXCEPTIONS * LOG_HEADER_INCONSISTENT = 1 * OTHERS = 2 .



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name WB2B_CREATE_TC_USER or its description.