BBP_PD_ARCH_WRITE 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 BBP_PD_ARCH_WRITE 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: COMMENTS = Archiving Run Memo
Selection Text: COMPANY = Company
Selection Text: CREATE = Archive
Selection Text: CR_DATE = Document Date
Selection Text: DETLOG = Detail Log
Selection Text: OBJNR = Document Number
Selection Text: PROCTYP = Transaction Type
Selection Text: SO_EKORG = Purchasing Organization
Selection Text: TESTRUN = Test Run
Title: Write Program: Archiving of SRM Documents
Text Symbol: ABL = Flow Control
Text Symbol: OBJ = EBP Docs
Text Symbol: RES = Restrictions
INCLUDE BBP_PD_CON.
INCLUDE ARCHCOMO.
INCLUDE BBP_PD_ARCH_WRITE_TOP . " GLOBAL DATA
INCLUDE BBP_PD_ARCH_WRITE_F01 . " FORM-ROUTINES *
INCLUDE BBP_PD_ARCH_WRITE_F02.
INCLUDE BBP_PD_ARCH_WRITE_F03 . " FORM-ROUTINES *
INCLUDE BBP_PD_ARCH_WRITE_F04 . " FORM-ROUTINES *
INCLUDE BBP_PD_ARCH_WRITE_F05 . " FORM-ROUTINES *
INCLUDE BBP_PD_ARCH_WRITE_F06 . " FORM-ROUTINES *
INCLUDE BBP_PD_ARCH_WRITE_F07 . " FORM-ROUTINES *
INCLUDE BBP_PD_ARCH_WRITE_F08 . " FORM-ROUTINES *
INCLUDE BBP_PD_ARCH_WRITE_F09. " FORM-ROUTINES *
INCLUDE BBP_PD_ARCH_WRITE_F10. " FORM-ROUTINES *
INCLUDE BBP_PD_ARCH_WRITE_F13.
INCLUDE BBP_PD_ARCH_WRITE_F11.
INCLUDE BBP_PD_ARCH_WRITE_F12.
INCLUDE BBP_PD_ARCH_WRITE_F14.
INCLUDE BBP_PD_ARCH_WRITE_F15.
INCLUDE BBP_PD_ARCH_WRITE_F16.
INCLUDE BBP_PD_ARCH_WRITE_F016.
INCLUDE BBP_PD_ARCH_WRITE_F017.
INCLUDE BBP_PD_ARCH_WRITE_F019.
INCLUDE BBP_PD_ARCH_WRITE_F020.
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_OPEN_FOR_WRITE CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING call_delete_job_in_test_mode = testrun create_archive_file = create object = gv_arch_obj comments = comments IMPORTING archive_handle = archive_handle EXCEPTIONS internal_error = 1 object_not_found = 2 open_error = 3 not_authorized = 4 OTHERS = 5.
ARCHIVE_WRITE_STATISTICS CALL FUNCTION 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = archive_handle EXCEPTIONS internal_error = 1 OTHERS = 2.
ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = archive_handle EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.
BBP_MS_C_SELECT_STATUS_GET CALL FUNCTION 'BBP_MS_C_SELECT_STATUS_GET' IMPORTING ev_multicompany = gv_multicompany.
BBP_ARCH_OBJECTS_GET CALL FUNCTION 'BBP_ARCH_OBJECTS_GET' EXPORTING iv_proc_type = proctyp IMPORTING ev_object_type = gs_proc_type-object_type ev_arch_object = gv_arch_obj EXCEPTIONS arch_object_not_found = 1 process_type_unkown = 2 OTHERS = 3.
BBP_ARCH_HELP_VALUE_PROC_TYPE CALL FUNCTION 'BBP_ARCH_HELP_VALUE_PROC_TYPE' EXPORTING iv_application = 'EBP' IMPORTING proc_type = proctyp EXCEPTIONS nothing_found = 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.
BBP_PD_ARCH_WRITE - Write Program: Archiving of SRM Documents BBP_PD_ARCH_WRITE - Write Program: Archiving of SRM Documents BBP_PD_ARCH_SET_STATUS_READ - BBPPDARCHSETSTATUSREAD BBP_PD_ARCH_SET_STATUS_HEF01 - BBPPDARCHSETSTATUSHEF01 BBP_PD_ARCH_SET_STATUS - Status Conversion Program: Archiving of SRM Documents BBP_PD_ARCH_SET_STATUS - Status Conversion Program: Archiving of SRM Documents