| Status | |
|---|---|
| Owner | Alexander Bechter |
| Stakeholders | Ivan Chane Won, Antonio Gonzalvez |
| Jira Request ID | |
| Jira Development ID |
| Parameter | Value |
|---|---|
| Application System | S/4 HANA (all systems) |
| Business Process Reference | 09.05.02.02. Post Sundry Debtor Invoices/Credit Memos |
As part of the SyWay program, it was decided to re-introduce an FI-AR invoicing process for exceptional (sundry) customer invoicing scenarios where the use of the regular sales processes via the Sales and Distribution (SD) module is not feasible/practical due to master data, accounting requirements and/or process design constraints. To bypass the complexities and in terms of configuration and master data dependencies, the FI-AR sundry invoicing process is meant for non-recurring or urgent sales scenarios only that can't be managed adequately in the upstream Sales and Distribution module. To safeguard that the process is only used in exception scenarios, various controls are implemented. One of the endorsed controls is a park/post workflow approval process to ensure that all sundry invoices posted via the direct FI-AR route are validated by authorized reviewers and approvers.
The park and post approval process will use customized workflow templates to enable the electronic flow of initially parked documents through to the appropriate reviewers and approvers.
This document explains the triggers, start conditions routing requirements and processing requirements for the park/post approval workflow implemented as part of this process. It also outlines how the integration with the e-invoicing portal needs to be established as part of the working
Accounts Receivable Invoice Processes shall be given authorizations for the following tasks as part of the invoice entry process:
AR Invoice Approvers shall be granted authorizations to:
Users must not be given authorizations to directly post a document in Fiori app 'FB70 - Create Outgoing Invoices'.
No special requirements identified at the time of writing.
The following enhancements/customizations will be required to cover all business requirements for the park/post workflow:
To be able to differentiate between invoice requestor and invoice processor a new field needs to be created at document header level (table VBKPF) where the invoice processors are required to specify the user ID of the invoice requestor. This must be a mandatory input field in the respective Fiori app used for the outgoing invoice process (Fiori app ID: FB70). The inputs in this field shall be validated against table USR01. A match-code search function shall be made available to search for the respective user IDs based on user’s first and last name.
The workflow logic needs to check whether the user ID of the requester and the user ID of the approver are matching. In case there is a match, the document should be automatically released/approved and subsequently posted.
Once a document has been submitted for approval it shall no longer be editable until it gets approved or rejected by the reviewers/approvers. In case there are any changes required to the document, the document needs to be rejected by the approver to flow back to the processor to make the necessary changes.
Some variables need to be added to the workflow container and eventually included in the subject line/work item body texts. The required variables are:
If multiple profit centers are used in one invoice, the profit center from the line item with the highest LC2 value shall be selected.
All FI-AR sundry invoices parked in the system shall be subjected to the below approval levels and agent determination logic:
| Level | Region | Country | Company Code | Amount (EUR) | Approver HR Position |
|---|---|---|---|---|---|
| 1 | * | * | * | - | Tax Accountant or job equivalent |
| 2 | * | BE | * | >=1000.00 | Country Accounting Manager or job equivalent |
Note:
Example:
In the table, an entry is maintained at level 2 for country BE (Belgium) and amount >=1,000.00 EUR assigned to HR position 'S01'. Another entry is maintained for company code 1000, which is an entity operating in Belgium, and amount >=1,000.00 EUR and assigned to HR position 'S02'. If an invoice gets parked in the system for entity 1000 with an amount of 1,000.00 EUR, the approver determined at level 2 should be the user assigned to position 'S02' not 'S01'.
Notifications shall be sent out to the invoice requestor and invoice processor once requested invoices have been approved and posted in the system.
The work item shall be routed back to the invoice processor in case errors are encountered during background processing of the invoice after initial approval of the document by the invoice approver. The following message shall be output:
Subject line: Sundry Customer Invoice <BELNR><BUKRS> contains errors – action required.
Body Text:
Sundry Customer Invoice <BELNR><BUKRS> raised by you contains errors. The following errors were encountered:
<Error Message 1>
<Error Message 2>
Perform the necessary corrections and re-submit the invoice for approval.
SAP standard Fiori application ‘My Inbox’ will be the user interface used for approving/rejecting parked G/L invoices. An additional enhancement may be required to enable usage of 'My Inbox' for this park/post workflow.
The user ID of the invoice approver shall be substituted into the document header (BKPF-USNAM) once the document has been approved and posted successfully. This is needed to enable easy identification of the approvers for follow-ups if audit queries arise.
Per regulatory requirement for Argentina (RR-1108), the outgoing FI-AR invoice has to be sent electronically to government before being posted as accounting document. This requires an additional enhancement to the workflow in order to intercept and send it Edicom (e-invoicing service provider) for government validation.
The following Fiori push notifications shall be sent to by the workflow templates:
The custom workflow template variants shall be copied using a SAP standard workflow template as a reference. A custom workflow variant will provide more flexibility in terms of workflow design and required functionalities.
WS10000051 is the main SAP standard workflow to release parked invoice documents. It shall be used as a reference object to create the required custom workflow template variant.
The activation of the workflow shall be controlled via assignment of a workflow variant to the company code only. No further configuration will be made. Regardless of the document type used for the invoice documents, the workflow should always be triggered upon saving a document as completed.
Decision steps to approve/reject a journal need to be configured for SAP Fiori application ‘My Inbox’. These decision boxes need to be assigned to the custom sub-workflow variant used for the release of the journal and the respective step that constitutes the decision point in the workflow.
The following standard workflows will be enhanced to meet business requirements and shall be activated via the necessary configurations:
WS10000051 - Main workflow template to release parked invoice documents.
WS10000053 - Sub-workflow template for two-tier approval of invoice documents.
Functionally these workflow templates activate a workflow messaging to the approvers once a document has been parked in the system. The standard workflow template does not lock the document once it has been submitted for approval. It can be re-submitted multiple times which leads to data inconsistencies in the approver’s inbox.
Furthermore, the standard workflow template triggers the workflow notification upon initial parking of a document in the system. At parking stage, the system doesn’t perform thorough data integrity checks hence technically incomplete documents can be routed for approval potentially leading to a high number of rejections.
Standard workflow template also doesn’t notify the requester once a document has been approved and posted. A notification shall be sent to the requester of the journal once requested documents have been successfully posted in the system.
As SAP standard workflow templates do not issue error notifications to either the requestor or the approver, further enhancements are required to the standard templates to enable such (push) notifications.
SAP standard also doesn’t support agent determination based on LC2 amounts (group currency) and doesn't support routing of invoices based on the new organizational chart designs introduced as part of the SyWay program.
Subject line and work item text also require additions (e.g. include Profit Center in subject line) which is not supported in SAP standard.
Triggers and Start Conditions
The workflow shall be triggered once a document gets successfully ‘Saved as completed’ by the invoice processor. Users may directly press the ‘Save as completed’ button rather than parking the document first and saving it as completed in a separate step so the workflow shall be triggered upon saving the document as completed regardless of whether it has been parked in a preceding step or not.
Approvers shall not be given editing rights to the source document. Any changes to the document must be performed by the document processor to achieve clear segregation of duties.
Parked documents for outgoing customer invoices will all be created via Fiori application 'FB70 - Create Outgoing Invoices'.
Below a list of business objects that can be used for this workflow process:
Business Object | Event | Condition | Design Rationale Reference |
FIPP | PrelPostingDocument.Completed | Parked document is saved as completed. | This event shall trigger the workflow. |
FIPP_SUBWF02 | Two-Level Amount Release | Parked document relevant for single level approval | |
FIPP | PrelPostingDocument.Created | Parked document is created / changed | This event should not trigger the workflow. |
FIPP | PrelPostingDocument.Deleted | Parked document is deleted |
|
The flow below is the standard process flow for a single-tier approval of parked documents in SAP (the required 2-tier approval workflow requested for this custom workflow will have another review loop compared to the below illustration but conceptually the document flow will be identical):

Note: Mail in this context refers to the workflow notification sent to the ‘My Inbox’ application of the approver. It will not trigger emails to the approvers.
1.) Business Scenario for regular invoices/invoices:
2.) Business Scenario for Argentina e-Invoicing:

Step Description | Release/Reject Invoice Document |
Step Type | Decision Step |
Approve / Reject texts and actions (for user decision steps) | Two buttons are required for this decision step: 1. Approve: o Parked document should be posted automatically in the background (same behavior as if it was released via SBWP). o Notify requester that document has been approved and posted. 2. Reject: o Document should be routed back to the invoice processor. o Rejection reason must be entered and attached to work item. o Work item needs to be visible in processor's Fiori inbox. Rejection reason/comments must be available under ‘Comments’ or ‘Attachments’ section in the work item message |
Subject Text | Att. To: <CEPCT- LTEXT> Release Sundry Customer Invoice Document <BELNR><BUKRS> |
Body Text | ATTENTION TO: <CEPCT-LTEXT> (bold letters) ‘Sundry Customer Invoice <document number> raised in company code <company code> requires your action. Please validate the invoice entry, tax details and supporting documents to take the necessary actions.’
|
Possible Approvers (Possible Agents) | The agent determination should follow the logic as outlined in section 'Functional Requirements' of this functional specification. |
Approver Selection (Selected Agents) | The selection of the right approving agent out of the pool of possible approving agents shall be facilitated by checking the In case no approver can be found at the corresponding level for a given position in the approval matrix, the approvers shall be determined from the next level upwards based on the entry level position following the reporting lines defined in organizational chart structures. |
Escalation | Reminders should be sent if no action was taken by the approvers with a span of 24h after the document's initial submission. |
Email Notification | No email notification required. Only internal SAP message to approver’s inbox is required. |
Attachments | The list of attachments shall include the supporting documents attached by the user to the invoice document subject to approval. A link to the parked document shall also be provided to allow the user to review the document in S/4 in document entry view (link to transaction code FV53). |
Step XXX (to be specified for each step in the workflow)
i. Decisions and Actions (e.g. if approved then post, if reject then route work item back to requester)
ii. Agent Determination
iii. Alerts, Notifications and Messages (Subject Line & Body Text)
iv. Other Requirements (e.g. Review Comments, Attachments, Email)
Should there be any errors returned by the workflow at agent determination stage a notification should be sent to the workflow administrator to perform follow-up actions.
The work item shall be routed back to the journal processor in case errors are encountered during background processing of the journal after initial approval of the document by the journal approver.
All error messages generated by or encountered by the workflow during background processing must be easily understandable to facilitate effective trouble-shooting and must be accessible via the workflow logs.
Deadline monitoring is not active for parked document approval workflows. Backlogs of parked documents in the system which are still awaiting release will be cleared out at the end of every month as part of the period-end closing activities. SAP has standard reports available to monitor outstanding parked documents.
Forwarding of workflows for the approval of parked documents is permitted. Forwarding should only be possible to approvers of the same HR level or above. It is the responsibility of the user to forward the work item to a person with sufficient authorizations to post in the company code of the invoice document.
Substitutions will be used especially in cases where users are on leave. The substitution rules should only allow for routing of the work item to a proxy of the same HR position/rank. The substitution rules should follow the rules and principles defined in the SoD principles introduced as part of the SyWay program.
Indicate any dependencies or constraints that may impact development, in terms of requirements from internal or external applications or teams, limited access to legacy systems, time constraints or data restrictions. Also, please specify schedule dependencies e.g. interface or batch jobs that must run prior to execution.
The expected volume of invoices to be processed by this workflow is low. The primary reason for this is that the sundry customer invoice processing via FI-AR is only resorted to in exception cases. The primary route for customer invoices remains the billing process via the Sales and Distribution module, also in S/4 HANA.
Please provide some guidance and/or test data to help the developer unit test the workflow. This can be included here or in a separate document.
The developer will need to test repeatedly, so where appropriate provide instructions to reverse the actions performed so the test may be run again or explain how to create new input data to the test. The developer will need logons for test users representing the various roles within the approval process.
In particular, the developer will need logons for test users representing the various roles within the approval process.
| ID | Condition | Expected Result |
|---|---|---|
List any considerations essential for application test planning (e.g. test this before ABC along with DEF separate from GHI). If the development encompasses a user interface, explain how to test it. List any insights as to how this component could be tested the most efficiently.
| Package Name | Parent Package |
|---|---|
| UI Type | UI Name | Fiori Catalogue | Design Rationale Reference |
|---|---|---|---|
| Object Type | Object Name | Purpose/High Level Logic | Design Rationale Reference |
|---|---|---|---|
Insert links and references to other documents which are relevant when trying to understand this decision and its implications. Other decisions are often impacted, so it's good to list them here with links. Attachments are also possible but dangerous as they are static documents and not updated by their authors.
