SAP Reports / Programs | Financial Accounting | General Ledger Accounting | CRM Accruals(FI-GL-GL-CAE) SAP FI

IPM_CR_PAYMENT_REPOST SAP ABAP Report - IPM: Reposting of Payments for Contract Revision







IPM_CR_PAYMENT_REPOST is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this report following a contract revision or recoupment of advances to repost paid values from the old item to the new item...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 IPM_CR_PAYMENT_REPOST into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

IPM_CR_REPOST_PAYM - TransfPstng of Pymnts After Revision


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 IPM_CR_PAYMENT_REPOST. "Basic submit
SUBMIT IPM_CR_PAYMENT_REPOST AND RETURN. "Return to original report after report execution complete
SUBMIT IPM_CR_PAYMENT_REPOST 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: SO_BELNR = D .
Selection Text: P_VARI = D .
Selection Text: P_TIVON = D .
Selection Text: P_TIBIS = D .
Selection Text: P_RLDNR = D .
Selection Text: P_DTVON = D .
Selection Text: P_DTBIS = D .
Selection Text: P_BUKRS = D .
Selection Text: P_BUDAT = D .
Selection Text: P_BLART = D .
Selection Text: P_TEST = Test Run
Selection Text: P_HTEXT = Document Header Text
Selection Text: P_FIELD = Field Name for Document Flow
Selection Text: P_DEFER = Reposting First Wth New BDoc.
Selection Text: P_BLARTO = Doc.Type Pstngs w/o Acct.Assgn
Title: IPM: Reposting of Payments for Contract Revision
Text Symbol: T01 = Messages
Text Symbol: S03 = List Output
Text Symbol: S02 = Information on FI Document
Text Symbol: S01 = Reposting Data Selection
Text Symbol: L06 = Statistics
Text Symbol: L05 = Number of Documents With Errors
Text Symbol: L04 = Number of Documents Without Errors
Text Symbol: L03 = Year
Text Symbol: L02 = Doc. No.
Text Symbol: L01 = Errors That Occurred
Text Symbol: C04 = Entry Time To
Text Symbol: C03 = Entry Date To
Text Symbol: C02 = Entry Time From
Text Symbol: C01 = Entry Date From
Text Symbol: 001 = Repost Contract Revision


INCLUDES used within this REPORT IPM_CR_PAYMENT_REPOST

INCLUDE IPM_CR_PAYMENT_REPOST_TOP.


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:

IPM_CR_REPOST_DOCUMENTS_CREATE CALL FUNCTION 'IPM_CR_REPOST_DOCUMENTS_CREATE' EXPORTING iv_bukrs = p_bukrs iv_ledger = p_rldnr iv_bea = p_bea iv_date_from = p_dtvon iv_time_from = p_tivon iv_date_to = p_dtbis iv_time_to = p_tibis iv_blart = p_blart iv_budat = p_budat iv_doc_flow_field = p_field iv_blarto = p_blarto iv_defer_cancellation = p_defer IMPORTING et_acc_doc = gt_acc_doc TABLES ir_belnr = so_belnr EXCEPTIONS no_items_for_reposting = 1.

IPM_CR_REPOST_DOCUMENTS_POST CALL FUNCTION 'IPM_CR_REPOST_DOCUMENTS_POST' CHANGING ct_acc_doc = gt_acc_doc.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = lv_repid i_callback_user_command = 'LIST_USER_COMMAND' is_layout = ls_layout it_fieldcat = lt_fieldcat[] it_special_groups = lt_sp_group[] i_save = 'A' is_variant = is_variant it_events = lt_events it_event_exit = lt_event_exit i_tabname_header = gc_tabname_header i_tabname_item = gc_tabname_item is_keyinfo = ls_keyinfo TABLES t_outtab_header = lt_header t_outtab_item = lt_item.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_internal_tabname = gc_tabname_header i_structure_name = 'IPM_CR_LIST_HEADER' CHANGING ct_fieldcat = ct_fieldcat[].

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_internal_tabname = gc_tabname_item i_structure_name = 'IPM_CR_LIST_ITEM' CHANGING ct_fieldcat = ct_fieldcat[].

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = lv_repid i_callback_top_of_page = 'TOP_OF_PAGE_MES' i_structure_name = 'BAPIRET2' i_screen_start_column = 50 i_screen_start_line = 10 i_screen_end_column = 150 i_screen_end_line = 30 TABLES t_outtab = is_acc_doc-messages.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_top_of_page_mes.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = 'A' CHANGING cs_variant = ps_variant.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = ps_variant i_save = 'A' IMPORTING e_exit = lv_flg_exit es_variant = ls_variant EXCEPTIONS not_found = 1 program_error = 2.

G_BEB_MOVE_ACCIT_TO_STRING CALL FUNCTION 'G_BEB_MOVE_ACCIT_TO_STRING' EXPORTING i_ledger = iv_rldnr i_accit = ls_fagl_accit EXCEPTIONS wrong_parameters = 1.

DDIF_DTEL_GET CALL FUNCTION 'DDIF_DTEL_GET' EXPORTING name = iv_name langu = sy-langu IMPORTING dd04v_wa = ls_dd04v EXCEPTIONS illegal_input = 1 OTHERS = 2.



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