SAP Reports / Programs | Supplier Relationship Management | Enterprise Buyer | Cross-Industry Functions(SRM-EBP-CRI) SAP SRM

/SAPPSSRM/DOCB_SRM_VAR_MAP SAP ABAP Report - /SAPPSSRM/DOCBSRMVARMAP







/SAPPSSRM/DOCB_SRM_VAR_MAP 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 /SAPPSSRM/DOCB_SRM_VAR_MAP 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 /SAPPSSRM/DOCB_SRM_VAR_MAP. "Basic submit
SUBMIT /SAPPSSRM/DOCB_SRM_VAR_MAP AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPPSSRM/DOCB_SRM_VAR_MAP 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: P_DLOAD = Download to Files
Selection Text: P_MAP = File for DB_MAP
Selection Text: P_REF = File for DB_REF
Selection Text: P_UPLOAD = Upload from Files
Text Symbol: 001 = Upload/Download Successful
Text Symbol: 002 = Errors during Upload/Download __ Run the report again with correct parameters


INCLUDES used within this REPORT /SAPPSSRM/DOCB_SRM_VAR_MAP

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:

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = lv_filename_map filetype = 'ASC' "HAS_FIELD_SEPARATOR = 'X' * dat_mode = 'X' TABLES data_tab = lit_filedata EXCEPTIONS file_open_error = 1 file_read_error = 2 no_batch = 3 gui_refuse_filetransfer = 4 invalid_type = 5 no_authority = 6 unknown_error = 7 bad_data_format = 8 header_not_allowed = 9 separator_not_allowed = 10 header_too_long = 11 unknown_dp_error = 12 access_denied = 13 dp_out_of_memory = 14 disk_full = 15 dp_timeout = 16 OTHERS = 17.

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = lv_filename_ref filetype = 'ASC' "HAS_FIELD_SEPARATOR = 'X' * dat_mode = 'X' TABLES data_tab = lit_filedata EXCEPTIONS file_open_error = 1 file_read_error = 2 no_batch = 3 gui_refuse_filetransfer = 4 invalid_type = 5 no_authority = 6 unknown_error = 7 bad_data_format = 8 header_not_allowed = 9 separator_not_allowed = 10 header_too_long = 11 unknown_dp_error = 12 access_denied = 13 dp_out_of_memory = 14 disk_full = 15 dp_timeout = 16 OTHERS = 17.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = lv_filename_ref filetype = 'ASC' write_field_separator = 'X' col_select = 'X' col_select_mask = ' XXXXX' TABLES data_tab = lit_dbref 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.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = lv_filename_map filetype = 'ASC' write_field_separator = 'X' col_select = 'X' col_select_mask = ' XXXX' TABLES data_tab = lit_dbmap 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.



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 /SAPPSSRM/DOCB_SRM_VAR_MAP or its description.