{"audience":"Buyers and purchasing managers; indirectly the vendors.","authorization_objects":[{"note":"Purchase order display authorization by purchasing organization","object":"M_BEST_EKO"},{"note":"Purchase order display authorization by purchasing group","object":"M_BEST_EKG"}],"components":[],"countries":[],"effort_days_max":5,"effort_days_min":3,"effort_size":"M","faq":[{"a":"The base version uses the EKET delivery date. If vendor confirmations (EKES) are used, the rule can be extended to use the confirmed date.","q":"How are lines with vendor confirmations handled?"},{"a":"Yes. Exclusions can be used in the vendor selection, or a parameter table of excluded vendors is defined during installation.","q":"Can specific vendors be excluded?"},{"a":"Yes. The tables read are the same. In S/4HANA the vendor email comes from the business partner address and is read the same way through LFA1-ADRNR.","q":"Can this program be used on S/4HANA?"}],"features":[{"code":"background","label":"Runs as a background job","note":"Runs every morning as a scheduled job."},{"code":"email","label":"Send the result by email","note":""},{"code":"test_run","label":"Test mode (check without posting)","note":""},{"code":"log","label":"Line-by-line result and error log","note":""}],"functions":[{"name":"SO_NEW_DOCUMENT_ATT_SEND_API1","role":"Sends the email with HTML body and Excel attachment to the vendor"}],"gap":"ME9F (and ME91F) produce reminder messages per order according to the reminder levels in the output setup. They do not combine all overdue lines of a vendor with days late into one email, and they do not work at all in companies without order output setup. Buyers write these reminders by hand from an Excel list every week.","id":"mm-overdue-po-vendor-reminder-email","industries":[],"input_columns":[],"kind":"program","language":"en","lastmod":"2026-11-17","logic":"1. The job is scheduled every morning. Lines that are not deleted, not delivery completed, whose delivery date (EINDT) is before the key date minus the tolerance days and whose open quantity (MENGE − WEMNG) is above zero are read from EKKO/EKPO/EKET.\n2. Lines are grouped by vendor. The vendor's email address is taken from ADR6 (default address) through LFA1-ADRNR; the correspondence language is LFA1-SPRAS.\n3. For each vendor an HTML table body in its language (TR or EN) and an Excel attachment with the same lines are prepared: order, item, material, open quantity, delivery date, days late.\n4. The email is sent with SO_NEW_DOCUMENT_ATT_SEND_API1; the purchasing group's T024-SMTP_ADDR address is added as a copy recipient. Sending can be tracked in SOST.\n5. The log records the result per vendor: sent, no email address or excluded. In test mode no email is sent; only the list is produced.","module":"MM","object_type":"batch_job","output_columns":[{"calculated":false,"formula":"","label":"Vendor","source_field":"LIFNR","source_table":"LFA1"},{"calculated":false,"formula":"","label":"Vendor name","source_field":"NAME1","source_table":"LFA1"},{"calculated":false,"formula":"","label":"Email","source_field":"SMTP_ADDR","source_table":"ADR6"},{"calculated":true,"formula":"Number of overdue schedule lines of the vendor","label":"Overdue lines","source_field":null,"source_table":null},{"calculated":true,"formula":"Σ (EKET-MENGE − EKET-WEMNG) × EKPO-NETPR ÷ EKPO-PEINH","label":"Total open value","source_field":null,"source_table":null},{"calculated":true,"formula":"Key date − oldest EKET-EINDT","label":"Max days late","source_field":null,"source_table":null},{"calculated":true,"formula":"Sent, no email address, excluded or test","label":"Status","source_field":null,"source_table":null},{"calculated":true,"formula":"Return message of the send function","label":"Message","source_field":null,"source_table":null}],"parameters":[{"example":"1000","kind":"select_option","label":"Purchasing organization","name":"S_EKORG","ref_field":"EKKO-EKORG","required":true},{"example":"001","kind":"select_option","label":"Purchasing group","name":"S_EKGRP","ref_field":"EKKO-EKGRP","required":false},{"example":"100245","kind":"select_option","label":"Vendor (including exclusions)","name":"S_LIFNR","ref_field":"EKKO-LIFNR","required":false},{"example":"1000","kind":"select_option","label":"Plant","name":"S_WERKS","ref_field":"EKPO-WERKS","required":false},{"example":"2","kind":"parameter","label":"Tolerance (days)","name":"P_DAYS","ref_field":"","required":false},{"example":"X","kind":"checkbox","label":"Copy the purchasing group","name":"P_CCBUY","ref_field":"","required":false},{"example":"","kind":"checkbox","label":"Test mode (do not send email)","name":"P_TEST","ref_field":"","required":false},{"example":"17.11.2026","kind":"parameter","label":"Key date (default: today)","name":"P_KEYDT","ref_field":"SY-DATUM","required":true}],"part_of":[],"performance":"The selection is the same as an open order report and runs at night or early morning. Because one email is sent per vendor, the volume is low. SMTP must be set up through SAPconnect (SCOT) for sending.","process":"P2P","quote_url":"https://nekuhub.com/en/request-a-quote/?report=mm-overdue-po-vendor-reminder-email","related":["mm-goods-received-not-invoiced","mm-open-po-by-vendor"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Sends order messages (including reminders) per order according to the output setup; does not create one summary email per vendor.","tcode":"ME9F"},{"note":"Lists open orders; does not send anything to vendors automatically.","tcode":"ME2N"}],"summary":"A custom program that runs every morning in the background, collects overdue open purchase order lines per vendor and sends each vendor one email with its own overdue lines and days late. The purchasing group receives the email in copy; vendors that could not be emailed are listed in the log.","tables":[{"access":"read","join_on":"","role":"Vendor, purchasing organization and group","table":"EKKO","variant":"both"},{"access":"read","join_on":"EKPO-EBELN = EKKO-EBELN","role":"Open items: material, short text, unit","table":"EKPO","variant":"both"},{"access":"read","join_on":"EKET-EBELN = EKPO-EBELN AND EKET-EBELP = EKPO-EBELP","role":"Delivery date and open quantity","table":"EKET","variant":"both"},{"access":"read","join_on":"LFA1-LIFNR = EKKO-LIFNR","role":"Vendor name, address number and correspondence language","table":"LFA1","variant":"both"},{"access":"read","join_on":"ADR6-ADDRNUMBER = LFA1-ADRNR","role":"Vendor email address","table":"ADR6","variant":"both"},{"access":"read","join_on":"T024-EKGRP = EKKO-EKGRP","role":"Purchasing group email address (copy recipient)","table":"T024","variant":"both"}],"title":"Automatic Vendor Reminder Email for Overdue Purchase Orders","url":"https://nekuhub.com/en/programs/automatic-vendor-reminder-email-overdue-purchase-orders/","vendor_id":"nekudos"}