Symptom
Your requirement is to remove the Supplier role in the Employee Business Partner. Upon trying to block the Supplier role, the system throws the below message:
-----------------------------------------------------
1 partner records are selected for processing; see long text
.
.
Cannot block supplier XYZ
.
.
Bus. activities for supplier XYZ not complete in application ERP_FI_CLM_FQM_FLOW
.
.
1 partner records not blocked
-----------------------------------------------------
Bus. activities for supplier XYZ not complete in application ERP_FI_CLM_FQM_FLOW
Message no. CVP_DP_ILM151
Diagnosis
The end of purpose (EoP) check determined that master data of supplier XYZ is still required for business activities in application ERP_FI_CLM_FQM_FLOW. Therefore, the data cannot be blocked.
Procedure
Applications that report ongoing business for a supplier must send a next EoP check date that is later than the current date. If no Next Check Date value is returned, the central blocking report defaults the next check date based on settings made in Customizing for Cross-Application Components > Data Protection.
The next EoP check date calculated for supplier XYZ is YYYYMMDD.
-----------------------------------------------------
where XYZ represents the Supplier
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Perform the steps to block the Supplier role in Business Partner
- Go to the app Display Supplier Detail Logs
- Use the below filter
- From: DD/MM/YYYY, 00:00:00
- To: DD1/MM1/YYYY1, 23:59:59
- Category: Customer/Vendor Block Process (CVP_LOG)
- You will be able to see the Application logs containing the Information messages
Cause
It may be a situation that your system is generating Liquidity Analysis flows where the flows contain the attribute from cleared invoice/payment.
Resolution
By default, Full Scope cash user generating flows for Liquidity Analysis purpose. Means, you can use app Cash Flow Analyzer to analyze the flows from vary dimension. But if you need only Cash Position, such as use app Short-Term Cash Positioning, you may need flows to reflect Cash position figures.
Liquidity Analysis flows contain more information from accounting document, and most importantly, it generate attributes (including Customer, Vendor) from the document chains. See official document Integration of Accounting Documents and the sub nodes for details in the SAP Help Portal.
It is true that cleared invoice/payment will not generate flows. But the attributes from cleared invoice/payment will still influence the final flows from document chain point of view.
Take one traditional document chain to make it clearer:
'Invoice cleared by a payment, and a payment cleared by bank statement'.
There will be flows for the Bank Statement, but the Bank Statement normally has no Supplier information. With the clearing relationship, our Bank Statement flow will have the Supplier information (getting from the original invoice).
The solution listed as following:
- If you do not need Cash functionality, it is recommended to switch off Cash Management.
- If the Cash functionality is still in use, evaluate with following solutions:
If Liquidity Analysis flows is not needed (means no attributes need from document chain, in this cleared payment), change the general setting for Cash Position Only, and rebuild flows.
If you still need Liquidity Analysis flows but do not need be impacted by this issue, you can delete data from One Exposure and go ahead for your operation. Thereafter, you can rebuild data back.
There are two kinds of Cash Flows: Cash Position and Liquidity Analysis. The default one is Liquidity Analysis.
- Liquidity Analysis in Cash side need to fetch out the information from the document chain. For instance, the information in the cleared invoice will bring into the cash flow.
- Meanwhile, if you only need Cash Position in Cash side, the cleared invoice will not be touched.
To delete data from One Exposure, use app Delete Data from One Exposure.
To rebuild flows, use app Schedule Job for Flow Builder.
You can consult with relevant expert to activate the J78 scope item and license in the system to get the app Check Cash Flow Items.
- Use the app Check Cash Flow Items
- Add filter for the impacted Business Partner
- In your case if the impacted Business Partner is XYZ and used as a Supplier, you can add a filter for Supplier and enter the Business Partner value
- You may need change the Value date range by removing date restrictions
- The result of the filter shall be a few flows
- Click on the flow to jump to the detail page
- Edit them by removing the Supplier information
- Save it after the modification
After all flows have been corrected, you can use Check Cash Flow Items again to ensure there is no flows using that Supplier. If there are no flows any longer, it means the block from ERP_FI_CLM_FQM_FLOW is solved.
You may also use the below option:
- You can delete the impacted flows with app Delete data from One Exposure
Deletion type: Flag for Deletion
Source application: BKPF
Company code: Provide the Company Code where Supplier belongs to
Switch off Test Run
Choose Persists Log
Execute - Continue the deletion of role Supplier of Business Partner
- Rebuild cash related data back
For this, use the app Schedule job for Flow Builder, create a new job, you can keep everything by default but add the Company Code which impacted.
Execute the job and it will complete after some minutes
See Also
Integration of Accounting Documents
2742388 - S4HC: How to delete Business Partner, Customer or Supplier Master Data in S/4HANA Cloud
Keywords
Supplier, ERP_FI_CLM_FQM_FLOW, Block, Business Partner, Liquidity Analysis flows, Cash Position, Cash Management, Check Cash Flow Items, Schedule job for Flow Builder, Rebuild, Bank Statement, block business , KBA , FIN-FSCM-CLM-FQM-2CL , One Exposure (Public Cloud) , Problem