RFKK_ENH_VTREF is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Automatic installation of enhancement for contract in write-off history and receivables adjustment After you install the enhancement, the
If you would like to execute this report or see the full code listing simply enter RFKK_ENH_VTREF into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
FQ_ENH_VTREF - Create Enhancement: Contract
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: TESTRUN = Only Check Enhancement
Selection Text: PARZWF = Receivables Adjustment
Selection Text: PARWOH = Write-Off History
Title: Check and Create Enhancement: Contract Reference in Histories
Text Symbol: ZWF = Receivable Adjustments
Text Symbol: WOH = Write-Off History
Text Symbol: VTR = Contract
Text Symbol: COL = Collection Items
Text Symbol: B01 = Processing Mode
Text Symbol: B00 = Contract Reference in Histories
Text Symbol: 015 = Table &1: No index required for in-memory database
Text Symbol: 014 = &1: Suitable index &2 already exists for table &3
Text Symbol: 013 = &1: Activation of &2 took place with return code = &3
Text Symbol: 012 = &1: Index &2 was created for table &3
Text Symbol: 011 = &1: You must create index &2 for table &3
Text Symbol: 010 = Contract
Text Symbol: 009 = &1: Activation of customer include &2 with return code &3 completed
Text Symbol: 008 = &1: Customer include &2 was enhanced for &3
Text Symbol: 007 = &1: You must enhance Customer include &2 for &3
Text Symbol: 006 = &1: Customer include &2 already contains the enhancement for &3
Text Symbol: 005 = &1: Customer include &2 was created
Text Symbol: 004 = Enhancement for &1
Text Symbol: 003 = &1: You must create customer include &2
Text Symbol: 002 = Update Run for Standard Enhancement 'Contract Reference'
Text Symbol: 001 = Test Run for Standard Enhancement 'Contract Reference'
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = pl_repid i_structure_name = 'FKK_COMMENT' is_layout = gs_layout it_fieldcat = gt_fieldcat[] it_events = gt_events[] i_save = 'A' TABLES t_outtab = comments.
DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING name = par_tabna state = 'A' langu = sy-langu TABLES dd12v_tab = t12v dd17v_tab = t17v EXCEPTIONS illegal_input = 1 OTHERS = 2.
DDIF_INDX_PUT CALL FUNCTION 'DDIF_INDX_PUT' EXPORTING name = par_tabna id = indexname dd12v_wa = t12v TABLES dd17v_tab = t17v EXCEPTIONS indx_not_found = 1 name_inconsistent = 2 indx_inconsistent = 3 put_failure = 4 put_refused = 5 OTHERS = 6.
DDIF_INDX_ACTIVATE CALL FUNCTION 'DDIF_INDX_ACTIVATE' EXPORTING name = par_tabna id = indexname IMPORTING rc = loc_rc EXCEPTIONS not_found = 1 put_failure = 2 OTHERS = 3.
DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING name = par_incna state = 'A' langu = sy-langu IMPORTING dd02v_wa = w02v dd09l_wa = w09l TABLES dd03p_tab = t03p dd05m_tab = t05m dd08v_tab = t08v dd12v_tab = t12v dd17v_tab = t17v dd35v_tab = t35v dd36m_tab = t36m EXCEPTIONS illegal_input = 1 OTHERS = 2.
DDIF_TABL_PUT CALL FUNCTION 'DDIF_TABL_PUT' EXPORTING name = par_incna dd02v_wa = w02v TABLES dd03p_tab = t03p EXCEPTIONS tabl_not_found = 1 name_inconsistent = 2 tabl_inconsistent = 3 put_failure = 4 put_refused = 5 OTHERS = 6.
DDIF_TABL_PUT CALL FUNCTION 'DDIF_TABL_PUT' EXPORTING name = par_incna TABLES dd03p_tab = t03p EXCEPTIONS tabl_not_found = 1 name_inconsistent = 2 tabl_inconsistent = 3 put_failure = 4 put_refused = 5 OTHERS = 6.
DDIF_TABL_ACTIVATE CALL FUNCTION 'DDIF_TABL_ACTIVATE' EXPORTING name = par_incna auth_chk = 'X' prid = -1 IMPORTING rc = loc_rc EXCEPTIONS not_found = 1 put_failure = 2 OTHERS = 3.
RS_CORR_INSERT CALL FUNCTION 'RS_CORR_INSERT' EXPORTING object = par_object object_class = 'DICT' mode = par_mode global_lock = 'X' devclass = par_devclass korrnum = par_korrnum master_language = sy-langu genflag = ' ' program = ' ' IMPORTING devclass = par_devclass korrnum = par_korrnum EXCEPTIONS cancelled = 01 permission_failure = 02 unknown_objectclass = 03.
TR_TADIR_INTERFACE CALL FUNCTION 'TR_TADIR_INTERFACE' EXPORTING wi_tadir_pgmid = 'R3TR' wi_tadir_object = 'TABL' wi_tadir_obj_name = loc_tadir-obj_name wi_read_only = 'X' IMPORTING new_tadir_entry = loc_tadir EXCEPTIONS OTHERS = 4.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = gt_events.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = pl_repid i_internal_tabname = pl_tabname i_structure_name = 'FKK_COMMENT' CHANGING ct_fieldcat = rt_fieldcat EXCEPTIONS OTHERS = 0.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_top_of_page.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFKK_ENH_VTREF - Check and Create Enhancement: Contract Reference in Histories RFKK_ENH_VTREF - Check and Create Enhancement: Contract Reference in Histories RFKK_ENH_USTPD - Check and Create Enhancement: U.S. Taxes with Interface per Document RFKK_ENH_USTPD - Check and Create Enhancement: U.S. Taxes with Interface per Document RFKK_ENH_STATUS_RESET - Redetermine Status of All Enhancements RFKK_ENH_STATUS_RESET - Redetermine Status of All Enhancements