BBP_SUS_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_SUS_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: SOVENDOR = Supplier
Selection Text: TESTRUN = Test Run
Title: Write Program: SUS Document Archiving
Text Symbol: ABL = Proc.Flow Cntrl
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_F018.
INCLUDE BBP_PD_ARCH_WRITE_F019.
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.
F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'SOVENDOR' fieldname = 'LOW' searchhelp = 'BBP_BUPA_VENDOR' * SHLPPARAM = ' ' * DYNPPROG = 'BBP_SUS_PD_ARCH_CHECK' * DYNPNR = '1000' * DYNPROFIELD = 'SOVENDOR-LOW' TABLES return_tab = gt_return_tab.
F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'SOVENDOR' fieldname = 'HIGH' searchhelp = 'BBP_BUPA_VENDOR' * SHLPPARAM = ' ' * DYNPPROG = 'BBP_SUS_PD_ARCH_CHECK' * DYNPNR = '1000' * DYNPROFIELD = 'SOVENDOR-LOW' TABLES return_tab = gt_return_tab.
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 = 'SUS' 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_SUS_PD_ARCH_WRITE - Write Program: SUS Document Archiving BBP_SUS_PD_ARCH_WRITE - Write Program: SUS Document Archiving BBP_SUS_PD_ARCH_CHECK - Preprocessing Program: SUS Document Archiving BBP_SUS_PD_ARCH_CHECK - Preprocessing Program: SUS Document Archiving BBP_SUS_DOC_EXPORT_TEST - Program BBP_SUS_DOC_EXPORT_TEST BBP_SUS_DOC_EXPORT_TEST - Program BBP_SUS_DOC_EXPORT_TEST