Test Report /SAPCND/TST_MASTERDATA_UNIT

[] [] [] []

Symptom

Missing test functionality
Other terms

Price Masterdata
Condition Maintenance
Reason and Prerequisites

Important functionality worth to be tested with an automated test
Solution
1. Apply the manual pre-implementation steps.2. Apply the attached correction instruction (SNOTE)

————————————————————————
|Manual Pre-Implement. |
————————————————————————
|VALID FOR |
|Software Component SAP_AP SAP Application…|
| Release 700 Until SAPKNA7018 |
————————————————————————

1. Create the structure /SAPCND/TST_ATTRIB_VALUE_EXT with the following components:a) FIELDNAME TYPE /SAPCND/FIELDNAMEb) FIELDNAME_INT TYPE /SAPCND/FIELDNAMEc) VALUE TYPE /SAPCND/ATTRIB_VALUE_EXTERNALd) VALUE_INT TYPE /SAPCND/ATTRIB_VALUE_INTERNAL2. Create the table type /SAPCND/T_TST_ATTRIB_VALUE_EXT with line type /SAPCND/TST_ATTRIB_VALUE_EXT.3. Create the structure /SAPCND/TST_DB_INSERTED_VALUES with the following components:a) ROLLNAME TYPE ROLLNAMEb) ATTRIB_VALUE TYPE /SAPCND/T_ATTRIB_VALUE_INT4. Create the table type /SAPCND/T_TST_DB_INSR_VALUES with line type /SAPCND/TST_DB_INSERTED_VALUES.5. Create the structure /SAPCND/WS_TYPE with the following components:a) HSESSION TYPE /SAPCND/MAINT_SESSION_IDb) APPLICATION TYPE /SAPCND/APPLICATIONc) WSI_INT TYPE DATAd) T_WS_INT TYPE DATAe) WSI_EXT TYPE DATAf) T_WS_EXT TYPE DATAg) T_SKU_WS_INT TYPE DATAh) T_SKU_WS_EXT TYPE DATA
______________________________ ______________________________
6. Add the following component to the structure /SAPCND/TST_SESSION_DATA:a) WS_TYPE TYPE /SAPCND/WS_TYPE STRU
at position 4.7. Add the following elements to the structure /SAPCND/TST_APPLICATION_DATA:a) WS_NAMES TYPE /SAPCND/WORKING_SET_NAMES STRU
at position 3.b) WS_TYPE TYPE /SAPCND/WS_TYPE STRU
at position 4.c) ATTR_VALUE_TABLE_EXT TYPE /SAPCND/T_TST_ATTRIB_VALUE_EXT TTYP
at position 7.d) WORKING_SET_EXT TYPE DATA REF
at position 9.e) OVERLAP_ITEM_EXT TYPE DATA REF
at position 11.f) KOPOS_ITEM TYPE DATA REF
at position 12.g) LOCK_ITEM TYPE DATA REF
at position 13.h) SCALE_WORKING_SET TYPE DATA REF
at position 14.i) SCALE_WORKING_SET_EXT TYPE DATA REF
at position 15.8. Regenerate the following badi definitions:a) /sapcnd/tst_unit_usgb) /sapcnd/tst_appl_fld
Procedure to regenerate badi definitions:c) Transaction – se18d) Select the radio button Badi Name and give the badi name.e) Click ‘Change’ button.f) Click ‘Utilities’ menu button.g) In the ‘Utilities’ sub menu click ‘Regeneration’.9. Add the following self explanatory messages to the message class /SAPCND/MASTERDATA:a) 017 Condition record created by API not present in database for &1 &2 &3.b) 025 Overlap functionality cannot be tested due to error in condition record.c) 026 Scale table &1 is not initial for application &2 usage &3 for scale dim 0d) 027 Scale table &1 is initial for application &2 usage &3 for scale dim > 0.e) 028 Record values mismatch between API and database for scales field.f) 029 Mismatch between the API and DB in &1 table.g) 032 Condition maintenance not rejected even though KOPOS is greater than 1.h) 033 Condition record was selected in change mode even though KOPOS > 1.i) 040 Creation of condition record with scales failed for application &1.j) 053 Scales tables are initial for a condition record which has scales.k) 054 Maintenance mode is &1, where &2 is expected.l) 056 Dbaction value is not set to ‘U’ during update.m) 058 Unable to create working set handles for application &1 during setup.n) 060 No record was selected for lock verification (sceanrio &1).o) 062 Unable to carry out &1 test for application &2 (group &3).p) 101 Lock is not present as expected (&1, &2, &3).q) 102 Lock is erroneously present (&1, &2, &3).10. Add the following text symbols to the class /SAPCND/CL_MASTERDATA_UNIT_SRVa) 001 online partb) 002 update partc) 003 semantic keyd) 004 varnumh keye) 005 Create 1st record w/o savef) 006 Create 2nd record w/o saveg) 008 Create one record with saveh) 009 Direct change of saved recordi) 010 Select saved record in change modej) 011 Select in read mode and modifyk) 013 Select saved record in excl. change model) 014 Delete from change modem) 015 Delete from display moden) 016 Direct Delete w/o selecto) 017 Enqueuep) 018 ‘KOPOS’q) 019 Validity Period Overlap

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Leave a Comment