SAP Reports / Programs | Basis Components | ABAP Workbench, Java IDE and Infrastructure | Logical Database Builder(BC-DWB-TOO-LDB) SAP BC

MSLDBF10 SAP ABAP INCLUDE - General Subroutines : Deleting, Copying LDBs







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


Text pool values


Title: General Subroutines : Deleting, Copying LDBs


INCLUDES used within this REPORT MSLDBF10

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:

RS_DELETE_PROGRAM call function 'RS_DELETE_PROGRAM' exporting corrnumber = l_correction_number program = l_program suppress_checks = ' ' suppress_commit = ' ' suppress_popup = c_true with_cua = c_true with_documentation = c_true with_dynpro = c_true with_includes = c_true with_textpool = c_true with_variants = c_true * TADIR_DEVCLASS = * IMPORTING * CORRNUMBER = * PROGRAM = exceptions enqueue_lock = 1 object_not_found = 0 "Selektionen sollen trotzdem permission_failure = 3 "gelöscht werden reject_deletion = 4 others = 5.

RS_DELETE_PROGRAM call function 'RS_DELETE_PROGRAM' exporting corrnumber = l_correction_number program = l_includelist-include "#EC DOM_EQUAL suppress_checks = ' ' suppress_commit = ' ' suppress_popup = c_true with_cua = c_true with_documentation = c_true with_dynpro = c_true with_includes = c_false with_textpool = c_false with_variants = c_false exceptions enqueue_lock = 1 object_not_found = 0 permission_failure = 3 reject_deletion = 4 others = 5.

RS_DELETE_PROGRAM call function 'RS_DELETE_PROGRAM' exporting program = l_testprogname SUPPRESS_POPUP = 'X' exceptions others = 0.

RS_DELETE_SEL_OPTIONS call function 'RS_DELETE_SEL_OPTIONS' exporting key = rsdsqcat_def with_dialog = space exceptions error = 1 others = 2.

RS_TREE_OBJECT_PLACEMENT call function 'RS_TREE_OBJECT_PLACEMENT' exporting object = p_ldb operation = c_placement_operation_del type = c_placement_type exceptions others = 0.

REUSE_ALV_GRID_DISPLAY call function 'REUSE_ALV_GRID_DISPLAY' exporting is_layout = l_layout it_fieldcat = l_fieldcat i_screen_start_column = c_coordinate_xlu_n i_screen_start_line = c_coordinate_ylu_n i_screen_end_column = c_coordinate_xrd_n i_screen_end_line = c_coordinate_yrd_xm tables t_outtab = check exceptions program_error = 1 others = 2.

POPUP_GET_VALUES call function 'POPUP_GET_VALUES' exporting popup_title = 'Tabelle für Verwendungsnachweis'(026) importing returncode = l_returncode tables fields = fields. " Ausnahmen werden im FB behandelt.

RS_SLDB_TABLE_USAGE_DISPLAY call function 'RS_SLDB_TABLE_USAGE_DISPLAY' exporting table = l_table flag_with_show_option = c_true importing ldb_selected = rsldb-ldb. "Ausnahmen im FB behand.

LDB_CONVERT_LDBNAME_2_DBPROG call function 'LDB_CONVERT_LDBNAME_2_DBPROG' exporting ldb_name = l_ldb flag_existence_check = space importing com_name = com_file_name exceptions wrong_position_of_slashes = 1 ldb_name_too_long = 2 others = 3.

LDB_CONVERT_LDBNAME_2_DBPROG call function 'LDB_CONVERT_LDBNAME_2_DBPROG' exporting ldb_name = p_ldbname flag_existence_check = c_false importing put_name = l_put_name_no_number exceptions wrong_position_of_slashes = 1 ldb_name_too_long = 2 others = 3.

DDIF_NAMETAB_GET call function 'DDIF_NAMETAB_GET' exporting tabname = tabname all_types = c_true tables dfies_tab = l_dfies exceptions others = 1.

LDB_CONVERT_LDBNAME_2_DBPROG call function 'LDB_CONVERT_LDBNAME_2_DBPROG' exporting ldb_name = p_ldb flag_existence_check = c_false importing db_name = dbprogname exceptions others = 1.

LDB_CONVERT_LDBNAME_2_DBPROG call function 'LDB_CONVERT_LDBNAME_2_DBPROG' exporting ldb_name = p_ldb flag_existence_check = c_false importing db_name = l_sapdbname top_name = l_top_name nxxx_name = l_nxxx_name put_name = l_put_name fxxx_name = l_fxxx_name sxxx_name = l_sxxx_name * FLAG_LDB_EXISTENT = * WA_LDBD = exceptions wrong_position_of_slashes = 1 ldb_name_too_long = 2 others = 3.



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