SAP Reports / Programs

BCALV_BDS_MAINTENANCE SAP ABAP Report - Template maintenance







BCALV_BDS_MAINTENANCE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for In the ALV environment, data can be displayed as an Excel inplace...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter BCALV_BDS_MAINTENANCE 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 BCALV_BDS_MAINTENANCE. "Basic submit
SUBMIT BCALV_BDS_MAINTENANCE AND RETURN. "Return to original report after report execution complete
SUBMIT BCALV_BDS_MAINTENANCE VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Test
Selection Text: PA_ALL = All
Selection Text: PA_CUS = CUS_STANDARD_TEMPLATES
Selection Text: PA_DIS = List templates
Selection Text: PA_GUID = Delete templates
Selection Text: PA_LIST = Log
Selection Text: PA_SAP = SAP_STANDARD_TEMPLATES
Selection Text: PA_TMP = Temporary
Selection Text: PA_TRAPO = Transport Templates
Selection Text: PA_UNRF = Unreferenced
Selection Text: PA_UPLD = Import templates
Selection Text: SO_REP = Report Name
Selection Text: SO_USER = User name
Selection Text: SO_VRNT = Variant name
Selection Text: TRAPO = Transport Templates
Title: Template maintenance
Text Symbol: 899 = An error occurred!
Text Symbol: 843 = Template cannot be deleted
Text Symbol: 842 = Template can be deleted
Text Symbol: 841 = Template cannot be deleted
Text Symbol: 830 = Delete unreferenced ones
Text Symbol: 829 = Delete temporary ones
Text Symbol: 828 = SAP_STANDARD_TEMPLATES
Text Symbol: 827 = CUS_STANDARD_TEMPLATES
Text Symbol: 826 = Transport Request
Text Symbol: 004 = Action canceled by user
Text Symbol: 005 = Process cancelled due to internal conversion problems
Text Symbol: 500 = Error in flush
Text Symbol: 801 = Really delete entries?
Text Symbol: 802 = Delete
Text Symbol: 803 = Y
Text Symbol: 804 = No
Text Symbol: 805 = Unreferenced
Text Symbol: 806 = Temporary
Text Symbol: 807 = Cus_Standard_Templates
Text Symbol: 808 = SAP_Standard_Templates
Text Symbol: 809 = All
Text Symbol: 812 = Delete templates





Text Symbol: 813 = Delete
Text Symbol: 814 = Variant
Text Symbol: 815 = Report
Text Symbol: 816 = User
Text Symbol: 817 = Or
Text Symbol: 818 = to
Text Symbol: 819 = Processing the option(s) you have selected may take some time.
Text Symbol: 820 = Do you want to continue?
Text Symbol: 822 = Display: All / unreferenced - templates
Text Symbol: 823 = No Windows system. Log cannot be executed
Text Symbol: 824 = Upload templates
Text Symbol: 825 = Transport Template


INCLUDES used within this REPORT BCALV_BDS_MAINTENANCE

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:

POPUP_TO_DECIDE call function 'POPUP_TO_DECIDE' exporting defaultoption = '1' textline1 = text-819 textline2 = text-820 * TEXTLINE3 = text-821 text_option1 = text-803 text_option2 = text-804 * ICON_TEXT_OPTION1 = ' ' * ICON_TEXT_OPTION2 = ' ' titel = text-822 * START_COLUMN = 25 * START_ROW = 6 * CANCEL_DISPLAY = 'X' importing answer = answer_to_show.

ALV_BDS_GET_TEMPLATE call function 'ALV_BDS_GET_TEMPLATE' exporting i_classname = gc_classname i_classtype = gc_classtype i_object_key = gs_alv_bds-object_key i_mimetype = ' ' i_ref_to_cl_bds_document = g_ref_to_cl_bds_document changing ct_alv_bds = gt_alv_bds ct_components = gt_components ct_signature = gt_signature exceptions error_kpro = 1 internal_error = 2 nothing_found = 3 not_allowed = 4 not_authorized = 5 parameter_error = 6 others = 7.

LVC_FIELDCATALOG_MERGE call function 'LVC_FIELDCATALOG_MERGE' exporting * I_BUFFER_ACTIVE = i_structure_name = 'LVC_S_BDS' * I_CLIENT_NEVER_DISPLAY = 'X' * I_BYPASSING_BUFFER = changing ct_fieldcat = gt_fieldcat.

LVC_FIELDCATALOG_MERGE call function 'LVC_FIELDCATALOG_MERGE' exporting * I_BUFFER_ACTIVE = i_structure_name = 'DISVARIANT' * I_CLIENT_NEVER_DISPLAY = 'X' * I_BYPASSING_BUFFER = changing ct_fieldcat = gt_fieldcat.

ALV_BDS_GET_TEMPLATE call function 'ALV_BDS_GET_TEMPLATE' exporting i_classname = gc_classname i_classtype = gc_classtype i_object_key = gs_alv_bds-object_key i_mimetype = ' ' i_ref_to_cl_bds_document = g_ref_to_cl_bds_document changing ct_alv_bds = gt_alv_bds ct_components = gt_components ct_signature = gt_signature exceptions error_kpro = 1 internal_error = 2 nothing_found = 3 not_allowed = 4 not_authorized = 5 parameter_error = 6 others = 7.

yes * form for popup and in case 'yes' call function bds_delete_template perform del_popup.

POPUP_TO_DECIDE call function 'POPUP_TO_DECIDE' "#EC FB_OLDED exporting defaultoption = '2' textline1 = text-801"Einträge wirklich löschen? * TEXTLINE2 = ' ' * TEXTLINE3 = ' ' text_option1 = text-803 "Ja text_option2 = text-804 "Nein * ICON_TEXT_OPTION1 = ' ' * ICON_TEXT_OPTION2 = ' ' titel = text-802 "Löschen * START_COLUMN = 25 * START_ROW = 6 * CANCEL_DISPLAY = 'X' importing answer = g_answer.

ALV_BDS_DELETE_TEMPLATE call function 'ALV_BDS_DELETE_TEMPLATE' exporting i_classname = gc_classname i_classtype = gc_classtype is_alv_bds = gs_alv_bds i_ref_to_cl_bds_document = g_ref_to_cl_bds_document changing ct_signature = gt_signature exceptions error_kpro = 1 internal_error = 2 nothing_found = 3 not_allowed = 4 not_authorized = 5 parameter_error = 6 others = 7.

ALV_BDS_LVC_OS_DLOG call function 'ALV_BDS_LVC_OS_DLOG' exporting i_dlog_mode = 'O' * I_MASK = * I_TITLE = changing c_loc_dir = gs_files-directory c_loc_fname = gs_files-filename exceptions cancel = 1 error = 2 others = 3.

ALV_BDS_GET_TEMPLATE call function 'ALV_BDS_GET_TEMPLATE' exporting i_classname = gc_classname i_classtype = gc_classtype i_object_key = g_object_key i_mimetype = ' ' i_ref_to_cl_bds_document = g_ref_to_cl_bds_document changing ct_alv_bds = gt_alv_bds ct_components = gt_components ct_signature = gt_signature exceptions error_kpro = 1 internal_error = 2 nothing_found = 3 not_allowed = 4 not_authorized = 5 parameter_error = 6 others = 7.

ALV_BDS_CREATE_ITEM call function 'ALV_BDS_CREATE_ITEM' exporting is_files = gs_files is_variant = gs_disvariant i_language = t002-spras importing es_alv_bds = gs_alv_bds et_signature = gt_signature et_files = gt_files.

ALV_BDS_UPLOAD_TEMPLATE call function 'ALV_BDS_UPLOAD_TEMPLATE' exporting i_classname = gc_classname i_classtype = gc_classtype i_object_key = g_object_key i_ref_to_cl_bds_document = g_ref_to_cl_bds_document importing es_alv_bds = gs_alv_bds changing ct_signature = gt_signature ct_files = gt_files exceptions error_kpro = 1 internal_error = 2 nothing_found = 3 not_allowed = 4 not_authorized = 5 parameter_error = 6 others = 7.






ALV_BDS_CHANGE_PROPERTIES call function 'ALV_BDS_CHANGE_PROPERTIES' exporting i_classname = gc_classname i_classtype = gc_classtype is_alv_bds = gs_alv_bds ir_to_cl_bds_document = g_ref_to_cl_bds_document changing ct_properties = gt_properties exceptions error_kpro = 1 internal_error = 2 nothing_found = 3 not_allowed = 4 not_authorized = 5 parameter_error = 6 others = 7.

TR_REQUEST_CHOICE call function 'TR_REQUEST_CHOICE' exporting * iv_suppress_dialog = ' ' iv_request_types = 'W' * iv_request = ' ' it_e071 = gt_e071 * it_e071k = lt_e071k * IMPORTING * es_request = exceptions others = 1.

ALV_BDS_GET_TEMPLATE call function 'ALV_BDS_GET_TEMPLATE' exporting i_classname = gc_classname i_classtype = gc_classtype i_object_key = g_object_key i_mimetype = ' ' i_ref_to_cl_bds_document = g_ref_to_cl_bds_document changing ct_alv_bds = gt_alv_bds ct_components = gt_components ct_signature = gt_signature exceptions error_kpro = 1 internal_error = 2 nothing_found = 3 not_allowed = 4 not_authorized = 5 parameter_error = 6 others = 7.

TR_OBJECT_CHECK call function 'TR_OBJECT_CHECK' exporting wi_ko200 = gs_commfile_entries exceptions cancel_edit_other_error = 1 show_only_other_error = 2 others = 3.

TR_REQUEST_CHOICE * call function 'TR_REQUEST_CHOICE' * exporting ** iv_suppress_dialog = ' ' * iv_request_types = 'W' ** iv_request = ' ' * it_e071 = gt_e071 ** it_e071k = lt_e071k ** IMPORTING ** es_request = * exceptions * others = 1.

TR_OBJECTS_INSERT call function 'TR_OBJECTS_INSERT' tables wt_ko200 = gt_commfile_entries exceptions cancel_edit_other_error = 1 show_only_other_error = 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 BCALV_BDS_MAINTENANCE or its description.