
A customer may run several SAP ERP systems as well as non-SAP ERP systems, all of which are able to share Cash Flow information with the Treasury Workstation.
This cloud application receives cash flow information. After data validation and business data mapping are performed, data is stored in One Exposure.

Technically, the inbound SOAP service is an asynchronous service. The specific name of the webservice is CASHFLOW_IN.
The service enables you to Create, Update, and Delete cash flows with the data provided in a payload.
The service contains cash flow information, such as keys for cash flows, value date, amount, currency, company code, certainty level, bank account, and account assignment information, such as G/L account and liquidity item. After data validation and business data mapping are performed in the SAP Application Interface Framework (AIF), the information is then saved in the cash management system. Any issues during validation and business data mapping result in the system displaying an error message.
AiF Framework

It is possible to send e-mail notification (automatically) if there is any error in AIF, and even possible to define groups of recipients for different entities so that the business user is notified only if there is an error connected to his responsible entities.
In standard delivery, you cannot adjust values in the AIF framework. On-premise customers can perform customizing to define editable fields and make their own adjustments. This is not possible with Cloud.

The AIF framework handles the serialization of information according to the GenericKey field.
The GenericKey is used to define a specific business data set. In this case, the same generic key reflects the same set of data.
Serialization of requests is considered according to the Generic Key.
All requests will be first come, first processed. Further requests with same generic key will be pending.
Release Cash Flow

The SAP Fiori app Release Cash Flows helps cash managers to release cash flows after checking the correctness of forecast flows submitted by subsidiary cash managers so that released cash flows can be shown in the cash position report for decision-making.
The process is particularly important where forecast cash flows are collected from different sources by different responsible people. In this case, information needs to be reviewed and released afterwards so that the information for decision-making is reliable.
You can set the release mechanisms in Manage your Solution via the configuration step, Define Criteria for Manual Release. For more information on this, see the configuration section of the Treasury Workstation Cash Integration.

All processes set the release flag according to the configuration.
- If remote cash flow is updated or deleted by a later call of SOAP Webservice, the system checks the configuration and sets the default status, regardless of whether or not the previous flow is released.
- If a memo record is updated in the SAP Fiori app, Manage Memo Records, the default status is set by checking the configuration, despite the previous release status of the memo record.
The additional Lock mechanism for release cash flow will ensure the data consistency for remote flows and memo records.
It will prevent the data to be changed by several users at the same time.
Release could fail if the to-be-released memo record is locked for editing in Manage Memo Records.
The opposite also applies; if the to-be-released memo record is being released, editing in the Manage Memo Records will fail due to the lock.
If one remote flow is being released and at the same time, this updated flow is being importing into the system, the newly imported flow will be locked and held on in AIF.