SAP Reports / Programs

SD_VKMLOG_SHOW SAP ABAP Report - Log Update of Credit Values (S066, S067)







SD_VKMLOG_SHOW is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this report to evaluate the log files from table VKMI...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 SD_VKMLOG_SHOW 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 SD_VKMLOG_SHOW. "Basic submit
SUBMIT SD_VKMLOG_SHOW AND RETURN. "Return to original report after report execution complete
SUBMIT SD_VKMLOG_SHOW 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: ACCOUNT = Logs for Credit Account
Selection Text: DELETE = Delete Logs
Selection Text: SD_DOCS = Logs for SD Document
Selection Text: SORDER = Logs for Sales Order
Selection Text: VBELN_VA = Sales Order
Selection Text: WITH_0 = Show Lines w/o Update
Selection Text: KKBER = D .
Selection Text: KNKLI = D .
Selection Text: VBELN = D .
Title: Log Update of Credit Values (S066, S067)
Text Symbol: 011 = Logs for Sales Order with Subs. Docs
Text Symbol: 012 = Logs for SD Document
Text Symbol: 013 = Logs for Credit Acct
Text Symbol: 014 = Delete Logs
Text Symbol: 021 = Logs older than
Text Symbol: 022 = days will be deleted
Text Symbol: 023 = (according to TVKMLOG)
Text Symbol: 025 = Log Files Deleted


INCLUDES used within this REPORT SD_VKMLOG_SHOW

INCLUDE RVVBTYP.


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 = sy-cprog i_callback_user_command = 'USER_COMMAND' is_layout = gs_layout it_fieldcat = gt_fieldcat it_sort = gt_sort it_events = gt_events TABLES t_outtab = gt_log_show.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'MCLOGGING_CREDIT' CHANGING ct_fieldcat = gt_fieldcat.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = lt_commentary.

RV_CALL_DISPLAY_TRANSACTION CALL FUNCTION 'RV_CALL_DISPLAY_TRANSACTION' EXPORTING vbeln = ls_call_doc-vbeln vbtyp = ls_call_doc-vbtyp.

RV_DISPLAY_CHANGE_DOCUMENTS CALL FUNCTION 'RV_DISPLAY_CHANGE_DOCUMENTS' EXPORTING posnr = ls_call_doc-posnr vbeln = ls_call_doc-vbeln vbtyp = ls_call_doc-vbtyp EXCEPTIONS kein_vertriebsbeleg = 1 OTHERS = 2.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = 'OMO1' EXCEPTIONS ok = 1 not_ok = 2 OTHERS = 3.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = 'FD33' EXCEPTIONS ok = 1 not_ok = 2 OTHERS = 3.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = 'SU01' EXCEPTIONS ok = 1 not_ok = 2 OTHERS = 3.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = 'SE38' EXCEPTIONS ok = 1 not_ok = 2 OTHERS = 3.



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