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
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
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: 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
INCLUDE IFKKINV_CO.
No SAP DATABASE tables are accessed within this REPORT code!
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.
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_SAMPLE_ADJUST_BILLDOC - Adjust Billing Document RFKKINV_SAMPLE_ADJUST_BILLDOC - Adjust Billing Document RFKKINV_INVDOC_DISPF01 - RFKKINVINVDOCDISPF01 RFKKINV_INVDOC_DISP - Display Invoicing Document RFKKINV_INVDOC_DISP - Display Invoicing Document RFKKINV_ENH_OFFSET - Check and Generate Enhancement: Offsetting in Invoicing