RVKRED08 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report checks all sales documents that belong to the horizon of the dynamic credit check again...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 RVKRED08 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: VBELN = Document number
Selection Text: SBGRP = Credit representative group
Selection Text: RELEASED = Take release data into account
Selection Text: PROTOCOL = Log?
Selection Text: KNKLI = Credit account
Selection Text: KKBER = Credit control area
Selection Text: GRUPP = Customer credit group
Selection Text: CTLPC = Risk category
Selection Text: CMNUP = Date of next credit check
Selection Text: CMNGV = Next shipping date
Selection Text: CMGST = Overall status
Title: Credit check on sales orders that reach the credit horizon
Text Symbol: 006 = Doc.has not been checked, as release date still valid
Text Symbol: 005 = Account Document
Text Symbol: 004 = Credit check performed for following SD documents
Text Symbol: 003 = Billing document
Text Symbol: 002 = Delivery
Text Symbol: 001 = SalesOr
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SD_MESSAGE_HANDLING_FSCM CALL FUNCTION 'SD_MESSAGE_HANDLING_FSCM'.
SD_ORDER_CREDIT_RECHECK CALL FUNCTION 'SD_ORDER_CREDIT_RECHECK' EXPORTING flg_update = 'X' vbeln = xvbak-vbeln * IMPORTING * E_KVBUK = KVBUK EXCEPTIONS error_message = 4.
MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING msgid = sy-msgid msgnr = sy-msgno msgv1 = sy-msgv1 msgv2 = sy-msgv2 IMPORTING message_text_output = news-text.
MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING msgid = 'V1' msgnr = '311' msgv1 = text-001 msgv2 = vbak-vbeln IMPORTING message_text_output = news-text.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = ls_layout it_fieldcat = lt_fieldcat i_save = gv_save it_events = lt_events TABLES t_outtab = gt_output_news EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_events.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_structure_name = gc_struct CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RVKRED08 - Credit check on sales orders that reach the credit horizon RVKRED08 - Credit check on sales orders that reach the credit horizon RVKRED07 - SD: Reorganization of Credit Values after Update Errors RVKRED07 - SD: Reorganization of Credit Values after Update Errors RVKRED06 - New credit check for blocked SD documents RVKRED06 - New credit check for blocked SD documents