SAP Reports / Programs | Financial Accounting | Contract Accounts Receivable and Payable | Convergent Invoicing(FI-CA-INV) SAP FI

RFKKINV_SAMPLE_ADJUST_BILLDOC SAP ABAP Report - Adjust Billing Document







RFKKINV_SAMPLE_ADJUST_BILLDOC is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report is a sample solution and is designed to be used as a copying template for a customer solution...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_SAMPLE_ADJUST_BILLDOC 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 RFKKINV_SAMPLE_ADJUST_BILLDOC. "Basic submit
SUBMIT RFKKINV_SAMPLE_ADJUST_BILLDOC AND RETURN. "Return to original report after report execution complete
SUBMIT RFKKINV_SAMPLE_ADJUST_BILLDOC 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: S_BP = Breakpoint
Selection Text: S_ADJ = D .
Selection Text: S_ARCH = D .
Selection Text: S_CFC = D .
Selection Text: S_TEST = D .
Title: Adjust Billing Document
Text Symbol: 023 = Simulation Run Without Update
Text Symbol: 024 = Error When Executing Adjustment
Text Symbol: 025 = Adjustment Completed Successfully
Text Symbol: 030 = Parameter &1 Row &2 Field &3
Text Symbol: 040 = Report is copying template only for cust.-specific solution and does not adjust documents
Text Symbol: 041 = See the Documentation


INCLUDES used within this REPORT RFKKINV_SAMPLE_ADJUST_BILLDOC

INCLUDE IFKKINV_CO.


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:

FKKINV_BILLDOC_ADJUST CALL FUNCTION 'FKKINV_BILLDOC_ADJUST' EXPORTING im_input = p_obj-input im_testrun = p_obj-testrun im_read_archive = p_obj-read_archive im_cfcvalidation = p_obj-cfc im_in_update_task = lv_upd_task IMPORTING ex_output = p_obj-output.

FKK_INV_BILLDOC_DISP CALL FUNCTION 'FKK_INV_BILLDOC_DISP' EXPORTING x_repid = sy-repid x_billdoc_tab = lt_billdoc EXCEPTIONS OTHERS = 1.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_structure_name = 'BAPITGB' is_layout = ls_layout TABLES t_outtab = lt_log_text EXCEPTIONS OTHERS = 0.

BAPI_MESSAGE_GETDETAIL CALL FUNCTION 'BAPI_MESSAGE_GETDETAIL' EXPORTING id = ls_log-id number = ls_log-number textformat = 'ASC' message_v1 = ls_log-message_v1 message_v2 = ls_log-message_v2 message_v3 = ls_log-message_v3 message_v4 = ls_log-message_v4 TABLES text = lt_delta_text.

FKK_GET_APPLICATION CALL FUNCTION 'FKK_GET_APPLICATION' IMPORTING e_applk = lv_applk EXCEPTIONS OTHERS = 0.

FKK_INV_SRCDOCNO_CONV_FR_ORIG CALL FUNCTION 'FKK_INV_SRCDOCNO_CONV_FR_ORIG' EXPORTING i_srcdoccat = cl_fkkinv_co=>doccat_invbill i_doc_invbi = p_obj-adjusted_billdoc-header-billdocno IMPORTING e_srcdocno = ls_srcdoc-srcdocno.

FKK_INV_SRCDOCNO_CONV_FR_ORIG CALL FUNCTION 'FKK_INV_SRCDOCNO_CONV_FR_ORIG' EXPORTING i_srcdoccat = cl_fkkinv_co=>doccat_invbill i_doc_invbi = p_obj-output-adjustment_billdocno IMPORTING e_srcdocno = ls_srcdoc-srcdocno.

FKK_INV_TRIGGER_SELECT CALL FUNCTION 'FKK_INV_TRIGGER_SELECT' EXPORTING i_applk = lv_applk i_srcdoc_tab = lt_srcdoc IMPORTING e_fkkinv_trig_tab = lt_fkkinv_trig.



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