SAP Reports / Programs | Supplier Relationship Management | Enterprise Buyer | Archiving(SRM-EBP-ARV) SAP SRM

BBP_SUS_PD_ARCH_CHECK SAP ABAP Report - Preprocessing Program: SUS Document Archiving







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


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


INCLUDES used within this REPORT BBP_SUS_PD_ARCH_CHECK

INCLUDE BBP_PD_ARCH_INCLUDE.


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:

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.



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