{"audience":"Credit and risk management teams, finance managers, sales operations teams and SD/FSCM consultants.","authorization_objects":[{"note":"Changing limits in a credit segment (S/4HANA, FSCM)","object":"F_UKM_SGMT"},{"note":"Changing customer limits in a credit control area (ECC)","object":"F_KNKK_BED"},{"note":"Displaying the application log","object":"S_APPL_LOG"}],"components":[],"countries":[{"country":"TR","legal_basis":"","note":"The cheque quota comes from Turkish commercial practice and is not a legal threshold; quota amounts and up to which maturity cheque risk is counted are set from the company's credit policy during installation."}],"effort_days_max":18,"effort_days_min":12,"effort_size":"L","faq":[{"a":"Standard exposure counts the open items on the receivables account, but in many setups received cheques are tracked separately with a special G/L indicator and do not enter the exposure. The development adds not-yet-due cheques to the exposure by the rule chosen during setup and also checks a per-customer cheque quota.","q":"Cheques are already open items; why are they counted separately?"},{"a":"An increase threshold is set during installation. Rows above it are flagged 'approval needed' in the test run, and only for these rows an authorized user has to run a separate approval step; the other rows are updated directly.","q":"Are limit increases updated without approval?"},{"a":"In ECC classic credit management works with KNKK and user exits; in S/4HANA credit management runs through FSCM on the business partner and credit segment. The rule set and the Excel format stay the same; only the place where the limit is written and the point where exposure is extended change.","q":"What changes when moving from ECC to S/4HANA?"}],"features":[{"code":"excel","label":"Export to Excel","note":""},{"code":"test_run","label":"Test mode (check without posting)","note":"Old and new limit, change and threshold check are visible before the update."},{"code":"log","label":"Line-by-line result and error log","note":"Limit changes and the rule that blocked an order are written to the log."},{"code":"error_file","label":"Download failed lines as a separate file","note":""}],"functions":[{"name":"TEXT_CONVERT_XLS_TO_SAP","role":"Reads the limit file from Excel"},{"name":"BAPI_AR_ACC_GETOPENITEMS","role":"Optionally reads the customer's open items and cheques"}],"gap":"In S/4HANA the credit limit is kept on the business partner per credit segment and updated one by one; there is no tool to update the yearly limit revision of hundreds of customers from Excel. Standard credit exposure counts open items, orders and deliveries; it does not cover, with one rule set, tracking post-dated cheques common in Turkey within a separate quota or excluding documents with cash-in-advance payment terms or certain material types. The custom development solves both needs in one installation.","id":"tr-credit-limit-upload-cheque-credit-check","industries":[],"input_columns":[{"derived":false,"label":"Business partner","required":true,"rule":"","target_field":"PARTNER","target_table":"UKMBP_CMS_SGM"},{"derived":false,"label":"Credit segment","required":true,"rule":"","target_field":"CREDIT_SGMNT","target_table":"UKMBP_CMS_SGM"},{"derived":false,"label":"New credit limit","required":true,"rule":"","target_field":"CREDIT_LIMIT","target_table":"UKMBP_CMS_SGM"},{"derived":false,"label":"Valid to","required":false,"rule":"","target_field":"LIMIT_VALID_DATE","target_table":"UKMBP_CMS_SGM"},{"derived":true,"label":"Cheque quota","required":false,"rule":"Highest post-dated cheque amount accepted for the customer","target_field":null,"target_table":null},{"derived":true,"label":"Comment","required":false,"rule":"Reason for the revision","target_field":null,"target_table":null}],"kind":"program","language":"en","lastmod":"2026-11-18","logic":"1. Limit upload: the Excel file holds business partner, credit segment, new limit, valid-to date, cheque quota and a comment. In S/4HANA the business partner and segment are checked in UKMBP_CMS_SGM; the limit and valid-to date are updated through the FSCM credit management API (CL_UKM_BUPA_FACTORY and CL_UKM_ACCOUNT), so the standard change documents are created. In ECC with classic credit management the KNKK limit is changed with CREDITLIMIT_CHANGE.\n2. The test run shows old and new limit, the change in percent and rows above the approval threshold set during setup; the live run writes the results to the application log.\n3. Cheque risk: the customer's post-dated cheques in the portfolio are read from open items by the special G/L indicators set during setup (BSID-UMSKZ); cheque maturity and bank come from BSED. In S/4HANA BSID is read as a compatibility view on ACDOCA and BSEG.\n4. Adding to exposure: in S/4HANA the cheque risk is added to the credit exposure formula with the UKM_EV_FORMULA BAdI; in ECC classic credit control the user exit in LVKMPFZ1 is used. The cheque quota is checked separately: if the order's payment terms are flagged as payment by cheque, cheques in the portfolio plus this order's value are compared with the quota.\n5. Document-based exceptions: for cash-in-advance or letter-of-credit payment terms (VBKD-ZTERM), material types chosen during setup such as samples, scrap or internal use (MARA-MTART) and certain order types, the credit check is skipped or only gives a warning through the UKM_R3_ACTIVATE BAdI.\n6. The result shows up in the order as the standard credit block; the block is released with VKM1, and the rule that caused the block is written to the order text and the log.","module":"SD","object_type":"enhancement","output_columns":[{"calculated":false,"formula":"","label":"Business partner","source_field":"PARTNER","source_table":"UKMBP_CMS_SGM"},{"calculated":false,"formula":"","label":"Credit segment","source_field":"CREDIT_SGMNT","source_table":"UKMBP_CMS_SGM"},{"calculated":true,"formula":"UKMBP_CMS_SGM-CREDIT_LIMIT before the update (KNKK-KLIMK in ECC)","label":"Old limit","source_field":null,"source_table":null},{"calculated":true,"formula":"Limit from the file","label":"New limit","source_field":null,"source_table":null},{"calculated":true,"formula":"(new − old) / old × 100","label":"Change %","source_field":null,"source_table":null},{"calculated":true,"formula":"Sum of not-yet-due BSID items with the cheque indicators from setup","label":"Cheques in portfolio","source_field":null,"source_table":null},{"calculated":true,"formula":"Quota from the file","label":"Cheque quota","source_field":null,"source_table":null},{"calculated":true,"formula":"Ready, updated, approval needed or error","label":"Status","source_field":null,"source_table":null},{"calculated":true,"formula":"Check or update message","label":"Message","source_field":null,"source_table":null}],"parameters":[{"example":"C:\\kredi\\limit_revizyonu_2027.xlsx","kind":"parameter","label":"Limit file","name":"P_FILE","ref_field":"","required":true},{"example":"1000","kind":"parameter","label":"Credit segment","name":"P_SGMNT","ref_field":"UKMBP_CMS_SGM-CREDIT_SGMNT","required":true},{"example":"25","kind":"parameter","label":"Increase percentage that needs approval","name":"P_THRES","ref_field":"","required":false},{"example":"X","kind":"checkbox","label":"Test run","name":"P_TEST","ref_field":"","required":false}],"part_of":[],"performance":"Do not calculate cheque risk by scanning all open items on every order save; do a narrow read by customer and special G/L indicator and buffer it within the same LUW. In the mass limit upload, update business partners in packages and issue COMMIT WORK after each package.","process":"O2C","quote_url":"https://nekuhub.com/en/request-a-quote/?report=tr-credit-limit-upload-cheque-credit-check","related":["sd-credit-blocked-orders-by-value","sd-customer-credit-risk","tr-cheque-note-portfolio"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Changes a customer's credit limit one by one in ECC; in S/4HANA it is replaced by business partner credit management and knows no cheque quota.","tcode":"FD32"},{"note":"Releases credit-blocked orders; does not explain the block in terms of the cheque quota.","tcode":"VKM1"}],"summary":"A development that updates customer credit limits in bulk from Excel and adds post-dated cheques in the portfolio, a per-customer cheque quota and exceptions by payment terms and material type to the credit check in the sales order. Credit segment limits are updated in S/4HANA, credit control area limits in ECC.","tables":[{"access":"read_write","join_on":"","role":"Limit and valid-to date per credit segment (S/4HANA, FSCM)","table":"UKMBP_CMS_SGM","variant":"s4"},{"access":"read","join_on":"UKMBP_CMS-PARTNER = UKMBP_CMS_SGM-PARTNER","role":"Credit profile and risk class of the business partner (S/4HANA)","table":"UKMBP_CMS","variant":"s4"},{"access":"read","join_on":"UKM_ITEM-PARTNER = UKMBP_CMS_SGM-PARTNER","role":"Open orders, deliveries and invoices in the credit exposure (S/4HANA)","table":"UKM_ITEM","variant":"s4"},{"access":"read_write","join_on":"","role":"Customer limit per credit control area (ECC classic credit management)","table":"KNKK","variant":"ecc"},{"access":"read","join_on":"BSID-KUNNR = VBAK-KUNNR AND BSID-UMSKZ IN (cheque indicators from setup)","role":"Cheques in the portfolio: open items with special G/L indicator","table":"BSID","variant":"both"},{"access":"read","join_on":"BSED-BUKRS = BSID-BUKRS AND BELNR = BSID-BELNR AND GJAHR = BSID-GJAHR AND BUZEI = BSID-BUZEI","role":"Cheque maturity, bank and cheque number","table":"BSED","variant":"both"},{"access":"read","join_on":"","role":"Order type, order value and credit control area","table":"VBAK","variant":"both"},{"access":"read","join_on":"VBKD-VBELN = VBAK-VBELN","role":"Payment terms of the order","table":"VBKD","variant":"both"},{"access":"read","join_on":"","role":"Material type exception","table":"MARA","variant":"both"},{"access":"read","join_on":"T052-ZTERM = VBKD-ZTERM","role":"Payment terms definition (cash in advance, cheque, letter of credit)","table":"T052","variant":"both"}],"title":"Customer Credit Limit Upload and Cheque-Aware Credit Check","url":"https://nekuhub.com/en/programs/customer-credit-limit-upload-and-cheque-aware-credit-check/","vendor_id":"nekudos"}