SAP Reports / Programs

DMS_RELOCATE_CONTENT SAP ABAP Report - Transfer Documents







DMS_RELOCATE_CONTENT 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 DMS_RELOCATE_CONTENT 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 DMS_RELOCATE_CONTENT. "Basic submit
SUBMIT DMS_RELOCATE_CONTENT AND RETURN. "Return to original report after report execution complete
SUBMIT DMS_RELOCATE_CONTENT 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: S_SCAT = D Storage Category
Selection Text: S_DOKNR = D Document
Selection Text: S_DOKAR = D Document Type
Selection Text: S_DAPPL = D WS Application
Selection Text: P_TEST = Test Mode
Selection Text: P_SVLOG = Save Application Log
Selection Text: P_SCAT = New Storage Category
Selection Text: P_LOG = External Log Number
Selection Text: P_LIDX = Only at Highest Index
Selection Text: P_HTTP = RFC Destination HTTP
Selection Text: P_FTP = RFC Destination FTP
Selection Text: P_DOKST = D Document Status
Selection Text: P_DDATE = Last Changed On/By
Selection Text: P_DAYS = Set Since (Days)
Title: Transfer Documents
Text Symbol: 100 = Fill Cache
Text Symbol: 004 = Settings
Text Symbol: 003 = Selection Using OriginalData
Text Symbol: 002 = Selection Using Status/Status Log
Text Symbol: 001 = DocumentSelection


INCLUDES used within this REPORT DMS_RELOCATE_CONTENT

INCLUDE SBAL_CONSTANTS.


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:

CV210_GET_DOCUMENT_DATA CALL FUNCTION 'CV210_GET_DOCUMENT_DATA' EXPORTING: pf_dokst = p_dokst pf_days = p_days pf_last_date = p_ddate pf_last_index_only = p_lidx TABLES: pt_sel_dokar = lt_sel_dokar pt_sel_doknr = lt_sel_doknr ptx_draw = ptx_draw EXCEPTIONS: no_data_found = 1 OTHERS = 2.

CV210_RELOCATE_CONTENT CALL FUNCTION 'CV210_RELOCATE_CONTENT' EXPORTING: pf_phio_date = p_pdate pf_ftp_dest = p_ftp pf_http_dest = p_http pf_test_mode = p_test pf_dest = p_scat pf_del = p_delx TABLES: pt_draw = pt_draw pt_dappl = lt_dappl pt_scat = lt_scat ptx_msg = lt_msg.

CV117_SCAT_SHOW_LIST CALL FUNCTION 'CV117_SCAT_SHOW_LIST' EXPORTING: pf_stype = 'KPRO' pf_show = 'X' IMPORTING: pfx_scat = pfx_dttrg.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING: i_s_log = ls_log IMPORTING: e_log_handle = pfx_log_handle EXCEPTIONS: OTHERS = 1.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING: i_log_handle = gf_log_handle i_s_msg = ps_msg EXCEPTIONS: log_not_found = 0 OTHERS = 1.

BAL_DSP_PROFILE_STANDARD_GET CALL FUNCTION 'BAL_DSP_PROFILE_STANDARD_GET' IMPORTING: e_s_display_profile = ls_dis_prof.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING: i_s_display_profile = ls_dis_prof EXCEPTIONS: profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.

BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING: i_in_update_task = '' i_save_all = 'X' EXCEPTIONS: log_not_found = 1 save_not_allowed = 2 numbering_error = 3 OTHERS = 4.



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