You are on page 1of 19

Event-Based Revenue Recognition - Sell from Stock (1K2_DE) PUBLIC

Purpose Error: Reference source not found 1

Test Script PUBLIC


SAP S/4HANA - 28-09-21

Event-Based Revenue Recognition - Sell from Stock


(1K2_DE)

Table of Contents

1 Purpose

2 Prerequisites
2.1 System Access
2.2 Roles
2.3 Master Data, Organizational Data, and Other Data
2.4 Business Conditions
2.5 Preliminary Steps
2.5.1 Set Report Relevancy
2.5.2 Replicate Runtime Hierarchy
2.5.3 Add Derivation of Revenue Recognition Key for Sell from Stock

3 Overview Table

4 Test Procedures
4.1 Monitor Revenue Recognition (Event-Based): Sales Order
4.2 Manage Real-Time Revenue Recognition Issues
4.3 Run Revenue Recognition: Sales Orders
4.4 Manage Revenue Recognition Issues – Sales Orders
4.5 Revenue Recognition Reversal (Optional)
4.6 Sales Order Actual Data Reporting

5 Appendix
5.1 Reverse Month-End Revenue Recognition Postings

Event-Based Revenue Recognition - Sell from Stock (1K2_DE) PUBLIC


Purpose Error: Reference source not found 2
1 Purpose

Event-based Revenue Recognition calculates and posts real-time revenue and cost adjustment for sales orders. Revenue is calculated based on quantity, cost, and revenue (posted as accrued revenue),
and are matched at the time of posting the goods issue for sale from stock.
Processes that do not write a source document do not result in real-time revenue recognition postings. For example, changes of plan data do not directly result in revenue recognition postings. Period-
end closing postings (periodic revenue recognition) correct the event-based postings. After period-end closing, the posted values are fully correct and separate settlement is no longer required.
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.
Values in this test script (decimal notation, date formats, and so on) are presented in U.S. standard notation. If your test system is set up to use a different notation, enter values as appropriate.

Event-Based Revenue Recognition - Sell from Stock (1K2_DE) PUBLIC


Purpose Error: Reference source not found 3
2 Prerequisites

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.

2.1 System Access

System Details
System Accessible via 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. Alternatively, if available, you can create business roles using the following spaces with pages and predefined apps for the SAP Fiori
launchpad and assign the business roles to your individual test users.
These roles or spaces are examples provided by SAP. You can use them as templates to create your own roles or spaces.
For more information about business roles, refer to Assigning business roles to a user in the Administration Guide to Implementation of SAP S/4HANA with SAP Best Practices .

Name (Role) ID (Role) Name (Space) ID (Space) Log On


Cost Accountant - Sales SAP_BR_SALES_ACCOUNTANT Sales Accounting SAP_BR_SALES_ACCOUNTANT

2.3 Master Data, Organizational Data, and Other Data


The organizational structure and master data of your company has been created in your system during activation. The organizational structure reflects the structure of your company. The master data
represents materials, customers, and vendors, for example, depending on the operational focus of your company.
Use your own master data or the following sample data to go through the test procedure.

Data Sample Value Details Comments


Controlling area A000 Controlling AreaA000

Event-Based Revenue Recognition - Sell from Stock (1K2_DE) PUBLIC


Purpose Error: Reference source not found 4
Data Sample Value Details Comments
Company code 1010 Company Code1010

Sales Organization 1010 Sales Org1010

2.4 Business Conditions


Before this scope item can be tested, the following business condition must be met:

Scope Item Business Condition


BD9 - Sell from Stock This script must be executed to the point of goods issue but not invoiced or billed to trigger event-based revenue recognition..

2.5 Preliminary Steps

2.5.1 Set Report Relevancy

Purpose

Report relevancy must be done when you execute any reports for the first time. If you make a subsequent change in cost center, profit center, or G/L hierarchy, perform this step again to get the latest
information.
Also, you must manually replicate set-based hierarchies (such as Cost Center Group or Profit Center Group) and financial statement hierarchies to the backend database hierarchy tables. Normally,
this would be created as a periodic job that would run in the background.

Procedure

Step # Step Name Instruction Expected Result Pass/Fail/Comment


1 Log On Log on to the SAP Fiori launchpad as a Cost Accountant - Overhead. The SAP Fiori launchpad displays.

Event-Based Revenue Recognition - Sell from Stock (1K2_DE) PUBLIC


Purpose Error: Reference source not found 5
Step # Step Name Instruction Expected Result Pass/Fail/Comment
2 Access the SAP Open Set Report Relevancy - Set-Based Hierarchies (HRY_REPRELEV). The Set Report Relevancy for Set-Based
Fiori App Hierarchies screen displays.

3 Enter Header Data In the header area, make the following entries and choose Execute:
Set Class: For example,0101, for the cost center group
Organizational Unit: A000
Set Name: A000
Include Subnodes: <Select>

4 Mark as Report In the Set Report Relevancy section, select the row and choose Edit. In the dialog box,
Relevant make the following entries:
Report Relevant: Yes

5 Save Choose Save. Data is saved.


Note If you are using the optional procedure Commitment Management and Cost Center
Budgeting, repeat steps 1-5 with the following entries instead:
Set Class: 0102
Organizational Unit: YCOA
Set Name: YBA000_CE
Include Subnodes: <Select>

2.5.2 Replicate Runtime Hierarchy

Purpose

You must manually replicate set-based hierarchies (such as Cost Center Group or Profit Center Group) and financial statement hierarchies to the back-end database hierarchy tables. Normally, this
would be created as a periodic job that would run in the background.

Event-Based Revenue Recognition - Sell from Stock (1K2_DE) PUBLIC


Purpose Error: Reference source not found 6
Procedure

Step # Step Name Instruction Expected Result Pass/Fail/Comment


1 Log On Log on to the SAP Fiori launchpad as a Cost Accountant - Overhead.

2 Access the SAP Open Replicate Runtime Hierarchy (F1478). The Application Jobs screen displays.
Fiori App

3 Create Choose the Create button. The New Job: Replicate Runtime Hi-
erarchy (SAP) view displays.

4 Enter Header Data In the header area, make the following entries:
Job Template: Replicate Runtime Hierarchy
Job Name: Manual test
Choose Step 2.
Start Immediately: Select
Choose Step 3.
In the Create Hierarchy area, make the following entries and choose the Schedule button:
Hierarchy ID: YPS2
By Date: <Select>
Version Older than: 1 day
If you are using the optional procedure Commitment Management and Cost Center Budgeting,
follow steps 1-4, but make the following entries instead:
Job Template: Manually Replicate Runtime Hierarchy
Hierarchy ID: 0102/YCOA/YBA000_CE

2.5.3 Add Derivation of Revenue Recognition Key for Sell from Stock

Purpose

Before you can actively use this scope item, you need to add derivation key to required item categories.
Note When you call this transaction for the first time, it would be non-editable and a specific approval process is required to ensure that your scope is supported with revenue recognition.

Event-Based Revenue Recognition - Sell from Stock (1K2_DE) PUBLIC


Purpose Error: Reference source not found 7
Prerequisite

The maintenance of the customizing activity Derivation of Recognition Key for Sell from Stock is suppressed. Use component CO-PC-OBJ-EBR to receive guidance on how to activate the Event-
Based Revenue Recognition for Sell from Stock in SAP S/4HANA 2021 and later. For more details, see the SAP note https://launchpad.support.sap.com/#/notes/3067643.
Without this derivation, revenue recognition with sell from stock does not work.

Procedure

Step Step Name Instruction Expected Result Pass / Fail /


# Comment
1 Add/Change Entry for Re- Choose the New Entries button The following item categories are supported in event-based revenue recognition and based on your
quired Item Category and make the following entries: sales scope activated and business requirements, you must ensure that the derivation is set for all
Company Code: <enter used item categories:
your company code>
Item Category Supported Suggested RA Keys defaults
Item Category: <for exam-
ple, TAN> TAQ,TAN, TANN, CBTC SFS

Material : <for example,


*>
Note Keep material as * if the
same RA key is valid for all the
materials.
Recognition Key: <for ex-
ample, SFS>
Save the entries.

Event-Based Revenue Recognition - Sell from Stock (1K2_DE) PUBLIC


Purpose Error: Reference source not found 8
3 Overview Table

This scope item consists of several process steps as provided in the table below.
If your system administrator has enabled spaces and pages on the SAP Fiori launchpad, the homepage will only contain the essential apps for performing the typical tasks of a business role.
You can find all other apps not included on the homepage using the search bar.
If you want to personalize the homepage and include the hidden apps, navigate to your user profile and choose App Finder.

Process Step, Report or Item Business Role App Name Expected Results
Monitor Revenue Recognition (Event- Cost Accoun- Revenue Recognition (Event-Based) - Sales Orders (F2441) Sales documents are reviewed.
Based): Sales Order [page ] 10 tant - Sales

Manage Real-Time Revenue Recogni- Cost Accoun- Manage Real-Time Revenue Recognition Issues (F4101) Cost/revenue posting issues with no real
tion Issues [page ] 11 tant - Sales time posting are reviewed.

Run Revenue Recognition: Sales Orders Cost Accoun- Run Revenue Recognition - Sales Orders (F4276) or transaction Real time revenue for sales orders are
[page ] 12 tant - Sales REV_REC_PEC_SD – Run Revenue Recognition – Sales Orders via the SAP GUI posted.

Manage Revenue Recognition Issues – Cost Accoun- Manage Revenue Recognition Issues - Sales Orders (F4185) Revenue recognition posting issues are
Sales Orders [page ] 14 tant - Sales reviewed and corrected.

Revenue Recognition Reversal (Op- Cost Accoun- Revenue Recognition Reversal - Sales Orders (F5803) The document is reversed.
tional) [page ] 15 tant - Sales

Sales Order Actual Data Reporting Cost Accoun- Sales Orders - Actuals (F1582C) You can view actual figures based on
[page ] 15 tant - Sales your selection criteria.

Event-Based Revenue Recognition - Sell from Stock (1K2_DE) PUBLIC


Purpose Error: Reference source not found 9
4 Test Procedures

This section describes test procedures for each process step that belongs to this scope item.

4.1 Monitor Revenue Recognition (Event-Based): Sales Order

Test Administration

Customer project: Fill in the project-specific parts.

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

Event-based Revenue Recognition calculates and posts real time revenue and cost adjustment for sales orders. Processes that do not write a prima nota don't result in any real-time revenue recogni -
tion postings. For example, changes of plan data do not directly result in revenue recognition postings. Period-end-closing postings (periodic revenue recognition) correct the event-based postings.
After period-end-closing, posted values are updated and a separate settlement is no longer required.

Procedure

Test Step Test Step Name Instruction Expected Result Pass / Fail / Com-
# ment
1 Log On Log onto the SAP Fiori launchpad as a Cost Accountant - Sales. The SAP Fiori launchpad displays.

Event-Based Revenue Recognition - Sell from Stock (1K2_DE) PUBLIC


Purpose Error: Reference source not found 10
Test Step Test Step Name Instruction Expected Result Pass / Fail / Com-
# ment
2 Access the SAP Open Revenue Recognition (Event-Based) - Sales Orders (F2441). The Event Based Revenue Recognition: Sales
Fiori App Orders screen displays.

3 Enter Selection Cri- Make the following entries:


teria Display Currency: EUR
To Period: <Period/Fiscal Year>
Ledger: 0L
Company Code: 1010
Sales Organization: <Sales Org>
Sales Document: <Your sales order number>
Note The sales document and sales document items are generated after running
the prerequisite business conditions.

4 Execute Choose Go. The sales orders with derived revenue recogni-
tion key are displayed.

4.2 Manage Real-Time Revenue Recognition Issues

Test Administration

Customer project: Fill in the project-specific parts.

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.

Event-Based Revenue Recognition - Sell from Stock (1K2_DE) PUBLIC


Purpose Error: Reference source not found 11
Purpose

During cost or revenue posting on the cost object, errors that stop real time revenue postings can occur. This activity allows you to review these posting entries where no corresponding real time rev -
enue recognition posting exists and make the necessary corrections. All errors must be addressed prior to the month end revenue recognition month end process.

Procedure

Test Test Step Name Instruction Expected Result Pass / Fail /


Step # Comment
1 Log On Log on to the SAP Fiori launchpad as a Cost Ac-
countant - Sales.

2 Access the App Open Manage Real-Time Revenue Recognition Is-


sues (F4101).

3 Enter Selection Make the following entries: No data found indicates that there are no issues. If issues are shown, review and
Criteria Fiscal Year Period: <PPP/YYYY> process corrections.

Company Code: 1010 Tip To download the issue list, make your filter selections and select Show Error
Summary. From the list, you can choose the Download button.
Choose the Adapt Filters button and in the dialog
box that appears, choose Go.

4.3 Run Revenue Recognition: Sales Orders

Test Administration

Customer project: Fill in the project-specific parts.

Test Case ID <X.XX> Tester Name Testing Date Enter a test date.

Business Role(s)

Event-Based Revenue Recognition - Sell from Stock (1K2_DE) PUBLIC


Purpose Error: Reference source not found 12
Responsibility <State the Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.

Purpose

In this activity, you run the event-based revenue recognition for sales orders.

Procedure

Test Step Test Step Name Instruction Expected Result Pass / Fail / Com-
# ment
1 Log On Log on to the SAP Fiori launchpad as a Cost Accountant - Sales. The SAP Fiori launchpad dis-
plays.

2 Access the SAP Fiori Open Run Revenue Recognition - Sales Orders (F4276). The Application Jobs
App Note You can also use transaction REV_REC_PEC_SD – Run Revenue Recognition – Sales view displays.
Orders via the SAP GUI.

3 New Job Choose the + (New) button. The New Job view displays.

4 Enter Selection Crite- Make the following entries and choose the Schedule button: The new job is executed.
ria Job Template: Run Revenue Recognition – Sales Orders
Job Name: <Enter a description or leave the default description>
Start Immediately:<checked>
To Period: <mm/yyyy>
Company Code: 1010
Ledger: 0L

Event-Based Revenue Recognition - Sell from Stock (1K2_DE) PUBLIC


Purpose Error: Reference source not found 13
4.4 Manage Revenue Recognition Issues – Sales Orders

Test Administration

Customer project: Fill in the project-specific parts.

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

Errors in the revenue recognition must be corrected.

Procedure

Test Step Test Step Name Instruction Expected Result Pass / Fail /
# Comment
1 Log On Log on to the SAP Fiori launchpad as a Cost
Accountant - Sales.

2 Access the App Open Manage Revenue Recognition Issues - The Manage Revenue Recognition
Sales Orders (F4185). Issues - Sales Orders view displays.

3 Enter Processing Make the following entries and choose Go: No data found indicates that there are no issues. If issues are shown, review and process
Data Fiscal Year Period: <MM/YYYY> corrections.

Company Code: 1010 Tip To download the issue list, make your filter selections and select Show Error Sum-
mary. From the list, you can choose the Download button.
Ledger: 0L

Event-Based Revenue Recognition - Sell from Stock (1K2_DE) PUBLIC


Purpose Error: Reference source not found 14
4.5 Revenue Recognition Reversal (Optional)
You could reverse revenue recognition if you made an error. For information on revenue recognition reversal, see the Reverse Month-End Revenue Recognition Postings step in the Appendix sec-
tion.

4.6 Sales Order Actual Data Reporting

Test Administration

Customer project: Fill in the project-specific parts.

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 run the Sales Order Actual Data report.

Procedure

Test Step # Test Step Name Instruction Expected Result Pass / Fail / Com-
ment
1 Log On Log onto the SAP Fiori launchpad as Cost Accountant The SAP Fiori launchpad displays.
- Sales.

2 Access the SAP Fiori Open Sales Orders - Actuals (F1582C). The Prompts dialog box appears on top of the Sales Orders - Actu-
App als screen.

Event-Based Revenue Recognition - Sell from Stock (1K2_DE) PUBLIC


Purpose Error: Reference source not found 15
Test Step # Test Step Name Instruction Expected Result Pass / Fail / Com-
ment
3 Enter Report Criteria Make the following entries and choose Go: The actual figures for sales order - actuals display.
Fiscal Year: 2021
Company Code: 1010
Sales Order: sales order number
G/L Account (Hierarchy): YPS2

Event-Based Revenue Recognition - Sell from Stock (1K2_DE) PUBLIC


Purpose Error: Reference source not found 16
5 Appendix

5.1 Reverse Month-End Revenue Recognition Postings

Test Administration

Customer project: Fill in the project-specific parts.

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

Occasionally, you may be required to reverse revenue recognition posts.

Procedure

Test Test Step Name Instruction Expected Result Pass / Fail /


Step # Comment
1 Log On Log on to the SAP Fiori launchpad as a Cost Accountant - Sales. The SAP Fiori launchpad displays.

2 Access the SAP Open Revenue Recognition Reversal - Sales Orders (F5803). The Application Jobs screen displays.
Fiori App Note You can also use transaction REV_REC_PEC_RV_SD – Revenue Recogni-
tion Reversal - Sales Documents via the SAP GUI.

3 Create Choose the Create button. The New Job: Event Based Revenue Recognition:
Posting reversal view displays.

Event-Based Revenue Recognition - Sell from Stock (1K2_DE) PUBLIC


Purpose Error: Reference source not found 17
Test Test Step Name Instruction Expected Result Pass / Fail /
Step # Comment
4 Enter Selection In the Template Selection section, make the following entries: The Scheduling Options view display.
Criteria Job Template: Event Based Revenue Recognition: Posting re-
versal
Job Name: Event Based Revenue Recognition: Posting rever-
sal
Choose Step 2.

5 Scheduling Op- Select Start Immediately checkbox and choose Step 3. The Parameters view display.
tions

6 Parameters Make the following entries: The figures for projects display.
Posting Date: <Enter a desired date>
Note This must be a month-end date. Otherwise, no selection will be returned.
Company Code: 1010
Ledger: <enter a ledger>
Journal Entry: <Enter the document you want to reverse>

7 Schedule Job Choose the Schedule button. The document is reversed.

Event-Based Revenue Recognition - Sell from Stock (1K2_DE) PUBLIC


Purpose Error: Reference source not found 18
Typographic Conventions

Type Style Description

Example Words or characters quoted from the screen. These include field names, screen titles, pushbuttons labels, menu names,
menu paths, and menu options.
Textual cross-references to other documents.

Example Emphasized words or expressions. www.sap.com/contactsap


EXAMPLE Technical names of system objects. These include report names, program names, transaction codes, table names, and
key concepts of a programming language when they are surrounded by body text, for example, SELECT and IN-
CLUDE.
Example Output on the screen. This includes file and directory names and their paths, messages, names of variables and param-
eters, source text, and names of installation, upgrade and database tools.
Example Exact user entry. These are words or characters that you enter in the system exactly as they appear in the documenta-
tion.
<Exam- Variable user entry. Angle brackets indicate that you replace these words and characters with appropriate entries to
ple> make entries in the system.
EXAMPLE Keys on the keyboard, for example, F 2 or E N T E R .

© 2021 SAP SE or an SAP affiliate company. All rights reserved.


No part of this publication may be reproduced or transmitted in any form or
for any purpose without the express permission of SAP SE or an SAP affili-
ate company. The information contained herein may be changed without
prior notice.
Some software products marketed by SAP SE and its distributors contain
proprietary software components of other software vendors. National product
specifications may vary.
These materials are provided by SAP SE or an SAP affiliate company for in-
formational purposes only, without representation or warranty of any kind,
and SAP or its affiliated companies shall not be liable for errors or omissions
with respect to the materials. The only warranties for SAP or SAP affiliate
company products and services are those that are set forth in the express war-
ranty statements accompanying such products and services, if any. Nothing
herein should be construed as constituting an additional warranty.
Event-Based Revenue Recognition - Sell from Stock (1K2_DE) SAP and other SAP products and services mentioned herein as well as their
PUBLIC
Purpose respective logos are trademarksError:
or registered trademarks
Reference offound
source not SAP SE (or an 19
SAP affiliate company) in Germany and other countries. All other product
and service names mentioned are the trademarks of their respective compa-
nies.

See www.sap.com/copyright for additional trademark information and


notices.

You might also like