SAP Reports / Programs

SAPKKA13 SAP ABAP Report - Reverse Line Items of Results Analysis







SAPKKA13 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter SAPKKA13 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 SAPKKA13. "Basic submit
SUBMIT SAPKKA13 AND RETURN. "Return to original report after report execution complete
SUBMIT SAPKKA13 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: XVRGNG = Transaction
Selection Text: XVERSN = Results analysis version
Selection Text: XVBELN = Sales order
Selection Text: XUSNAM = User name
Selection Text: XSTOKZ = Reversal indicator
Selection Text: XSTFLG = Reversal document
Selection Text: XPOSNR = Sales order item
Selection Text: XPOSID = WBS element
Selection Text: XPERIO = Posting period
Selection Text: XKOKRS = Controlling area
Selection Text: XGJAHR = Fiscal year of posting period
Selection Text: XCPUDT = CPU date
Selection Text: XBUDAT = Posting date
Selection Text: XBLDAT = Document date
Selection Text: XBELNR = Document number
Selection Text: XAUFNR = Order
Selection Text: STORNO = Reverse documents
Title: Reverse Line Items of Results Analysis
Text Symbol: U01 = Messages
Text Symbol: A02 = Document reversal in results analysis
Text Symbol: A01 = Do you really want to reverse?
Text Symbol: 003 = OK
Text Symbol: 002 = Filter parameters
Text Symbol: 001 = Selection parameters


INCLUDES used within this REPORT SAPKKA13

INCLUDE LKKAGF88. "AUFTRAGSTYPEN


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:

K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' EXPORTING DISPLAY = ' ' I_KOKRS = ' ' POPUP = ' ' IMPORTING E_KOKRS = XKOKRS.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING FIELDNAME = 'VERSA' TABNAME = 'TKKAP' * CUCOL = 0 * CUROW = 0 * DISPLAY = ' ' IMPORTING SELECT_VALUE = XVERSN-LOW TABLES FIELDS = HELP_FIELDS VALUETAB = HELP_VALUES.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING FIELDNAME = 'VRGNG' TABNAME = 'TJ01' IMPORTING SELECT_VALUE = XVRGNG-LOW TABLES FIELDS = HELP_FIELDS VALUETAB = HELP_VALUES.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING DEFAULTOPTION = LOSCHEN_NO TEXTLINE1 = TEXT-A01 TEXTLINE2 = SPACE TITEL = TEXT-A02 IMPORTING ANSWER = LOSCHEN.

OBJECT_KEY_GET CALL FUNCTION 'OBJECT_KEY_GET' TABLES ONR_TAB = TIONRA.

KKA_ABGR_OBJEKT_BELEG_STORNO CALL FUNCTION 'KKA_ABGR_OBJEKT_BELEG_STORNO' EXPORTING CO_BELEG_NR = XCOVPB-BELNR COMMIT_WORK = YES STORNO_STORNO = YES CHECK_ABS_PERIODE = YES KOKRS = XCOVPB-KOKRS EXCEPTIONS NACHRICHT_TYP_A = 1 NACHRICHT_TYP_E = 2 OTHERS = 3.

K_KKB_LIST_DISPLAY CALL FUNCTION 'K_KKB_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = 'SAPKKA13' * i_callback_user_command = * i_callback_top_of_page = ftop * i_callback_pf_status_set = * i_callback_layout_save = * i_callback_fieldcat_save = I_TABNAME = 'XCOVPB' * is_layout = IT_FIELDCAT = LT_FIELD I_FCTYPE = 'R' * it_special_groups = * it_sort = * is_sel_hide = * i_screen_start_column = 0 * i_screen_start_line = 0 * i_screen_end_column = 0 * i_screen_end_line = 0 TABLES T_OUTTAB = XCOVPB EXCEPTIONS OTHERS = 1.

K_VRGNG_AUTHORITY_CHECK CALL FUNCTION 'K_VRGNG_AUTHORITY_CHECK' EXPORTING ACTVT = ACT KOKRS = XKOKRS VRGNG = VRG.



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