SAP Reports / Programs

RFKK_ENH_LDGRP SAP ABAP Report - Check and Generate Enhancement: Ledger Group in Open Items







RFKK_ENH_LDGRP 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 the Ledger Group enhancement After you have installed the enhancement, the Ledger Group field is also available in the business partner items of the document...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 RFKK_ENH_LDGRP 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

FQ_ENH_LDGRP - Create Enhancement: Ledger Group


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 RFKK_ENH_LDGRP. "Basic submit
SUBMIT RFKK_ENH_LDGRP AND RETURN. "Return to original report after report execution complete
SUBMIT RFKK_ENH_LDGRP 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: TESTRUN = Only Check Enhancement
Title: Check and Generate Enhancement: Ledger Group in Open Items
Text Symbol: 001 = Test Run for Standard Enhancement 'Ledger Groups'
Text Symbol: 002 = Update Run for Standard Enhancement 'Ledger Groups'
Text Symbol: 003 = Customer Include &1 Must Be Created
Text Symbol: 004 = Enhancement for &1
Text Symbol: 005 = Customer Include &1 Created
Text Symbol: 006 = Customer Include &1 Already Contains the Enhancement
Text Symbol: 007 = Customer Include &1 Must Be Enhanced
Text Symbol: 008 = Customer Include &1 Enhanced
Text Symbol: 009 = Activation of customer include &1 ended with return code &2
Text Symbol: 011 = --> FI-CA version 6.06 was not activated using business function
Text Symbol: B01 = Processing Mode


INCLUDES used within this REPORT RFKK_ENH_LDGRP

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:

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_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.



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