SAP Reports / Programs

RVKRED08 SAP ABAP Report - Credit check on sales orders that reach the credit horizon







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


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 RVKRED08. "Basic submit
SUBMIT RVKRED08 AND RETURN. "Return to original report after report execution complete
SUBMIT RVKRED08 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: 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


INCLUDES used within this REPORT RVKRED08

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:

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.



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