SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | Communication Services: Mail, Fax, SMS, Telephony(BC-SRV-COM) SAP BC

RSBCS_RESTORE SAP ABAP Report - BCS: Restore Documents from Backup System







RSBCS_RESTORE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for SAPoffice documents have been deleted from folders (and may have already been reorganized) and you want to restore them...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 RSBCS_RESTORE 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

SBCS_RESTORE - BCS: Restore from Backup


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 RSBCS_RESTORE. "Basic submit
SUBMIT RSBCS_RESTORE AND RETURN. "Return to original report after report execution complete
SUBMIT RSBCS_RESTORE 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: RFCDEST = D .
Selection Text: TESTMODE = Test Mode
Title: BCS: Restore Documents from Backup System
Text Symbol: P01 = Select Folders...
Text Symbol: M14 = Distribution List
Text Symbol: M13 = Distribution Lists
Text Symbol: M12 = Document
Text Symbol: M11 = Documents
Text Symbol: M10 = Folder
Text Symbol: M09 = Folders
Text Symbol: M07 = Already Exists
Text Symbol: M06 = Restored Completely
Text Symbol: M05 = Restore Completely
Text Symbol: M00 = Invalid RFC Destination
Text Symbol: DK1 = Dark Folder (GOS)
Text Symbol: C12 = Target Folder (Testing)
Text Symbol: C11 = Transfer Documents
Text Symbol: C10 = Do you want to continue?
Text Symbol: C09 = Selected Documents Are Transferred
Text Symbol: C06 = Select at Least One Folder
Text Symbol: C05 = Options
Text Symbol: C03 = Folders


INCLUDES used within this REPORT RSBCS_RESTORE

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:

SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting text = 'Select Folders...'(p01). "#EC *

SO_NAME_CONVERT call function 'SO_NAME_CONVERT' exporting name_in = ls_soud3 no_address_name = 'X' no_insert = 'X' importing name_out = ls_soud3 exceptions others = 1.

SBCOMS_TABLES_TRANSFER call function 'SBCOMS_TABLES_TRANSFER' destination rfcdest exporting i_sofm = ls_sofm i_sofd = ls_sofd testmode = testmode tables t_sofa = lt_sofa t_sord = lt_sord exceptions sofd_exists = 1 sofm_exists = 2 parent_not_existing = 3 no_authorization = 4 system_failure = 5 message lv_msg communication_failure = 6 message lv_msg others = 7.

SBCOMS_TABLES_TRANSFER call function 'SBCOMS_TABLES_TRANSFER' destination rfcdest exporting i_sofm = is_sofm i_sofd = ls_sofd testmode = testmode target = target tables t_sofa = lt_sofa t_sord = lt_sord exceptions sofd_exists = 1 sofm_exists = 2 parent_not_existing = 3 no_authorization = 4 system_failure = 5 message lv_msg communication_failure = 6 message lv_msg others = 7.

SO_ADDRESS_GET call function 'SO_ADDRESS_GET' exporting adrnr = ls_soes-adrnr sndart = ls_soes-sndart lfdnr = ls_soes-lfdnr no_name = 'X' importing address = ls_address-address exceptions address_not_exist = 1 x_error = 2 others = 3.

SO_ADDRESS_GET call function 'SO_ADDRESS_GET' "#EC * exporting adrnr = lv_so_key no_name = 'X' importing address = ls_address-address sndart = ls_address-adr_type exceptions address_not_exist = 1 x_error = 2 others = 3.

SO_CONTENT_FROM_KPRO_GET call function 'SO_CONTENT_FROM_KPRO_GET' tables objcont = lt_objcont exceptions kpro_model_error = 1 kpro_inconsistency = 2 x_error = 3 others = 4.

SBCOMS_TABLES_TRANSFER call function 'SBCOMS_TABLES_TRANSFER' destination rfcdest exporting owner_addr = ls_address i_sofm = is_sofm i_sood = ls_sood testmode = testmode target = target tables t_soos = lt_soos t_soes = lt_soes t_sost = lt_sost t_srgbtbrel = lt_srgbtbrel t_bcst_sr = lt_bcst_sr t_srrelroles = lt_srrelroles t_srgbinrel = lt_srgbinrel objhex = lt_objhex objcont = lt_objcont objhead = lt_objhead objpara = lt_objpara objparb = lt_objparb soes_addr = lt_soes_addr exceptions sofm_exists = 1 sood_exists = 2 parent_not_existing = 3 x_error = 4 no_authorization = 5 parameter_error = 6 system_failure = 7 message lv_msg communication_failure = 8 message lv_msg others = 9.

SBCOMS_TABLES_TRANSFER call function 'SBCOMS_TABLES_TRANSFER' destination rfcdest exporting i_bcst_note = ls_bcst_note tables objcont = lt_objcont objhead = lt_objhead objpara = lt_objpara objparb = lt_objparb exceptions others = 0.

SO_ADDRESS_GET call function 'SO_ADDRESS_GET' exporting adrnr = lv_adrnr sndart = lv_sndart lfdnr = lv_lfdnr no_name = 'X' importing address = ls_address-address exceptions address_not_exist = 1 x_error = 2 others = 3.

SBCOMS_TABLES_TRANSFER call function 'SBCOMS_TABLES_TRANSFER' destination rfcdest exporting i_sofm = is_sofm i_sood = ls_sood i_soid = ls_soid testmode = testmode target = target iv_deep_check = 'X' tables t_sodm = lt_sodm soes_addr = lt_soes_addr exceptions sofm_exists = 1 sood_exists = 2 parent_not_existing = 3 x_error = 4 no_authorization = 5 parameter_error = 6 system_failure = 7 message lv_msg communication_failure = 8 message lv_msg others = 9.

SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting text = lv_cnt_c.

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' exporting defaultoption = 'N' textline1 = 'The selected documents will be transferred'(c09) textline2 = 'Do you want to proceed?'(c10) titel = 'Transfer Documents'(c11) cancel_display = ' ' importing answer = lv_answer.

SBCOMS_TABLES_TRANSFER call function 'SBCOMS_TABLES_TRANSFER' destination rfcdest exporting i_sofd = ls_sofd testmode = testmode exceptions sofd_exists = 1 sofm_exists = 2 parent_not_existing = 3 no_authorization = 4 system_failure = 5 message lv_msg communication_failure = 6 message lv_msg others = 7.



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