BBP_SUS_PD_ARCH_CHECK is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report checks if Supplier Self Service documents can be archived...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 BBP_SUS_PD_ARCH_CHECK 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: CR_DATE = Document Date
Selection Text: DETLOG = Detail Log
Selection Text: P_CLOSED = Documents with Status 'Closed'
Selection Text: P_SUSMM = Check SUS-MM Document
Selection Text: SET_STAT = Set Status
Selection Text: SOVENDOR = Supplier
Selection Text: SO_FIRMA = Company
Selection Text: SO_OBJID = Document Number
Selection Text: SO_PROTP = Transaction Type
Selection Text: TESTRUN = Test Run
Title: Preprocessing Program: SUS Document Archiving
Text Symbol: ABL = Proc.Flow Cntrl
Text Symbol: AR2 = Set Status to 'Closed' and 'Archivable'
Text Symbol: CLO = Only Consider Documents with Status 'Closed'
Text Symbol: LOG = Detail Log
Text Symbol: OBJ = SUS Documents
Text Symbol: RES = Restrictions
Text Symbol: SMM = Check Available SUS-MM Documents
Text Symbol: TST = Test Run
INCLUDE BBP_PD_ARCH_INCLUDE.
No SAP DATABASE tables are accessed within this REPORT code!
RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' IMPORTING act_plvar = lv_plvar EXCEPTIONS no_active_plvar = 01.
BBP_MS_C_SELECT_STATUS_GET CALL FUNCTION 'BBP_MS_C_SELECT_STATUS_GET' IMPORTING ev_marketset = gv_marketset ev_multicompany = gv_multicompany.
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_ARCH_HELP_VALUE_PROC_TYPE CALL FUNCTION 'BBP_ARCH_HELP_VALUE_PROC_TYPE' EXPORTING iv_application = 'SUS' IMPORTING proc_type = so_protp 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_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 BBP_SUS_CLOSE_PO_FOR_ARCHIVING - Program Sets Status to 'Completed' for Purchase Orders BBP_SUS_CLOSE_PO_FOR_ARCHIVING - Program Sets Status to 'Completed' for Purchase Orders