SAP TEST SEAMS



Get Example source ABAP code based on a different SAP table
  


VERSION 5 IN

Test Seams
Test seams are language constructs designed especially for unit tests and are implemented using the following statements:
TEST-SEAM - END-TEST-SEAM Defines a test seam as a replaceable area in the production code of a program.
TEST-INJECTION - END-TEST-INJECTION Replaces the executable statements of a test seam with the statements of an injection in a test class of the same program.
Test seams have the following properties:
Test seams do not affect the use of programs in production. No injection takes place, rather the original code is executed.
A program can contain multiple test seams.
Multiple injections can be defined for a single test seam.
Injections can only be created in test classes that are defined in a