Purchasing Rebate Processing (2R7 - SA) : Test Script SAP S/4HANA - 02-09-19
Purchasing Rebate Processing (2R7 - SA) : Test Script SAP S/4HANA - 02-09-19
Purchasing Rebate Processing (2R7 - SA) : Test Script SAP S/4HANA - 02-09-19
Table of Contents
1 Purpose 3
2 Prerequisites 4
2.1 System Access 4
2.2 Roles 4
2.3 Master Data and Organizational Data 5
2.4 Preliminary Steps 6
2.4.1 Create Purchasing Info Record 6
2.4.2 Define Contract Process Varients (Optional) 7
2.4.3 Maintain Automatic Account Determination (Optional) 8
2.4.4 Configure Flexible Workflow (Optional) 9
2.4.4.1 Configure Flexible Workflow for Condition Contract 10
2.4.4.2 Configure Flexible Workflow for Condition Contract Settlement 11
2.4.4.3 Configure Flexible Workflow for Settlement Document 12
2.4.5 Create Team and Responsibilities 13
3 Overview Table 15
4 Test Procedures 17
4.1 Procurement of Materials (in case: transactional data before condition contract) 17
4.2 Create Supplier Condition Contract 17
4.3 Release Supplier Condition Contract (Optional) 25
4.3.1 Request to Rework the Condition Contract (Optional) 25
4.3.2 Rework Condition Contract (Optional) 26
4.3.3 Release Supplier Condition Contract 27
4.4 Procurement of Materials (in case: transactional data after condition contract) 28
4.5 Release Supplier Condition Contract for Settlement (Optional) 29
4.5.1 Request to Release Condition Contract for Settlement 29
4.5.2 Release Supplier Condition Contract for Settlement 30
4.6 Check Business Volume (optional) 31
4.7 Post Accruals (optional) 32
4.8 Partial Settlement (optional) 35
4.9 Approve Partial Settlement Document (Optional) 40
4.10 Create Collective Documents from Partial Settlement 41
4.11 Procurement of Materials 42
4.12 Check Business Volume (Optional) 43
4.13 Final Settlement 44
4.14 Final Settlement with Adjustments (Optional) 49
4.15 Approve Final Settlement Document (Optional) 51
4.16 Create Collective Documents from Final Settlement 52
5 Appendix 54
5.1 Process Integration 54
5.1.1 Succeeding Processes 54
5.2 General Ledger Reporting and CO-PA Reporting (Optional) 54
The Purchasing Rebate Processing scope item concerns the subsequent settlement of rebate conditions agreed upon with a supplier. You use condition contracts from Condition Contract
Management to enter the rebate agreements with the suppliers. In a condition contract, you specify, beside organizational and process control parameter, the business volume selection criteria, the
rebate conditions and the settlement calendar with settlement dates for delta accrual, partial and final settlement. The delta accruals settlement reflects a procedure in which accruals are not posted
together with the transactional documents but subsequently in a specific settlement run. In the partial and final settlements of a condition contract you perform the rebate calculation based on
business volume and rebate conditions and you create the settlement documents to claim the rebate payments from the supplier. This scope item supports two data sources for the business volume
determination: supplier invoices, usually applied for an amount based rebate calculation, and material documents of goods receipt postings usually applied for quantity or weight/volume based rebate
calculation.
In addition, you can also configure workflows to include the approval process for condition contracts, release of condition contract for settlement and settlement documents. You can define workflow
preconditions for releasing condition contracts and settlement documents. An approver can choose to approve, reject or send the documents for rework to the document initiator. The approval
process starts when a workflow with one or more steps is activated and the preconditions you have assigned to it are met.
This scope item involves two ways of how to settle the condition contract depending on the character of the rebate agreement. When you regard rebates as cost reduction for (or gain from)
procurement activities you perform a so-called goods related settlement as accounts payable to create a credit memo with the supplier as payer. In this case, the taxation is consistent with the taxation
in the procurement process. When the rebate agreement reflects a service rendered for the supplier you perform a settlement as account receivable to create an invoice for the supplier. The taxation
for the rebate amount is carried out according to a service.
Another process variant concerns the transfer of settlement documents to accounting. Usually, you create settlement documents that are immediately released to accounting. In addition, you can also
create a two-step condition contract to collect and post settlement documents of different condition contracts in one journal entry to accounting. When you create and process a two-step condition
contract, the reversal of the accruals and the customer revenues is not posted until the creation of the collective settlement document.
This scope item extends the business process for the procurement of direct materials (scope item J45). Ideally, the condition contract is created first before you start to enter purchasing documents in
the system. However, you can also create condition contracts subsequently with a validity period starting in the past. Also, purchasing rebate processing and procurement run in parallel in that sense
that you process partial settlements for purchasing documents entered continuously during the condition contract’s validity period.
This test script indicates that you can either create transactional data (supplier invoices or material documents for goods receipt) before you create the supplier condition contract or afterwards. If you
create transactional data before you create the supplier condition contract, you can still create further transactional data after creation of the condition contract because purchasing rebate processing
and procurement run in parallel in the sense that you process partial settlements for purchasing documents entered continuously during the condition contract’s validity period.
This document provides a detailed procedure for testing this scope item after solution activation, reflecting the predefined scope of the solution. Each process step, report, or item is covered in its
own section, providing the system interactions (test steps) in a table view. Steps that are not in scope of the process but are needed for testing are marked accordingly. Project-specific steps must be
added.
This section summarizes all the prerequisites for conducting the test in terms of systems, users, master data, organizational data, other test data and business conditions.
System Details
System Accessible via the SAP Fiori launchpad. Your system administrator provides you with the URL to access the various apps assigned to your role.
2.2 Roles
Assign the following business roles to your individual test users.
Note The following roles are provided as example roles from SAP. You can use these as templates to create your own roles.
Procedure
Purpose
Procedure
1. IMG Menu Logistics - General> Settlement Management> Condition Contract Management> Condition Contract Maintenance > Define Condition Contract Process
Variants
Transaction Code SPRO
1. On the screen Change View “Process Varients”:Overview, choose New Entries.
2. On the screen New Entries: Details of Added Entries, make the following entries:
Condition Contract Process Variant:ZTEM/ Test Purchase Rebates with Workflow
Settlement Management Status Group: 0P01 Purchase Rebate
Default Application Status for Settlement Documents: 0P03 Workflow Release Required
Approval Process: 1 Approval Process Activated.
3. Choose Save.
4. Double-click Condition Contract Types at the left. Then choose New Entries and make the following entries:
Contract Type: <the condition contract type need to go through workflow approval process> , for example, c
Purpose
In this activity, you maintain automatic account determination for specific contract process varient.
Procedure
1. Access the activity using one of the following navigation options as role Configuration Expert:
IMG Menu Logistics - General> Settlement Management> Basic Settings > Account Determination > Assign G/L
Accounts
Transaction Code VKOA
8. On the screen Assign G/L Accounts, double-click table number 016.
9. On the Change View “Company Code/Contract Process Varient /Account Key”: O, choose New Entries and make one or both of following entries according to your requirement:
Ap Condition Type Company Chart of Contract Process Account Key G/L Accruals
p Code Account Var Account Acc.
V KORP (Purchasing 5910 YCOA ZTEM 0P1(Purchasing Rebate) 72532000 21771000
Rebate)
V KORP (Purchasing 5910 YCOA ZTEM 0P2(Pur Rebate GoodsRel) 72531000 21771000
Purchasing Rebate Processing (2R7_SA) PUBLIC
Prerequisites Error: Reference source not found 8
Rebate)
10. Choose Save.
Purpose
Purpose
In this procedure, you configure your release conditions for release condition contract.
Procedure
Test Step Test Step Name Instruction Expected Result Pass / Fail /
# Comment
1 Log onto Fiori Log onto the SAP Fiori launchpad as a Configuration Expert. The Fiori launchpad is displayed.
Launchpad
Purchasing Rebate Processing (2R7_SA) PUBLIC
Prerequisites Error: Reference source not found 9
2 Access the App Open Manage Workflows for Condition Contracts(F2190) . The Manage Workflows screen is displayed.
3 Create Workflow Select Workflows: Release Condition Contract, and then choose Add, and make The Workflow for Condition Contract is
following entries: configured.
Workflow Name: Test Workflow for Release of Condition Contract
Step Sequence: Add
Step Type: Release of Condition Contract
Recipients: Assignment By: Role: Condition Contract Release Approval
Exception Handling:Reword Condition Contract
Required Action: Rework of Condition Contract
Action Result: Restart Workflow
Choose Add. Choose Save.
4 Activate Workflow Choose Back. Select the just created Workflow Item and choose Activate. The Workflow Item is activated.
Item
Purpose
In this procedure, you configure release conditions of condition contract for settlement.
Procedure
Purpose
In this procedure, you configure release conditions for release Settlement Document.
Procedure
Test Administration
Test Case ID <X.XX> Tester Name Testing Date Enter a test date.
Business
Role(s)
Responsibility <State the Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
2. Access the App Open Manage Teams and Responsibilities(F2412) The Manage Teams and
Responsibilities screen
displays.
3 Create team and responsibilities for Choose Create, and make following entries:
condition contract and condition contract Name: ZCCM_TEST_TEAM_MM
for settlement
Description: Condition Contract Management Team Purchase
Status: Ready to Use
Type: SCMTM Purchasing Condition Contract Team Type
Choose Enter.
Go to Responsibility Definition area, and make the following entries:
Condition Contract Category: 0P Purchasing Rebate
Go to Team Members area, choose Create, and make the following entries:
Business Partner: Select your owner user from F4 help.
Functions: Select from F4 help, select the following 2 functions and choose OK.
SCCM_F1 Condition Contract Release Approval
SCCM_F2 Condition Contract Settlement Release Approval
4 Save Team Choose Save and choose Back to go back to Manage Teams and Responsibilities The team is saved.
screen.
5 Create team and responsibilities for Choose Create , and make following entries:
settlement Name: ZSTLM_TEST_TEAM_MM
Description: Settlement Management Team Purchase
Status: Ready to Use
Type: SMPUR Purchasing Settlement Management Team Type
Choose Enter.
Go to Responsibility Definitions and make the following entries:
SettlmtDocType: <the settlement document type need to go through workflow
approval process>, for example,
Purchasing Rebate Processing (2R7_SA) PUBLIC
Prerequisites Error: Reference source not found 13
0P11 (0P11 is for condition contract type 0PI1/0PG1. 0P21 is for condition contract
type 0PI2/0PG2. 0PA2 is for condition contract type 0PI3/0PG3. 0PB2 is for condition
contract type 0PI4/0PG4.)
Please make sure to maintain the related settlement document type to make the
purchasing manager can approve the settlement document.
Go to Team Members area, choose Create, and make the following entries:
Business Partner: Select your owner user from F4 help.
Only employee user can be selected as Business Partner.
For the steps of user configuration, please refer to the Chapter Creating Approvers in
the .
Functions: Select from F4 help, select the following function and choose OK.
STLMTAPR Settlement Document Approver
6 Save Team Choose Save and choose Back. The team is saved.
This scope item consists of several process steps provided in the table below.
This section describes test procedures for each process step that belongs to this scope item.
4.1 Procurement of Materials (in case: transactional data before condition contract)
Purpose
During Procurement of Direct Materials(J45) business process you create purchase orders, post the goods receipt for the purchase orders, and enter supplier invoices for the purchase orders. Material
documents or supplier invoices represent the transactional document for the subsequent purchasing rebate processing.
Procedure
Complete the activities described in the Procurement of Direct Materials(J45) using the master data of this document. You do not need to perform all steps described in Procurement of Direct
Materials(J45) . You can focus on the following steps:
Create Purchase Order
Post Goods Receipt
Create Supplier Invoice
Please make sure to use the supplier and material master data in this test script to execute the steps of J45.
Test Administration
Business
Role(s)
Responsibility <State the Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
Purpose
First, decide whether you want to test purchasing rebate processing with a settlement as account payable or as accounts receivable.
In the condition contract maintenance, you can choose the calculation type for the rebate and accruals conditions. However, note that the calculation type for a settlement based on supplier invoices
is usually Percentage. For a settlement based on material documents, you usually use Quantity (as described below), Net Weight, Gross Weight, Volume, or Points as the calculation type. Other
calculation types are not suitable.
If you don't perform flexible workflow for condition contract, condition contract for settlement and settlement document, then you don't need to perform the following chapters:
Release Supplier Condition Contract (Optional)
Release Supplier Condition Contract for Settlement (Optional)
Approve Partial Settlement Document (Optional) [page ] 38
Approve Final Settlement Document (Optional) [page ] 48
Procedure
Test Administration
Test Case ID <X.XX> Tester Name Testing Date Enter a test date.
Business
Role(s)
Responsibility <State the Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
Purpose
In this activity, you will check a rebate condition contract, and send it back for ‘Rework’.
Procedure
Purpose
In this activity, you will rework on a rebate condition contract to change some value, for example settlement date or rebate percentage.
Procedure
Test Administration
Test Case ID <X.XX> Tester Name Testing Date Enter a test date.
Business
Role(s)
Responsibility <State the Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
Purpose
Procedure
4.4 Procurement of Materials (in case: transactional data after condition contract)
Purpose
During the Procurement of Direct Materials(J45), you create purchase orders, you post the goods receipt for the purchase orders, and you enter supplier invoices for the purchase orders. Material
documents or supplier invoices represent the transactional document for the subsequent purchasing rebate processing.
Procedure
Complete the activities described in the Procurement of Direct Materials (J45) scope item's test script using the master data from this document. You do not need to perform all steps described in
Procurement of Direct Materials (J45), You can focus on steps:
Create Purchase Order (Original)
Post Goods Receipt (Original)
Create Supplier Invoice (Original)
Please make sure the use the supplier and material master data in this test script to execute the steps of J45.
Test Administration
Test Case ID <X.XX> Tester Name Testing Date Enter a test date.
Business
Role(s)
Responsibility <State the Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
Purpose
If the condition contract is set as Lock settlement, you need to request approval for this condition contract for settlement.
Procedure
Test Administration
Test Case ID <X.XX> Tester Name Testing Date Enter a test date.
Business
Role(s)
Responsibility <State the Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
Purpose
Procedure
Test Administration
Test Case ID <X.XX> Tester Name Testing Date Enter a test date.
Business
Role(s)
Responsibility <State the Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
Purpose
In this activity you check the business volume of the supplier condition contract.
Prerequisites
Perform this step if you have executed the the Procurement of Materials [page ] 40 scenario for the supplier condition contract.
Test Administration
Test Case ID <X.XX> Tester Name Testing Date Enter a test date.
Business
Role(s)
Responsibility <State the Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
In this activity you post accruals for the supplier condition contract.
Prerequisites
Use this step if you have executed the Procurement of Direct Materials (J45) scenario for the supplier condition contract.
Procedure
A/P Settlement::
A/R Settlement:
Test Administration
Test Case ID <X.XX> Tester Name Testing Date Enter a test date.
Business
Role(s)
Responsibility <State the Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
In this activity you create a partial settlement for the supplier condition contract. In this step you also reverse the accruals posted before.
Prerequisites
Perform this step if you have executed the chapter Procurement of Materials [page ] 40 for the supplier condition contract.
Journal entry:
If workflow for settlement document is actived, the Journal entry for settlement will only be generated after you perform the steps in following chapter:
1. To Condition Contract Type 0PI1/0PI3/0PG1/0PG3:
Approve Partial Settlement Document (Optional) [page ] 38
2. To Condition Contract Type 0PI2/0PI4/0PG2/0PG4:
Create Collective Documents from Partial Settlement [page ] 39
A/P Settlement:
Material (Original) Supplier (Original) Gain Account Accrual Account Tax Account
Trading Good 59300010 or any other supplier used for the purchasing rebate 72531000 Gain from Supplier Rebate 21771000 Accrued Supplier 12600000 Input Tax
(HAWA) processing. (MM) Rebate (VST)
A/R Settlement:
Test Administration
Test Case ID <X.XX> Tester Name Testing Date Enter a test date.
Business
Role(s)
Responsibility <State the Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
Purpose
In this procedure, you approve settlement document. And then FI document is created. If workflow of settlement document is not active. The FI document will be created directly after settlement.
Prerequisites
Procedure
Test Administration
Test Case ID <X.XX> Tester Name Testing Date Enter a test date.
Business
Role(s)
Responsibility <State the Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
Purpose
If you use the 2-step condition contract, the reversal of the accruals together with the customer revenues for the partial settlements is not posted until the creation of the collective settlement
document.
Prerequisites
Perform this step if you have executed the chapter Partial Settlement (optional) [page ] 33 for Condition Contract type 0PI2/0PI4/0PG2/0PG4
Test Administration
Test Case ID <X.XX> Tester Name Testing Date Enter a test date.
Business
Role(s)
Responsibility <State the Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
Purpose
Create additional transactional documents (material documents for goods receipt, supplier invoices) for the final settlement step.
Complete the activities described in the Procurement of Direct Materials(J45) scope item's test script using the master data from this document. You do not need to perform all steps described in
Procurement of Direct Materials(J45), You can focus on steps:
Create Purchase Order
Post Goods Receipt
Create Supplier Invoice
Please make sure to use the supplier and material master data in this test script to execute the steps of J45.
Test Administration
Test Case ID <X.XX> Tester Name Testing Date Enter a test date.
Business
Role(s)
Responsibility <State the Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
Procedure
Test Administration
Test Case ID <X.XX> Tester Name Testing Date Enter a test date.
Business
Role(s)
Responsibility <State the Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
Purpose
In this activity you create a final settlement for the supplier condition contract.
Prerequisites
Perform this step if you have executed the Procurement of Materials [page ] 40.
Purchasing Rebate Processing (2R7_SA) PUBLIC
Prerequisites Error: Reference source not found 42
Procedure
Journal entry:
If workflow for settlement document is actived, the FI document for settlement will only be generated after you perform the steps in following chapter:
1. To Condition Contract Type 0PI1/0PI3/0PG1/0PG3:
Approve Final Settlement Document (Optional) [page ] 48
2. To Condition Contract Type 0PI2/0PI4/0PG2/0PG4:
Create Collective Documents from Final Settlement [page ] 49
A/P Settlement:
Material (Original) Supplier (Original) Revenue Account Accrual Account Tax Account
Trading Good 59300010 or any other supplier used for the purchasing rebate 72531000 Gain from Supplier Rebate 21771000 Accrued Supplier 12600000 Input Tax
(HAWA) processing. (MM) Rebate (VST)
A/R Settlement:
Test Administration
Test Case ID <X.XX> Tester Name Testing Date Enter a test date.
Business
Role(s)
Responsibility <State the Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
Procedure
Test Administration
Test Case ID <X.XX> Tester Name Testing Date Enter a test date.
Responsibility <State the Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
Purpose
In this procedure, you approve settlement document. And then FI document is created. If workflow of settlement document is not active. The FI document will be created directly after settlement.
Procedure
Test Administration
Business
Role(s)
Responsibility <State the Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
Purpose
If you use the 2-step condition contract, the reversal of the accruals together with the customer revenues for the final settlements is not posted until the creation of the collective settlement document.
Prerequisites
Perform this step if you have executed the chapter Partial Settlement (optional) [page ] 33 for Condition Contract of type 0PI2/0PI4/0PG2/0PG4
Procedure