SAP Reports / Programs

/ORS/0000007_ATTACH_IMAGE SAP ABAP Report - Image Atachment test tool







/ORS/0000007_ATTACH_IMAGE 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 /ORS/0000007_ATTACH_IMAGE 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 /ORS/0000007_ATTACH_IMAGE. "Basic submit
SUBMIT /ORS/0000007_ATTACH_IMAGE AND RETURN. "Return to original report after report execution complete
SUBMIT /ORS/0000007_ATTACH_IMAGE 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_INVKEY = Invoice Key
Selection Text: P_INVTY = Invoice type
Title: Image Atachment test tool


INCLUDES used within this REPORT /ORS/0000007_ATTACH_IMAGE

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 = lfilename filetype = 'BIN' IMPORTING filelength = lf_filesize * HEADER = TABLES data_tab = lt_data 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 .

/ORS/000007_WEB_ATT_CREATE CALL FUNCTION '/ORS/000007_WEB_ATT_CREATE' EXPORTING invoice_type = p_invty invoice_key = p_invkey archive_id = 'V6' filesize = lf_filesize current_approver = l_appr workitem_id = ls_wiid TABLES data_streem = lt_data return = lt_return.



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 /ORS/0000007_ATTACH_IMAGE or its description.