SAP Reports / Programs

BBP_SUS_PD_ARCH_WRITE SAP ABAP Report - Write Program: SUS Document Archiving







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


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 BBP_SUS_PD_ARCH_WRITE. "Basic submit
SUBMIT BBP_SUS_PD_ARCH_WRITE AND RETURN. "Return to original report after report execution complete
SUBMIT BBP_SUS_PD_ARCH_WRITE 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: 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


INCLUDES used within this REPORT BBP_SUS_PD_ARCH_WRITE

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.


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_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.



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 BBP_SUS_PD_ARCH_WRITE or its description.