Sub topic 9
Release strategies and approvals
A release strategy is the rule set that decides whether a purchasing document needs approval before the next step can happen. In the procure-to-pay flow it sits between the purchase order and the goods receipt. This chapter covers how the strategy is built, how a document gets its strategy, and the errors people hit most often.
This chapter assumes you can create a purchase requisition and a purchase order, and that you know the organizational units from the earlier chapters. It also assumes you have seen the Customizing area (transaction SPRO), because release strategies are configured there.
What a release strategy does
A release strategy blocks a document until the right people approve it. A blocked purchase order cannot be printed, sent to the supplier, or used for a goods receipt. A release strategy exists for these document types:
- Purchase requisitions
- Purchase orders
- Contracts and scheduling agreements
- RFQs
For purchase requisitions you can set the release at header level (overall release) or at item level (item-wise release). For purchase orders the release is always at header level. The rest of this chapter uses purchase orders as the main example.
The building blocks
A strategy is made of several Customizing objects. Each one answers a different question.
| Object | Question it answers | Example |
|---|---|---|
| Release group | Which document category does this apply to? | Group 01 for purchase orders |
| Release code | Who can approve? | Code 01 = department head, 02 = finance |
| Release indicator | What state is the document in? | B = blocked, R = released |
| Release strategy | Which codes, in which order? | Strategy P1 needs codes 01, then 02 |
| Classification | Which documents get this strategy? | Net order value above 10,000 |
The release group is linked to a communication structure. For purchase orders this structure is CEKKO, which holds the header fields. The fields you can use in the classification come from it. Typical ones are the net order value (GNETW), the document type (BSART), the purchasing group (EKGRP), and the plant (WERKS).
The release code is tied to a person or role through the authorization object MEINKFRG. Without that authorization, a user cannot release the document even if the code is correct.
How a document finds its strategy
When you save a purchase order, the system compares the CEKKO field values with the classification of every strategy in the release group. If all characteristic values of a strategy match, the strategy is assigned and the document is blocked.
The match is exact in structure. A strategy with the characteristic "net order value above 10,000" and the characteristic "plant 1710" applies only when both conditions are true. If two strategies match the same document, the system cannot decide and the assignment fails. Keep your classification values mutually exclusive.
The release prerequisite and release statuses
Each strategy defines a release prerequisite table. It states which codes must be given before another code can act. In a serial approval, code 02 requires code 01. In a parallel approval, either order works.
Each combination of released codes maps to a release indicator, and the indicator controls what the document may do. Two settings matter most:
- Changeability: whether the buyer may change the document after release. You can choose to allow changes, to allow none, or to send the document back through release when the value changes by more than a set percentage.
- Released for further processing: whether a follow-on step, such as a goods receipt or sending the order, is allowed.
The percentage setting matters in practice. If a buyer raises the order value after approval, a tolerance of 10% means a larger increase sends the document back to blocked status. Without it, a buyer could get approval for a small value and raise it later.
Releasing a document
Approvers use the Fiori app Manage Purchase Orders or the app for approving purchase orders in their launchpad. In SAP GUI the transaction is ME28 for collective release of purchase orders and ME29N for release of one order. Requisitions use ME54N or ME55.
A release works like this:
- The approver opens the blocked document.
- The approver checks the release strategy tab, which shows each code and its state.
- The approver chooses Release. The system sets the next code and recomputes the release indicator.
- When the last code is given, the document status becomes released.
An approver can also reset a release, which returns the document to an earlier state. Resetting is only possible while the changeability setting and the release indicator allow it.
Reading release data in code
The release state is stored in the purchase order header table EKKO. This query lists blocked orders and their strategy.
SELECT ebeln, bsart, frgke, frgzu, frggr, frgsx
FROM ekko
WHERE frgke = 'B'
INTO TABLE @DATA(lt_blocked).
LOOP AT lt_blocked INTO DATA(ls_blocked).
WRITE: / ls_blocked-ebeln, ls_blocked-frgsx, ls_blocked-frgzu.
ENDLOOP.The fields are FRGGR (release group), FRGSX (strategy), FRGKE (release indicator), and FRGZU (the codes already given, shown as X characters). The indicator value B in this example is a typical blocked state, but the letters are defined in your own Customizing, so check your system before you filter on them.
Common errors
- No strategy is found. The document is released automatically. This happens when the classification values do not match, for example when the net value is below every threshold. Check the classification of each strategy against the CEKKO values on the document.
- Two strategies match. The system cannot choose one, and the order does not get a strategy. Make the value ranges mutually exclusive.
- Approver sees no document. The approver lacks authorization MEINKFRG for the release group and code, or the code is not assigned to that user.
- Changed strategy, old documents unaffected. A new or changed strategy applies only to documents saved afterwards. Documents already blocked keep their old strategy unless they are changed and saved again.
- Goods receipt refused. The purchase order is still blocked. The release must be complete before the receipt can post.
Design decisions
Keep the number of strategies small. Each additional characteristic multiplies the combinations you must maintain. Start with value thresholds per document type, and add plant or purchasing group only when the approver really differs.
Decide early whether approvals are serial or parallel. Serial approval is slower but gives a clear audit trail. Parallel approval is faster when the approvers do not depend on each other.
Also consider the workflow. In S/4HANA you can route release requests to the approver's Fiori inbox and set substitutes for absences. Without a substitute, a blocked document waits until the approver returns.
Exercise
A purchase order for 25,000 EUR is saved in plant 1710. It matches no release strategy, although a strategy exists for orders above 10,000 EUR in plant 1720. What happens to the order, and what do you check first?
Show answer
The order is not blocked, because no strategy matches, so it is released automatically. Check the classification of the strategies against the CEKKO values of the order. Here the plant characteristic (WERKS) is 1710 on the order, while the strategy only covers plant 1720. Add a strategy for plant 1710, or widen the classification, and keep the value ranges mutually exclusive.
Exercise
An approver opens ME29N, but the Release button is unavailable on a blocked order that needs code 02 after code 01. List two possible causes.
Show answer
Code 01 has not yet been given, so the release prerequisite does not allow code 02. Or the user lacks authorization object MEINKFRG for the release group and code 02. A third possibility is that code 02 is not assigned to that user in the release setup.