SAP Reports / Programs | Sales and Distribution | Basic Functions(SD-BF) SAP SD

CHECK_CM SAP ABAP Report - Analysis of SD Document with Regard to Credit Management







CHECK_CM 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 CHECK_CM 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 CHECK_CM. "Basic submit
SUBMIT CHECK_CM AND RETURN. "Return to original report after report execution complete
SUBMIT CHECK_CM 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: FLAG_S = Display Individual Status
Selection Text: FLAG_M = More Explanations
Title: Analysis of SD Document with Regard to Credit Management
Text Symbol: 050 = Document Number
Text Symbol: 051 = Settings
Text Symbol: 103 = Fields from Table VBAP (ETTYP from Table VBEP)
Text Symbol: 171 = Yes
Text Symbol: 172 = No
Text Symbol: 173 = Material Requirements Planning
Text Symbol: 174 = No Entries Exist
Text Symbol: 180 = Info: Yellow Item Numbers are Sub-Items
Text Symbol: 200 = Credit Status from Table VBUK
Text Symbol: 209 = Overall Credit Status
Text Symbol: 210 = Static
Text Symbol: 211 = Dynamic
Text Symbol: 212 = Critical Fields
Text Symbol: 213 = Next Inspection Date
Text Symbol: 214 = Open Items
Text Symbol: 215 = Oldest Open Item
Text Symbol: 216 = Maximum Dunning Level
Text Symbol: 217 = Financial Document
Text Symbol: 218 = Export Credit Insurance
Text Symbol: 219 = Payment Card Authorization
Text Symbol: 223 = Maximum Document Value
Text Symbol: 250 = No Check/No Status
Text Symbol: 251 = OK
Text Symbol: 252 = Not OK
Text Symbol: 253 = Released
Text Symbol: 300 = Analysis of Delivery
Text Symbol: 301 = Delivery Type:
Text Symbol: 302 = Credit Group - Delivery:
Text Symbol: 303 = Credit Group - Goods Issue:
Text Symbol: 304 = Fields from Table LIPS
Text Symbol: 450 = SD Document Category:
Text Symbol: 001 = Analysis of Sales Order
Text Symbol: 002 = Settings for Credit Check
Text Symbol: 003 = Type of Credit Check:





Text Symbol: 004 = Key Fields for Automatic Credit Check
Text Symbol: 005 = Credit Control Area:
Text Symbol: 006 = Risk Category:
Text Symbol: 007 = Credit Group:
Text Symbol: 008 = Order Type:
Text Symbol: 009 = Simple Credit Check (not recommended)
Text Symbol: 010 = Settings for Credit Update
Text Symbol: 011 = Credit Account:
Text Symbol: 012 = Payer:
Text Symbol: 013 = No Credit Check
Text Symbol: 014 = Automatic Credit Check
Text Symbol: 015 = Test:
Text Symbol: 016 = Key Fields for Credit Master Data
Text Symbol: 017 = Test:
Text Symbol: 019 = Requirement for Subseq.Functs:
Text Symbol: 020 = Credit Update Test
Text Symbol: 021 = Use Transaction MCVR
Text Symbol: 022 = -> Double-Click on Info Structures S066 and S067
Text Symbol: 023 = (Table T691F, Transaction OVA8)
Text Symbol: 024 = (Table KNKK, Transaction FD32)
Text Symbol: 025 = Update Type S066:
Text Symbol: 028 = (No Standard)
Text Symbol: 029 = (Standard Requirement)
Text Symbol: 030 = Payer
Text Symbol: 031 = -> No Credit Account, Credit Control Area:
Text Symbol: 040 = Credit Limit:
Text Symbol: 041 = Total Liabilities:
Text Symbol: 042 = Total Receivables:
Text Symbol: 043 = Total Sales Values:
Text Symbol: 044 = Relevant Special Liabilities:
Text Symbol: 045 = Current Credit Account Situation
Text Symbol: 046 = Total


INCLUDES used within this REPORT CHECK_CM

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:

DDUT_DOMVALUES_GET CALL FUNCTION 'DDUT_DOMVALUES_GET' EXPORTING name = 'VBTYP' langu = sy-langu TABLES dd07v_tab = val_vbtyp.

DDUT_DOMVALUES_GET CALL FUNCTION 'DDUT_DOMVALUES_GET' EXPORTING name = 'KBTCH' langu = sy-langu TABLES dd07v_tab = val_kbtch.






SD_CREDIT_EXPOSURE CALL FUNCTION 'SD_CREDIT_EXPOSURE' EXPORTING kkber = wa_vbak-kkber knkli = wa_knkk-knkli IMPORTING open_delivery = open_del open_invoice = open_inv open_order = open_ord open_delivery_secure = open_del_sec open_invoice_secure = open_inv_sec open_order_secure = open_ord_sec.

DDUT_DOMVALUES_GET CALL FUNCTION 'DDUT_DOMVALUES_GET' EXPORTING name = 'FKREL' langu = sy-langu TABLES dd07v_tab = val_fkrel.

SD_DETERMINE_KKBER CALL FUNCTION 'SD_DETERMINE_KKBER' EXPORTING i_kkber_tvta = wa_tvta-kkber i_kkber_t001 = wa_t001-kkber i_vkorg = wa_vbak-vkorg i_vtweg = wa_vbak-vtweg i_spart = wa_vbak-spart xvbak = wa_vbak i_kunnr = da_kunrg IMPORTING rc = rc e_knvv_flg = knvv_flg TABLES xvbpa = int_vbpavb xvbkd = int_vbkd CHANGING i_kkber = new_kkber.

DDUT_DOMVALUES_GET CALL FUNCTION 'DDUT_DOMVALUES_GET' EXPORTING name = 'VBTYP' langu = sy-langu TABLES dd07v_tab = val_vbtyp.

DDUT_DOMVALUES_GET CALL FUNCTION 'DDUT_DOMVALUES_GET' EXPORTING name = 'KBTCH' langu = sy-langu TABLES dd07v_tab = val_kbtch.

SD_CREDIT_EXPOSURE CALL FUNCTION 'SD_CREDIT_EXPOSURE' EXPORTING kkber = wa_likp-kkber knkli = wa_likp-knkli IMPORTING open_delivery = open_del open_invoice = open_inv open_order = open_ord open_delivery_secure = open_del_sec open_invoice_secure = open_inv_sec open_order_secure = open_ord_sec.

DDUT_DOMVALUES_GET CALL FUNCTION 'DDUT_DOMVALUES_GET' EXPORTING name = 'FKREL' langu = sy-langu TABLES dd07v_tab = val_fkrel.

K_FIELD_TEXT_READ CALL FUNCTION 'K_FIELD_TEXT_READ' EXPORTING field = field langu = sy-langu tab = tab with_dots = ' ' IMPORTING ex_kdfit = wa_kdfit.



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