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

BBP_PD_ARCH_WRITE_F05 SAP ABAP INCLUDE - BBPPDARCHWRITEF05







BBP_PD_ARCH_WRITE_F05 is a standard ABAP INCLUDE 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_WRITE_F05 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_WRITE_F05. "Basic submit
SUBMIT BBP_PD_ARCH_WRITE_F05 AND RETURN. "Return to original report after report execution complete
SUBMIT BBP_PD_ARCH_WRITE_F05 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT BBP_PD_ARCH_WRITE_F05

No INCLUDES are used within this REPORT code!


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_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = archive_handle record_structure = 'BBP_PDHSB' TABLES table = it_bbp_pdhsb EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = archive_handle record_structure = 'BBP_PDIGP' TABLES table = it_bbp_pdigp[] EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = archive_handle record_structure = 'BBP_PDPSET' TABLES table = it_bbp_pdpset[] EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = archive_handle record_structure = 'BBP_PDBEI' TABLES table = it_bbp_pdbei[] EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = archive_handle record_structure = 'BBP_PDISB' TABLES table = it_bbp_pdisb[] EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.

BBP_WFLH_LAST_CHNG_VERSION_GET CALL FUNCTION 'BBP_WFLH_LAST_CHNG_VERSION_GET' EXPORTING iv_guid = lv_guid_32 IMPORTING ev_cv_guid = lv_cv_guid_32 ev_cv_closed = lv_cv_closed.

BBP_PDH_WFL_WI_FROM_OBJECT_GET CALL FUNCTION 'BBP_PDH_WFL_WI_FROM_OBJECT_GET' EXPORTING iv_object_type = iv_document_type iv_object_id = iv_object_id iv_guid = lv_guid IMPORTING ev_workitem_header = ls_workflow.

BBP_PDH_WFL_APPROVAL_SIMULATE CALL FUNCTION 'BBP_PDH_WFL_APPROVAL_SIMULATE' EXPORTING iv_object_type = iv_document_type iv_object_id = iv_object_id iv_guid = lv_guid IMPORTING ev_start_cond_task = lv_start_cond_task ev_db_workitem_id = lv_db_workitem_id TABLES et_adhoc_agents = lt_adhoc_agents et_reviewer = lt_reviewer EXCEPTIONS workflow_not_found = 1 workflow_not_actual = 2 OTHERS = 3.

BBP_PDH_WFL_PARAM_APPLET_FILL2 CALL FUNCTION 'BBP_PDH_WFL_PARAM_APPLET_FILL2' EXPORTING iv_start_task = lv_start_cond_task iv_start_wi_id = lv_db_workitem_id iv_db_workitem_id = lv_db_workitem_id iv_object_type = iv_document_type iv_object_id = iv_object_id iv_guid = lv_guid TABLES et_nodes = lt_nodes et_lines = lt_lines et_agnts = lt_agnts et_tasks = lt_tasks et_wis = lt_wis et_approval_nodes = lt_approval_nodes et_virtual_nodes = lt_virtual_nodes.

BBP_PDH_WFL_PARAM_APPLET_TRANS CALL FUNCTION 'BBP_PDH_WFL_PARAM_APPLET_TRANS' EXPORTING iv_object_type = iv_document_type TABLES it_nodes = lt_nodes it_lines = lt_lines it_agnts = lt_adhoc_agents it_tasks = lt_tasks it_wis = lt_wis it_virtual_nodes = lt_virtual_nodes et_table_agnts = lt_agnts.

BBP_PDH_WFL_APPROV_TABLE_TRAN2 CALL FUNCTION 'BBP_PDH_WFL_APPROV_TABLE_TRAN2' EXPORTING iv_object_type = iv_document_type iv_object_id = iv_object_id iv_workitem_id = lv_db_workitem_id TABLES it_nodes = lt_nodes it_approval_nodes = lt_approval_nodes it_table_agnts = lt_agnts it_reviewer = lt_reviewer et_approval_preview = lt_approval_preview.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = archive_handle record_structure = 'SWR_WIHDR' TABLES table = lt_workflow[] EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = archive_handle record_structure = 'SWD_API_AG' TABLES table = lt_adhoc_agents[] EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = archive_handle record_structure = 'BBP_API_AG' TABLES table = lt_agnts[] EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = archive_handle record_structure = 'BBP_S_REVIEWER' TABLES table = lt_reviewer[] EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = archive_handle record_structure = 'SWD_API_ND' TABLES table = lt_nodes[] EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = archive_handle record_structure = 'SWD_API_LN' TABLES table = lt_lines[] EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = archive_handle record_structure = 'SWD_API_TS' TABLES table = lt_tasks[] EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.

ARCHIVE_PUT_TABLE





CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = archive_handle record_structure = 'SWD_API_WIS' TABLES table = lt_wis[] EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = archive_handle record_structure = 'BBPS_WFL_VIRTUAL_NODES' TABLES table = lt_virtual_nodes[] EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = archive_handle record_structure = 'BBP_APPROVAL_PREVIEW_TABLE' TABLES table = lt_approval_preview[] EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.

ARCHIVE_PUT_TABLE CALL FUNCTION 'ARCHIVE_PUT_TABLE' EXPORTING archive_handle = archive_handle record_structure = 'BBP_APPROVAL_PREVIEW_TABLE2' TABLES table = lt_approval_nodes[] EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.



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