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

BBP_PD_ARCH_WRITE_F03 SAP ABAP INCLUDE - BBPPDARCHWRITEF03







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

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:

BBP_PROCDOC_GETDETAIL_ARCHIVE CALL FUNCTION 'BBP_PROCDOC_GETDETAIL_ARCHIVE' EXPORTING i_guid = ls_pdlist-guid iv_read_object_relations = gc_no IMPORTING e_crmd_orderadm_h = ls_crmd_orderadm_h et_la_chat = lt_la_chat et_bid_chat = lt_bid_chat TABLES et_bbp_pdhad_v = lt_bbp_pdhad_v et_bbp_pdhgp = lt_bbp_pdhgp et_bbp_pdhsb = lt_bbp_pdhsb et_bbp_pdhsc = lt_bbp_pdhsc et_bbp_pdhss = lt_bbp_pdhss et_bbp_pdbeh = lt_bbp_pdbeh et_crmd_orderadm_i = lt_crmd_orderadm_i et_bbp_pdiad_v = lt_bbp_pdiad_v et_bbp_pdigp = lt_bbp_pdigp et_bbp_pdpset = lt_bbp_pdpset et_bbp_pdbei = lt_bbp_pdbei et_bbp_pdisb = lt_bbp_pdisb et_bbp_pdisc = lt_bbp_pdisc et_bbp_pdiss = lt_bbp_pdiss et_crmd_partner = lt_crmd_partner et_bbp_pdbgp = lt_bbp_pdbgp et_bbp_pdacc = lt_bbp_pdacc et_bbp_pdlim = lt_bbp_pdlim et_bbp_pdcon = lt_bbp_pdcon et_bbp_pdfrt = lt_bbp_pdfrt et_bbp_pdorg = lt_bbp_pdorg et_bbp_pdtax = lt_bbp_pdtax et_bbp_pdatt = lt_bbp_pdatt et_bbp_pdltx = lt_bbp_pdltx et_bbp_pddyn = lt_bbp_pddyn et_bbp_pddynfix = lt_bbp_pddynfix et_bbp_pdsdln = lt_bbp_pdsdln et_bbp_pdhcf = lt_bbp_pdhcf et_bbp_pdicf = lt_bbp_pdicf et_bbp_pdtol = lt_bbp_pdtol et_bbp_pdwgt = lt_bbp_pdwgt et_bbp_pddep = lt_bbp_pddep et_crm_jest = lt_crm_jest "check et_crm_jsto = lt_crm_jsto "check et_srrelroles = lt_srrelroles et_bbp_pdbinrel = lt_bbp_pdbinrel et_prcd_head = lt_prcd_head et_prcd_items = lt_prcd_item et_prcd_cond = lt_prcd_cond et_link = lt_crmd_link et_link_v = lt_bbp_pdlink_v et_la_bidhist = lt_la_bidhist et_la_activity = lt_la_activity et_bbp_pdexr = lt_bbp_pdexr et_bbp_pdhier = lt_bbp_pdhier et_auth_pers = lt_auth_pers e_messages = lt_messages et_history_arch = lt_history_arch.

ARCHIVE_NEW_OBJECT CALL FUNCTION 'ARCHIVE_NEW_OBJECT' EXPORTING archive_handle = archive_handle object_id = ls_pdlist-guid EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.

ARCHIVE_PUT_RECORD CALL FUNCTION 'ARCHIVE_PUT_RECORD' EXPORTING archive_handle = archive_handle record = ls_crmd_orderadm_h record_structure = 'CRMD_ORDERADM_H' EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 invalid_record_structure = 3 OTHERS = 4.

ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING archive_handle = archive_handle EXCEPTIONS file_io_error = 1 internal_error = 2 open_error = 3 termination_requested = 4 wrong_access_to_archive = 5 OTHERS = 6.

BBP_PROCDOC_VERSION_GETLIST CALL FUNCTION 'BBP_PROCDOC_VERSION_GETLIST' EXPORTING iv_header_guid = iv_header_guid iv_read_all_change_versions = gc_yes TABLES et_pdlist = lt_version_list.

/SAPCND/ARCHIVE_RECORDS CALL FUNCTION '/SAPCND/ARCHIVE_RECORDS' EXPORTING i_archive_handle = iv_archive_handle i_application = 'BBP' i_usage = 'PR' it_attrib_value_int = lt_attributes_int IMPORTING e_selection_result = lv_selection_result e_num_selected_records = lv_num_selected_records EXCEPTIONS exc_selecting_records = 1 exc_performing_conversion = 2 exc_termination_requested = 3 exc_unregistered_task = 4 OTHERS = 5.

/SAPCND/ARCHIVE_RECORDS CALL FUNCTION '/SAPCND/ARCHIVE_RECORDS' EXPORTING i_archive_handle = iv_archive_handle i_application = 'BBP' i_usage = 'PR' it_attrib_value_int = lt_attributes_int IMPORTING e_selection_result = lv_selection_result e_num_selected_records = lv_num_selected_records EXCEPTIONS exc_selecting_records = 1 exc_performing_conversion = 2 exc_termination_requested = 3 exc_unregistered_task = 4 OTHERS = 5.



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