0% found this document useful (0 votes)
78 views

1905 Error Handling Createpr

1) The test case focuses on validating error handling when backend services are unavailable in the User Defaults app and Create PR app. 2) It checks that proper error messages are displayed when the F4 search help services are inactive or the backend system is inaccessible. 3) It also checks that default values are correctly populated from the user defaults when services are available.

Uploaded by

saivenkateswar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
78 views

1905 Error Handling Createpr

1) The test case focuses on validating error handling when backend services are unavailable in the User Defaults app and Create PR app. 2) It checks that proper error messages are displayed when the F4 search help services are inactive or the backend system is inaccessible. 3) It also checks that default values are correctly populated from the user defaults when services are available.

Uploaded by

saivenkateswar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Test Case Title “Error Handling” in User Defaults App and Create Purchase requisition App - Central Requisition

ition in HUB system


Description In SAP S/4HANA Self Service requisition (in Central requisition Scenario) creation process, user can use F4-search helps
which fetches data from the connected system.
Real time determination and assignment of data from connected system also possible (example Delivery address
assignment based on the plant in “Create Purchase Requisition”) and validations (example validation of plant, Company
code and Purchasing Organization in “Default Settings for Users”). It is required to show proper information message to
end users which will enable them to address the issue effectively in case there are technical issues.

Focus of this Test This test case focuses on how the error handling is validated in the F4 search helps in User defaults App and Create PR app when the
Case backend services are not available.
Component for MM-FIO-PUR-REQ-SSP
Messages
Test Case Author Saivenkateswar K

Product Owner Amudha R V

Architect Anuj Goyal, Unnikrishnan MN

1|Page
Pre-requisites

Ensure User Defaults are set to Central Requisition scenario ie., assign backend plant and company code. Default settings can
be done from “ Default Settings for Users” app with Expert user who has role SAP_BR_BPC_EXPERT or Employee User who
has SAP_BR_EMPLOYEE_PROCUREMENT role (based on authorization employee user allowed to assign backend plant and
company code) set the backend plant and company code.

Steps to Activate and Deactivate the services.

Open the Connected System in Backend


Go to transaction => /n/iwfnd/maint_service

For deactivating/activating a service-


 Search for the given service and select it.(eg:MMPUR_ACC_BE_VALUE_HELP_SRV)

 Deactivate/Activate the ICF Node corresponding to that service.

2|Page
SL.No. Entity Name Service Related to the Entity
1. F4-Material/Product MMPUR_BE_VALUE_HELP_SRV
2. F4-Supplier (fixed and desired) MMPUR_REQ_SRV_BE_SRCH_HLP_SRV
3. F4 -GL Account MMPUR_REQ_SRV_BE_SRCH_HLP_SRV
4. F4Cost Center MMPUR_REQ_SRV_BE_SRCH_HLP_SRV
5. F4-Network MMPUR_ACC_BE_VALUE_HELP_SRV
6. F4-Network Activity MMPUR_ACC_BE_VALUE_HELP_SRV
7. F4-WBS Element MMPUR_ACC_BE_VALUE_HELP_SRV
8. F4-Asset MMPUR_ACC_BE_VALUE_HELP_SRV
9 F4-Order MMPUR_ACC_BE_VALUE_HELP_SRV
10. User Defaults F4-Validations MMPUR_REQ_SRV_BE_SRCH_HLP_SRV
(Plant, Company Code, Purchasing Org.)
11 G/l account validation MMPUR_BE_DETERMINE_DEFAULTS_SR
V

Test Case Details


Case 1: Error handling for Create PR App and User defaults app
Test Steps
Steps Description What to check / Expected Result

1. Logon to the Fiori launchpad using user assigned with the Tiles relevant to this role appears (Create PR, My PR, Evaluate supplier, Process
role SAP_BR_EMPLOYEE_PROCUREMENT tasks etc.,)

3|Page
2. Open the Create PR app Opens the landing page where the Search Catalog or Create Own Item is available
3. Click on Create Own Item Create own item overview page appears where the Material fields ,Source of supply
blocks are present

4. Click on the F4 search help of Material Checks:


 In case the service / system is not accessible, an information
message would be thrown “

Message would be – “Service unavailable to assign material


information from connected system ‘Connected system ID’”

 If a material is present , user can choose any material and proceed to


order

5. In the source of supply click on (+ )button and Click on F4 Checks


search help of Source of supply
User can select Preferred or Fixed supplier . In the f4 search help , in
case the OData service is not available / system is not accessible the below
information message would be thrown

 Service unavailable to read the Supplier result set from


connected system “Connected system ID’”

 In case if the resultant search provides the result , user can choose
his desired supplier and proceed to order the cart .

6 User enters all the mandatory fields and clicks on Add to cart Item is added to the cart.

7 User clicks on “Mini cart” and selects ”View cart” The cart overview page appears .

8 User defaults for the User(G/L Acc) has been set to(eg G/l account value is set as (eg:400000)

4|Page
400000) in settings for User defaults application

9 Now in the Item details page User selects “K” as Acc G/l account value would be auto populated as (Eg:40000 from the user
assignment category and Navigates to the Accounting block defaults.

10 Now user clicks on Retrieve account preferences button. . Checks:

In case the service/system is not accessible , an information message would


be thrown” Error while accessing service”;

In case the service is available the G/l Account will be picked from the
connected backend system for that particular material(eg: 100000) and the
value of the G/l account changes to 100000 in the account assignment
block .

Checks:
11 User clicks on the item and navigates to the Item details  In case the service / system is not accessible, an information
overview page and manually assigns a different material in message would be thrown “
the Material field .
Message would be – “Service unavailable to assign material
information from connected system ‘Connected system ID’”

 If a material is present , user can choose any material and proceed to


order

12 In the Item details page navigate to the Accounting block CHECKS:

If the account assignment category is chosen as ‘A(Asset): The Asset field


will be enabled and if OData service is not available / system is not accessible
and when the user tries to search anything in these search helps the resultant
search results will be empty and an information message would be thrown
in the accounting details page .

5|Page
 Message would be – “Service unavailable to read the result set
from connected system ‘Connected system ID’”

 If the asset value is fetched the user can choose the value and
proceed to order

13 Navigate to the Item details Page and Accounting details page If the account assignment category is chosen as ‘K’(Cost center)
If the account assignment category is chosen as K: The G/l account field and
Cost center will be enabled and if oData service is not available / system is
not accessible and when the user tries to search anything in these search
helps the resultant search result will be empty and an information message
would be thrown

 Message would be – “Service unavailable to read the result set


from connected system ‘Connected system ID’”

 If the G/l account and Cost center search helps are retrieved with
data user can choose any one and proceed to order

14 In the Item details page navigate to the Accounting block


If the account assignment category is chosen as ‘P(Project)’: The Wbs
element field will be enabled and if oData service is not available / system is
not accessible and when the user tries to search anything in these search
helps the resultant search result will be empty and an information message
would be thrown

 Message would be – “Service unavailable to read the result set


from connected system ‘Connected system ID’”

 If the WBS ELEMENT value is fetched the user can choose the WBS
ELEMENT value and proceed to order

15 In the Item details page navigate to the Accounting block If the account assignment category is chosen as ‘F’(Order): The Order field

6|Page
will be enabled and if oData service is not available / system is not accessible
and when the user tries to search anything in these search helps the
resultant search result will be empty and an information message would be
thrown

 Message would be – “Service unavailable to read the result set


from connected system ‘Connected system ID’”

 If the Order value is fetched the user can choose the Order value
and proceed to order

16. In the Item details page navigate to the Accounting block If the account assignment category is chosen as ‘N’(Network): The Network
field and Activity field will be enabled and if oData service is not available /
system is not accessible and when the user tries to search anything in these
search helps the resultant search result will be empty and an information
message would be thrown

 Message would be – “Service unavailable to read the result set


from connected system ‘Connected system ID’”

 If the Network and Activity value is fetched the user can choose the
Network value and Activity value and proceed to order

17 In the Item details page , the plant and company code Checks:
mandatory fields will be filled automatically and user
navigates to the Delivery Address block . In case the service / system is not accessible, an information message would
be thrown

Message would be – “Service unavailable to assign Delivery address


information from connected system ‘Connected system ID’”.

In case the service is available the delivery address would be


automatically filled.

7|Page
18 In the Item details page, if the user changes the existing plant Checks: In case the service / system is not accessible, an information
and company code to any other plant and company code message would be thrown
manually.

 Message would be – “Service unavailable to assign Delivery


address information from connected system ‘Connected system
ID’”.

 In case the service is available the delivery address would be


filled as per the new plant.

19 In the create PR landing page user is able to see the OCI 5.0 Once the item is Ordered from the Mini cart or cart overview page , real time
SEARCH CATALOG which contains hub extracted catalog
validation for the price of the item in the cart would be checked with reference to the
items . User selects an item from the catalog and click on Add
to cart . price maintained in the connected backend system .

In case the service / system is not accessible, an information message would


be thrown when the user click on ORDER with hub extracted material.

 Message would be – “Service unavailable to retrieve price


information for the assigned catalog item from connected
system ‘Connected system ID’”

 If the service is available then upon click of Order in the cart ,


the purchase requisition will be created successfully.

8|Page
9|Page

You might also like