RFKKINV_DFKKINVBILLA_DELETE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for trados = fi You can use this report as a preprocessing run for archiving billing doc uments...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 RFKKINV_DFKKINVBILLA_DELETE into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
FKKINVBILL_A_DEL - Delete Billing Additional Data
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: P_COMENT = Comment for Deletion Run
Selection Text: P_DELPRD = D .
Selection Text: P_DELTST = D .
Selection Text: P_PROT = D .
Selection Text: P_PROT_O = D .
Selection Text: P_WRIPRD = D .
Selection Text: P_WRITST = D .
Selection Text: S_DOCNO = D .
Selection Text: S_DOCTY = D .
Title: Delete Additional Items of Billing Documents
INCLUDE RFKKINV_ARCH_TOP.
No SAP DATABASE tables are accessed within this REPORT code!
FKK_GET_APPLICATION CALL FUNCTION 'FKK_GET_APPLICATION' IMPORTING e_applk = l_applk EXCEPTIONS no_appl_selected = 1 OTHERS = 2.
FKK_INV_DB_TFK005_INVBILL_SEL CALL FUNCTION 'FKK_INV_DB_TFK005_INVBILL_SEL' EXPORTING i_applk = l_applk i_doctype_range = it_doctype i_select_with_range = 'X' IMPORTING et_tfk005_invbill = it_tfk005_invbill EXCEPTIONS no_data_found = 1 OTHERS = 2.
FKK_INV_DB_TFK2600_SELECT CALL FUNCTION 'FKK_INV_DB_TFK2600_SELECT' EXPORTING i_object = co_billdoc_arch_obj i_applk = l_applk IMPORTING et_tfk2600 = it_tfk2600 EXCEPTIONS no_data_found = 1 OTHERS = 2.
ARCHIVE_PROTOCOL_INIT CALL FUNCTION 'ARCHIVE_PROTOCOL_INIT' EXPORTING i_detailprotocol = p_prot.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_msgtype = '2' i_msgid = 'FKKINV' i_msgno = '508'.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_msgtype = '3' i_msgid = 'FKKINV' i_msgno = '511'.
FKK_INV_DFKKINVBILL_A_DELETE CALL FUNCTION 'FKK_INV_DFKKINVBILL_A_DELETE' EXPORTING i_prod = p_delprd i_test = p_deltst i_protocol = p_prot IMPORTING et_error_messages = it_error_messages "checkman BS CHANGING ct_dfkkinvbill_h = it_dfkkinvbill_h.
ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object =
-object i_msgtype = -msgtype i_msgid = -msgid i_msgno = -msgno i_msgv1 = -msgv1 i_msgv2 = -msgv2.
ARCHIVE_PROTOCOL_WRITE CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFKKINV_DFKKINVBILLA_DELETE - Delete Additional Items of Billing Documents RFKKINV_DFKKINVBILLA_DELETE - Delete Additional Items of Billing Documents RFKKINV_DELETE_SIM_INVDOCS - Delete Simulated Invoicing Documents RFKKINV_DELETE_SIM_INVDOCS - Delete Simulated Invoicing Documents RFKKINV_DELETE_SIM_BILLDOCS - Delete Simulated Billing Documents RFKKINV_DELETE_SIM_BILLDOCS - Delete Simulated Billing Documents