SAP Reports / Programs

BBP_PD_ARCH_MAKE_OLDER SAP ABAP Report - Program to Age Documents Artificially for SC, PO, CONF, INV







BBP_PD_ARCH_MAKE_OLDER 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_MAKE_OLDER 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_PD_ARCH_MAKE_OLDER. "Basic submit
SUBMIT BBP_PD_ARCH_MAKE_OLDER AND RETURN. "Return to original report after report execution complete
SUBMIT BBP_PD_ARCH_MAKE_OLDER 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: CEA_STAT = Set Status (I1021=Created)
Selection Text: GUID = GUID
Selection Text: OBJID = Document Number
Selection Text: PROCTYP = Document Type
Selection Text: P_WORD = Password
Selection Text: STAT = Set Status to 'Deleted'
Selection Text: TAGE = Days Since Last Change
Selection Text: TESTLAUF = Test
Selection Text: VDATE = Set 'Checked on' to Initial
Selection Text: VTAGE = Days Since Checked
Title: Program to Age Documents Artificially for SC, PO, CONF, INV
Text Symbol: 001 = Object_id Description Type Changed_at VERIFY_DATE GUID
Text Symbol: 003 = Status Converted. New Status:
Text Symbol: 006 = Transaction not Available in DB
Text Symbol: 007 = Status for Object &1 Cannot be Determined - Errors in Status Management
Text Symbol: 008 = New Version:
Text Symbol: 009 = Old Version:
Text Symbol: 010 = Status Created for Object &1
Text Symbol: 012 = No Update on DB - Test Mode Only!


INCLUDES used within this REPORT BBP_PD_ARCH_MAKE_OLDER

INCLUDE BBP_PD_CON_CL.


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:

BBP_ARCH_OBJECTS_GET CALL FUNCTION 'BBP_ARCH_OBJECTS_GET' EXPORTING iv_proc_type = proctyp IMPORTING ev_object_type = object_type EXCEPTIONS arch_object_not_found = 1 process_type_unkown = 2 OTHERS = 3.

BBP_PDSEC_SUS_AUTH_CHECK CALL FUNCTION 'BBP_PDSEC_SUS_AUTH_CHECK' EXPORTING is_auth_check = ls_auth_check tables ET_MESSAGES = lt_messages_dummy EXCEPTIONS not_authorized = 1 OTHERS = 2.

BBP_PDSEC_AUTHORITY_CHECK CALL FUNCTION 'BBP_PDSEC_AUTHORITY_CHECK' EXPORTING is_auth_check = ls_auth_check tables ET_MESSAGES = lt_messages_dummy EXCEPTIONS not_authorized = 1 OTHERS = 2.

BBP_ARCH_HELP_VALUE_PROC_TYPE CALL FUNCTION 'BBP_ARCH_HELP_VALUE_PROC_TYPE' IMPORTING proc_type = proctyp EXCEPTIONS nothing_found = 1 OTHERS = 2.

CRM_STATUS_READ * CALL FUNCTION 'CRM_STATUS_READ' * EXPORTING * client = sy-mandt * objnr = lt_crmd_orderadm_h-guid * only_active = 'X' * TABLES * status = lt_jstat_read * EXCEPTIONS * object_not_found = 1 * OTHERS = 2.

CRM_STATUS_CHANGE_INTERN * CALL FUNCTION 'CRM_STATUS_CHANGE_INTERN' * EXPORTING * objnr = lt_crmd_orderadm_h-guid * TABLES * status = lt_jstat * EXCEPTIONS * object_not_found = 1 * status_inconsistent = 2 * status_not_allowed = 3 * OTHERS = 4.

CRM_STATUS_OBJECT_CREATE CALL FUNCTION 'CRM_STATUS_OBJECT_CREATE' EXPORTING objnr = iv_header obtyp = lv_obtyp EXCEPTIONS obtyp_invalid = 1 status_object_already_exists = 2 stsma_invalid = 3 stsma_obtyp_invalid = 4 error_ocurred = 5 OTHERS = 6.



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