SAP Reports / Programs | Financials | Financial Supply Chain Management | FSCM In-House Cash(FIN-FSCM-IHC) SAP FIN

IHC_APPL_ARCHIVE_WRITE SAP ABAP Report - IHC Payment Orders Archiving: Write Program







IHC_APPL_ARCHIVE_WRITE 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 IHC_APPL_ARCHIVE_WRITE 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 IHC_APPL_ARCHIVE_WRITE. "Basic submit
SUBMIT IHC_APPL_ARCHIVE_WRITE AND RETURN. "Return to original report after report execution complete
SUBMIT IHC_APPL_ARCHIVE_WRITE 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: P_WRITST = D .
Selection Text: P_WRIPRD = D .
Selection Text: P_PROT_O = D .
Selection Text: P_PROT = D .
Selection Text: P_DELTST = D .
Selection Text: P_COMENT = D .
Selection Text: PX_PROD = Update Run
Selection Text: PX_NODEL = No Deletion
Selection Text: IT_UNIT = D .
Selection Text: IT_TRNS = D .
Selection Text: IT_STAT = D .
Selection Text: IT_PN_YR = D .
Selection Text: IT_PN_NM = D .
Selection Text: IT_DATE = D .
Selection Text: IT_ACCT = D .
Title: IHC Payment Orders Archiving: Write Program
Text Symbol: 101 = Enter Further Free Selection
Text Symbol: 100 = Further Free Selection
Text Symbol: 010 = IHC Archiv.Run:
Text Symbol: 005 = Archiving: Messages
Text Symbol: 004 = - Archiving Variant
Text Symbol: 003 = Selection Criteria for Payment Orders to Be Archived
Text Symbol: 002 = Payment Orders to Be Archived


INCLUDES used within this REPORT IHC_APPL_ARCHIVE_WRITE

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:

SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING program = sy-repid restriction = ls_restriction EXCEPTIONS OTHERS = 1.

ARCHIVE_PROTOCOL_INIT CALL FUNCTION 'ARCHIVE_PROTOCOL_INIT' EXPORTING i_detailprotocol = p_prot.

FREE_SELECTIONS_RANGE_2_WHERE CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_WHERE' EXPORTING field_ranges = gt_selections IMPORTING where_clauses = lt_selections.

ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = l_object_identifier * I_TEXT = i_msgtype = 2 i_msgid = 'IHC' i_msgno = '800' i_msgv1 = l_object_identifier * I_MSGV2 = * I_MSGV3 = * I_MSGV4 = * I_CALLBACK_PARAMETER = .

DDIF_DTEL_GET * CALL FUNCTION 'DDIF_DTEL_GET' * EXPORTING * name = l_ddic_name * langu = sy-langu * IMPORTING * dd04v_wa = lw_ddic_data * EXCEPTIONS * illegal_input = 1 * OTHERS = 2.

FREE_SELECTIONS_RANGE_2_EX * CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_EX' * EXPORTING * field_ranges = gt_selections * IMPORTING * expressions = lt_expressions.

FREE_SELECTIONS_INIT * CALL FUNCTION 'FREE_SELECTIONS_INIT' * EXPORTING * kind = 'F' * expressions = lt_expressions * restriction = ls_restriction * IMPORTING * selection_id = l_selection_id * TABLES * fields_tab = lt_field_list * field_texts = lt_field_texts * fields_not_selected = lt_negative_list * EXCEPTIONS * OTHERS = 1.

FREE_SELECTIONS_DIALOG * CALL FUNCTION 'FREE_SELECTIONS_DIALOG' * EXPORTING * selection_id = l_selection_id * title = 'Selektionskriterien für zu archivierenden Zahlungsaufträge'(003) * as_window = 'X' * IMPORTING * field_ranges = gt_selections * TABLES * fields_tab = lt_field_list * EXCEPTIONS * no_action = 1 * OTHERS = 2.

DYNP_VALUES_READ * CALL FUNCTION 'DYNP_VALUES_READ' * EXPORTING * dyname = sy-repid * dynumb = sy-dynnr * TABLES * dynpfields = lt_dynpfield * EXCEPTIONS * OTHERS = 1.



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