SAP Reports / Programs

/BEV1/EMBSDRL SAP ABAP Report - Reload Empties Stock







/BEV1/EMBSDRL is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Reloading alreadyarchived recors from the file YCLLGBSD...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 /BEV1/EMBSDRL 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 /BEV1/EMBSDRL. "Basic submit
SUBMIT /BEV1/EMBSDRL AND RETURN. "Return to original report after report execution complete
SUBMIT /BEV1/EMBSDRL 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: DD_KTOIN = Account Holder
Selection Text: DD_PERIO = Period
Selection Text: PRTEXT = Issue log texts
Selection Text: TESTLAUF = Test Run
Title: Reload Empties Stock
Text Symbol: 001 = Act.Holder/Period Reloaded:
Text Symbol: 002 = Test: Act.Holder/Period Recog. f. Reload.:
Text Symbol: 003 = Record $1 $2: already available, cannot be reloaded


INCLUDES used within this REPORT /BEV1/EMBSDRL

INCLUDE ARCHCOMO.


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:

ARCHIVE_OPEN_FOR_MOVE CALL FUNCTION 'ARCHIVE_OPEN_FOR_MOVE' EXPORTING object = 'BEV1_EMBD' test_mode = testlauf IMPORTING archive_read_handle = handle_read archive_write_handle = handle_write EXCEPTIONS file_already_open = 1 file_io_error = 2 internal_error = 3 no_files_available = 4 object_not_found = 5 open_error = 6 not_authorized = 7 OTHERS = 8.

ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = handle_read IMPORTING object_id = arc_object_id object_offset = gv_object_offset archive_name = gv_archive_name EXCEPTIONS end_of_file = 1 file_io_error = 2 internal_error = 3 open_error = 4 wrong_access_to_archive = 5 OTHERS = 6.

ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING archive_handle = handle_read IMPORTING * RECORD = ARC_BUFFER-SEGMENT record_flags = arc_buffer-flags record_structure = arc_buffer-rname record_ref = buffer_ref "Unicode EXCEPTIONS end_of_object = 1 internal_error = 2 wrong_access_to_archive = 3 OTHERS = 4.

ARCHIVE_RELOAD_OBJECT_DATA CALL FUNCTION 'ARCHIVE_RELOAD_OBJECT_DATA' EXPORTING archive_handle = handle_read EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.

ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = handle_write EXCEPTIONS file_io_error = 1 internal_error = 2 open_error = 3 termination_requested = 4 wrong_access_to_archive = 5 OTHERS = 6.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = handle_read EXCEPTIONS internal_error = 1 wrong_access_to_archive = 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 /BEV1/EMBSDRL or its description.