/SAPCND/TST_MASTERDATA_UNIT - Generic unit Test for condition masterdata
Addresses (Business Address Services) SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3upThis documentation is copyright by SAP AG.
Purpose
- This report is a stand-alone ABAP unit test report which will test the common/ highly used use cases of condition technique. The use cases tested in this report are
Creation of condition records
Selection of condition records
Modification of condition records
Deletion of condition records
Overlap detection and resolution in condition records
Maintain the scales for the condition records.
Check for sequence number of condition supplement (KOPOS) in Condition Records
Overlap of Condition Records - without Select Call
- The scope of the test will cater to multiple applications, multiple condition maintenance groups in an application and multiple usages.
- The above mentioned use cases are tested in sequential order and also in random order.
Prerequisites
- Condition technique business configuration objects must be available. This includes application, usages, tasks, condition maintenance groups, condition tables, condition types, field catalogs etc.
Features
Output
- The output will be displayed in the standard ABAP unit test framework.
Activities
- *SAP Internal only*,,
- The master data required to create condition records is achieved by BADI's. The following BADI's are called in this report.
- This BADI will return the condition maintenance groups for the application under process. If an applicationdoes not return any condition maintenance group then the application is not considered for conditiontechnique ABAP unit test. This BADI needs be implemented by the application if it want to take part in condition technique masterdata ABAP unit test.
- This BADI will check if the usage is ready for testing, fill the usage field values and the change valuesfor the usage field which is used in modification for condition records testing. This BADI needs be implemented by the usage if it want to take part in condition technique masterdata ABAP unit test.
- This BADI will fill the application field values which is used for creating condition records. ThisBADI needs be implemented by the application to get its possible application field values which is used in condition technique masterdata ABAP unit test.
Note
- The above mentioned use cases are tested in the class /SAPCND/CL_MASTERDATA_UNIT_SRV. For details please refer toclass documentation.
BAL Application Log Documentation ABAP Short Reference
This documentation is copyright by SAP AG.
Length: 3007 Date: 20120523 Time: 212751 triton ( 154 ms )






