Sub topic 5
Info records, contracts, and source determination
This chapter assumes you know the purchasing organization and plant structure, and that you can read a supplier Business Partner and a material master record. It covers the master data that tells SAP S/4HANA which supplier to buy from and at what price. It also covers how the system picks a source when you create a requisition or purchase order.
Why sourcing data exists
A purchase requisition says what you need. It does not say who supplies it. Sourcing data closes that gap. It stores agreed prices, conditions, and supplier relationships, so buyers do not retype them on every order.
Two objects carry most of this load:
- A purchasing info record links one material (or material group) to one supplier. It holds price, delivery time, and ordering rules.
- A contract is an outline agreement with a supplier. It fixes terms over a validity period, and purchase orders later refer to it.
Source determination is the logic that finds the right info record, contract, or source list entry for a given need.
Purchasing info records
An info record is keyed by supplier, material, purchasing organization, and plant. It also has an info record category, which is the type of procurement it covers.
| Category | Used for |
|---|---|
| Standard | Normal procurement from the supplier |
| Subcontracting | Components sent to a supplier who returns a finished product |
| Pipeline | Material drawn directly from a supplier's pipeline, such as utilities |
| Consignment | Stock held at your site but owned by the supplier until you use it |
An info record has two levels of data:
- General data applies across purchasing organizations. It includes the supplier's material number, order unit, and unit of measure conversion.
- Purchasing organization data applies to one purchasing organization, and optionally one plant. It includes the planned delivery time, standard quantity, tolerances, net price, and conditions such as discounts and freight.
Price conditions have validity periods. You can store several prices for the same supplier and material, and the system uses the one valid on the order date. Scales let the price depend on quantity.
How info records are created
Info records come from three places:
- A buyer creates one manually in transaction ME11 or the Fiori app Manage Purchasing Info Records.
- The system proposes one when you save a purchase order for a supplier and material with no existing record. This depends on the info update indicator on the item. The system updates the record only if that indicator is set.
- A quotation can create one when you mark the quotation as accepted.
The update behavior is a common source of surprises. If a buyer changes the price on a purchase order and the info update flag is on, the info record price changes for future orders. Check the flag when prices drift.
Contracts
A contract is an outline agreement. You agree the terms once and then issue orders against them. There are two types.
| Type | Document type | What it fixes | How it is used |
|---|---|---|---|
| Quantity contract | MK | Total quantity over the validity period | Purchase orders are called off against it |
| Value contract | WK | Total value over the validity period | Orders draw down the value, and items can use different materials |
A third form is the scheduling agreement, which holds delivery schedule lines and has its own release flow. It is outside this chapter.
A contract has a header with the supplier, validity dates, and the target quantity or value. Its items hold the material, price, and plant. When a purchase order item references a contract, the system raises the released quantity or value on the contract. A buyer can see how much of the target has been used.
Contracts differ from info records in how they bind. A contract has a target and a validity period. An info record only stores terms and has no volume commitment.
Contract limits
- Pricing in a contract overrides the info record price when the order refers to the contract.
- If an order exceeds the target quantity or value, the system warns but does not always stop the buyer. The behavior depends on message settings.
- After the validity end date, the system no longer proposes the contract as a source.
Source lists
A source list names the allowed sources for a material in a plant. Each entry has a supplier, a validity period, and optionally a contract or procurement type. Entries can be marked as the fixed source, which means it is the only permitted one. You can also block a supplier for that material.
The source list is mandatory only when the plant sets the source list requirement in the material master or plant parameters. When it is required, the system accepts only suppliers that have a valid entry for the order date. This is common in regulated industries, where only qualified suppliers may deliver.
Source determination
Source determination runs when you create a requisition or purchase order without naming a supplier. It checks sources in a fixed order. The result decides what the system proposes.
In practice the system works like this:
- It reads the source list for the material and plant. A single fixed entry wins.
- If the source list has several valid entries, the system offers them for selection.
- Without a source list, it searches for valid outline agreements and info records.
- If it finds exactly one source, it assigns it automatically. If it finds several, the buyer must choose.
Automatic assignment in the requisition depends on the source determination indicator in the material master and on a plant-level setting for the document type. If the indicator is off, the buyer must start the assignment from the requisition list.
A contract is preferred over an info record when both are valid and the order specifies a contract. Without a specific reference, the system lists both and the buyer selects. If your organization wants contracts to win by default, set the quota or source list so that only the contract entry is valid.
Quota arrangements
Where you split volume between suppliers, a quota arrangement sets each supplier's share, for example 70 percent and 30 percent. The system compares quotas with quantities already allocated and picks the supplier furthest below target. Quotas work with the source list, so every quota line needs a valid source list entry when the list is mandatory.
A worked example
You buy material TG11 for plant 1710. Supplier A has an info record at 12.00 per piece. Supplier B has a quantity contract for 1,000 pieces at 10.50, valid until the end of the year.
- A requisition for 100 pieces is created with no supplier.
- No source list exists, so the system searches outline agreements and info records.
- It finds the contract and the info record. Both are valid, so the buyer sees two candidates.
- The buyer selects the contract. The requisition item takes supplier B and the price of 10.50.
- The resulting purchase order references the contract, and the released quantity on it rises from 0 to 100.
If the contract expired last month, only supplier A's info record would qualify, and the system would propose it automatically.
Reading sourcing data in tables
The key tables are EINA (general info record data), EINE (purchasing organization data), EKKO and EKPO (contract header and items, identified by document category K), and EORD (source list). You can query the info record price like this.
SELECT a~infnr, a~lifnr, a~matnr, e~ekorg, e~werks, e~netpr, e~peinh
FROM eina AS a
INNER JOIN eine AS e ON e~infnr = a~infnr
WHERE a~matnr = @lv_matnr
AND a~loekz = @abap_false
AND e~loekz = @abap_false
INTO TABLE @DATA(lt_inforec).The net price in EINE is only the base price. Conditions with validity dates live in the condition tables, so the price a buyer sees on an order may differ from NETPR.
Common errors
- No source found. Check validity dates on the contract and source list entries, and confirm the plant and purchasing organization match.
- Wrong price proposed. Look for an expired condition record or a plant-level info record that overrides the general one.
- Supplier rejected on the order. The source list is mandatory and has no entry for the order date.
- Blocked supplier appears. The block applies to a purchasing organization, not to the source list. Block at the right level.
Exercise
A plant requires a source list. Supplier A has a valid info record for the material but no source list entry. Can a buyer create a purchase order to supplier A, and why?
Show answer
No. When the source list requirement is active, the system accepts only suppliers with a valid source list entry for the order date. The info record alone is not enough. The buyer must add a source list entry first.
Exercise
What is the main difference between an info record and a quantity contract?
Show answer
A quantity contract fixes a total quantity over a validity period and tracks how much has been called off. An info record stores prices and terms for a supplier and material but sets no volume target.