SAP Reports / Programs

B_DOWNLOAD_FILE_FOR_BBP SAP ABAP Report - BDOWNLOADFILEFORBBP







B_DOWNLOAD_FILE_FOR_BBP 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 B_DOWNLOAD_FILE_FOR_BBP into the relevant SAP transactions such as SE38 or SE80


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 B_DOWNLOAD_FILE_FOR_BBP. "Basic submit
SUBMIT B_DOWNLOAD_FILE_FOR_BBP AND RETURN. "Return to original report after report execution complete
SUBMIT B_DOWNLOAD_FILE_FOR_BBP VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Text Symbol: 001 = User analysis:


INCLUDES used within this REPORT B_DOWNLOAD_FILE_FOR_BBP

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_USER_LOGONDATA_GET CALL FUNCTION 'SUSR_USER_LOGONDATA_GET' EXPORTING USER_NAME = I_USR02-BNAME IMPORTING USER_LOGONDATA = USER_LOGONDATA EXCEPTIONS USER_NAME_NOT_EXIST = 1 OTHERS = 2.

SUSR_USER_LOCKSTATE_GET CALL FUNCTION 'SUSR_USER_LOCKSTATE_GET' EXPORTING USER_NAME = I_USR02-BNAME IMPORTING LOCKSTATE = LOCKSTATE EXCEPTIONS USER_NAME_NOT_EXIST = 1 OTHERS = 2.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING PERCENTAGE = SUCC TEXT = TEXT.

BAPI_USER_GET_DETAIL CALL FUNCTION 'BAPI_USER_GET_DETAIL' EXPORTING USERNAME = I_USR02-BNAME IMPORTING LOGONDATA = LOGONDATA DEFAULTS = DEFAULTS ADDRESS = ADDRESS COMPANY = COMPANY SNC = SNC TABLES PARAMETER = PARAMETER ACTIVITYGROUPS = ACTIVITYGROUPS RETURN = return ADDTEL = ADDTEL ADDFAX = ADDFAX ADDTTX = ADDTTX ADDTLX = ADDTLX ADDSMTP = ADDSMTP ADDRML = ADDRML ADDX400 = ADDX400 ADDRFC = ADDRFC ADDPRT = ADDPRT ADDSSF = ADDSSF ADDURI = ADDURI ADDPAG = ADDPAG ADDCOMREM = ADDCOMREM.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING * BIN_FILESIZE = FILENAME = filename * FILETYPE = 'ASC' * APPEND = ' ' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' * TRUNC_TRAILING_BLANKS = ' ' * WRITE_LF = 'X' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' * IMPORTING * FILELENGTH = TABLES DATA_TAB = file_tab EXCEPTIONS FILE_WRITE_ERROR = 1 NO_BATCH = 2 GUI_REFUSE_FILETRANSFER = 3 INVALID_TYPE = 4 NO_AUTHORITY = 5 UNKNOWN_ERROR = 6 HEADER_NOT_ALLOWED = 7 SEPARATOR_NOT_ALLOWED = 8 FILESIZE_NOT_ALLOWED = 9 HEADER_TOO_LONG = 10 DP_ERROR_CREATE = 11 DP_ERROR_SEND = 12 DP_ERROR_WRITE = 13 UNKNOWN_DP_ERROR = 14 ACCESS_DENIED = 15 DP_OUT_OF_MEMORY = 16 DISK_FULL = 17 DP_TIMEOUT = 18 FILE_NOT_FOUND = 19 DATAPROVIDER_EXCEPTION = 20 CONTROL_FLUSH_ERROR = 21 OTHERS = 22.

PRGN_F4_HELP_FOR_USER CALL FUNCTION 'PRGN_F4_HELP_FOR_USER' IMPORTING USER_NAME = SELECTED_VALUE_U EXCEPTIONS NO_USER_SELECTED = 1 OTHERS = 2.

PRGN_F4_HELP_FOR_USER CALL FUNCTION 'PRGN_F4_HELP_FOR_USER' IMPORTING USER_NAME = SELECTED_VALUE_U EXCEPTIONS NO_USER_SELECTED = 1 OTHERS = 2.

WS_FILENAME_GET CALL FUNCTION 'WS_FILENAME_GET' EXPORTING DEF_FILENAME = $DEF_PATH DEF_PATH = $DEF_PATH MASK = ',*.*,*.*.'



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 B_DOWNLOAD_FILE_FOR_BBP or its description.