0817_INSERT 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 0817_INSERT into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: ANZ = Number
Selection Text: ARC = Archive ID
Selection Text: ARCDOCID = Document Key
Selection Text: DELETE = Delete
Title: Program 0818_INSERT
Text Symbol: 001 = Archive
Text Symbol: 002 = Document
Text Symbol: 003 = Document in Archive
Text Symbol: 004 = Document in Table
Text Symbol: 005 = Document
Text Symbol: 006 = With Error
Text Symbol: 007 = while deleting link
Text Symbol: 008 = Error while writing:
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIV_DELETE_META CALL FUNCTION 'ARCHIV_DELETE_META' EXPORTING OBJECT_ID = okey SAP_OBJECT = otyp DELETE_FLAG = '3' * SINGLE_ENTRY = ' ' * DOCUMENTCLASS = IMPORTING ALL_CONNECTIONS_DELETED = deleted EXCEPTIONS ERROR_CONNECTIONTABLE = 1 ERROR_PARAMETER = 2 ERROR_ARCHIV = 3 ERROR_KERNEL = 4 ERROR_COMMUNICATIONTABLE = 5 OTHERS = 6 .
NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING NR_RANGE_NR = '01' OBJECT = 'ARCHIVELNK' IMPORTING NUMBER = key EXCEPTIONS INTERVAL_NOT_FOUND = 1 NUMBER_RANGE_NOT_INTERN = 2 OBJECT_NOT_FOUND = 3 QUANTITY_IS_0 = 4 QUANTITY_IS_NOT_1 = 5 INTERVAL_OVERFLOW = 6 OTHERS = 7.
OA0817_CREATE CALL FUNCTION 'OA0817_CREATE' EXPORTING KEY = key werte = wa EXCEPTIONS CREATE_ERROR = 1 OTHERS = 2.
ARCHIV_CONNECTION_INSERT CALL FUNCTION 'ARCHIV_CONNECTION_INSERT' EXPORTING ARCHIV_ID = 'A7' ARC_DOC_ID = arcdocid AR_OBJECT = 'BUS0817PDF' MANDANT = sy-mandt OBJECT_ID = okey SAP_OBJECT = 'BUS0817' DOC_TYPE = 'PDF' EXCEPTIONS ERROR_CONNECTIONTABLE = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.