Credit Memo Processing (1EZ - IN) : Test Script SAP S/4HANA - 02-09-19
Credit Memo Processing (1EZ - IN) : 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 7
2.4.1 Create Reference Order or Billing (Optional) 7
2.4.2 Preliminary Steps for Credit Memo Request (Optinal) 8
2.4.2.1 Implement Cloud BADI 8
2.4.2.2 Manage Teams and Responsibilities 9
2.4.2.3 Set up Workflow 11
2.4.3 Create Condition Records (Optional) 14
3 Overview Table 15
4 Test Procedures 16
4.1 Create Credit Memo Requests 16
4.2 Create Attachment for Sales Order (Optional) 18
4.3 Process Credit Memo Request Approval (Optional) 19
4.3.1 Withdraw from Approval 19
4.3.2 Approve/Reject/Rework Credit Memo Request 21
4.3.3 Rework Credit Memo Request 22
4.3.3.1 Check the Notifications 23
4.3.3.2 Change Credit Memo Request 24
4.4 Create Credit Memo 25
4.5 Create Attachment for Sales Order (Optional) 28
5 Appendix 30
5.1 Process Integration 30
5.2 Succeeding Processes 30
5.3 Scheduling Job (Alternative) 30
5.3.1 Job Scheduling for Billing Creation (Alternative) 30
5.3.2 Job Scheduling for Billing Release (Alternative) 32
5.3.3 Job Scheduling for Billing Output (Alternative) 33
A credit memo request is created with the amount to be credited, and placed on a billing block for review. It must then be released to become billing relevant and appear on the billing due list. The
periodic billing process creates a credit memo to be sent to the customer and posts posts a journal entry.
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 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 for your own roles.
Material TG22 Trad.Good 22,Reorder Point,Batch-ExpD Only use if you have activated the building block Batch Management (BLG) (BLH)(BLJ)
No serial number, batch controlled (Exp. Date) (2EG)(BLP).
Purpose
As an option, you can create Reference or Billing Orders to use when creating credit memo requests.
Follow procedures described in following process documents to create Reference Orders or Billing Orders:
IDs Titles
BD9 Sell from Stock
BD3 Sales Processing using Third-Party with Shipping Notification
BDK Sales Processing using Third-Party without Shipping Notification
BDN Sales of Non-Stock Item with Order-Specific Procurement
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
Note Please finish the steps of remove billing block for CMR and Define and Assign reasons for approval requests following the (Chapter Removing the billing block for Credit Memo Requests to
enable CMR approval workflow, and Define and assign reasons for approval requests to enable SD approval workflow
The Business Add-In (BADI) SD_APM_SET_APPROVAL_REASON is called whenever a sales document is saved by a business user. It determines whether a sales document needs to be sent to an
approver and, if so, set an approval request reason on sales document header level.
This means that if you want to use the workflow for the approval of sales documents, implementing this BADI is a prerequisite. In the Manage Credit Memo Requests (F1989) app, you define
additional preconditions and approval steps.
When the system sets an approval request reason for a sales document, the approval workflow is triggered automatically.
Test Step Test Step Name Instruction Expected Result Pass / Fail /
# Comment
1 Log On Log on to the SAP Fiori launchpad as an Administrator. The SAP Fiori launchpad displays.
2 Access the App Open Custom Fields and Logic (F1481). The Custom Fields and Logic screen
displays.
3 Navigate to Custom Logic In the menu bar at the top, choose Custom Logic. The Enhancement Implementations
section displays.
4 Create Enhancement Choose Create. The Draft Logic section displays.
Implementation Make the following entries and choose Create:
● Business Context: Sales: Sales Document
● BADI Description: Set Approval Request Reasons for Sales
Documents
● Implementation Description: for example, Set Approval Reason for
Sales Documents
● Implementation ID: Generated by default
5 Add Coding Choose Draft, implement your logic in Draft Logic section, for example:
If salesdocument-sddocumentcategory = 'K' and
salesdocument-TOTALNETAMOUNT >= 500,
salesdocapprovalreason = 'Z000'.
endif.
6 Save and Publish Choose Save Draft. Custom logic is published.
Choose Publish.
Test Administration
Business Role(s)
Responsibility <State the Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
Purpose
This process step shows you how to maintain the teams and responsibilities for credit memo workflow.
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 Step Test Step Name Instruction Expected Result Pass / Fail /
# Comment
1 Log On Log on to the SAP Fiori launchpad as a Configuration Expert - Business The SAP Fiori launchpad displays.
Purpose
In case you have finetuned the access sequence of SAP pre-shipped condition types, the relative condition records should be created accordingly.
You can find general information on how to create master data objects in the following Master Data Scripts (MDS) :
Table 2: Master Data Script Reference
Master Data ID Description
BET Create Sales Pricing Condition
This scope item consists of several process steps provided in the table below.
This section describes procedures for each process step that belongs to this scope item.
The Enterprise Search function provides a central entry point for finding business objects in your company from different sources using a single search request. You can search for objects such as:
apps, fact sheets for business objects. From the data found, you can go directly to the respective apps and fact sheets to display, edit the data or find related objects.
How to access and check a fact sheet:
1. Log on to the SAP Fiori launchpad as a respective user, for example, Internal Sales Representative.
1. Access the Enterprise Search Bar by choosing the magnifying glass icon in the upper right corner.
2. The Enterprise Search bar displays two filter fields next to the search icon: all dropdown menu and a search field. Enter your Search Criteria and choose the business object type, for example,
select Sales orders from the dropdown menu, and enter a sales order number in the search field and choose Search, the sales order lists.
3. Choose the sales order number link. The system navigates to the fact sheet screen and sales order related information is integrated and summarized in one Fiori page. You can get detailed data by
choosing the corresponding links.
There are fact sheets available for the following objects (visible depending on the assigned role):
● Sales order
● Quotation
● Billing document
● Credit Memo
● Debit Memo
● Customer 360 Fact sheet
Test Administration
Test Case ID <X.XX> Tester Name Testing Date Enter a test date.
Business Role(s)
Purpose
This process step shows you how to generate a billing document and credit the customer's account.
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
This process step shows you how to create attachment for a sales order.
Procedure
Note In order to perform following steps, user parameter "SD_SWU_ACTIVE" has to be to "X".
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, the internal sales representative withdraw sales order approval.
Prerequisite
Procedure
5 Change Credit Memo On the Change Credit Memo Request: Overview screen, make some changes, for Approval status is changed to In
Request example: Approval.
Valid to: <Enter a Date>
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, sales manager makes approval decision: release, reject or request rework.
Prerequisite
Procedure
Test Step Test Step Name Instruction Expected Result Pass / Fail /
# Comment
1 Log On Log on to the SAP Fiori launchpad as a Sales Manager. The SAP Fiori launchpad displays.
2 Receive Notification Open My Inbox - All Items (F0862). The Inbox screen displays.
You can also choose the Notifications icon on the top right corner to
navigate to the My Inbox screen.
3 Refresh Choose Refresh if necessary. Inbox is refreshed.
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.
Prerequisite
Procedure
Test Step Test Step Name Instruction Expected Result Pass / Fail /
# Comment
1 Log On Log on to the SAP Fiori launchpad as an Internal Sales The SAP Fiori launchpad displays.
Representative.
2 Receive Open My Inbox - All Items (F0862). The Inbox screen displays.
Notification You can also choose Notifications icon on the top right corner to
navigate to the My Inbox screen.
3 Refresh Choose Refresh if necessary. Inbox is refreshed.
4 Check Inbox Check the inbox items with relative Credit Memo Request. Orders which needs to be reworked are displayed.
If rework is not required, sales representative can be set "Rework
not Required" in the inbox.
If rework is required, go to the Change Credit Memo Request
chapter.
Test Administration
Business Role(s)
Responsibility <State the Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
Purpose
In this activity, internal sales representative change the credit memo request.
Prerequisite
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
This process step shows you how to generate a billing document and credit the customer’s account.
Procedure
Test Step Test Step Name Instruction Expected Result Pass / Fail /
# Comment
1 Log On Log on to the SAP Fiori launchpad as a Billing Clerk. The SAP Fiori launchpad displays.
2 Access the App Open Create Billing Documents (F0798). The Create Billing Documents (F0798)
screen displays.
3 Define Billing Setting Choose Billing Setting in the bottom bar.
You can make the following settings as below:
● Set billing date and type before billing: ON
● Create separate billing document for each item of billing due list: OFF
● Automatically Post Billing Documents: ON
● Display Billing Document After Creation: ON
4 Search for Billing List From the search condition, enter a criteria if necessary. Sales documents display.
6 Maintain Billing Date Choose billing type Credit Memo (G2) and maintain billing date, for The new billing document is created.
example, <current date>.
Choose OK.
7 Display Billing Document after On the Billing Document (F1901) screen, choose Save. The system generates an invoice for
Creation The draft version billing document with ID Sxxxxxxxx turns into a saved billing.
billing document with ID xxxxxxxx.
Make a note of the billing document number: __________.
8 ODN Number Check whether the ODN number is generated for the billing document. ODN number is generated in the
Reference field.
Financial Postings
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
This process step shows you how to create attachment for a sales order.
Procedure
Test Administration
Business Role(s)
Responsibility <State the Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
Purpose
This process step shows you how to schedule a background job for creation billing documents.
This app can be used as an alternative instead of the manual creation of billing documents.
Procedure
Test Step Test Step Name Instruction Expected Result Pass / Fail /
# Comment
1 Log On Log on to the SAP Fiori launchpad as a Billing Clerk for The SAP Fiori launchpad displays.
India .
2 Access the App Open Schedule Billing Creation (F1519). The Application Jobs screen displays. The app automatically
shows the history of application jobs.
3 Create Billing Creation Choose New to define a new job for billing creation. The New Job screen displays. Job Template should default as
Schedule Schedule Billing Creation.
4 Job Parameters Define scheduling options and parameters for the batch job The system displays the message Go ahead and schedule the job.
if necessary.
Choose Check.
5 Schedule Choose Schedule. A billing creation job is scheduled. Screen goes back to
Application Jobs.
6 Check Billing Creation On the Application Jobs screen, after job item’s status The log details display.
Job Log turned to Finish, choose Job Log.
Note Choose the Magnifier, and the job list will refresh.
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
This process step shows you how to schedule a background job for release billing documents to accounting.
This app can be used as an alternative instead of the manual release to accounting for billing documents.
Procedure
Test Step Test Step Name Instruction Expected Result Pass / Fail /
# Comment
1 Log On Log on to the SAP Fiori launchpad as a Billing Clerk for The SAP Fiori launchpad displays.
India .
2 Access the App Open Schedule Billing Release (F1518). The Application Jobs screen displays. The app automatically
shows the history of application jobs.
3 Create Billing Release Choose New to define a new job for billing creation. The New Job screen displays. Job Template defaultly should be
Schedule Schedule Billing Release.
4 Job Parameters Define scheduling options and parameters for the batch job The system displays the message Go ahead and schedule the job.
if necessary.
Choose Check.
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
This process step shows you how to schedule a background job for when and how billing documents are sent to customer.
Procedure
Test Step Test Step Name Instruction Expected Result Pass / Fail /
# Comment
1 Log On Log on to the SAP Fiori launchpad as a Billing Clerk for The SAP Fiori launchpad displays.
India .
2 Access the App Open Schedule Billing Output (F1510). The Application Jobs screen displays. The app automatically
shows the history of application jobs.