{"audience":"Buyers, purchasing master data teams and project migration teams.","authorization_objects":[{"note":"Info record create/change authorization by purchasing organization","object":"M_EINF_EKO"},{"note":"Info record authorization by plant","object":"M_EINF_WRK"},{"note":"Source list maintenance authorization by plant","object":"M_ORDR_WRK"}],"components":[],"countries":[],"effort_days_max":6,"effort_days_min":4,"effort_size":"M","faq":[{"a":"No. The new price is written as a new price condition with the validity start from the file; the price of the earlier period remains in the history and older orders are not affected.","q":"Is the old price lost when the price changes?"},{"a":"The program rejects a second fixed vendor for the same period and plant in EORD and returns the row as an error. This avoids ambiguity in source determination.","q":"What happens if two vendors are marked as fixed for the same material?"},{"a":"Yes. EINA, EINE and EORD keep the same structure in S/4HANA. If clean core is preferred, the same file template can be routed to the released info record API (the object read via I_PurchasingInfoRecordAPI01).","q":"Does it work on S/4HANA?"}],"features":[{"code":"test_run","label":"Test mode (check without posting)","note":""},{"code":"log","label":"Line-by-line result and error log","note":""},{"code":"error_file","label":"Download failed lines as a separate file","note":"Failed rows can be downloaded in the same template and uploaded again after correction."},{"code":"excel","label":"Export to Excel","note":"An empty upload template can be downloaded as Excel."},{"code":"background","label":"Runs as a background job","note":""}],"functions":[{"name":"ME_DIRECT_INPUT_INFORECORD","role":"Creates or updates the info record and its price condition for each row"},{"name":"ME_DIRECT_INPUT_SOURCE_LIST","role":"Creates the source list entry with validity dates"}],"gap":"ME11/ME12 maintain info records and ME01 maintains source lists, one at a time and in separate transactions; the standard system has no tool that loads both together from a file, tests first and returns the failed rows. LSMW or migration tools are meant for one-off use. The custom program loads both records from the same row, with pre-checks and a reusable template.","id":"mm-info-record-source-list-upload","industries":[],"input_columns":[{"derived":false,"label":"Material","required":true,"rule":"","target_field":"MATNR","target_table":"EINA"},{"derived":false,"label":"Vendor","required":true,"rule":"","target_field":"LIFNR","target_table":"EINA"},{"derived":false,"label":"Purchasing organization","required":true,"rule":"","target_field":"EKORG","target_table":"EINE"},{"derived":false,"label":"Plant","required":true,"rule":"","target_field":"WERKS","target_table":"EINE"},{"derived":false,"label":"Info record category","required":false,"rule":"","target_field":"ESOKZ","target_table":"EINE"},{"derived":false,"label":"Vendor material number","required":false,"rule":"","target_field":"IDNLF","target_table":"EINA"},{"derived":false,"label":"Net price","required":true,"rule":"","target_field":"NETPR","target_table":"EINE"},{"derived":false,"label":"Price unit","required":false,"rule":"","target_field":"PEINH","target_table":"EINE"},{"derived":false,"label":"Currency","required":true,"rule":"","target_field":"WAERS","target_table":"EINE"},{"derived":false,"label":"Planned delivery time (days)","required":false,"rule":"","target_field":"APLFZ","target_table":"EINE"},{"derived":false,"label":"Standard order quantity","required":false,"rule":"","target_field":"NORBM","target_table":"EINE"},{"derived":false,"label":"Valid from","required":true,"rule":"","target_field":"VDATU","target_table":"EORD"},{"derived":false,"label":"Valid to","required":false,"rule":"","target_field":"BDATU","target_table":"EORD"},{"derived":false,"label":"Fixed vendor","required":false,"rule":"","target_field":"FLIFN","target_table":"EORD"}],"kind":"program","language":"en","lastmod":"2026-11-17","logic":"1. The file is read; material, vendor, purchasing organization and plant are checked as mandatory.\n2. Pre-checks: the vendor exists in LFA1 and is not blocked, the material exists in MARC for the target plant, the currency and price unit are valid.\n3. EINA and EINE are searched for a record with the same material/vendor/organization/plant. If none exists, it is created; if one exists and \"update\" is selected, price, delivery time and quantities are updated, otherwise the row is skipped.\n4. The info record is written with ME_DIRECT_INPUT_INFORECORD; the price is created as a price condition with the validity start from the file.\n5. If the source list option is set, EORD is checked for an overlapping entry in the same period, then ME_DIRECT_INPUT_SOURCE_LIST creates the entry with validity dates and the fixed vendor flag.\n6. In test mode nothing is written; the result of each row is shown in the ALV log and failed rows can be exported to a file for correction.","module":"MM","object_type":"upload","output_columns":[{"calculated":true,"formula":"Row number in the file","label":"Row","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Material","source_field":"MATNR","source_table":"EINA"},{"calculated":false,"formula":"","label":"Vendor","source_field":"LIFNR","source_table":"EINA"},{"calculated":false,"formula":"","label":"Plant","source_field":"WERKS","source_table":"EINE"},{"calculated":false,"formula":"","label":"Info record","source_field":"INFNR","source_table":"EINA"},{"calculated":false,"formula":"","label":"Source list entry","source_field":"ZEORD","source_table":"EORD"},{"calculated":true,"formula":"Created, updated, skipped or error","label":"Status","source_field":null,"source_table":null},{"calculated":true,"formula":"Pre-check or function return message","label":"Message","source_field":null,"source_table":null}],"parameters":[{"example":"C:\\temp\\bilgi_kayitlari_2027.xlsx","kind":"parameter","label":"Upload file (XLSX or CSV)","name":"P_FILE","ref_field":"","required":true},{"example":"X","kind":"checkbox","label":"Update existing info records","name":"P_UPDATE","ref_field":"","required":false},{"example":"X","kind":"checkbox","label":"Also create the source list entry","name":"P_SRCL","ref_field":"","required":false},{"example":"X","kind":"checkbox","label":"Test mode (check without saving)","name":"P_TEST","ref_field":"","required":false}],"part_of":[],"performance":"For the pre-checks, read LFA1, MARC and the existing EINA/EINE records once with the keys from the file. With thousands of rows, run the program in the background with a file on the server; release locks with COMMIT WORK after each row.","process":"P2P","quote_url":"https://nekuhub.com/en/request-a-quote/?report=mm-info-record-source-list-upload","related":["mm-contract-utilization","mm-purchase-order-mass-upload","mm-purchase-price-variance"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Creates info records one at a time; no mass upload from file and no test mode.","tcode":"ME11"},{"note":"Maintains the source list manually per material; cannot be loaded together with the info record.","tcode":"ME01"}],"summary":"A custom upload program that creates or updates purchasing info records (price, delivery time, standard quantity) from a single Excel file and also creates the source list entry from the same row. With yearly price agreements or when a new vendor is introduced, hundreds of materials are set up in one run without manual errors.","tables":[{"access":"write","join_on":"","role":"Info record general data: material, vendor, vendor material number","table":"EINA","variant":"both"},{"access":"write","join_on":"EINE-INFNR = EINA-INFNR","role":"Info record organizational data: price, price unit, delivery time, standard quantity","table":"EINE","variant":"both"},{"access":"write","join_on":"EORD-MATNR = EINA-MATNR AND EORD-LIFNR = EINA-LIFNR","role":"Source list: validity, fixed vendor, blocked flag","table":"EORD","variant":"both"},{"access":"read","join_on":"LFA1-LIFNR = EINA-LIFNR","role":"Vendor existence and block check","table":"LFA1","variant":"both"},{"access":"read","join_on":"MARC-MATNR = EINA-MATNR AND MARC-WERKS = EINE-WERKS","role":"Whether the material exists in the target plant","table":"MARC","variant":"both"}],"title":"Purchasing Info Record and Source List Mass Upload from Excel Program","url":"https://nekuhub.com/en/programs/purchasing-info-record-source-list-mass-upload/","vendor_id":"nekudos"}